Файл: styles/gcms/inmod.php
Строк: 19
<?php
defined('GCMS') or die('ОШИБКА!');
define('ROOT','/');
###Модули###
$menu = $db -> query("SELECT * FROM `menu` ORDER BY `sid` ASC");
while ($sil = $menu -> fetch_assoc())
{
if ($sil['tip']=='link'){
echo'<div class="menu">
<a class="menutuch" href='.$sil['url'].'>
'.$diz -> img(''.$sil['icon'].'').'
'.$sil['name'].' ';
}else{
echo '<div class="new">'.$sil['name'].'</div>';
}
if ($sil['chet']!=NULL && is_file(ROOT.$sil['chet']))
{
include ROOT.$sil['chet'];
}
if(mb_strlen($func->delprobel($sil['info']))>2)echo'<br/><small>'.$sil['info'].'</small>';
if ($sil['tip']=='link'){echo '</a></div>';}
}
?>