Файл: adultscript-2.0.3-pro/files/admin/templates/default/header.tpl.php
Строк: 108
<?php defined('_VALID') or die('Restricted Access!'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title><?php echo e($this->meta_title); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">
var base_url = "<?php echo BASE_URL; ?>";
var admin_url = "<?php echo ADMIN_URL; ?>";
var tpl_rel = "<?php echo TPL_REL; ?>";
var tpl_url = "<?php echo TPL_URL; ?>";
</script>
<script type="text/javascript" src="<?php echo TPL_REL; ?>/js/jquery-1.7.2.min.js" ></script>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo TPL_REL; ?>/css/reset.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo TPL_REL; ?>/css/style.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo TPL_REL; ?>/css/extra.css" />
<link href="<?php echo TPL_REL; ?>/css/style_large.css" rel="stylesheet" type="text/css" media="only screen and (min-width: 1280px)" />
<?php if (isset($this->css)): foreach ($this->css as $url): ?>
<link rel="stylesheet" href="<?php echo $url; ?>" type="text/css" media="all" />
<?php endforeach; endif; ?>
<script type="text/javascript" src="<?php echo TPL_REL; ?>/js/admin.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="<?php echo TPL_REL; ?>/js/ddbelatedpng.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('img, .info a');
</script>
<![endif]-->
</head>
<body>
<div id="bk">
<!-- Start Header -->
<div id="pannelDash" class="clearfix">
<!-- Start Tabs-->
<div class="menu">
<ul>
<li<?php if ($this->menu == 'main'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php"><img src="<?php echo TPL_REL; ?>/images/icons/home.png" alt="Home" />Home</a></li>
<?php if (VModule::enabled('video')): ?><li<?php if ($this->menu == 'video'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php?q=video">Video</a></li><?php endif; ?>
<?php if (Vmodule::enabled('photo')): ?><li<?php if ($this->menu == 'photo'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php?q=photo">Photo</a></li><?php endif; ?>
<?php if (VModule::enabled('pornstar')): ?><li<?php if ($this->menu == 'pornstar'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php?q=pornstar">Model</a></li><?php endif; ?>
<?php if (VModule::enabled('channel')): ?><li<?php if ($this->menu == 'channel'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php?q=channel">Channel</a></li><?php endif; ?>
<?php if (VModule::enabled('link')): ?><li<?php if ($this->menu == 'link'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php?q=link">Link</a></li><?php endif; ?>
<?php if (VModule::enabled('user')): ?><li<?php if ($this->menu == 'user'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php?q=user">User</a></li><?php endif; ?>
<?php if (VModule::enabled('adv')): ?><li<?php if ($this->menu == 'adv'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php?q=adv">Advertising</a></li><?php endif; ?>
<?php if (VModule::enabled('forum')): ?><li<?php if ($this->menu == 'forum'): echo ' class="selected"'; endif; ?>><a href="<?php echo ADMIN_URL; ?>/index.php?q=forum">Forum</a></li><?php endif; ?>
</ul>
<div class="info">
<div><a href="<?php echo ADMIN_URL; ?>/logout.php" class="icOff">Sign off</a></div>
<div class="user">
<img src="<?php echo MEDIA_URL; ?>/users/<?php if ($_SESSION['avatar'] != ''): echo $_SESSION['user_id'],'.',$_SESSION['avatar'],'?',rand(0,100); else: echo 'nopic-',$_SESSION['gender'],'.gif'; endif; ?>" width="27" alt="" />
<span><?php echo e($_SESSION['username']); ?></span><br />
<?php if (isset($_SESSION['login_date'])): ?><span class="detail">Last login : <?php echo VDate::format($_SESSION['login_date'], 'Y-m-d'); ?></span><?php endif; ?>
</div>
</div>
</div>
<!-- End Tabs -->
</div>
<!-- End Header -->