if( isset($_POST['submit']) ){
//check fields are completed
$error='';
if( !$_POST['name'] ){
$error.='-Name'."\n";
}
if( !$_POST['email'] ){
$error.='-Email'."\n";
}
if( !$_POST['tel'] ){
$error.='-Telephone'."\n";
}
//else trigger error
if( $error ){
$_SESSION['error']='Please check the following:\n'.$error;
}else{
//send email to me
$subject=isset($_POST['subject']) ? $_POST['subject'] : 'ShiftCreate Enquiry';
$msg='Name: '.$_POST['name']."\n";
$msg.='Email: '.$_POST['email']."\n";
$msg.='Tel: '.$_POST['tel']."\n";
$msg.='Message: '.$_POST['message']."\n";
mail('adam@shiftcreate.com',$subject,$msg,'From: '.$_POST['name'].' <'.$_POST['email'].'>'."\n");
header('location:/thanks');
exit;
}
}
if( $auth->user['name'] ){
$full_name=$auth->user['name'].' '.$auth->user['surname'];
}
?>
For general enquiries, please email
adam@shiftcreate.com
For Abuse/ complaints, please email
adam@shiftcreate.com
Response time for enquiries and complaints is typically within 1-2 working days.
Should you remain unsatisfied, you are free to transfer your services elsewhere.
/*
ShiftCreate Ltd
64a Southfields
Letchworth
Herts
SG6 4LZ
*/?>
Tel : 07969 689 484