<<<<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(); } $searchby = $_POST['searchby']; $input = $_POST['input']; $today = date("F j, Y"); if($searchby == 'Name'){ $ob='Name'; $serby='Name'; }elseif($searchby == 'Company'){ $ob='Company'; $serby='Company'; }elseif($searchby == 'email'){ $ob='email'; $serby='email'; }elseif($searchby == 'City'){ $ob='City'; $serby='City'; }elseif($searchby == 'State'){ $ob='State'; $serby='State'; }elseif($searchby == 'ZipCode'){ $ob='Zip Code'; $serby='ZipCode'; }else{ $ob='Search Error'; $serby=''; } $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1'); mysql_select_db('ecosmar_contacts', $dbcnx); ?>
Contacts Eco-$mart, Inc.  On-line Administration
"); } while ($row = mysql_fetch_array($listem)) { $ID = $row['ID']; $first_Name = $row['first_Name']; $Name = $row['Name']; $Company = $row['Company']; $Phone = $row['Phone']; $email = $row['email']; $dtnum = $row['dtnum']; $repusrn = $row['usrn']; $checkem = @mysql_query("SELECT react_month FROM con_reactivity WHERE CID='$ID'"); if(!$checkem){ echo('

Error Checking Activity.
' . 'Error: '. mysql_error(). '

'); }else{ $rowb = mysql_fetch_row($checkem); $check = $rowb[0]; if ($check != 0){ $act_flag = ""; }else{ $act_flag = ""; } } echo("" . ""); } ?>
 All Contacts Search Result  (Searched by )  Find...       New Contact 
 Name Company Phone Email Manage
Error retrieving data from data base.
" . "Error: ". mysql_error(). "
$act_flag $first_Name $Name$Company$Phone$email[View]  [RE-ASSIGN]  [DEL]
 
 Your Contacts   All Contacts   Return to Your Page 
Eco-$mart Products
©2007 - Data Base Interface - Custom Built at:  kwgrubbs.com