query('select NAME_'.strtoupper($l).' as NAME from '.$dbt['menu'].' where ID=\''.$idc.'\' limit 1'); $mtit=$db->fetchRow(); ?>

  
query('select * from '.$dbt['menu2'].' where FKEY=\'pt\' AND VISIBLE=1 '.(isset($idc) && trim($idc)!=''?'AND ID_PARENT=\''.$idc.'\' ORDER BY ':' ORDER BY ID_PARENT,').' ORD ASC'); $SMenu=$db->getResult(); for($i=0;$i
 
query('select * from '.$dbt['tppub'].' where VISIBLE=1 AND ID=\''.$id.'\' limit 1'); $MItem=$db->fetchRow(); $sd=$MItem['STARTDATE']; $fd=$MItem['ENDDATE']; ?>
   
|  
'.$msg['address'].': '.stripslashes($MItem['CFIELD1']).'
':'')?> '.$msg['tel'].' '.stripslashes($MItem['CFIELD2']).'
':'')?> '.$msg['fax'].' '.stripslashes($MItem['CFIELD3']).'
':'')?> '.$msg['email'].': '.stripslashes($MItem['CFIELD4']).'
':'')?> '.$msg['site'].': '.stripslashes($MItem['CFIELD5']).'':'')?>