Пример #1
0
 * ------------------------------------------------------------------------
 *
 * @copyright      Copyright (C) 2010-2015 JoomUltra Co., Ltd. All Rights Reserved.
 * @license        GNU General Public License version 2 or later; see LICENSE.txt
 * @author         JoomUltra Co., Ltd
 * @website        http://www.joomultra.com
 * @----------------------------------------------------------------------@
 */

// No direct access to this file
defined('_JEXEC') or die('Restricted access');
//@todo properties has called in view
$user = JFactory::getUser();
$isOwnDashboard = JUDownloadFrontHelperPermission::isOwnDashboard();
JLoader::register('JUDownloadAvatarHelper', JPATH_SITE . '/components/com_judownload/helpers/avatar.php');
$avatar = JUDownloadAvatarHelper::getJUAvatar($user->id);
$userId = JUDownloadFrontHelper::getDashboardUserId();
$linkDashboard = JRoute::_(JUDownloadHelperRoute::getDashboardRoute($userId));
$linkUserProfile = JRoute::_(JUDownloadHelperRoute::getUserProfileRoute());
$linkCreateDocument = JRoute::_(JUDownloadHelperRoute::getFormRoute());
$linkUserComments = JRoute::_(JUDownloadHelperRoute::getUserCommentsRoute($userId));
$linkUserCollection = JRoute::_(JUDownloadHelperRoute::getCollectionsRoute($userId));
$linkUserDocuments = JRoute::_(JUDownloadHelperRoute::getUserDocumentsRoute($userId));
$linkUserSubscriptions = JRoute::_(JUDownloadHelperRoute::getUserSubscriptionsRoute($userId));
$linkLogOutReturn = JRoute::_('index.php',false);
?>
	<div class="navbar">
		<div class="navbar-inner">
			<ul class="nav">
				<li class="go-home">
					<a class="hasTooltip" title="<?php echo JText::_('COM_JUDOWNLOAD_DASHBOARD_HOME'); ?>"