Вход Регистрация
Файл: wenr.online/templates/app.tpl
Строк: 149
<!DOCTYPE html> <html lang="ru"> <head>
<meta charset="utf8mb4_unicode_ci"> <meta
http-equiv="X-UA-Compatible"
content="IE=edge"> <meta name="viewport"
content="width=device-width, initial-scale=1"> <link
rel="shortcut icon"
href="/public/assets/images/favicon.png" />
<title><?=$title;?></title> <!-- CSS Bootstrap
--> <link href="/public/assets/css/bootstrap.css"
rel="stylesheet"> <link
href="/public/assets/css/style.css?r=22"
rel="stylesheet"> <script
src="https://kit.fontawesome.com/65fb98eaeb.js"
crossorigin="anonymous"></script> </head>
<body> <script
src="/public/assets/js/jquery.js"></script> <!--
Yandex.Metrika counter --> <script type="text/javascript"
>
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new
Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script",
"https://mc.yandex.ru/metrika/tag.js", "ym");
ym(65025850, "init", { clickmap:true,
trackLinks:true, accurateTrackBounce:true,
webvisor:true }); </script> <noscript><div><img
src="https://mc.yandex.ru/watch/65025850"
style="position:absolute; left:-9999px;" alt=""
/></div></noscript> <!-- /Yandex.Metrika counter
--> <script> function hpview() {
$.ajax({ url: '/json/hp?r=<?=$r;?>', dataType:
'json', success: function(data) {
$('#hpview').html(data.hp); $('#max_hp').html(data.max_hp);
$('#cavetime').html(data.cave);
$('#cavesrc').html(data.cavesrc);
$('#clanwar').html(data.clanwar); } }); };
setInterval(hpview, 1000);
document.onkeydown = function(e) { if (e.keyCode == 27) {
location="https://wenr.online/game"; } }
</script>

<div id="results"> <?php
if($user->isAuth()){ ?>
<a href="/game?r=<?=$r;?>"><img
class="img-responsive"
src="/public/assets/images/main-logo.jpg"
alt="История войны"></a> <div
class="bg"> <div
id="refresdh"> <div class="heads-info
text-center"> <table> <tr> <td
class="heads-user-info"> <a
href="/constantino?r=<?=$r;?>" class="ajax
list"><img
src="/public/assets/images/hp.png"><span
id="hpview"><?=$user->get()->hp;?></span>/ <span
id="max_hp"><?=$user->get()->max_hp;?></span></a>
</td> <td
class="heads-user-info-center"> <a
href="/constantino?r=<?=$r;?>"><img
src="/public/assets/images/mana.png">
<?=$user->get()->mana;?>/<?=$user->get()->mana_max;?></a>
</td> <td class="heads-user-info"> <a
href="/pay?r=<?=$r;?>"> <img
src="/public/assets/images/zoloto.png">
<?=$user->get()->gold;?> </a> </td>
</tr> </table> </div>
</div> </div> <?php }
if(isset($_SESSION['message'])){?> <div class= "alert
alert-success alert- dismissable col-lg-12 col-md-12 col-sm-12
col-xs-12" ><button type= "button" class=
"close" data-dismiss= "alert" aria-hidden=
"true" >&times; </button>
<?=$_SESSION['message'];?> </div> <?
unset($_SESSION['message']);?> <? }?> <?if(isset($_SESSION['error'])){ ?> <div
class= "alert alert-success alert- dismissable col-lg-12 col-md-12
col-sm-12 col-xs-12" ><button type= "button" class=
"close" data-dismiss= "alert" aria-hidden=
"true" >&times; </button><strong>
Ошибка! </strong>
<?=$_SESSION['error'];?> </div> <?
unset($_SESSION['error']); } ?> <?=
$this->section('container') ?> <?php
if($user->isAuth()){?>
<div class="link-f text-center"> <table
width="100%"> <tr> <td
width="50%"> <a
href="/game?r=<?=$r;?>"><img
src="/public/assets/images/main.png"
alt=""></a> </td> <td
width="50%"> <a
href="/user?r=<?=$r;?>"><img
src="/public/assets/images/user.png"
alt=""></a> </td> </tr> </table> </div> <br>
<?php }?>
<img class="img-responsive"
src="/public/assets/images/foot-images.png"
alt="foot-i"> <?php
if($user->isAuth()){?> <ul class="list-inline foots
text-center"> <li><a
href="/faq?r=<?=$r;?>">Помощь по
игре</a></li> | <li><a
href="/online?r=<?=$r;?>">Онлайн
(<?=count_online();?>)</a></li> | <li><a
href="/chat?r=<?=$r;?>">Чат
(<?=count_chat();?>)</a></li> <br>
<li><a
href="/support?r=<?=$r;?>">Поддержка</a></li>|
<li><a
href="/news?r=<?=$r;?>">Новости
(<?=count_news();?>)</a></li> | <li><a
href="/forum?r=<?=$r;?>">Форум
(<?=count_topic();?>/<?=count_msg();?>)</a></li>
</ul> <?php } ?> <?php
if(!$user->isAuth()){?> <ul class="list-inline foots
text-center"> <li>Онлайн
(<?=count_online();?>)</li> </ul> <?php }
?> <script> var moskowUtc = 3; var timerId =
setInterval(function() { let t = new Date(), tt = t.getUTCHours() +
moskowUtc; document.getElementById('tik-tak').innerHTML = (tt > 24 ?
"0" : "") + (tt > 24 ? tt - 24 : tt) + ":"
+ (t.getMinutes() < 10 ? '0' : '') + t.getMinutes() + ":" +
(t.getSeconds() < 10 ? '0' : '') + t.getSeconds();
document.getElementById('tik-tak').classList.add("step"); },
1000); </script> <div
class="text-center"> <p class=label
label-default"> <i class="fa fa-clock-o"
aria-hidden="true"></i> <span
id="tik-tak"> </span>
</p> </div> <br> <h5 class="text-center
copy">&copy; 2020
<strong>WENR.ONLINE</strong></h5> </div>
<script
src="/public/assets/js/bootstrap.js"></script>
</body> </html>
Онлайн: 2
Реклама