Файл: rayb.me/system/footer.php
Строк: 91
<?php
list($msec, $sec) = explode( chr(32), microtime() );
if(isset($user)){
$users_count = mysqli_fetch_assoc(DB::Query("SELECT * FROM `users_count` WHERE `id_user` = '".$uid."'"));
echo '<div class="center" style="margin-top: 3px;" id="menu">';
echo '<a style="margin-left: 16px;" href="/rating?angels">';
echo '<img src="/img/rating.png" width="46" height="46" alt="rating"/>';
echo '</a>';
echo '<a style="margin-left: 16px;" href="/profile/">';
echo '<img src="/img/profile.png" width="46" height="46" alt="prof"/>';
echo '</a>';
if($users_count['cforum'] == 0){
echo '<a style="margin-left: 16px;" href="/corp/">';
echo '<img src="/img/corp.png" width="46" height="46" alt="cforum"/>';
echo '<span class="footersys">';
echo '<b>+</b>';
echo '</span>';
echo '</a>';
}
elseif($users_count['cchat'] == 0){
echo '<a style="margin-left: 16px;" href="/corp/">';
echo '<img src="/img/corp.png" width="46" height="46" alt="cchat"/>';
echo '<span class="footersys">';
echo '<b>+</b>';
echo '</span>';
echo '</a>';
}else{
echo '<a style="margin-left: 16px;" href="/corp/">';
echo '<img src="/img/corp.png" width="46" height="46" alt="cchat"/>';
echo '</a>';
}
if($users_count['chat'] == 0){
echo '<a style="margin-left: 16px;" href="/chat">';
echo '<img src="/img/chat.png" width="46" height="46" alt="chat"/>';
echo '<span class="footersys">';
echo '<b>+</b>';
echo '</span>';
echo '</a>';
}else{
echo '<a style="margin-left: 16px;" href="/chat">';
echo '<img src="/img/chat.png" width="46" height="46" alt="chat"/>';
echo '</a>';
}
if($users_count['forum'] == 0){
echo '<a style="margin-left: 16px;" href="/forum/">';
echo '<img src="/img/forum.png" width="46" height="46" alt="forum"/>';
echo '<span class="footersys">';
echo '<b>+</b>';
echo '</span>';
echo '</a>';
}else{
echo '<a style="margin-left: 16px;" href="/forum/">';
echo '<img src="/img/forum.png" width="46" height="46" alt="forum"/>';
echo '</a>';
}
echo '</div>';
}
$online = DB::result(DB::Query("SELECT COUNT(*) FROM `users` WHERE `online` > '".(time()-600)."'"),0);
$online2 = DB::result(DB::Query('SELECT COUNT(*) FROM `users`'),0);
echo '<div class="center">';
echo '<div class="minor">';
if(isset($user)){
echo '<div style="padding:32px 0;text-align:center;text-shadow: #2b572f 0 0 35px;">';
echo '<small>Rayb.Me, в игре: <a href="/online"> '.$online.' из '.$online2.'</a></small><br/>';
echo '<a href="/sogl.php">Правила</a>, ';
echo date('H:i:s')." ©".date('Y')."<br/>".round((($sec+$msec)-$gtime),3)."ms ®<a href='/profile/1/'>Pikachu</a><br/><br/><small><a style='color:red' href='/pay/'>Проверка платежной системы</a></small></div>";
}else{
echo '<div style="padding:32px 0;text-align:center;text-shadow: #2b572f 0 0 35px;">';
echo '<small>';
echo 'Rayb.Me, в игре: <a>'.$online.' из '.$online2.'</a>';
echo '</small><br/>';
echo date('H:i:s')." ©".date('Y');
echo "<br/>";
echo round((($sec+$msec)-$gtime),3)."ms ®<a href='/profile/1/'>Pikachu</a>";
echo "</div>";
}
echo '<a href="mailto:support@rayb.me"><img width="45" height="45" alt="" src="/ic/e.png" title=""/> </a>';
echo '<a href="//t.me/rayb_me"> <img width="45" height="45" alt="" src="/ic/t.png" title=""/> </a>';
echo '<a href="//wa.me/message/6W6F5KXXNZAUA1"> <img width="45" height="45" alt="" src="/ic/w.png" title=""/> </a>';
echo '<a href="//vk.com/reub_mars"> <img width="45" height="45" alt="" src="/ic/v.png" title=""/> </a>';
echo "</div>";
echo "</div>";
?>
<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(74246740, "init", {clickmap:true,trackLinks:true,accurateTrackBounce:true,webvisor:true});</script>
<noscript><img src="https://mc.yandex.ru/watch/74246740" style="position:absolute; left:-9999px;" alt="" /></noscript>
</body>
</html>