0) { $j=floor($nbFeatItems/$layout['nb_feat_hp']); $j++; } else $notfeat="Y"; $fct=0; $id = array(); $name = array(); $pic = array(); $maxbid = array(); $enddate = array(); $currency = array(); while ($hpFeatured=mysql_fetch_array($getFeatItems)) { $id[$fct] = $hpFeatured['id']; $name[$fct] = $hpFeatured['itemname']; $pic[$fct] = $hpFeatured['picpath']; $maxbid = array ($fct => $hpFeatured['maxbid']); $enddate = array ($fct => $hpFeatured['enddate']); $currency[$fct] = $hpFeatured['currency']; $fct++; } include ("themes/".$setts['default_theme']."/header.php"); include ("themes/".$setts['default_theme']."/mainpage.php"); include ("themes/".$setts['default_theme']."/footer.php"); ?>