<<<<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(); } $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1'); $ID = $_GET['ID']; if($ID == ""){ $messy = "All Fields are required."; }else{ mysql_select_db('ecosmar_contacts', $dbcnx); $listem = @mysql_query("SELECT ID,first_Name,Name,Company,Phone,Address,City,email,State,Country,ZipCode,Link FROM con_main WHERE ID='$ID'"); if (!$listem) { die('

Error retrieving Contact Information.
' . 'Error: '. mysql_error(). '

'); } $row = mysql_fetch_array($listem); $ID = $row['ID']; $first_Name = $row['first_Name']; $Name = $row['Name']; $Company = $row['Company']; $phone = $row['Phone']; $Address = $row['Address']; $City = $row['City']; $email = $row['email']; $State = $row['State']; $Country = $row['Country']; $ZipCode = $row['ZipCode']; $Link = $row['Link']; } $fromage = $_POST['fromage']; if($fromage == "Yes"){ $first_Name = $_POST['Name_1']; $Name = $_POST['Name_2']; $Company = $_POST['Company']; $phone = $_POST['Phone']; $Address = $_POST['Address']; $City = $_POST['City']; $email = $_POST['email']; $State = $_POST['State']; $Country = $_POST['Country']; $ZipCode = $_POST['ZipCode']; $Link = $_POST['Link']; }//iffromageisyes $lunk = explode("/", $Link); $lunkcount = count($lunk); $l = $lunkcount - 1; if($lunkcount > 1){ $lank = $lunk[$l]; }else{ $lank = $lunk[0]; } $linky = explode(".", $lank); $lcount = count($linky); if($lcount == 2){ $linkout = "www.".$linky[0].".".$linky[1]; }elseif($lcount == 3){ $linkout = "www.".$linky[1].".".$linky[2]; } ?>
Back Eco-$mart, Inc.  Eco-$mart Referrers
 Add Referrer  Help 

First Name:     Last Name: 

Company: 

Address:

 City:  State/Prov: 

Country:   Mail Code: 

Phone: 

E-mail: 

  URL : 
   ! Required for Web Tracker !    Format: "www.eco-smart.com"

Products: Could not retrieve Referrer Product list. Error:".mysql_error().""); }else{ echo("
"); }//got products echo("
Specifying a Product will disable this Referrer from referring to all Eco-\$mart products. To do both, set up a New Referrer with the same Referrer information and specify a product."); ?>

Referrer Status: 
! Web Tracker requires ACTIVE status.

Pay Referrer:   (per sale)


Rate: 

 Start Web Tracker

 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