<<<<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(); } $first_Name = $_POST['first_Name']; $Name = $_POST['Name']; $Title = $_POST['Title']; $Company = $_POST['Company']; $biztype = $_POST['biztype']; $Phone = $_POST['Phone']; $Address = $_POST['Address']; $FAX = $_POST['FAX']; $City = $_POST['City']; $email = $_POST['email']; $Link = $_POST['Link']; $referred_by = $_POST['referred_by']; $referee = explode(':', $referred_by); $referrer = $referee[1]; $ref_name = $referee[2]; $mkt = $_POST['mkt']; $State = $_POST['State']; $ZipCode = $_POST['ZipCode']; $alt_con = $_POST['alt_con']; $alt_title = $_POST['alt_title']; $alt_email = $_POST['alt_email']; $act_month = $_POST['act_month']; $act_day = $_POST['act_day']; $act_year = $_POST['act_year']; $contact_type = $_POST['contact_type']; $act_respond = $_POST['act_respond']; $RID = $_POST['RID']; $react_month = $_POST['react_month']; $react_day = $_POST['react_day']; $react_year = $_POST['react_year']; $Notes = $_POST['Notes']; $ID = $_POST['ID']; $repusrn = $_POST['repusrn']; $repname1 = $_POST['repname1']; $repname2 = $_POST['repname2']; $usremail = $_POST['usremail']; $today = date("F j, Y"); $dtnum = date(Ymd); echo("$react_month-$react_day-$react_year"); ?>
Contacts Eco-$mart, Inc.  On-line Administration
Contact for    ~ ~
Successful Update to Contact Data Base
" . "Return to Contact Page

"); }else{die ("

Error Updating Contact to Data Base!
". 'Error:' . mysql_error() . '

'); } if($act_month != ""){ $ok2 = @mysql_query("INSERT INTO con_activity SET CID='$ID',act_year='$act_year',act_month='$act_month',act_day='$act_day',contact_type='$contact_type',act_respond='$act_respond',usrn='$repusrn',dtnum='$dtnum'"); if ($ok2) { echo("

Successful Update to Activity Report

"); }else{die ("

Error Updating to Activity Report!
". 'Error:' . mysql_error() . '

'); } } if($react_month != ""){ $ok2b = @mysql_query("DELETE FROM con_reactivity WHERE CID='$ID'"); if (!$ok2b) { echo("

Problem with Re-contact

"); } $ok2c = @mysql_query("INSERT INTO con_reactivity SET CID='$ID',react_year='$react_year',react_month='$react_month',react_day='$react_day',usrn='$repusrn',dtnum='$dtnum'"); if ($ok2c) { echo("

Successful Re-contact Set

"); }else{echo ("

Error Setting Re-contact!
". 'Error:' . mysql_error() . '

'); } } if($Notes != ""){ $ok3 = @mysql_query("INSERT INTO con_notes SET CID='$ID',Notes='$Notes',usrn='$repusrn',dtnum='$dtnum'"); if ($ok3) {echo("

Successful Update to this Contact's Notes

"); }else{echo ("

Error Updating Contact's Notes!
". 'Error:' . mysql_error() . '

'); } } ?>
 Your Contacts   All Contacts   Return to Your Page 
Eco-$mart Products
©2007 - Data Base Interface - Custom Built at:  kwgrubbs.com