$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();
}
$today = date("Ymd");
$id = $_GET['id'];
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_products', $dbcnx);
$result1 = mysql_query("SELECT id,category,item_number,partname,link,plink,image,keywords,up_date FROM productinfo WHERE id = '$id'");
if (!$result1){
die ("Error Selecting Products from Data Base!
".
'Error:' . mysql_error() . '
');
}
$row1 = mysql_fetch_row($result1);
?>
Eco-$mart Catalog Product Information
Edit Existing Product Info
|
Help
|
©2006 - Data Base Interface - Custom Built at:
|