include("../config/conn.php"); include("../config/function.php"); $id=intval($_GET[id]); $w=returnjgdw($_GET[w],"",790); $h=returnjgdw($_GET[h],"",470); $bh=$_GET[bh]; if(empty($id)){ while1("*","yjcode_provideo where zt=0 and probh='".$bh."' order by sj desc");if($row1=mysql_fetch_array($res1)){$id=$row1[id];} } while1("*","yjcode_provideo where id=".$id);if(!$row1=mysql_fetch_array($res1)){exit;} if($row1[gs]!="mp4"){echo returnvideo($id,$w,$h);exit;} ?>