$cid = "4"; $name = getShowName($getname); } else { if ($typedes["0"] == "剧集") { $catid = "402"; $cid = "15"; $name = getSeriesName($getname); } else { if ($typedes["0"] == "Movies") { $catid = "401"; $cid = "9"; $n1 = strpos($getname, '电影'); if ($n1) { $str2 = substr($getname, $n1); } $name = getMovName($str2); } else { if ($typedes["0"] == "Animations") { $catid = "405"; $cid = "3"; $n1 = strpos($getname, '动漫'); if ($n1) { $str2 = substr($getname, $n1); } $name = getComicName($str2); } else { if ($typedes["0"] == "TV Shows") { $catid = "403"; $cid = "4"; $n1 = strpos($getname, '综艺'); if ($n1) {
$result = mysql_query($sql); $i = 0; //$arr=array(); //mysql_select_db("nexusphp", $con); $sql = "select * from torrents where id='{$id}'"; $result = mysql_query($sql); while ($row = mysql_fetch_array($result)) { $array[$i] = $row['id']; $arr[$i] = $row['name']; $arra[$i] = $row['videoname']; //echo $arr[$i]; //$i++; } $imgurl = getImgUrl($getimgdescr); if ($cid == "9") { $name = getMovName($getname); } else { if ($cid == "3") { $name = getComicName($getname); } else { if ($cid == "4") { $name = getShowName($getname); } else { if ($cid == "15") { $name = getSeriesName($getname); } } } } mysql_select_db("ekucms"); for ($j = 0; $j <= $i; $j++) {