Партнеры и Друзья

428
.
How to set total sites on mainmenu
.
Put this to head.php its for site moderation you get it like mail

if ($rights >= 6)
$total_mod = mysql_result(mysql_query("SELECT COUNT(*) FROM `friendssite` WHERE `type`='2'"), 0);
if ($total_mod)
echo '<div class="rmenu"><b>INFO</b>:<br/><a href="' . core::$system_set['homeurl'] . '/pages/friendssite.php?act=mod_site">Site for moderation</a>&#160;<span class="red">' . $total_mod . '</span></div>';
.
на 5.2 пашет?
Всего: 63