<<<<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(); } $wh = $_GET['wh']; if($wh == ""){ $wh = $_POST['wh']; } $err = "ok"; ?>
Back Eco-$mart, Inc.  Eco-$mart Referrer Products
 Referrer Product View & Edit  Help
Could not insert new rows. Error: ".mysql_error()."

"); $err="oops"; break; } }//row is complete $i=$i+1; }//whilelistingnames if($err != "oops"){//if all rows inserted $outit = mysql_query("DELETE FROM refprod WHERE stat='old'"); if(!$outit){ echo("

Could not delete old rows. Error: ".mysql_error()."

"); }else{ $uppit = mysql_query("UPDATE refprod SET stat='old'"); if(!$uppit){ echo("

Could not mark new rows. Error: ".mysql_error()."

"); }else{ $sitrep = "wonderful"; } }//deleted all old ones }//if all rows inserted }//upisyes ?>
Error getting Product List from Data Base.
" . 'Error: '. mysql_error(). '

'); }else{ $numrows = mysql_num_rows($listem); while($row = mysql_fetch_array($listem)){ echo("" . "" . ""); }//while }//listedem if($numrows < 20){ $addto = 20 - $numrows; $i=0; while($i < $addto){ echo("" . "" . ""); $i=$i+1; }//while there are empty rows (< 20) }//rows counted are less than 20 else{//the data base table is full echo(""); } ?>
Edit or Add to any field and click "Change".
A row must be completely filled for changes on that row to take place.
Product NameDirectoryRate (0.00)
The Referrer Product Data Base is full. You must remove a Product to add another.

Instructions:

Correct data in the three columns is crucial to proper processing and MUST MATCH DATA already in the Data Base.

Product Name: The name of the Product as it appears in the Eco-$mart Catalog.

Directory: The directory in which the Product Referrer web pages reside on the server. This is the THREE CHARACTER STRING that is the name of the Directory (Eg., AWG), and is also used as an identifier in some functions of the program.

Rate: The standard rate paid to Referrers of this product. Format = 0.00

Up to twenty products can be stored in this data base at one time. You can edit or add by filling out rows in the columns above. All columns must be filled out in a row for that row to be updated. Delete a row by removing its contents. Click "Change" to make the changes you have made and update the Data Base.

" . "" . "
" . "" . "
" . " Add Referrer " . "" . " New Referrers " . "" . " List Referrers " . "
" . " Your Contacts " . "" . " All Contacts " . "" . " Return to Your Page " . "
" . "
" . "Eco-$mart Products" . "
" . "" . "
©2007 - Data Base Interface - Custom Built at: " . "kwgrubbs.com" . "
"); }else{ echo("
" . "" . "
" . "" . "
" . " Eco-$mart Administration " . "" . " New Referrers " . "
" . "
" . "Eco-$mart Products" . "
" . "" . "
©2007 - Data Base Interface - Custom Built at: " . "kwgrubbs.com" . "
"); } ?>