$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();
}
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_products', $dbcnx);
$ID = $_GET['ID'];
$prod_name = $_GET['prod_name'];
$listem = @mysql_query("SELECT proname,name,address,city,area,state,zip,country,phone,email,website FROM dealers WHERE ID = '$ID'");
if (!$listem){
die ("Error Selecting Products from Data Base!
".
'Error:' . mysql_error() . '
');
}
$row = mysql_fetch_row($listem);
?>
Dealers List Administration
Edit Dealer
©2006 - Data Base Interface - Custom Built at:
|