rendered paste body<style type="text/css">
<!--
body {
background-image: url();
}
-->
</style>
<TABLE width=431 height="100%" border="0" cellpadding="0" cellspacing="0" background="images/boxes_blank.jpg">
<tr>
<td colspan="3"> </td>
</tr>
<tr align="center" valign="top">
<td width="584" colspan="3" align="left">
<div align="center">
<?php
if(isset($_POST['Submit']))
{
if(empty($_POST['name']) || empty($_POST['email']))
{
echo "<p align=\"cetner\">Name & Email Address must be filled in.<br/><br />";
echo "<meta http-equiv=\"refresh\" content=\"4;URL=contact.php\" />";
}
else
{
$name = $_POST['name'];
$email = $_POST['email'];
$age = $_POST['age'];
$location = $_POST['location'];
$phone = $_POST['phone'];
$irc = $_POST['irc'];
$site = $_POST['site'];
$position = $_POST['position'];
$exp = $_POST['exp'];
$hours = $_POST['hours'];
$why = $_POST['why'];
$message = "end application...";
$date = date("m-d-Y");
$to = "lou@e-athletes.org, netcom@e-athletes.org";
$emailSubject = $subject;
$emailMessage = "The following question was submitted on ".$date." from ".$name .", ".$email.":<br /><br />".$email."<br />".$age."<br />".$location."<br />".$phone."<br />".$irc."<br />".$site."<br />".$position."<br />".$exp."<br />".$hours."<br />".$why."<br />";
$emailMessage .= nl2br($message);
$headers = "From: ".$name ."<".$email.">\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
mail($to, $emailSubject, $emailMessage, $headers);
echo "<p align=\"cetner\">Thank you for your submission<br />We will respond to you as soon as possible.<br/><br />";
echo "<meta http-equiv=\"refresh\" content=\"4;URL=index.php\" />";
}
}
else
{
?>
<div class="header">
Employment Oppertunity </div><BR>
<br><div align="left">
Do you want to offer your services to better the E-Athletes Network? Please fill out and submit this application and we will get back to you as soon as possible. All applications are reviewed without bias or profiling.
<p><form action="<?php echo $_SERVER['PHP_SELF']; ?>?section=employment" method="post" enctype="application/x-www-form-urlencoded" name="contactform"><table width="100%" border="0" align="center" class="profilec">
<tr>
<td width="20%"><div align="left">Name:</div></td>
<td width="80%"><div align="left">
<input type="text" name="name" id="name" size="35" maxlength="30"/>
</div></td>
</tr>
<tr>
<td><div align="left">Email:</div></td>
<td><div align="left">
<input name="email" id="email" type="text" size="35" maxlength="50" />
</div></td>
</tr>
<tr>
<td><div align="left">Age:</div></td>
<td><div align="left">
<input name="age" id="age" type="text" size="35" maxlength="50" />
</div></td>
</tr>
<tr>
<td><div align="left">Location:</div></td>
<td><div align="left">
<input name="location" id="location" type="text" size="35" maxlength="50" />
</div></td>
</tr>
<tr>
<td><div align="left">Phone Number:</div></td>
<td><div align="left">
<input name="phone" id="phone" type="text" size="35" maxlength="50" />
</div></td>
</tr>
<tr>
<td><div align="left">IRC Contact:</div></td>
<td><div align="left">
<input name="irc" id="irc" type="text" size="35" maxlength="50" />
</div></td>
</tr>
<tr>
<td><div align="left">Website Login:</div></td>
<td><div align="left">
<input name="site" id="site" type="text" size="35" maxlength="50" />
</div></td>
</tr>
<tr>
<td><div align="left">Position desired:</div></td>
<td><div align="left">
<input name="position" id="position" type="text" size="35" maxlength="50" />
</div></td>
</tr>
<tr>
<td><div align="left">Hours avaible:</div></td>
<td><div align="left">
<input name="hours" id="hours" type="text" size="35" maxlength="50" />
</div></td>
</tr>
<tr>
<td valign="top" align="justify">Expierence at position:<br><BR>Please include all previous jobs and reason for leaving/explanation as well as a formoer employer contact adress </div></td>
<td><div align="left">
<textarea name="exp" cols="35" rows="10" id="exp"></textarea>
</div></td>
</tr>
<tr>
<td valign="top">Why you are applying:</div></td>
<td><div align="left">
<textarea name="why" cols="35" rows="10" id="why"></textarea>
</div></td>
</tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="Submit" value="Submit" />
<input name="Reset" type="reset" id="Reset" value="Reset" /></td>
</tr>
</table>
</form>
<?php
}
?>
</td>
</TABLE>