Menu

Top Games

Newest Games

Links

Stats

  • Game Plays Today:
  • Total Game Plays:
  • Total Games:
  • visitors online: count_users();?>

Main Content

You didn't fill everything out for your link! echo; } elseif (!isset($_REQUEST['answer']) || strlen($_REQUEST['answer']) > 15){exit;} $answer = array('12'); foreach($answer as $value) { if(stristr($_REQUEST['answer'],$value)){$set = 1; break;} } if(!$set){print "You have failed the security code. Please try again
."; } elseif(strlen($post_text) > 30){ echo<<Your text cant be greater then 30 characters. echo; } elseif(strlen($post_url) > 45){ echo<<Your url cant be greater then 45 characters.
echo; }else{ $settings = mysql_query("select * from settings"); $setting = mysql_fetch_array($settings); $approve = $setting['approvelinks']; if ($approve==no) { mysql_query("INSERT INTO links(`url`, `text`, `description`, `approved`) VALUES('$post_url', '$post_text', '$post_desc', 'no')") or die(mysql_error()); echo<<Your link has been added. It wont show up until an admin approves the link. echo; } elseif ($approve==yes) { mysql_query("INSERT INTO links(`url`, `text`, `description`, `approved`) VALUES('$post_url', '$post_text', '$post_desc', 'yes')") or die(mysql_error()); echo<<Your link has been added. echo; } echo "
"; } include("rightcolumn.php"); echo " "; session_destroy(); die(); } if(empty($post_url)){ $post_url= "http://"; } echo<<

echo; ?>