104 lines
4.1 KiB
Smarty
104 lines
4.1 KiB
Smarty
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title><?=\nre\configs\AppConfig::$app['name']?></title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
|
|
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
|
|
<link rel="stylesheet" type="text/css" href="<?=$linker->link(array('css','desktop.css'))?>" media="all" />
|
|
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
|
|
<script type="text/javascript" src="/js/jquery.nicescroll.min.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(
|
|
function() {
|
|
$("#qtextbox").niceScroll({autohidemode:false,cursorcolor:"#c2beb9"});
|
|
}
|
|
);
|
|
</script>
|
|
<script src="/js/imagelightbox.min.js"></script>
|
|
<script>
|
|
$( function()
|
|
{
|
|
$( 'a' ).imageLightbox();
|
|
});
|
|
</script>
|
|
<!--[if lt IE 9]>
|
|
<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="/js/dnd.js"></script>
|
|
<meta name="description" content="">
|
|
<meta name="robots" content="noindex,follow">
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<nav>
|
|
<input type="checkbox" id="toggle">
|
|
<label for="toggle" class="toggle" onclick><a id="navicon"><i class="fa fa-bars"></i>Menü</a></label>
|
|
<?php if(!is_null($loggedUser)) : ?>
|
|
<?php if(!is_null($loggedCharacter)) : ?>
|
|
<a href="<?=$linker->link(array('characters','character',$loggedSeminary['url'],$loggedCharacter['url']))?>" id="profile"><i class="fa fa-user fa-fw"></i><?=$loggedCharacter['name']?><span class="circlenote"><?=$loggedCharacter['xplevel']?></span></a>
|
|
<?php else : ?>
|
|
<a href="<?=$linker->link(array('users',$loggedUser['url']))?>" id="profile"><i class="fa fa-user fa-fw"></i><?=$loggedUser['username']?></a>
|
|
<?php endif ?>
|
|
<?php endif ?>
|
|
<menu>
|
|
<?=$menu?>
|
|
</menu>
|
|
</nav>
|
|
</header>
|
|
<article class="wrap">
|
|
<?php if(count($notifications) > 0) : ?>
|
|
<ul class="notifications">
|
|
<?php foreach($notifications as &$notification) : ?>
|
|
<?php if($notification['type'] == \hhu\z\controllers\components\NotificationComponent::TYPE_ACHIEVEMENT) : ?>
|
|
<li class="achievement">
|
|
<?php if(!is_null($notification['image'])) : ?>
|
|
<img src="<?=$notification['image']?>" />
|
|
<?php endif ?>
|
|
<small><?=_('Achievement achieved')?>:</small>
|
|
<?php if(!is_null($notification['link'])) : ?>
|
|
<a href="<?=$notification['link']?>"><?=$notification['message']?></a>
|
|
<?php else : ?>
|
|
<?=$notification['message']?>
|
|
<?php endif ?>
|
|
</li>
|
|
<?php else : ?>
|
|
<li class="lvlup">
|
|
<small><?=_('Level-up')?>:</small>
|
|
<?php if(!is_null($notification['link'])) : ?>
|
|
<a href="<?=$notification['link']?>"><?=sprintf(_('You have reached level %d'), $notification['message'])?></a>
|
|
<?php else : ?>
|
|
<?=sprintf(_('You have reached level %d'), $notification['message'])?>
|
|
<?php endif ?>
|
|
</li>
|
|
<?php endif ?>
|
|
<?php endforeach ?>
|
|
</ul>
|
|
<?php endif ?>
|
|
<?=$intermediate?>
|
|
</article>
|
|
<aside>
|
|
<?php if(!is_null($loggedCharacter) && count($loggedCharacter['characterroles']) > 0) : ?>
|
|
<?=$seminarybar?>
|
|
<?php endif ?>
|
|
</aside>
|
|
<script type="text/javascript">
|
|
var _paq = _paq || [];
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://" + document.location.hostname + "/analytics/";
|
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
_paq.push(['setSiteId', 1]);
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
|
|
g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
})();
|
|
</script>
|
|
<noscript><p><img src="/analytics/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
|
|
</body>
|
|
|
|
</html>
|