<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<?php
if( $_POST['form_filled'] != 1 )
{
echo '
<title>Acme Special Offer from our partner Tilcon Software</title>
<meta name="description" content="IDS free 60 day evaulation package for select clients of Acme " />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<link rel="stylesheet" type="text/css" href="http://acme.com/webpages/css/trial.css" />
<!-- BODY ###################################################### -->
<body>
<div id="navigation">
<a href="http://acme.com/productwiki-trac/product/wiki">Back to the MAIN Wiki</a>
</div>
<div id="contents">
<b><p2>Acme</p2></b>
in partnership with <b>Tilcon Software</b> are offering a <b>Free 60 Day Evaluation Package</b> which includes a fully functional beta version of the Interface Development Suite (UMR IDS) to all customers who have bought the UMR Evaluation Starter Kit.
<br /> <br />
If you have already registered your UMR and would like to download the UMR IDS trial package, please complete the form below. An email will be sent to you providing the evaluation license and user manual.
<br /> <br />
Should you require information please contact <a href="mailto:support@acme.com">support@acme.com</a>.
<br /> <br />
</div><!-- END DIV CONTENTS -->
<!-- PHOTO ###################################################### -->
<div id="IDSphoto">
<img border=0 src="http://acme.com/webpages/images/UMR-IDS.png" />
</div>
<!-- FORM ###########################----------------------->
<div id="entryform">
<b>Free 60 Day Evaluation Trial</b> <br />
<i> All Fields Are Required. </i> <br />
';
readfile("test-mod_evaluation.php");
echo '</div><!-- END DIV ENTRYFORM -->';
}
else //form has been filled out properly ###########################################
{
echo '
<title>Thank you for registering!</title>
<meta name="description" content="Acme" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;url=http://acme.com/webpages/download/Software.zip">
<link rel="stylesheet" type="text/css" href="http://acme.com/webpages/css/trial.css" />
<!-- BODY ########################### -->
<body>
<div id="container">
<div id="navigation">
<a href="http://acme.com/productwiki-trac/product/wiki">Back to the MAIN Wiki</a>
</div>
<!-- PHOTO ########################### -->
<div id="IDSphoto">
<img border=0 src="http://acme.com/webpages/images/IDS.png" />
</div>
<!-- FORM ########################### -->
<div id="entryform">
Thank you for submitting your request to download the 60 day evaluation trial.
<br /> <br />
You will receive an email shortly containing the evaluation license key and manual.
<br /> <br />
The download of the install file should begin automatically...
</b>
<br /> <br />
<i>If the download does not begin automatically you can click to start a <a href="http://acme.com/webpages/download/Software.zip">manual download</a>.
<br /> <br />
<i>Some operating systems, browsers, anti-virus, or pop-up blocker software may interfere with the automatic download process.</i>
</i>
<br /> <br />
Should you require information please contact <a href="mailto:support@acme.com">support@acme.com</a>.
<br /> <br />
}
</div> <!-- end form -->
';
$user=getenv(REMOTE_USER);
if (getenv(HTTP_X_FORWARDED_FOR))
{ $ip=getenv(HTTP_X_FORWARDED_FOR);
}
else{ $ip=getenv(REMOTE_ADDR); }
$date_time = date("l jS \of F Y H:i:s T", $_SERVER['REQUEST_TIME'] );
$request_method = getenv(REQUEST_METHOD);
$request_uri = getenv(REQUEST_URI);
$user_agent = getenv(HTTP_USER_AGENT);
$to = "receive@acme.com";
$subject = "Software Download";
$message = "<html><head><title></title></head><body><b>";
$message .= "\n<br \>" . $user;
$message .= "\n<br \>" . $ip;
$message .= "\n<br \>" . $date_time;
$message .= "</b>";
$message .= "\n<br \>" . $request_method . " " . $request_uri;
$message .= "\n<br \>" . $user_agent;
$message .= '<pre>' . implode('', $_POST) . '</pre>';
$message .= "</body></html>";
$headers = "";
$headers .= "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type: text/html; charset=utf-8" . "\r\n";
mail($to, $subject, $message, $headers);
} //end of "return page" html & php code
?>
<br /> <br />
<br /> <br />
<br /> <br />
<br /> <br />
<br /> <br />
<?php //include date modified
include( $_SERVER["DOCUMENT_ROOT"] . "/includes/foot.txt");
?>
<?php //include the google analytics javascript
include( $_SERVER["DOCUMENT_ROOT"] . "/includes/google-code.htm");
?>
</body>
</html>