<div class="image"> <?php if (!empty($user->avatar)): ?><img alt="<?php echo htmlspecialchars($user->name) ?>" src="<?php echo $user->avatar->getLink(80, 80, true); ?>" /><?php endif ?> </div> <?php if (isset($user->about)): ?> <blockquote class="about"> <?php echo $user->about ?> </blockquote> <?php endif ?> <dl> <?php if (isset($user->location)): ?> <dt class="location"><?php echo Text::get('profile-location-header'); ?></dt> <dd class="location"><?php echo Text::GmapsLink($user->location); ?></dd> <?php endif ?> <?php if (!empty($user->webs)): ?> <dt class="links"><?php echo Text::get('profile-webs-header'); ?></dt> <dd class="links"> <ul> <?php foreach ($user->webs as $link): ?> <li><a href="<?php echo htmlspecialchars($link->url) ?>" target="_blank"><?php echo htmlspecialchars($link->url) ?></a></li> <?php endforeach ?> </ul> </dd> <?php endif ?> <dt class="message"><?php echo Text::get('regular-send_message')?></dt> <dd class="message"><a href="/user/profile/<?php echo htmlspecialchars($user->id) ?>/message"><?php echo Text::get('regular-send_message')?></a></dd> </dl>
<h4><?php echo Text::get('profile-keywords-header'); ?></h4> <p><?php echo $user->keywords; ?></p> </div> <?php endif ?> <?php if (!empty($user->webs)): ?> <div class="webs"> <h4><?php echo Text::get('profile-webs-header'); ?></h4> <ul> <?php foreach ($user->webs as $link): ?> <li><a href="<?php echo htmlspecialchars($link->url) ?>" target="_blank"><?php echo htmlspecialchars($link->url) ?></a></li> <?php endforeach ?> </ul> </div> <?php endif ?> <?php if (!empty($user->location)): ?> <div class="location"> <h4><?php echo Text::get('profile-location-header'); ?></h4> <p><?php echo Text::GmapsLink($user->location); ?></p> </div> <?php endif ?> <?php if (!empty($this['projects'])): ?> <div class="message"> <p><a href="/user/profile/<?php echo $user->id ?>/message"><?php echo Text::get('regular-send_message')?></a></p> </div> <?php endif ?> </div>
</blockquote> <?php } ?> <dl> <?php if (isset($user->location)) { ?> <dt class="location"><?php echo Text::get('profile-location-header'); ?> </dt> <dd class="location"><?php echo Text::GmapsLink($user->location); ?> </dd> <?php } ?> <?php if (!empty($user->webs)) { ?> <dt class="links"><?php echo Text::get('profile-webs-header'); ?> </dt> <dd class="links"> <ul>