$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");
$partname = $_GET['partname'];
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_products', $dbcnx);
$result1 = @mysql_query("SELECT id,status,partname,description,link,image FROM feature WHERE partname = '$partname'");
if (!$result1){
die ("Error Selecting Products from Data Base!
".
'Error:' . mysql_error() . '
');
}
$row1 = mysql_fetch_row($result1);
?>
Eco-$mart Featured Product
Delete Featured Product: echo $partname;?>?
|
Help
|
|
Description: echo $row1[3];?>
|
Page Link: echo $row1[4];?>
Thumbnail Link: echo $row1[5];?>
|
©2006 - Data Base Interface - Custom Built at:
|