<<<<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(); } $ID = $_POST['ID']; $phone = $_POST['phone']; if($phone == ""){ echo("

Please go back and enter a phone number.

"); exit(); } $address = $_POST['address']; if($address == ""){ echo("

Please go back and enter your mailing address.

"); exit(); } $city = $_POST['city']; if($city == ""){ echo("

Please go back and enter your mailing city.

"); exit(); } $ZipCode = $_POST['ZipCode']; if($ZipCode == ""){ echo("

Please go back and enter your mailing Zip Code.

"); exit(); } $url = $_POST['url']; $image = $_POST['image']; if($image != NULL){ $showimage = ""; }else{ $showimage = ""; } $bio = $_POST['bio']; $biostrip = stripslashes($bio); $bio_val = str_replace ( "\"", """, $biostrip); $bio_value = str_replace ( "\'", "’", $bio_val); $bio_break = nl2br($bio_value); $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_webadmin', 'istration'); mysql_select_db('ecosmar_website', $dbcnx); $ok = @mysql_query("SELECT ID,name_1,name_2,locale,state,country,phone,email,address,city,ZipCode,url,region,director,image,bio FROM repcon WHERE ID='$ID'"); if (!$ok) { echo "

Could not get data from Data Base: " . mysql_error() ."

"; }else{ $row = mysql_fetch_array($ok); $ID = $row[0]; $name_1 = $row[1]; $name_2 = $row[2]; $locale = $row[3]; $state = $row[4]; $country = $row[5]; $phonec = $row[6]; $email = $row[7]; $addressc = $row[8]; $cityc = $row[9]; $ZipCodec = $row[10]; $urlc = $row[11]; $region = $row[12]; $director = $row[13]; $imagec = $row[14]; $bioc = $row[15]; } ?>
BACK

Eco-$mart Administration

Eco-$mart Offices

$showimage "); }else{ echo (""); } ?>
Change this Data?
First Name:
Last Name:
Region:
Area: State:    Country: 
Phone:   $phone "); }else{ echo $phone; } ?>
Email: 
Postal Address:   $address "); }else{ echo $address; } ?>
Postal City:   $city "); }else{ echo $city; } ?> Zip Code:   $ZipCode "); }else{ echo $ZipCode; } ?>
Link:   $url "); }else{ echo $url; } ?>
Bio:
 $bio_break "); }else{ echo $bio_break; } ?>
$showimage
Eco-$mart Public Calendar
©2006 - Data Base Interface - Custom Built at: kwgrubbs.com