2 /************************************************************************/
\r
4 /************************************************************************/
\r
5 /* Copyright (c) 2002-2010 */
\r
6 /* Inclusive Design Institute */
\r
7 /* http://atutor.ca */
\r
9 /* This program is free software. You can redistribute it and/or */
\r
10 /* modify it under the terms of the GNU General Public License */
\r
11 /* as published by the Free Software Foundation. */
\r
12 /************************************************************************/
\r
13 global $display_name_formats, $moduleFactory;
\r
16 <div class="input-form">
\r
18 <p><a href="inbox/send_message.php?id=<?php echo $this->row['member_id']; ?>"><?php echo _AT('send_message'); ?></a></p>
\r
20 <dl id="public-profile">
\r
21 <dt><?php echo _AT('email'); ?></dt>
\r
23 <?php if($this->row['private_email']): ?>
\r
24 <?php echo _AT('private'); ?>
\r
26 <a href="mailto:<?php echo $this->row['email']; ?>"><?php echo $this->row['email']; ?></a>
\r
30 <dt><?php echo _AT('web_site'); ?></dt>
\r
32 <?php if ($this->row['website']) {
\r
33 echo '<a href="'.htmlspecialchars($this->row['website'], ENT_COMPAT, "UTF-8").'">'.AT_print($this->row['website'], 'members.website').'</a>';
\r
39 <dt><?php echo _AT('phone'); ?></dt>
\r
41 <?php if ($this->row['phone']) {
\r
42 echo $this->row['phone'];
\r
49 <dt><?php echo _AT('status'); ?></dt>
\r
50 <dd><?php echo $this->status; ?></dd>
\r
52 <?php $mod = $moduleFactory->getModule('_standard/profile_pictures');
\r
53 if ($mod->isEnabled() === TRUE): ?>
\r
54 <dt><?php echo _AT('picture'); ?></dt>
\r
55 <dd><?php if (profile_image_exists($this->row['member_id'])): ?>
\r
56 <a href="get_profile_img.php?id=<?php echo $this->row['member_id'].SEP.'size=o'; ?>"><?php print_profile_img($this->row['member_id']); ?></a>
\r
58 <?php echo _AT('none'); ?>
\r
63 <div style="clear: both; size: 1em"></div>
\r