Goooooods!

Goooooods!ショッピングストア(moshi market )

カテゴリー別
"; print "
"; print ""; print "\n"; print "

"; print ""; for($cat = 1; $cat < 11; $cat++) { print "

"; $sql_cat_99 = "SELECT SQL_CALC_FOUND_ROWS cat_id FROM item where cat_id=$cat"; $rs_cat_99 = mysql_query($sql_cat_99) or die("0"); $maxrows_cat_99 = mysql_num_rows($rs_cat_99); print ""; } print ""; $sql_cat_0 = "SELECT SQL_CALC_FOUND_ROWS cat_id FROM item where cat_id=0"; $rs_cat_0 = mysql_query($sql_cat_0) or die("0"); $maxrows_cat_0 = mysql_num_rows($rs_cat_0); print ""; print ""; $sql_cat_00 = "SELECT SQL_CALC_FOUND_ROWS cat_id FROM item"; $rs_cat_00 = mysql_query($sql_cat_00) or die("0"); $maxrows_cat_00 = mysql_num_rows($rs_cat_00); print ""; print "
".$cat_name[$cat].""; print "".number_format($maxrows_cat_99).""; print "品
その他"; print "".number_format($maxrows_cat_0).""; print "品
総アイテム数"; print "".number_format($maxrows_cat_00).""; print "品
\n"; print "
"; print ""; print "
"; print "
"; for($cat = 1; $cat < 11; $cat++) { include 'fabs.php'; } ?>