Файл: Arhmobi_esdcms/sys/themes/white/tpl/document.tpl.php
Строк: 158
<?php
/**
* @var $this document
*/
?><!DOCTYPE html>
<html>
<head>
<title><?= $title ?></title>
<link rel="shortcut icon" href="/favicon.ico"/>
<link rel="stylesheet" href="/sys/themes/.common/system.css" type="text/css"/>
<link rel="stylesheet" href="/sys/themes/.common/icons.css" type="text/css"/>
<link rel="stylesheet" href="<?= $path ?>/theme_light.css" type="text/css"/>
<link rel="stylesheet" href="<?= $path ?>/style.css?6" type="text/css"/>
<meta name="viewport" content="minimum-scale=1.0,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta name="generator" content="DCMS <?= $dcms->version ?>"/>
<? if ($description) { ?>
<meta name="description" content="<?= $description ?>" /><? } ?>
<? if ($keywords) { ?>
<meta name="keywords" content="<?= $keywords ?>" /><? } ?>
<script>
var translate = {
'friends': "<?=__("Друзья")?>",
'mail': "<?=__("Почта")?>",
'user_menu': "<?= __("Личное меню") ?>",
'auth': "<?= __("Авторизация") ?>",
'reg': "<?= __("Регистрация") ?>",
rating_down_message: '<?=__('Подтвердите понижение рейтинга сообщения.').($dcms->forum_rating_down_balls?"\n".__('Будет списано баллов: %s',$dcms->forum_rating_down_balls):'')?>'
};
var user = {
'id': "<?=$user->id?>",
'group': "<?=$user->group?>",
'friend_new_count': "<?=$user->friend_new_count?>",
'mail_new_count': "<?=$user->mail_new_count?>",
'login': "<?=$user->login?>"
};
var URL = "<?=URL?>";
</script>
<script src="/sys/themes/.common/jquery-2.1.1.min.js"></script>
<script src="/sys/themes/.common/dcmsApi.js"></script>
<script src="<?= $path ?>/js.js?6"></script>
<link rel="stylesheet" type="text/css" href="<?= $path ?>/hin.css"/>
<script>
$(document).ready(function(){
var touch = $('#touch-menu');
var menu = $('.menu');
$(touch).on('click', function(e) {
e.preventDefault();
menu.slideToggle();
});
});
</script>
<? if ($user->scroll == 1) { ?>
<script src="/sys/themes/.common/scroll.js"></script>
<script>
$(document).ready(function() {$("html").niceScroll();});
</script>
<? } ?>
</head>
<body class="theme_light">
<? if ($user->notif_zvuk) { ?>
<audio id="audio_notify" preload="auto" class="ng-hide">
<source src="/sys/themes/.common/notify.mp3"/>
<source src="/sys/themes/.common/notify.ogg" />
</audio>
<? } ?>
<div id="title"><div id="header-inner">
<a class="icon_men" href="/"> <div id="icon_men"></div></a> <a id="touch-menu" class="icon_menu" href="#"> <div id="icon_menu"></div></a>
<h1 id="">
<?= $title ?></h1> <? $this->displaySection('after_title') ?>
</div>
</div>
<div class="header-bottom">
<div class="wrap">
<div style="display: none;" class="menu">
<a id="login" class="gradient_grey" href="/login.php?return=<?= URL ?>"></a>
<a id="reg" class="gradient_grey" href="/reg.php?return=<?= URL ?>"></a>
<? $this->displaySection('menu') ?>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<? $this->displaySection('after_title') ?>
<div id="tabs">
<?= $this->section($tabs, '<a class="gradient_grey border tab sel{selected}" href="{url}">{name}</a>', true); ?>
</div>
<? $this->displaySection('before_content') ?>
<div id="content">
<div id="messages">
<?= $this->section($err, '<div class="errr">{text}</div>'); ?>
<?= $this->section($msg, '<div class="msgg">{text}</div>'); ?>
</div>
<?php $this->displaySection('content') ?>
</div>
<? $this->displaySection('after_content') ?>
<? $this->display('inc.foot.tpl') ?>
</div>
<div id="foot">
<table class="static">
<tbody><tr>
<td>
<a class="count" href="/users.php" rel="nofollow">Нас уже
<br>
<?php global $user, $dcms;
$db = DB::me(); $res = $db->query("SELECT COUNT(*) FROM `users`");
echo $res->fetchColumn();?></a>
</td>
<td>
<a class="count" href="/online.users.php" rel="nofollow">На сайте
<br>
<? $res = $db->query("SELECT COUNT(*) FROM `users_online`");
echo $res->fetchColumn();?></a>
</td>
<td>
<a class="count" href="/online.guest.php" rel="nofollow">Гостей
<br> <? $res =$db->query("SELECT COUNT(*) FROM `guest_online` WHERE `conversions` >= '5'");
echo $res->fetchColumn();?></a>
</td>
</tr><tr>
<td colspan="3">
<a id="go-top" href="#">Наверх</a>
</td>
</tr>
</tbody></table>
<br/><?= $copyright ?>
<br><?= __("Язык") ?>:<a href='/language.php?return={{URL}}' style='background-image: url(<?= $lang->icon ?>); background-repeat: no-repeat; background-position: 5px 2px; padding-left: 23px;'><?= $lang->name ?></a>
<br><?= __(" %s сек", $document_generation_time) ?>
</div>