rendered paste body<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
if (!isset($_REQUEST['email'])) {
header( "Location: http://www.gabegear.com/contact.php" );
}
elseif (empty($email) || empty($message)) {
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<meta name="author" content="Gabriel Homeier" />
<meta name="description" content="Gabe Gear Website" />
<title>Welcome To Gabe Gear</title>
</head>
<body>
<div id="container">
<div id="header-wrap">
<div id="header">
<div id="navcontainer">
<ul id="nav">
<li><a href="index.php">Home</a></li>
<li><a href="category.php">Products</a></li>
<li><a href="elive.php">ELive</a></li>
<li><a href="hosting.php">Web Hosting</a></li>
<li><a href="links.php">Links</a></li>
<li><a href="howtos.php">HowTo's</a></li>
<li><a href="downloads.php">Downloads</a></li>
<li><a href="journal.php">Journal</a></li>
<li><a href="about.php">About Us</a></li>
<li><a href="contact.php">Contact Us</a></li>
</ul>
</div><!-- navcontainer -->
</div><!-- header -->
</div><!-- header-wrap -->
<div id="main">
<h2>Error</h2>
<p>
Oops, it appears you forgot to enter either your
email address or your message. Please press the BACK
button in your browser and try again.
</p>
</div><!-- main -->
<div id="sidebar"></div><!-- sidebar -->
<div id="footer">
<img src="/images/png/powered.png" alt="Gentoo_G_image" title="Get Gentoo" /><br /> <a href="http://www.gentoo.org">Get Gentoo Linux Here!</a><br /><br />
<a href="http://validator.w3.org/check?uri=referer">
<img style="border:0;width:88px;height:31px" src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1" height="31" width="88" /></a>
<a href="http://jigsaw.w3.org/css-validator/check?uri=referer">
<img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" /></a>
<img src="/images/gif/apache_pb2.gif" alt="Apache Image" title="Apache Server" /><br /><br />
This Page Is Made For Viewing With Firefox. Internet Explorer Users May Experience Problems.<br />
<div style="clear: both;"></div>
Copyright 2006 © gabegear.com
</div>
</div><!-- container -->
</body>
</html>
<?php
}
else {
mail( "mystrixadmin@gmail.com", "Feedback Form Results",
$message, "From: $email" );
// header( "Location: http://#");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<meta name="author" content="Gabriel Homeier" />
<meta name="description" content="Gabe Gear Website" />
<title>Welcome To Gabe Gear</title>
</head>
<body>
<div id="container">
<div id="header-wrap">
<div id="header">
<div id="navcontainer">
<ul id="nav">
<li><a href="index.php">Home</a></li>
<li><a href="category.php">Products</a></li>
<li><a href="elive.php">ELive</a></li>
<li><a href="hosting.php">Web Hosting</a></li>
<li><a href="links.php">Links</a></li>
<li><a href="howtos.php">HowTo's</a></li>
<li><a href="downloads.php">Downloads</a></li>
<li><a href="journal.php">Journal</a></li>
<li><a href="about.php">About Us</a></li>
<li><a href="contact.php">Contact Us</a></li>
</ul>
</div><!-- navcontainer -->
</div><!-- header -->
</div><!-- header-wrap -->
<div id="main">
<h2>Email Sent</h2>
<p> Thank you for your comments.
</p>
</div><!-- main -->
<div id="sidebar"></div><!-- sidebar -->
<div id="footer">
<img src="/images/png/powered.png" alt="Gentoo_G_image" title="Get Gentoo" /><br /> <a href="http://www.gentoo.org">Get Gentoo Linux Here!</a><br /><br />
<a href="http://validator.w3.org/check?uri=referer">
<img style="border:0;width:88px;height:31px" src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1" height="31" width="88" /></a>
<a href="http://jigsaw.w3.org/css-validator/check?uri=referer">
<img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" /></a>
<img src="/images/gif/apache_pb2.gif" alt="Apache Image" title="Apache Server" /><br /><br />
This Page Is Made For Viewing With Firefox. Internet Explorer Users May Experience Problems.<br />
<div style="clear: both;"></div> Copyright 2006 © gabegear.com</div></div><!-- container --></body></html>
<?php
}
?>