include_once ("_init.inc.php"); //echo "
";
//print_r($_COOKIE);
if((int)$_REQUEST['id']) $RS = $aevents->__get__Record(array('EventID'=>$_REQUEST['id']));
include_once("captcha/captcha.class.php");
$vImage = new vImage();
if(!empty($_POST)) {
$vImage = new vImage();
$vImage->loadCodes();
if ($vImage->checkCode() && isset($_SESSION['vImageCodS'])) { $wrong_code=0; }
else {
//$_ERROR_REG .= $_CONF['form_Code_wrong'];
$wrong_code=1;
}
if($wrong_code==0) {
// load the variables form address bar
/*
$Subject = $_REQUEST["Subject"];
$Message = $_REQUEST["Message"];
$Number = $_REQUEST["Phone"];
$Email = $_REQUEST["Email"];
$Name = $_REQUEST["Name"];
$verif_box = $_REQUEST["verif_box"];
// remove the backslashes that normally appears when entering " or '
$Message = "Message: $Message \n
Name: $Name \n
Email: $Email \n
Contact: $Number\n
";
$Subject = stripslashes($Subject);
$Email = stripslashes($Email);
$Number = stripslashes($Number);
$Name = stripslashes($Name);
*/
// check to see if verificaton code was correct
//if(md5($verif_box).'a4xn' == $_COOKIE['tntcon']){
// if verification code was correct send the message and show this page
//mail("atticall@gmail.com", 'Enquiry From Dromantine Website: '.$Subject, $_SERVER['REMOTE_ADDR']."\n\n".$Message, "From: $Email");
include_once ("class.TemplatePower.inc.php");
include_once ("mailer/class.phpmailer.php");
$dt = date("Y-m-d H:i:s");
$name = $_POST['Name'];
$email = $_POST['Email'];
$phone = $_POST['Phone'];
$message = $_POST['Message'];
$org = $_POST['Organisation'];
$ename = $_POST['EName'];
$tpl = new TemplatePower($_SERVER['DOCUMENT_ROOT']."/tpl/eml/contact.htm");
$tpl->prepare();
$tpl->assign("sitename",$_CONF['company_name']);
$tpl->assign("date",$dt);
$tpl->assign("name",$name);
$tpl->assign("email",$email);
$tpl->assign("phone",$phone);
$tpl->assign("message",$message);
$tpl->assign("org",$org);
$tpl->assign("eventname",$ename);
if($_POST['acc']==1) $tpl->assign("acc","Accommodation Enquiry requested");
$Message= $tpl->getOutputContent();
$mail = new PHPMailer();
$mail->From = $email;
$mail->FromName = $_CONF['company_name']." - Contact Form";
$mail->AddAddress($_CONF['company_email'],"From Contact Form: ".$_CONF['company_name']);
$mail->AddReplyTo($email,$name);
$mail->WordWrap = 50;
$mail->IsHTML(true);
//$mail->Subject = $subject;
$mail->Subject = "Dromantine Website Enquiry Message";
$mail->Body = $Message;
$mail->AltBody = $Message;
$mail->Send();
// delete the cookie so it cannot sent again by refreshing this page
//setcookie('tntcon','');
//echo $Message; exit;
header ("Location: ".$_SERVER['PHP_SELF']."?p=1");
exit;
} else {
// if verification code was incorrect then return to contact page and show error
$wrong_code=1;
//header("Location:".$_SERVER['HTTP_REFERER']."?subject=$subject&from=$from&message=$message&wrong_code=true");
//exit;
}
}
?>
Warning: Undefined variable $_cal_ in /home/dromanti/public_html/prev/inc/head.php on line 25
Warning: Undefined variable $_cal_ in /home/dromanti/public_html/prev/inc/head.php on line 25
Dromantine Retreat And Conference Centre | Contact Us
Warning: Undefined variable $_cal_ in /home/dromanti/public_html/prev/inc/head.php on line 25
Call Us: +44 28 30 821964 | Email: admin@dromantineconference.com
$clleft_f = $aevents->__get__Records(array('is_featured'=>1,'IsPublic'=>1,'ORD'=>'ordering_id ASC','LIM'=>0));
/*
}?>
*/
?>
Featured Events
while($RSEF = $clleft_f->fetchRow()){
//print_r($RSEF);
//if($RSEF['EventID'] && empty($fea)) {
?>
if($RSEF['PictureSide'] && file_exists(__ROOT."/uploads/".$RSEF['PictureSide'])){?>
}?>
Warning: Undefined variable $RSEF in /home/dromanti/public_html/prev/inc/leftColMenu.php on line 23
Warning: Trying to access array offset on value of type null in /home/dromanti/public_html/prev/inc/leftColMenu.php on line 23
Warning: Undefined variable $RSEF in /home/dromanti/public_html/prev/inc/leftColMenu.php on line 24
Warning: Trying to access array offset on value of type null in /home/dromanti/public_html/prev/inc/leftColMenu.php on line 24
View More »
}?>
$clleft = $aevents->__get__Records(array('IsPublic'=>1,'DisplayMenu'=>1,'ORD'=>'DT_Start ASC'));
$num = $clleft->numRows();
if($num>0){
?>
UPCOMING EVENTS
while($RSEE = $clleft->fetchRow()) { $k++; ?>
Fatal error: Uncaught Error: Call to undefined function __formated_date() in /home/dromanti/public_html/prev/inc/leftColMenu.php:37
Stack trace:
#0 /home/dromanti/public_html/prev/contact.php(144): include()
#1 {main}
thrown in /home/dromanti/public_html/prev/inc/leftColMenu.php on line 37