<<<<Restricted Area>>>>" . "
Sorry, you must Log In to view this Page

"); exit(); } $listby = $_POST['listby']; $usrn = $_POST['usrn']; if($listby == "rep"){ $ob='Representative'; $ordby='usrn'; $dir='ASC'; $biz='Representative'; }elseif($listby == "mostrecent"){ $ob='Most Recent'; $ordby='dtnum'; $dir='DESC'; }elseif($listby == "lessrecent"){ $ob='Least Recent'; $ordby='dtnum'; $dir='ASC'; }elseif($listby == "Name"){ $ob='Name'; $ordby='Name'; $dir='ASC'; }elseif($listby == "Company"){ $ob='Company'; $ordby='Company'; $dir='ASC'; $biz='Company'; }elseif($listby == "Business Type"){ $ob='biztype'; $ordby='biztype'; $dir='ASC'; $biz='Business Type'; }elseif($listby == "State"){ $ob='State'; $ordby='State'; $dir='ASC'; }elseif($listby == "ZipCode"){ $ob='Zip Code'; $ordby='ZipCode'; $dir='ASC'; }else{ $ob='Original List'; $ordby='dtnum'; $dir='ASC'; } $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1'); mysql_select_db('ecosmar_contacts', $dbcnx); ?>
Click Here to Return

Eco-$mart Contacts
All Contacts

Error retrieving data from data base.
' . 'Error: '. mysql_error(). '

'); } while ($row = mysql_fetch_array($listem)) { $ID = $row['ID']; $first_Name = $row['first_Name']; $Name = $row['Name']; $Company = $row['Company']; $biztype = $row['biztype']; $Phone = $row['Phone']; $email = $row['email']; $dtnum = $row['dtnum']; $repusrn = $row['usrn']; if($ob == 'biztype'){ $bizzy = $biztype; }elseif($ob == 'Representative'){ $bizzy = $repusrn; }else{ $bizzy = $Company; } $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 List  (Ordered by )  Help 
 Name Phone Email Manage
$act_flag $first_Name $Name$bizzy$Phone$email[View]  [RE-ASSIGN]  [DEL] 
 
 Your Contacts   All Contacts   Return to Your Page 
Eco-$mart Products
©2006 - Data Base Interface - Custom Built at:  kwgrubbs.com