<?php // !!! нумерация подсветки пунктов меню: заняты номера 1-24 и 100 if (!defined('IS_SITE_ADMIN')) { header('Location: /404.php'); exit; } require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/masssending.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/paid_advices.php"; $paid_advice = new paid_advices(); $stat_advice = $paid_advice->getStatAdvices(); $mass_sending_new_cnt = masssending::GetCount(masssending::OM_NEW); $s = 'style="color: #666;"'; $c = 'class="blue"'; // количество жалоб о спаме require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/messages_spam.php'; $nMessagesSpamCount = messages_spam::getSpamCount(); // количество жалоб на проекты if (!isset($nComplainProjectsCount)) { require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/projects.php'; $nComplainProjectsCount = projects::GetComplainPrjsCount(); } ?> <div class="admin-menu"> <h3>Модераторская</h3> <?php if (!isset($aPermissions)) { require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/permissions.php"; $aPermissions = permissions::getUserPermissions(get_uid(false));