include './conf.php';
$xxid = intval($_GET['xid']);
$oo = $db->query2("select * from `video_cat2` where `cat2id`='$xxid' ");
$pagetitle = $oo->name2;
include './head_new.php'; ?>
$yudddd = $db->query2("select * from video where cat2='$xxid' order by id desc limit 1");
if(empty($yudddd->thirdparty)){
$xurl = str_replace("http://www.youtube.com/watch?v=","https://www.youtube.com/embed/",$yudddd->video);
$vffbggf = str_replace("https://www.youtube.com/watch?v=","https://www.youtube.com/embed/",$xurl);
}else{
preg_match('/src="([^"]+)"/',$yudddd->thirdparty, $match);
$vffbggf= $match[1];
}
?>
$yudd = $db->query("select * from video where cat2='$xxid' order by id desc");
while($t = $db->make_fetch2($yudd)){
echo '