<<<<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_ecosmart', 'ecoman1'); mysql_select_db('ecosmar_website', $dbcnx); $ok = @mysql_query("SELECT ID,category,title,link,description,type FROM repdocs WHERE ID='$ID'"); if (!$ok) { echo 'Could not run query: ' . mysql_error(); exit; } $row = mysql_fetch_array($ok); $ID = $row[0]; $Category = $row[1]; $Title = $row[2]; $Link = $row[3]; $Description = $row[4]; $Type = $row[5]; if($Category == 'Presentation'){ $select1 = 'Presentation'; $select2 = 'Prices'; $select3 = 'Private'; $select4 = 'Miscellaneous'; }elseif($Category == 'Prices'){ $select1 = 'Prices'; $select2 = 'Presentation'; $select3 = 'Private'; $select4 = 'Miscellaneous'; }elseif($Category == 'Private'){ $select1 = 'Private'; $select2 = 'Presentation'; $select3 = 'Prices'; $select4 = 'Miscellaneous'; }elseif($Category == 'Miscellaneous'){ $select1 = 'Miscellaneous'; $select2 = 'Presentation'; $select3 = 'Private'; $select4 = 'Prices'; } if($Type == 'DOC'){ $seltype1 = 'DOC'; $seltype2 = 'PDF'; $seltype3 = 'PPT'; }elseif($Type == 'PDF'){ $seltype1 = 'PDF'; $seltype2 = 'DOC'; $seltype3 = 'PPT'; }elseif($Type == 'PPT'){ $seltype1 = 'PPT'; $seltype2 = 'DOC'; $seltype3 = 'PDF'; } ?>

Edit Eco-$mart Downloads

Edit Download   Make Changes in the Form and Click "Change"
Category: Title:
File Name: Description:
File Type:
Eco-$mart Downloads
©2006 - Data Base Interface - Custom Built at: kwgrubbs.com