ランキング

0){ if(strstr($row["ranking".$is],"honecolle.jp") !== false){ $row["ranking".$is] = str_replace("https://honecolle.jp/cast/","",$row["ranking".$is]); $row["ranking".$is] = str_replace("http://honecolle.jp/cast/","",$row["ranking".$is]); } $honecollesql = "select * from {$tblname} where`delete` <> 'yes' and `display` = 'yes' and `id` = '".$row["ranking".$is]."'"; $honecolleres = mysql_query( $honecollesql ); $honecollerow = mysql_fetch_array( $honecolleres ); $matches[1] = "
".$honecollerow["name"]."(".$honecollerow["age"].")
T".$honecollerow["tall"]."
B".$honecollerow["bust"]."(".$honecollerow["cup"].")W".$honecollerow["west"]."H".$honecollerow["hip"]."
".$honecollerow["listcomment"]."
"; $row["ranking".$is] = "https://honecolle.jp/cast/" . $row["ranking".$is]; if(strlen($honecollerow["name"]) > 0){ $dispflg = "yes"; }else{ $dispflg = ""; } }else{ $castid = preg_replace('/[^0-9]/', '', $row["ranking".$is]); if(strstr($row["ranking".$is],"honecom.jp") !== false){ $castdatasql = "select * from honecom.{$tblname} where`delete` <> 'yes' and `display` = 'yes' and `id` = '".$castid."'"; $castdatares = mysql_query( $castdatasql ); $castdatarow = mysql_fetch_array( $castdatares ); $castName = $castdatarow['name']; $castAge = $castdatarow['age']; $castTall = $castdatarow['tall']; $castBust = $castdatarow['bust']; $castCup = $castdatarow['cup']; $castWest = $castdatarow['west']; $castHip = $castdatarow['hip']; $castListcomment = $castdatarow['listcomment']; $matches[2] = $castdatarow["heaven"]; }elseif(strstr($row["ranking".$is],"maidsoap.jp") !== false){ $castdatasql = "select * from maidsoap.{$tblname} where`delete` <> 'yes' and `display` = 'yes' and `id` = '".$castid."'"; $castdatares = mysql_query( $castdatasql ); $castdatarow = mysql_fetch_array( $castdatares ); $castName = $castdatarow['name']; $castAge = $castdatarow['age']; $castTall = $castdatarow['tall']; $castBust = $castdatarow['bust']; $castCup = $castdatarow['cup']; $castWest = $castdatarow['west']; $castHip = $castdatarow['hip']; $castListcomment = $castdatarow['listcomment']; $matches[2] = $castdatarow["heaven"]; }elseif(strstr($row["ranking".$is],"wifesoap.jp") !== false){ $castdatasql = "select * from wifesoap.tbl_cast where deletedata <> 'on' and show_toggle = 'on' and `id` = '".$castid."'"; $castdatares = mysql_query( $castdatasql ); $castdatarow = mysql_fetch_array( $castdatares ); $castprofile = unserialize($castdatarow['castprof_Data']); $castName = $castdatarow['name']; $castAge = $castprofile['age']; $castTall = $castprofile['height']; $castBust = $castprofile['bust']; $castCup = $castprofile['cup']; $castWest = $castprofile['waist']; $castHip = $castprofile['hip']; $castListcomment = strip_tags($castprofile['listcomment']); $matches[2] = $castdatarow["heaven_id"]; } $matches[1] = "
".$castName."(".$castAge.")
T".$castTall."
B".$castBust."(".$castCup.")W".$castWest."H".$castHip."
".$castListcomment."
"; if(!empty($castdatarow)){ $dispflg = "yes"; }else{ $dispflg = ""; } $matches[2] = $castdisp[1]; } if(strlen($row["ranking".$is])>0 && $dispflg == "yes"){ ?>