?
Path : /home/admin/public_html/old/board/components/com_kunena/template/default/profile/ |
Current File : /home/admin/public_html/old/board/components/com_kunena/template/default/profile/usertab.php |
<?php /** * @version $Id: usertab.php 4336 2011-01-31 06:05:12Z severdia $ * Kunena Component * @package Kunena * * @Copyright (C) 2008 - 2011 Kunena Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.org * **/ defined( '_JEXEC' ) or die(); JHTML::_('behavior.calendar'); JHTML::_('behavior.tooltip'); ?> <div id="kprofile-rightcoltop"> <div class="kprofile-rightcol2"> <?php CKunenaTools::loadTemplate('/profile/socialbuttons.php'); ?> </div> <div class="kprofile-rightcol1"> <ul> <li><span class="kicon-profile kicon-profile-location"></span><strong><?php echo JText::_('COM_KUNENA_MYPROFILE_LOCATION'); ?>:</strong> <?php echo $this->locationlink; ?></li> <!-- The gender determines the suffix on the span class- gender-male & gender-female --> <li><span class="kicon-profile kicon-profile-gender-<?php echo $this->genderclass; ?>"></span><strong><?php echo JText::_('COM_KUNENA_MYPROFILE_GENDER'); ?>:</strong> <?php echo $this->gender; ?></li> <li class="bd"><span class="kicon-profile kicon-profile-birthdate"></span><strong><?php echo JText::_('COM_KUNENA_MYPROFILE_BIRTHDATE'); ?>:</strong> <span title="<?php echo CKunenaTimeformat::showDate($this->profile->birthdate, 'ago', 'utc', 0); ?>"><?php echo CKunenaTimeformat::showDate($this->profile->birthdate, 'date', 'utc', 0); ?></span> <!-- <a href="#" title=""><span class="bday-remind"></span></a> --> </li> </ul> </div> </div> <div class="clrline"></div> <div id="kprofile-rightcolbot"> <div class="kprofile-rightcol2"> <ul> <?php if ($this->config->showemail && (!$this->profile->hideEmail || CKunenaTools::isModerator($this->my->id))): ?><li><span class="kicon-profile kicon-profile-email"></span><a href="mailto:<?php echo $this->escape($this->user->email); ?>"><?php echo $this->escape($this->user->email); ?></a></li><?php endif; ?> <?php // FIXME: we need a better way to add http/https ?> <li><?php if (!empty($this->profile->websiteurl)):?><span class="kicon-profile kicon-profile-website"></span><?php endif;?><a href="http://<?php echo $this->escape($this->profile->websiteurl); ?>" target="_blank"><?php echo KunenaParser::parseText($this->profile->websitename); ?></a></li> </ul> </div> <div class="kprofile-rightcol1"> <h4><?php echo JText::_('COM_KUNENA_MYPROFILE_SIGNATURE'); ?></h4> <div class="kmsgsignature"><div><?php echo KunenaParser::parseBBCode($this->signature); ?></div></div> </div> </div> <div class="clrline"></div> <div id="kprofile-tabs"> <dl class="tabs"> <?php if (CKunenaTools::isModerator($this->my->id)): ?> <dt class="open" title="<?php echo JText::_('COM_KUNENA_MESSAGE_ADMINISTRATION'); ?>"><?php echo JText::_('COM_KUNENA_MESSAGE_ADMINISTRATION'); ?></dt> <dd style="display: none;"> <?php $this->displayReviewPosts(); ?> </dd> <?php endif; ?> <dt class="open" title="<?php echo JText::_('COM_KUNENA_USERPOSTS'); ?>"><?php echo JText::_('COM_KUNENA_USERPOSTS'); ?></dt> <dd style="display: none;"> <?php $this->displayUserPosts(); ?> </dd> <?php if($this->config->showthankyou && $this->my->id != 0) : ?> <dt class="closed" title="<?php echo JText::_('COM_KUNENA_THANK_YOU'); ?>"><?php echo JText::_('COM_KUNENA_THANK_YOU'); ?></dt> <dd style="display: none;"> <?php $this->displayGotThankYou(); ?> <?php $this->displaySaidThankYou(); ?> </dd> <?php endif; ?> <?php if ($this->my->id == $this->user->id): ?> <!-- <dt class="closed" title="<?php echo JText::_('COM_KUNENA_OWNTOPICS'); ?>"><?php echo JText::_('COM_KUNENA_OWNTOPICS'); ?></dt> <dd style="display: none;"> <?php //$this->displayOwnTopics(); ?> </dd> <dt class="closed" title="<?php echo JText::_('COM_KUNENA_USERTOPICS'); ?>"><?php echo JText::_('COM_KUNENA_USERTOPICS'); ?></dt> <dd style="display: none;"> <?php //$this->displayUserTopics(); ?> </dd> --> <?php if ($this->config->allowsubscriptions) :?> <dt class="closed" title="<?php echo JText::_('COM_KUNENA_SUBSCRIPTIONS'); ?>"><?php echo JText::_('COM_KUNENA_SUBSCRIPTIONS'); ?></dt> <dd style="display: none;"> <?php $this->displayCategoriesSubscriptions(); ?> <?php $this->displaySubscriptions(); ?> </dd> <?php endif; ?> <?php if ($this->config->allowfavorites) : ?> <dt class="closed" title="<?php echo JText::_('COM_KUNENA_FAVORITES'); ?>"><?php echo JText::_('COM_KUNENA_FAVORITES'); ?></dt> <dd style="display: none;"> <?php $this->displayFavorites(); ?> </dd> <?php endif; ?> <?php endif;?> <?php if (CKunenaTools::isModerator($this->my->id) && $this->my->id == $this->profile->userid ): ?> <dt class="closed" title="<?php echo JText::_('COM_KUNENA_BAN_BANMANAGER'); ?>"><?php echo JText::_('COM_KUNENA_BAN_BANMANAGER'); ?></dt> <dd style="display: none;"> <?php $this->displayBanManager(); ?> </dd> <?php endif;?> <?php if (CKunenaTools::isModerator($this->my->id) && $this->my->id != $this->user->id):?> <dt class="closed" title="<?php echo JText::_('COM_KUNENA_BAN_BANHISTORY'); ?>"><?php echo JText::_('COM_KUNENA_BAN_BANHISTORY'); ?></dt> <dd style="display: none;"> <?php $this->displayBanHistory(); ?> </dd> <?php endif;?> <?php if ($this->canBan) : ?> <dt class="closed" title="<?php echo $this->banInfo->id ? JText::_('COM_KUNENA_BAN_EDIT') : JText::_('COM_KUNENA_BAN_NEW' ); ?>"><?php echo $this->banInfo->id ? JText::_('COM_KUNENA_BAN_EDIT') : JText::_('COM_KUNENA_BAN_NEW' ); ?></dt> <dd style="display: none;"> <?php $this->displayBanUser(); ?> </dd> <?php endif; ?> </dl> </div>