include'pages/news.php'; include'butsa/futbol_tashqi.php'; if ($rights > 6) { echo'<div class="gmenu"> <a href="'.$home.'/news.php?act=yozish">Yangilik yozish</a></div>'; }
<?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 */ $mp = new mainpage(); /* ----------------------------------------------------------------- Блок информации ----------------------------------------------------------------- */ include'pages/menu.php'; include'pages/izlash.php'; include'pages/live.php'; include'pages/news.php'; if ($rights > 6) { echo'<div class="gmenu">+ <a href="'.$home.'/news.php?act=yozish">Yangilik yozish</a></div>'; } include'pages/liveoff.php'; include'pages/table.php'; //include'pages/gol.php'; ?>