"" && is_numeric($_GET[id])){ unset($_SESSION[pcucatid]); } if(isset($_SESSION[pcucatid]) ) { $whcase[]=" `catid` = ".$_SESSION[pcucatid]; } else { } if(isset($whcase)) { $where=" and ".join(" and ",$whcase); } if($_GET[id] <>"" && is_numeric($_GET[id])){ $erm="Not available!!"; $sql= "Select {$field} from `{$tbname}` where `active` = 1 and `postid` = ".$_GET[id]." {$where} LIMIT 1"; } if($_GET[nextid] <>"" && is_numeric($_GET[nextid])) { //$erm="Not available!!"; $sql="Select {$field} from `{$tbname}` where `active` = 1 and `postid` > ".$_GET[nextid]." {$where} ORDER by `postid` ASC LIMIT 1"; } if($_GET[Previd] <>"" && is_numeric($_GET[Previd])) { //$erm="no Previous topic!!"; $sql="Select {$field} from `{$tbname}` where `active` = 1 and `postid` < ".$_GET[Previd]." {$where} ORDER by `postid` DESC LIMIT 1"; } //echo $sql; $showadsense=0; if($sql<>"") { $rs = mysql_query($sql); if(mysql_num_rows($rs) <1) { if($_GET[nextid] <>"" && is_numeric($_GET[nextid])) { $rs = mysql_query("Select {$field} from `{$tbname}` where `active` = 1 {$where} ORDER by `postid` ASC LIMIT 1"); } if($_GET[Previd] <>"" && is_numeric($_GET[Previd])) { $rs = mysql_query("Select {$field} from `{$tbname}` where `active` = 1 {$where} ORDER by `postid` DESC LIMIT 1"); } } if($row = @mysql_fetch_assoc($rs)) { if($_SESSION["page"] <> $row["postid"]) { $_SESSION["page"]=$row["postid"]; mysql_unbuffered_query("update `{$tbname}` set `Views` = `Views` + 1 where `postid` = ".$row["postid"]." LIMIT 1 "); } 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"])) { $adsenseid =$adsenserow['adsenseid']; $channelcode =$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=3; $catid=$row[catid]; $pid = $row["postid"]; $_SESSION[pcucatid] = $catid; require_once("./include/catlist/catlist_".$zoneid.".php"); if(is_array($__catlist[$zoneid])) { $catlink="".$__catlist[$zoneid][$catid][name].""; } if($adsenseid=="") { $showadsense=0; } ?> <?php echo replacebadword($row[post_topic]); ?> - <?php echo $pagetitle; ?>
'".$row[postid]."' order by `postid` DESC LIMIT 5"; $lastvrs=mysql_query($sql); //echoembedcode($code,$vid,$width="",$height="") while($lastvrow = @mysql_fetch_assoc($lastvrs)) { ?>
 
">

: ...
Thumbnail
:
 :
:
:
 
 :
- - -
-

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

Popular Searches

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