Post Innovations

1 Personal Info





2 Innovation Info





alert(‘Name Field Cannot be empty’);“;
} else if ($tempmail==””) {
echo ““;
} else if ($tempphone==””) {
echo ““;
} else if ($tempaddrs==””) {
echo ““;
} else if ($temptitle==””) {
echo ““;
} else if ($tempsumry==””){
echo ““;
} else if ($tempobjtv==””){
echo ““;
} else {

if ($wpdb->insert(‘wp_post_innovation’, array(‘Post_Name’=>$innovationname, ‘Post_email’=>$innovationmail, ‘Post_phone’=>$innovationphne, ‘Post_Address’=>$innovationadrs, ‘Post_Title’=>$innovationttle, ‘Post_Background’=>$innovationbkgd, ‘Post_Objective’=>$innovationobje, ‘Post_Other_information’=>$innovationothr, ‘display’=>’Y’, ‘Date’=>$datetime)) != false) {
$message = “Submitted Successfully”;
echo ““;
};
}

}
?>

‘;
$email_message .= ‘‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;
$email_message .= ‘

‘;

$email_message .= ‘

Innovation Posted By ‘.clean_string($innovationname).’
Name ‘.clean_string($innovationname).’
eMail ‘.clean_string($innovationmail).’
Phone ‘.clean_string($innovationphne).’
Address ‘.clean_string($innovationadrs).’
Title ‘.clean_string($innovationttle).’
Background and Summary ‘.clean_string($innovationbkgd).’
Objective(s) ‘.clean_string($innovationobje).’
Any Other Information ‘.clean_string($innovationothr).’

‘;
$email_message .= ‘‘;
$email_message .= ‘‘;

$headers = “From: $postedbyusername <$innovationmail>\r\n”;
$headers .= “Content-Type: text/html; charset=ISO-8859-1\r\n”;
$headers .= “cc: $cc\r\n”;

mail($to,$subject,$email_message,$headers);

}
?>