include("control_panel/conf.php");
include("control_panel/functions.php");
?>
// MenĂ¹ prodotti lev1
$dbg = "off";
$rs_name = "fld_realizzazioni";
$tbl = "tbl_realizzazioni";
$where= "fld_realizzazioni__id_cat=".$_REQUEST["cat"];
$group_fld = 0;
$group_typ = 0;
$order_fld = "fld_realizzazioni_id";
$order_typ = "asc";
mysql_opr_query($dbg,$rs_name,$tbl,$where,$group_fld,$group_typ,$order_fld,$order_typ);
?>
.: DR Clima :.
Galleria Realizzazioni
Elenco realizzazioni
$max_col=3;
$tot_col=mysql_num_rows($fld_realizzazioni_result);
$cnt_col=1;
$cnt_tot_col=1;
while($fld_realizzazioni_row = mysql_fetch_array($fld_realizzazioni_result)) {
if ($cnt_col==1) { echo ""; }
?>
|
if ($cnt_col==$max_col || $cnt_tot_col==$tot_col) { echo "
";$cnt_col=1; } else { $cnt_col=$cnt_col+1; }
$cnt_tot_col=$cnt_tot_col+1;
}
?>