View file incfiles/end.php

File size: 1.24Kb
<?php
defined('_IN_JOHNCMS') or die('Error: restricted access');
if (!empty($cms_ads[2])) {
echo '<div class="gmenu">' . $cms_ads[2] . '</div>';
}
echo '</div><div class="fmenu">';
if (isset($_GET['err']) || $headmod != "mainpage" || ($headmod == 'mainpage' && $act)) {
echo '<div><a href=\'' . $set['homeurl'] . '\'>' . functions::image('menu_home.png') . $lng['homepage'] . '</a></div>';
}
echo '<div>' . counters::online() . '</div>' .
'</div>' .
'<div style="text-align:center">' .
'<a href="/pages/faq.php?act=contacts">Контакты</a> | <a href="/pages/faq.php?act=forum">Правила</a>' .
'<p><b><a href="/pages/developers.php">&copy; </a> ' . $set['copyright'] . '</b></p>';
// Счетчики каталогов
functions::display_counters();
echo '<script type="text/javascript" src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js" charset="utf-8"></script>
<script type="text/javascript" src="//yastatic.net/share2/share.js" charset="utf-8"></script>
<div class="ya-share2" data-services="vkontakte,facebook,whatsapp" data-size="s"></div>';
// Рекламный блок сайта
if (!empty($cms_ads[3])) {
echo '<br />' . $cms_ads[3];
}
echo '<div><small>&copy; <a href="http://johncms.com">JohnCMS</a></small></div>';
echo '</div></body></html>';