require("include/top.php");
if (($SESSION_LEVEL=='administrator' || $SESSION_LEVEL=='moderator' || $SESSION_LEVEL=='gloperator')):
unset($submitok);
// check the submitted data
if($prod1)
{
if(!$type) {
$errormessage[] = "you must select a type";
}
if(!$errormessage)
$submitok=true;
}
// insert the submitted prod
if($submitok){
$query = "INSERT INTO affiliatedprods SET ";
$query.= "derivative='".$prod1."', ";
$query.= "original='".$prod2."', ";
$query.= "type='".$type."'";
mysql_query($query);
}
// get data to build the page
$result = mysql_query("DESC affiliatedprods type");
$row = mysql_fetch_row($result);
$types = explode("'",$row[1]);
?>
the lobster says "NO ENTRANCE!"
you need god priveligies to access this place.
else: ?>