"" && is_numeric($postid)){ unset($_SESSION['cucatid']); } if(isset($_SESSION['cucatid']) ) { $whcase[]=" `catid` = ".$_SESSION['cucatid']; } if(isset($whcase)) { $where=" and ".join(" and ",$whcase); } if(isset($_GET['postid']) && is_numeric($_GET['postid'])){ $erm="Not available!!"; $sql= "Select `postid`, `zoneid`, `catid`, `userid`, `Username`, `post_topic`, `content`, `extcode`, `postdate`, `Views` from $tbpost where `active` = 1 and `postid` = ".$_GET['postid']." LIMIT 1"; } if(isset($_GET['nextid']) && is_numeric($_GET['nextid'])) { $erm="Not available!!"; $sql="Select `postid`, `zoneid`, `catid`, `userid`, `Username`, `post_topic`, `content`, `extcode`, `postdate`, `Views` from $tbpost where `active` = 1 and `postid` > ".$_GET['nextid']." {$where} ORDER by `postid` ASC LIMIT 1"; } if(isset($_GET['Previd']) && is_numeric($_GET['Previd'])) { $erm="no Previous topic!!"; $sql="Select `postid`, `zoneid`, `catid`, `userid`, `Username`, `post_topic`, `content`, `extcode`, `postdate`, `Views` from $tbpost where `active` = 1 and `postid` < ".$_GET['Previd']." {$where} ORDER by `postid` DESC LIMIT 1"; } $showadsense=0; if($sql<>"") { $_cache="sql"; $rs = mysql_query($sql); if($row = @mysql_fetch_assoc($rs)) { if($_SESSION["page"] <> $row["postid"]) { $_SESSION["page"]=$row["postid"]; mysql_unbuffered_query("update $tbpost set `Views` = `Views` + 1 where `postid` = ".$row["postid"]." LIMIT 1 "); //wfile("./cache/vidip/".$row['postid'].".txt", getIP()); } if(!isset($_SESSION["_referal_id_"])) { $_SESSION["_referal_id_"]=$row["userid"]; //for new member } if($row["catid"]<>999) { $referalid=getreferalid($row["userid"]);//this post referalid if($adsenserow=getuser_adsenseid($row["userid"])) { $uadsense=$adsenserow['adsenseid']; $uchannelcode=$adsenserow['channelcode']; } credit_system($row["userid"],$referalid,$uadsense,$uchannelcode); $showadsense=1; } } else { errmsg($erm,"JavaScript:history.back(0)"); } } else { errmsg("Not available!!","JavaScript:history.back(0)"); } $zoneid=1; $catid=$row['catid']; function wfile($file,$content,$mode='w') { $oldmask = umask(0); $fp = fopen($file, $mode); if (!$fp) return false; fwrite($fp,$content); fclose($fp); umask($oldmask); return true; } function echoembedcode($code,$vid,$width="",$height="") { if(eregi("google",$code)) { if(eregi("style",$code)) { if($height<>"") { $pattern = "height:[0-9]{1,3}px\;"; $code = eregi_replace($pattern,"height:{$height}px",$code); } if($width<>"") { $pattern = "width:[0-9]{1,3}px\;"; $code = eregi_replace($pattern,"width:{$width}px;",$code); } } else { if($height<>"") { $pattern = "height=\"[0-9]{1,3}\""; $code = eregi_replace($pattern,"height='{$height}'",$code); } if($width<>"") { $pattern = "width=\"[0-9]{1,3}\""; $code = eregi_replace($pattern,"width='{$width}'",$code); } } $tmd=split("<\/embed>",$code); $code= $tmd[0].""; //echo $code; } else if(eregi("yahoo",$code)) { if($height<>"") { $pattern = "height='[0-9]{1,3}'"; $code = eregi_replace($pattern,"height='{$height}'",$code); } if($width<>"") { $pattern = "width='[0-9]{1,3}'"; $code = eregi_replace($pattern,"width='{$width}'",$code); } $tmd=split("<\/embed>",$code); $code= $tmd[0].""; //echo $code; } else if(eregi("xanga",$code)) { if($height<>"") { $pattern = "height='[0-9]{1,3}'"; $code = eregi_replace($pattern,"height='{$height}'",$code); } if($width<>"") { $pattern = "width='[0-9]{1,3}'"; $code = eregi_replace($pattern,"width='{$width}'",$code); } $tmd=split("<\/embed>",$code); $code= $tmd[0].""; //echo $code; } else if(eregi("6rooms",$code)) { if($height<>"") { $pattern = "height=\"[0-9]{1,3}\""; $code = eregi_replace($pattern,"height='{$height}'",$code); } if($width<>"") { $pattern = "width=\"[0-9]{1,3}\""; $code = eregi_replace($pattern,"width='{$width}'",$code); } $code=str_replace("&as=1","",$code); $tmd=split("<\/object>",$code); $code=$tmd[0].""; //echo $code; } else if(eregi("@@adult@@",$code)) { $imgpath="{$siteurl}/images/18d.jpg"; $SCpath="./screenshort/"; $fn = $SCpath.md5($code).".jpg"; if(file_exists($fn)) { $imgpath=$fn; } $code=""; /* if($height<>"") { $pattern = "height='[0-9]{1,3}'"; $code = eregi_replace($pattern,"height='{$height}'",$code); } if($width<>"") { $pattern = "width='[0-9]{1,3}'"; $code = eregi_replace($pattern,"width='{$width}'",$code); } //echo $code; */ } else { preg_match('(src=[\"a-z:\/\.\?=\-0-9A-Z_\"]*)',$code,$matches); //$src = substr($matches[0],5,strlen($matches[0])-6); $src = str_replace('src="','',$matches[0]); $loadmovie = $src; $linkurl =$siteurl."/vid/".$vid.".html"; global $siteurl; // $code=' // // // // '; // $code=' // // // '; ?>
".$__catlist[$zoneid][$catid]['name'].""; } if($adsenseid=="") { $showadsense=0; } ?> <?php echo replacebadword($row['post_topic']); ?> - <?php echo $pagetitle; ?> ," />


">

 

",$code); echo $tmd[0].""; } else if(eregi("6rooms",$code)) { $tmd=split("<\/object>",$code); echo $tmd[0].""; } else if(eregi("@@adult@@",$code)) { echo str_replace("@@adult@@","",$code); } else { //preg_match('(src=[\"a-z:\/\.0-9A-Z_\"]*)',$code,$matches); preg_match('(src=[\"a-z:\/\.\?=\-0-9A-Z_\"]*)',$code,$matches); //echo $matches[0]; $src = substr($matches[0],5,strlen($matches[0])-6); $src = str_replace('src="','',$matches[0]); $loadmovie = $src; $linkurl = $siteurl."/vid/".$row['postid'].".html"; ?>


 :  
:
:
     - -
"enu"){?> '".$row['postid']."' and `post_topic` <>'' order by `postid` DESC LIMIT 8"); while($uservrow = @mysql_fetch_assoc($uservrs)) { ?>

"enu"){?> '".$row['postid']."' and `post_topic` <>'' order by `postid` DESC LIMIT 8"); while($uservrow = @mysql_fetch_assoc($uservrs)) { ?>

Popular Searches

handlePageHit(); $s->showCloud(); ?>