BLOUNGE|".UE($crow[name])."〜".UE($trow[name])."\n"; ?> \n"; print " \n"; print "\n"; ?>
\n"; print " \n"; if ($ca_serial) { $cquery = "select * from category where (serial='$ca_serial')"; $cresult = mysql_query($cquery ,$db); $crow = mysql_fetch_array($cresult); print "

\"コレクション\"

\n"; } else { print "

\"コレクション\"

\n"; } print " \n"; print " \n"; print "
\n"; print "\n"; print "
\n"; $query = "select * from theme where (lev='1') and ((date_sta <= '$today') and ('$today' <= date_end)) order by num"; $result = mysql_query($query ,$db); $count = mysql_num_rows($result); if ($count > 0) { while ($row = mysql_fetch_array($result)) { print "\n"; if ($th_serial==$row[serial]) { //DB_connect(); $query2 = "select * from category where lev=1 order by num"; $result2 = mysql_query($query2 ,$db); $count2 = mysql_num_rows($result2); if ($count2 > 0) { while ($row2 = mysql_fetch_array($result2)) { $query3 = "select * from items where (lev='1') and (theme='$th_serial') and (category='$row2[serial]')"; $result3 = mysql_query($query3 ,$db); $row3 = mysql_fetch_array($result3); if (!empty($row3)) { print "\n"; } } } } } } print "
\n"; print " \n"; print "
\n"; print "
\n"; print " \n"; print " \n"; print "
\n"; print "
\n"; print " \n"; print " \n"; print " \n"; print "
\n"; ?>

 

$ca_name〜".UE($trow[name])."\n"; print "
\n"; print "

$ca_com

\n"; print "
\n"; print "

 

\n"; print "
\n"; $query2 = "select * from sub_category where (lev='1') and (category='$ca_serial') order by num"; $result2 = mysql_query($query2 ,$db); $count2 = mysql_num_rows($result2); if ($count2 > 0) { while ($row2 = mysql_fetch_array($result2)) { //$path = "../category_photo/$row2[photo]"; //if (($row2[photo])&&(file_exists($path))) { // print "
\"".UE($row2[name])."\"
\n"; //} else { // print "
 
\n"; //} $query3 = "select * from items where (lev='1') and (theme='$th_serial') and (category='$ca_serial') and (sub_category='$row2[serial]') order by rand()"; $result3 = mysql_query($query3 ,$db); $row3 = mysql_fetch_array($result3); if (!empty($row3)) { print "
\n"; $path3 = "../items_photo/$row3[photo1]"; if (($row3[photo1])&&(file_exists($path3))) { //print "
\"".UE($row2[name])."\"
\n"; print "
\"".UE($row2[name])."\"
\n"; } else { print "
 
\n"; } print "
".UE($row2[name])."
\n"; print "
\n"; } } } print "
\n"; ?>
Copyright ©  BLOUNGE
PageTop