0) { while($selectexhb_fetch = mysql_fetch_array($selectexhb)) { $name_cat=$selectexhb_fetch['category_name']; $get=mysql_query("select * from boutique where category_name='$name_cat' order by b_id desc limit 1"); $num=mysql_query("select * from boutique where category_name='$name_cat' order by b_id desc"); mysql_num_rows($num); if(mysql_num_rows($num)>0) { $imgget_fetch=mysql_fetch_array($get); // to display image for category $src_image=eregi_replace('boutique/','',$imgget_fetch['image']); echo '
'.$imgget_fetch['category_name'].'
'.$imgget_fetch['category_name'].'
('.mysql_num_rows($num).' images)
'; } } } ?>
9) echo $pagination; ?>
0) { while($rows = mysql_fetch_array($fetch_planner)) { foreach($rows as $K1=>$V1) $$K1 = $V1; if($to_page=='Latest Contest') { $display='list-latestcontest.php'; } else if($to_page=='Results') { $display='list-competitions.php'; } else if($to_page=='Events') { $display='list-events.php'; } else if($to_page=='Art And Craft Club') { $display='idearoom.php?type=A'; } else if($to_page=='Creative Corner') { $display='idearoom.php?type=C'; } else if($to_page=='Art Products') { $display='boutique-category.php?type=A'; } else if($to_page=='Other Products') { $display='boutique-category.php?type=O'; } else if($to_page=='Training') { $display='list-artstudio.php?type=artstudio&stype=training'; } else if($to_page=='Workshop') { $display='list-artstudio.php?type=artstudio&stype=workshops'; } else if($to_page=='Demos') { $display='list-artstudio.php?type=artstudio&stype=demos'; } else if($to_page=='Camp') { $display='list-artstudio.php?type=artstudio&stype=camp'; } else if($to_page=='Photography') { $display='list-artstudio.php?type=artstudio&stype=Photography'; } ?> 0) { while($rows = mysql_fetch_array($fetch_planner)) { foreach($rows as $K1=>$V1) $$K1 = $V1; if($to_page=='Latest Contest') { $display='list-latestcontest.php'; } else if($to_page=='Results') { $display='list-competitions.php'; } else if($to_page=='Events') { $display='list-events.php'; } else if($to_page=='Art And Craft Club') { $display='idearoom.php?type=A'; } else if($to_page=='Creative Corner') { $display='idearoom.php?type=C'; } else if($to_page=='Art Products') { $display='boutique-category.php?type=A'; } else if($to_page=='Other Products') { $display='boutique-category.php?type=O'; } else if($to_page=='Training') { $display='list-artstudio.php?type=artstudio&stype=training'; } else if($to_page=='Workshop') { $display='list-artstudio.php?type=artstudio&stype=workshops'; } else if($to_page=='Demos') { $display='list-artstudio.php?type=artstudio&stype=demos'; } else if($to_page=='Camp') { $display='list-artstudio.php?type=artstudio&stype=camp'; } else if($to_page=='Photography') { $display='list-artstudio.php?type=artstudio&stype=Photography'; } ?>
Advertisment