<<<<Restricted Area>>>>" .
"
Problem with your username. Please Log In again.");
exit();
}
$us = explode(" ", $usrn);
$uscount = count($us);
if($uscount != 2){
echo("<<<<Restricted Area>>>>" .
"
Problem with your username. Please Log In again.
");
exit();
}
$react = $_GET['react'];
if($react == ""){
echo("<<<<Restricted Area>>>>" .
"
Input Error. Please Log In again.
");
exit();
}
$today = date("F j, Y");
$dnum = date(Ymd)*4;
$chunk_rea = chunk_split($react, 2, ":");
$chunk_arrd = explode(":", $chunk_rea);
$yar = $chunk_arrd[0].$chunk_arrd[1];
$year = $yar + 0;
$mo = $chunk_arrd[2];
$month = $mo + 0;
$dab = $chunk_arrd[3];
$day = $dab + 0;
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_contacts', $dbcnx);
$getit = mysql_query("SELECT CID FROM con_reactivity WHERE react_year='$year' AND react_month='$month' AND react_day='$day' AND usrn='$usrn'");
if(!$getit){
echo("Sorry, could not get reaction information from Data Base.
");
}else{
$numrows = mysql_num_rows($getit);
if($numrows == 0){
echo("Sorry, could not get reaction list from Data Base.
");
}elseif($numrows == 1){
$row = mysql_fetch_array($getit);
$CID = $row['CID'];
$redirect = "ecocontact_edit.php?fr=$dnum&usrn=$usrn&ID=$CID";
header("Location: $redirect");
}else{
$mess = "You have more than one contact alert set for that date.";
while($row = mysql_fetch_array($getit)){
$conray[] = $row['CID'];
}
}
}//else
?>
Eco-$mart Contacts
|
Eco-$mart, Inc. On-line Administration
|
" .
"");
}
}
?>
| Name
| Company
| Phone
| Email
|
GO | $row[1] $row[2] | $row[3] | $row[4] | $row[5] |
|