Submission of abstract

$deadline) echo("The deadline for submission has passed"); else { ?> 0) { $first_name_check = TRUE; }//ok else { $first_name_check = FALSE; $message .= "

[error] Please fill in your first name"; }//ok if(strlen($last_name) > 0) { $last_name_check = TRUE; }//ok else { $last_name_check = FALSE; $message .= "

[error] Please fill in your last name"; }//ok if(strlen($title) > 0) { $title_check = TRUE; }//ok else { $title_check = FALSE; $message .= "

[error] Please fill in the title of the paper"; }//ok if(strlen($email) > 0) { $email_check = TRUE; }//ok else { $email_check = FALSE; $message .= "

[error] Please fill in a valid email address"; }//ok if(strlen($abstract) > 0) { $abstract_check = TRUE; }//ok else { $abstract_check = FALSE; $message .= "

[error] Please fill in your abstract"; }//ok if(strlen($abstract) > 3500) { $abstract_length_check = FALSE; $message .= "

[error] Your abstract exceeds 3000 characters"; }//ok else { $abstract_length_check = TRUE; }//ok if(($_SESSION['security_code'] == $_POST['security_code']) && (!empty($_SESSION['security_code']))) { $security_code_check = TRUE; } else { $security_code_check = FALSE; $message .= "

[error] Please fill in the correct security code"; } if($first_name_check && $last_name_check && $title_check && $abstract_check && $abstract_length_check && $email_check && $security_code_check) { //if everything's OK //store everything in the database $query="insert into $table set date='$date', first_name='$first_name', last_name='$last_name', co_authors='$co_authors', title='$title', abstract='$abstract', email='$email' "; $result=mysqli_query($dbcnx, $query); if(!$result) { echo("[error]" . mysqli_error()); echo("

$query"); } else { echo("

Thank you for your submission! A confirmation has been sent to $email"); $body= " Dear $first_name $last_name \n\n" . " Your submission has been received and will be forwarded to the members \n" . " of the Scientific Committee. \n\n" . " Thank you for submitting this paper as a possible contribution to the \n" . " EMAEE conference. \n\n" . " The EMAEE conference team"; $body_admin= " EMAEE submission\n\n" . " Name: $first_name $last_name \n" . " co-author(s): $co_authors \n" . " Email: $email \n\n" . " title paper: $title \n\n" . " abstract:\n" . " $abstract"; $body_admin= stripslashes($body_admin); $bcc="ictweekly@maastrichtuniversity.nl"; //$bcc="ictweekly@maastrichtuniversity.nl, pijpers@merit.unu.edu"; $headers_reg = "From: \"EMAEE\" " ."Reply-To: emaee@merit.unu.edu"; $headers_admin = "From: \"EMAEE\" \nBcc: $bcc\n" ."Reply-To: emaee@merit.unu.edu"; $to_admin="emaee@merit.unu.edu"; //$to_admin="pijpers@merit.unu.edu"; mail($_POST['email'], 'Confirmation abstract submission EMAEE', $body, $headers_reg); //include("$footer"); mail($to_admin, 'EMAEE abstract submission', $body_admin, $headers_admin); //include("$footer"); redirect("http://www.merit.unu.edu/emaee/", 3); exit(); } } else { echo("

$message

"); } } ?>

* = required information


1. PERSONAL DATA

First name *
Last name *
Co-author(s)
Email address*
Title paper*
Abstract *
max 3000 characters, incl. spaces

Security code (anti-spam) *

Please type the above code:


(Contact webmaster in case of problems concerning the submission)