$value){ $$key = $value; // print "$key $value
"; } $REDIRTO="poparticle.php?D=$D&ID=$ID&HC=$HC"; // echo $REDIRTO; //if($ip=="103.244.3.61"||$ip="211.22.123.1") // $poster="Herb McCoy"; if(strtotime($dtg) > strtotime($todays_rdate)){ Header("Location:$REDIRTO"); } for($i=0;$i < count($arrCraplist);$i++){ if($poster==$arrCraplist[$i]){ Header("Location:$REDIRTO"); } } $referer_filter=''; if(isset($_SERVER['HTTP_REFERER'])){ $referer_filter=$_SERVER['HTTP_REFERER']; //echo $referer; } include "incspamScum.php"; if(substr_count($rText,"http://") < 3){ $postingokay=true; } if (isset($_COOKIE["rbname"])){ $rbname=$_COOKIE["rbname"]; } include('iseditor.php'); $ed=CheckEditor($rbname); if($ed != ''){ $postingokay=true; } $ssql="select cnt from vue_comments_count where poster='" . $rbname . "'"; //echo $ssql; $vresult = pg_query($ssql) or die ("Error in query: $ssql. " . pg_last_error()); $vrow = pg_fetch_object($vresult); if($vrow){ $cmts=$vrow->cnt; $postingokay=true; }else{ $cmts=0; } if($ADD != ''){ $value = $sName; // if($ip=="103.244.3.61") // $sName="Herb McCoy"; setcookie("rbname", $value, time()+((3600*24)*365)); /* expire in 1 year */ if($postingokay && $rText != ''){ if(!spamScum($rText)){ $rText=str_replace("'","''",$rText); $ssql="insert into tblcomments (id,rdate,poster,comments,email,webpage,dtg,psource) values ($ID,'$D','$sName','$rText','$sMail','$sWeb','$dtg','$ip')"; $sresult = pg_query($ssql) or die (pg_last_error()); } } //pg_close($pg_connection); Header("Location:$REDIRTO"); } //echo $REDIRTO; // echo date("m/d/Y H:i:s") . "
"; $cposter=getstrelements() . rn(); $cmail=""; $cwebsite=""; $NAKED=false; if($rText==''){ //--------Get any cookies. Look at the RANTBURG cookie for backward compatibility---------------- //if(!isset($sName)){ if (isset($_COOKIE["rbname"])){ $cposter=$_COOKIE["rbname"]; //echo $cposter; if (isset($_COOKIE["rbmail"])) $cmail=$_COOKIE["rbmail"]; if (isset($_COOKIE["rbweb"])) $cwebsite=$_COOKIE["rbweb"]; } else if (isset($_COOKIE["RANTBURG"])){ $B=$HTTP_COOKIE_VARS["RANTBURG"]; //echo $B; $C=explode("&",$B); $B=explode("=",$C[1]); $cposter=$B[1]; } $sName=$cposter; $sMail=$cmail; $sWeb=$cwebsite; } //echo date("m/d/Y H:i:s") . "
"; if ($D==''){ $D=date("Y-m-d"); } else { $D=date("Y-m-d",strtotime($D)); } ?> Comments
You have commented times on Rantburg.

t; $jnum=rand(0, $jnum-1); //printf("jnum: %d
",$jnum); $ssql="select * from tbl_captchas limit 1 offset $jnum"; $jresult = pg_query($ssql) or die (pg_last_error()); $jrow = pg_fetch_object($jresult); $pic=$jrow->_path; $right_answer=$jrow->_description; $right_id=$jrow->id; $arrAnswers[0]=$right_answer; $thing=1; $ssql="select _description from tbl_captchas where _description != '" . str_replace("'","''",$right_answer) ."'"; $jresult = pg_query($ssql) or die (pg_last_error()); $r=pg_num_rows($jresult); while($jrow=pg_fetch_object($jresult)){ $arrAnswers[$thing++]=$jrow->_description; } $d=range(1,$thing-1); //Fill with numbers 1 to rowcount shuffle($d); $arrnx[0]=0; for($i=1;$i < 5;$i++){ $arrnx[$i]=$d[$i]; } shuffle($arrnx); } ?>
We're sorry, but only human beings are allowed to comment on Rantburg. If you're a human being, please take this simple test to prove it. If you're not, get lost.

\n", $arrAnswers[$arrnx[$i]]); } } ?>
"; ?>
Your Name
Your e-mail (optional)
Website (optional)
My Original Nic        Pic-a-Nic        Sorry. Comments have been closed on this article."; ?>
Bold Italic Underline Strike Bullet Blockquote Small Big Link Squish Foto Photo
"; ?>
rheadline ?>
rbanner ?>
rdate ?>
rquote) ?>
Posted by:poster ?>
"; ?>
#  comments); ?>
Posted by: poster; ?>   dtg; ?>  

"; ?> "; ?> We're sorry

The internet is closed for cleaning today

"; } ?>