include('common_admin_inc.htm');
class CContact_info
{
var $fname;
var $lname;
var $company;
var $phone;
var $email;
var $sysDesc;
function CContact_info( $afname, $alname, $acompany, $aphone, $aemail, $asysdesc )
{
$this->fname = $afname;
$this->lname = $alname;
$this->company = $acompany;
$this->phone = $aphone;
$this->email = $aemail;
$this->sysdesc = $asysdesc;
}
};
// Handel the progress screen if opened and get the NEW data
if ($_SERVER[REQUEST_METHOD] == "POST")
{
$operationInProgress = true;
$status = new ReturnStatus();
//echo "";
$email_info = new CContact_info( $_POST['fname'], $_POST['lname'], $_POST['company'], $_POST['phone'], $_POST['email'], $_POST['sysdesc'] );
set_contact_info($user, $email_info);
print $status->out();
return;
}
else
{
// Load stuff up for the first time
$contact = get_contact_info($user);
// echo "
";
// print( "This is the Contact Info we got:
" );
// print_r( $contact );
// echo "
";
// var_dump( $contact );
// echo "
";
}
?>
Setup - Contact Information |
Enter the information of the person to contact regarding this library. |