<?php

/**
 * @package     JohnCMS
 * @link        http://johncms.com
 * @copyright   Copyright (C) 2008-2011 JohnCMS Community
 * @license     LICENSE.txt (see attached file)
 * @version     VERSION.txt (see attached file)
 * @author      http://johncms.com/about
 */

defined('_IN_JOHNCMS') or die('Error: restricted access');

// Рекламный блок сайта
if (!empty($cms_ads[2])) {
    echo '<div class="gmenu">' . $cms_ads[2] . '</div>';
}

if (isset($_GET['err']) || $headmod != "mainpage" || ($headmod == 'mainpage' && $act)) {
    echo '<a href="/" class="menu_j">На главную</a>';
}
echo '<div class="foot"><a href="/"><img src="/theme/default/img/footcopy.png" alt="" /></a></div>

<div class="count">
	<center><a href="http://gruzok.net/guestbook">Нашли ошибку?</a><br />
		<script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script>
		<div class="yashare-auto-init" data-yasharel10n="ru" data-yasharetype="none" data-yasharequickservices=",vkontakte,facebook,twitter,odnoklassniki,moimir,gplus">
			<span class="b-share">
				<a rel="nofollow" target="_blank" title="ВКонтакте" class="b-share__handle b-share__link b-share-btn__vkontakte" href="http://share.yandex.ru/go.xml?service=vkontakte&amp;url=http%3A%2F%2Fmusic.gruzok.net%2F&amp;title=GruzOK.Net" data-service="vkontakte"><span class="b-share-icon b-share-icon_vkontakte"></span></a>
				<a rel="nofollow" target="_blank" title="Facebook" class="b-share__handle b-share__link b-share-btn__facebook" href="http://share.yandex.ru/go.xml?service=facebook&amp;url=http%3A%2F%2Fmusic.gruzok.net%2F&amp;title=GruzOK.Net" data-service="facebook"><span class="b-share-icon b-share-icon_facebook"></span></a>
				<a rel="nofollow" target="_blank" title="Twitter" class="b-share__handle b-share__link b-share-btn__twitter" href="http://share.yandex.ru/go.xml?service=twitter&amp;url=http%3A%2F%2Fmusic.gruzok.net%2F&amp;title=GruzOK.Net" data-service="twitter"><span class="b-share-icon b-share-icon_twitter"></span></a>
				<a rel="nofollow" target="_blank" title="Одноклассники" class="b-share__handle b-share__link b-share-btn__odnoklassniki" href="http://share.yandex.ru/go.xml?service=odnoklassniki&amp;url=http//gruzok.net&amp;title=GruzOK.Net" data-service="odnoklassniki"><span class="b-share-icon b-share-icon_odnoklassniki"></span></a>
				<a rel="nofollow" target="_blank" title="Мой Мир" class="b-share__handle b-share__link b-share-btn__moimir" href="http://share.yandex.ru/go.xml?service=moimir&amp;url=http%3A%2F%2Fmusic.gruzok.net%2F&amp;title=GruzOK.Net" data-service="moimir"><span class="b-share-icon b-share-icon_moimir"></span></a>
				<a rel="nofollow" target="_blank" title="Google Plus" class="b-share__handle b-share__link b-share-btn__gplus" href="http://share.yandex.ru/go.xml?service=gplus&amp;url=http%3A%2F%2Fmusic.gruzok.net%2F&amp;title=GruzOK.Net" data-service="gplus"><span class="b-share-icon b-share-icon_gplus"></span></a>
			</span>
		</div>
	</center>
</div>

';

// Счетчики каталогов
functions::display_counters();

// Рекламный блок сайта
if (!empty($cms_ads[3])) {
    echo '<br />' . $cms_ads[3];
}

/*
-----------------------------------------------------------------
ВНИМАНИЕ!!!
Данный копирайт нельзя убирать в течение 90 дней с момента установки скриптов
-----------------------------------------------------------------
ATTENTION!!!
The copyright could not be removed within 90 days of installation scripts
-----------------------------------------------------------------
*/
echo '</body></html>';