$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();
}
$pswinv = $_GET['pswinv'];
if($pswinv == 'All'){
$straw = " Inventory Administration ";
}else{
$straw = "";
}
if($pswinv == 'All' or $pswinv == 'Read_Write'){
$straw2 = " Report a Shipment ";
}else{
$straw2 = "";
}
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_products', $dbcnx);
?>
Product Inventory
Inventory Home
Under Construction
echo $straw2;?>
echo $straw;?>
|