setTitle("Tymax Systems - Contact Page."); $template->setKeywords("EScrapBook, ScrapBook, drag and drop, BlueBell, shareware, developer, Tymax, Getz, TS-ImageMapper, ImageMapper, BlueBell, MAP, Polygon, Files , Folders, Directories"); //$template->addLocalLink("Online Tutorials","/tutorials.html"); $template->addLocalLink("Join Mailing List\"Mail","/maillist/index.html"); $template->addLocalLink("\"Valid","http://validator.w3.org/check/referer"); $template->doHeader(); ?>

Contact Tymax Systems

($numberOfWarnings) What is the subject of this email.

"; } if($query==NULL || $query==""){ $numberOfWarnings++; echo "

($numberOfWarnings) You have not written a query.

"; } if($email==NULL || $email==""){ $numberOfWarnings++; echo "

($numberOfWarnings) You have to fill in your email address.

"; } else { if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)){ $numberOfWarnings++; echo "

($numberOfWarnings) You have used an invalid email address.

"; } } if($name==NULL || $name==""){ $numberOfWarnings++; echo "

($numberOfWarnings) You have to fill in your name.

"; } if( $numberOfWarnings== 0 ) { // Generate message headers $headers = "From: $name <$email>\n" ."Return-To: <$email>\n" ."Return-Path: <$email>\n"; // For errors // $headers.= "X-Priority: 1\n"; // $headers.= "bcc: newuser@tymax.com"; $result = @mail("enquiries@tymax.com",stripslashes($subject),stripslashes($query),$headers); if($result==true){ echo "

Your email has been sent. Thank you $name.

"; $template->doFooter(); return; } echo "

Your email could not be sent.

"; $template->doFooter(); return; } } else { // Show the form echo "

If you have a general enquiry then please fill out the form below.

"; } ?>
Subject 
Query 
Name 
Email 

Click here to send mail using your email client.
enquiries@tymax.com

doFooter(); ?>