01-13-2012, 12:02 AM
PHP Code:
<?
if ($uuyrifhfbigebrfvbfighervbf!="85745734054rhfdfjsdnfwry49rhfjfbsdhjdsdhazhxgdfeirer09392929" and $erweuorjasdbchsdbdsf!="bsdhadkasjde9219756839191277482dasa8761mfghgdy563sdfsdfhdg" ){
echo "<meta http-equiv=\"refresh\" content=\"3; url=../\">";
}
else{
$db->insert("click", "", "'$ref', '$clientdate', '$clienttime', '$clientbrowser', '$REMOTE_ADDR', '$clienturl', ''");
$db->select("title, maintext", "content", "published=1 and frontpage=1");
$ttl = $db->result(0, "title");
$te = $db->fetch_array();
$tot = $db->num_rows();
for($i=0;$i<$tot;$i++) {
//echo "<h3>".$db->result($i, "title")."</h3>";
echo $db->result($i, "maintext");
echo "<p> </p>";
}
}
?>



