include("inc/mysql_vars.inc");
mysql_connect($sql_host,$sql_user,$sql_pass) or die ("no connexion");
mysql_select_db($database);
?>
include "/var/www/vhosts/usedphonesystems.com.au/httpdocs/inc/header.php";
?>=$rowpage['titlePage']?>
include "/var/www/vhosts/usedphonesystems.com.au/httpdocs/inc/header-menu.htm";
?>
$name=htmlspecialchars($_GET['name']);
$company=htmlspecialchars($_GET['company']);
$position=htmlspecialchars($_GET['position']);
$phone=htmlspecialchars($_GET['phone']);
$email=htmlspecialchars($_GET['email']);
$state=htmlspecialchars($_GET['state']);
$currentphonesystem=htmlspecialchars($_GET['currentphonesystem']);
$phonehandset=htmlspecialchars($_GET['phonehandset']);
$handset=htmlspecialchars($_GET['handset']);
$handsetneed=htmlspecialchars($_GET['handsetneed']);
$existingphoneline=htmlspecialchars($_GET['existingphoneline']);
$brand=htmlspecialchars($_GET['brand']);
$VoIPRequired=htmlspecialchars($_GET['VoIPRequired']);
$callSavingsRequired=htmlspecialchars($_GET['callSavingsRequired']);
$newOrExtraLinesRequired=htmlspecialchars($_GET['newOrExtraLinesRequired']);
$headsets=htmlspecialchars($_GET['headsets']);
$comments=htmlspecialchars($_GET['comments']);
$technician=htmlspecialchars($_GET['technician']);
if ($_GET['send']=="sendquery")
{
if (chk_crypt($_GET['code'])) {
// echo "Correct";
if($name == "" || $phone == "" || $email == "" || $company == "" || $state == ""){
$error.=" Please enter your details";
$quotenb="";
}
if($error == ""){
$headers1 = 'MIME-Version: 1.0' . "\r\n";
$headers1 .= 'Content-type: text; charset=iso-8859-1' . "\r\n";
$headers1 .= 'From: Used Phone Systems Admin ' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$message.="\n\n CONTACT DETAILS :";
$message.="\n\n Full Name :".$name;
$message.="\n\n Company :".$phone;
$message.="\n\n Position :".$position;
$message.="\n\n Phone :".$phone;
$message.="\n\n Email address :".$email;
$message.="\n\n State :".$state;
$message.="\n\n\nI need Extra Handsets for my existing System ";
$message.="\n\n Current Phone System :".$currentphonesystem;
$message.="\n\n Phone Handset Model :".$phonehandset;
$message.="\n\n I will need :".$handset." handsets";
$message.="\n\n\n I need a Complete Phone System Solution";
$message.="\n\n I need :".$handsetneed." handsets";
$message.="\n\n I need :".$existingphoneline." Existing Phone Line Connected";
$message.="\n\n Brand Preference : ".$brand;
$message.="\n\n I will also require :".$headsets." - ".$VoIPRequired." - ".$callSavingsRequired." - ".$newOrExtraLinesRequired ;
$message.="\n\n Comments :".$comments;
$message.="\n\n Do you require installation by our qualified phone technicians :".$technician;
mail("troy@itelecom.com.au", "E-quote from Used Phone Systems", $message,$headers1);
mail("simon@itelecom.com.au", "E-quote from Used Phone Systems", $message,$headers1);
}
else{
$error = " Error:: $error";
}
}
else echo "NO ! The code is false";
}
?>
if ($error=="" && $_GET['send']=="sendquery"){
?>
Thank You
Thank you for contacting UsedPhoneSystems.com.au. In the next 24 hours we'll contact you.
If you need to get in contact with us even quicker, please call
=$UPSphone?>
and speak to our friendly team.
Fill in the form or call us today on our free call number
=$UPSphone?>
to contact our friendly, experienced team about all your 2nd hand phone system needs.
This page contains information pertaining to: =$rowpage['h1tag']?>
include "/var/www/vhosts/usedphonesystems.com.au/httpdocs/inc/footer.htm";
?>