$v){ if (!is_array($v)){ if (get_magic_quotes_gpc()) { $v = stripslashes($v) ; } $v = f_escape($v); $$k = $v; } } } if (isset($_GET["itemid"])){ $itemid = f_escape($_GET["itemid"]) ; } if (isset($_GET["cID"])){ $cID = f_escape($_GET["cID"]) ; } if (($itemid)and($cID)){ $iNAM = $cID."_".$itemid ; $sql = "SELECT * FROM data WHERE iNAM = '".$iNAM."' ;" ; $res = mysql_query($sql, $conn) or die("データ抽出エラー"); $row = mysql_fetch_array($res, MYSQL_ASSOC) ; if (isset($row)){ $this_id = $row["id"] ; $iTITLE = $row["iTITLE"] ; $iEXP = $row["iEXP"] ; $syu = $row["syu"] ; $img1 = $row["img1"] ; $img2 = $row["img2"] ; $img3 = $row["img3"] ; $img4 = $row["img4"] ; $img5 = $row["img5"] ; $img1_exp = $row["img1_exp"] ; $img2_exp = $row["img2_exp"] ; $img3_exp = $row["img3_exp"] ; $img4_exp = $row["img4_exp"] ; $img5_exp = $row["img5_exp"] ; $cat1_A = $row["cat1_A"] ; $cat1_B = $row["cat1_B"] ; $cat1_C = $row["cat1_C"] ; $cat1_D = $row["cat1_D"] ; $cat2_A = $row["cat2_A"] ; $cat2_B = $row["cat2_B"] ; $cat2_C = $row["cat2_C"] ; $cat2_D = $row["cat2_D"] ; $cat3_A = $row["cat3_A"] ; $cat3_B = $row["cat3_B"] ; $cat3_C = $row["cat3_C"] ; $cat3_D = $row["cat3_D"] ; $sozai1_A = $row["sozai1_A"] ; $sozai1_B = $row["sozai1_B"] ; $sozai1_C = $row["sozai1_C"] ; $sozai1_D = $row["sozai1_D"] ; $sozai2_A = $row["sozai2_A"] ; $sozai2_B = $row["sozai2_B"] ; $sozai2_C = $row["sozai2_C"] ; $sozai2_D = $row["sozai2_D"] ; $sozai3_A = $row["sozai3_A"] ; $sozai3_B = $row["sozai3_B"] ; $sozai3_C = $row["sozai3_C"] ; $sozai3_D = $row["sozai3_D"] ; $tag = $row["tag"] ; $public = $row["public"] ; $pref = $row["pref"] ; $color1 = $row["color1"] ; $color2 = $row["color2"] ; $color3 = $row["color3"] ; $good = intval($row["good"]) ; $view = intval($row["view"]) ; $todays_view = intval($row["todays_view"]) ; $todays_good = intval($row["todays_good"]) ; $last_view_date = $row["last_view_date"] ; $last_good_date = $row["last_good_date"] ; $last_ip = $row["last_ip"] ; } } require("page_parts/login_check.php") ; require("page_parts/header_a.php") ; if ($same_ip != "Y"){ //dataのviewカウントアップ $view = $view + 1 ; $sql2 = "UPDATE data SET view = ".sql(intval($view))." WHERE iNAM = '".$iNAM."' ;"; mysql_query($sql2, $conn) or die(mysql_error()); } ?> -


" ; echo "" ; } else { echo "" ; echo "" ; } ?> 0


カテゴリー " ; } ?> " ; } ?>
素材
所在地