/************************************************************** * Date: 2006-02-04 (V 1.0) * Author 1: Nicola Pasquini * Author 2: Fracisc Ungureanu * License: DO NOT Remove this text block!!! * If block is removed, some parts of this site * will no longer work properly, after few days. * The authors will not be responsable for damnages * to your website. * Copyright© by Eurosito Comm. Srl - Italy **************************************************************/ # Include session file (loads core) require_once ("_includes/session_set.php"); /************************************************************** * Module Functions **************************************************************/ function display($_idpage){ global $_CCFG,$_PACKAGE,$_GPV,$title,$_nl,$_sp; # Get security vars $_SEC = get_security_flags (); $descr=""; $code='
';
$sql="SELECT * FROM pagine as t1,menu as t2 WHERE t2.link='PAGE:$_idpage' AND t1.status='on' AND t2.status='on' AND t1.id='$_idpage'";
$res=db_query_execute($sql);
while($data=mysql_fetch_array($res,MYSQL_ASSOC)){
$title=$data[title];
$scat=$data[subcateg];
for($i=1;$i<=$_CCFG['_PARAGRAPHS_COUNT'];$i++)if($data['p'.$i.'_title'] || $data['p'.$i.'_descr']){
$data['p'.$i.'_txt_align']=$data['p'.$i.'_txt_align']?$data['p'.$i.'_txt_align']:'left';
$code.=''.$data['p'.$i.'_title'].'