pageExist($pagId); if($exist==0) { header("Location:index.php"); } $pag = $pageObj->pageSelectById($pagId); $row = mysql_fetch_array($pag,MYSQL_NUM); $objGallery = new Gallery; $galleryRec = $objGallery->getAllGalleries(); /* C A P T C H A Settings */ require "securityImageClass.php"; $si = new securityImage(); $si->setFontColor("GGGGGG"); $si->setFontSize(12); $si->setCodeLength(5); $si->inputParam = "style='color:blue;'"; /*******************************/ if(isset($_POST['Submit'])&&$_POST['Submit']) { $sql = "INSERT INTO `contacts` ( `con_id` , `con_name` , `con_address` , `con_mail` , `con_message` , `con_country` , `con_mobile` ) VALUES ( NULL , '".$_POST['name']."', '".$_POST['address']."','".$_POST['email']."', '".$_POST['message']."', '".$_POST['country']."', '".$_POST['mobile']."' )"; $res = mysql_query($sql); if ($si->isValid()) { } else { $errors[] = " Incorrect Security Code"; } $message =' Untitled Document
Galaxy Contacts
 Name  '.$_POST['name'].'
 email  '.$_POST['email'].'
 Country  '.$_POST['country'].'
 Mobile  '.$_POST['mobile'].'
Message
 '.$_POST['message'].'
'; //$to = 'galexymct@gmail.com'; // subject $subject = 'Galaxy Web Contact'; $headers = 'MIME-Version: 1.0' . "\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\n"; // Additional headers $headers .= 'To: Galexymct' . "\n"; $headers .= 'From: '.$_POST['name'].' <'.$_POST['email'].'>' . "\n"; $headers .= 'Reply-To: '.$_POST['email']."\n"; // Mail it //$res = mail($to, $subject, $message, $headers); //if($res) //{ //$msg = "Thank You! Your Details Has been Submited "; //} } ?> Galaxy National Trading & Contracting, Oilfields supplies services and trading company in Oman, Insurance services oman, Automobile Garage oman, Break down Recovery service oman, Reparing of Hydraulic hoses and fittings oman, Fuel Injection Pump Services in oman, Break Shoe Relining oman, Clutch Lining in oman, Transportation for heavy and light goods oman
 
 
 
Please fix the following errors:
    '; foreach ($errors as $error) echo "
  • $error
  • \n"; echo "
"; } echo '
'.$thankMsg; ?>
Contact us
Name
Address
E-mail
Mobile Number
Country
Message
 Security Code showFormInput() ?> showFormImage() ?>