<<<<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(); } $datus = date("F j, Y"); $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1'); mysql_select_db('ecosmar_contacts', $dbcnx); $checkem = @mysql_query("SELECT CID FROM con_reactivity"); if(!$checkem){ echo('

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

'); }else{ while($row = mysql_fetch_array($checkem)){ $ckCID[] = $row['CID']; } } ?>
Contacts Eco-$mart, Inc.  On-line Administration
Error retrieving data from data base.
' . 'Error: '. mysql_error(). '

'); }else{ while($row = mysql_fetch_array($listem)){ $ID = $row['ID']; if(in_array($ID , $ckCID)){ $hID[] = $ID; $hfirst_Name[] = $row['first_Name']; $hName[] = $row['Name']; $hCompany[] = stripslashes($row['Company']); $hPhone[] = $row['Phone']; $hemail[] = $row['email']; $hdtnum[] = $row['dtnum']; }else{ $nID[] = $ID; $nfirst_Name[] = $row['first_Name']; $nName[] = $row['Name']; $nCompany[] = stripslashes($row['Company']); $nPhone[] = $row['Phone']; $nemail[] = $row['email']; $ndtnum[] = $row['dtnum']; }//inarrayelse }//while }//else $act_flag = ""; $i = 0; $hcount = count($hID); while($hcount > $i){ echo("" . "" . ""); $i = $i + 1; } $act_flag = ""; $i = 0; $ncount = count($nID); while($ncount > $i){ echo("" . "" . ""); $i = $i + 1; } ?>
 Contact List for  Date: 
 Name Company Phone Email
 $act_flag$hfirst_Name[$i] $hName[$i]$hCompany[$i] $hPhone[$i]$hemail[$i]
 $act_flag$nfirst_Name[$i] $nName[$i]$nCompany[$i] $nPhone[$i]$nemail[$i]
 
BACK Printed from Ecosmartinc.com Online Administration
©2007 - Data Base Interface - Custom Built at:  kwgrubbs.com