$dnum = date(Ymd)*4;
$from = $_GET['fr'];
if($from == ""){
$from = $_POST['fr'];
}
if($from != $dnum){
echo("<<<<Restricted Area>>>>" .
"
Sorry, you must Log In to view this Page
");
exit();
}
$usrn = $_GET['usrn'];
if($usrn == ""){
$usrn = $_POST['usrn'];
}
if($usrn == ""){
echo("<<<<Restricted Area>>>>" .
"
Problem with your username. Please Log In again.
");
exit();
}
$id = $_GET['id'];
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_webadmin', 'istration');
mysql_select_db('ecosmar_website', $dbcnx);
$listem = @mysql_query("SELECT event_month,event_day,year,event_name,event_city,event_state,event_desc,info1_type,info1,info2_type,info2,info3_type,info3 FROM calendar05 WHERE ID = '$id'");
if (!$listem) {
die('Error retrieving Event from data base.
' . 'Error: '. mysql_error(). '
');
}
$row = mysql_fetch_array($listem);
?>
©2005 - Data Base Interface - Custom Built at:
|
|