query('select * from '.$dbt['menu'].' WHERE VISIBLE=1 ORDER BY ORD ASC'); $Menu=$db->getResult(); for($i=0;$i
query('select * from '.$dbt['menu2'].' where ID_PARENT='.$Menu[$i]['ID'].' AND VISIBLE=1 order by ORD ASC'); $SubMenu=$db->getResult(); for($j=0;$jquery('SELECT COUNT(ID) as CNT FROM '.$dbt['tppub'].' WHERE ID_CAT='.$SubMenu[$j]['ID'].' AND IDT='.$SubMenu[$j]['IDT']); $count_=$db->fetchRow(); ?>
 
()