#########################################################
# ContactForm #
#########################################################
# #
# Created by: Doni Ronquillo #
# Modified by: CodeMunkyX #
# #
# This script and all included functions, images, #
# and documentation are copyright 2003 #
# free-php.net (http://free-php.net) unless #
# otherwise stated in the module. #
# #
# Any copying, distribution, modification with #
# intent to distribute as new code will result #
# in immediate loss of your rights to use this #
# program as well as possible legal action. #
# #
#########################################################
include('config.inc');
if ($_SERVER['REQUEST_METHOD'] == "POST") {
$name = $_POST[name];
$company = $_POST[company];
$address = $_POST[address];
$city = $_POST[city];
$postcode = $_POST[postcode];
$country = $_POST[country];
$phone = $_POST[phone];
$fax = $_POST[fax];
$email = $_POST[email];
$url = $_POST[url];
$language = $_POST[language];
//trivision
$trivision = $_POST[trivision];
$tri_solid = $_POST[tri_solid];
$tri_solid_q = $_POST[tri_solid_q]; $tri_solid_v = $_POST[tri_solid_v]; $tri_solid_r = $_POST[tri_solid_r];
$tri_split = $_POST[tri_split];
$tri_split_q = $_POST[tri_split_q]; $tri_split_v = $_POST[tri_split_v]; $tri_split_r = $_POST[tri_split_r];
$tri_pvc = $_POST[tri_pvc];
$tri_pvc_q = $_POST[tri_pvc_q]; $tri_pvc_v = $_POST[tri_pvc_v]; $tri_pvc_r = $_POST[tri_pvc_r];
$tri_slide = $_POST[tri_slide];
$tri_slide_q = $_POST[tri_slide_q]; $tri_slide_v = $_POST[tri_slide_v]; $tri_slide_r = $_POST[tri_slide_r];
//scrolling
$scrolling = $_POST[scrolling];
$scr_wall = $_POST[scr_wall];
$scr_wall_q = $_POST[scr_wall_q]; $scr_wall_v = $_POST[scr_wall_v]; $scr_wall_r = $_POST[scr_wall_r];
$scr_bus = $_POST[scr_bus];
$scr_bus_q = $_POST[scr_bus_q];
$scr_glass = $_POST[scr_glass];
$scr_glass_q = $_POST[scr_glass_q]; $scr_glass_v = $_POST[scr_glass_v]; $scr_glass_r = $_POST[scr_glass_r];
$scr_free1 = $_POST[scr_free1];
$scr_free1_q = $_POST[scr_free1_q]; $scr_free1_v = $_POST[scr_free1_v]; $scr_free1_r = $_POST[scr_free1_r];
$scr_free2 = $_POST[scr_free2];
$scr_free2_q = $_POST[scr_free2_q]; $scr_free2_v = $_POST[scr_free2_v]; $scr_free2_r = $_POST[scr_free2_r];
$scr_free3 = $_POST[scr_free3];
$scr_free3_q = $_POST[scr_free3_q]; $scr_free3_v = $_POST[scr_free3_v]; $scr_free3_r = $_POST[scr_free3_r];
//sports
$sports = $_POST[sports];
$sports_80 = $_POST[sports_80];
$sports_80_q = $_POST[sports_80_q];
$sports_100 = $_POST[sports_100];
$sports_100_q = $_POST[sports_100_q];
//radiobutton1
// $visualsize = $_POST[visualsize];
// $radiobutton1= $_POST[radiobutton1];
$comments= $_POST[comments];
$radiobutton= $_POST[radiobutton];
// $msg2 is set in config.inc which formats the body of the message
mail("$adminemail", "ROTAPANEL TRAFFIC ENQUIRY", "$msg2", "From: $email \nReply-To: $email");
if ($redirecturl != "") {
header("Location: $redirecturl");
} else {
echo "
$finishedtext
";
}
} else {
include( 'contactform.php');
}
?>