{include_php file="shared_handle:joinCompetition"}

<h1 class="underline">Join a Competition</h1>
<br />
Fill out the following form to be submitted to the competition organizer, please use a valid email address in order to receive confirmation instructions.<br />

<table><tr><td align="right" nowrap>
<div class="chunk300">
<h2 class="withBG">Join Form</h2>
<form name="joinCompetitionForm" method="post" style="margin:0px;">
<input type="hidden" name="pg" value="competition/join" />
<input type="hidden" name="no_expire" value="true" />
<label for="compID">Competition ID#</label>
<input id="compID" class="textInput" name="compID" value="{$smarty.request.compID}"> &nbsp;<br />
<label for="name">Your Name</label>
<input id="name" class="textInput" name="applicantName" value="{if $user->isLoggedIn()}{$user->firstName} {$user->lastName}{/if}"> &nbsp;<br />
<label for="email">Email</label>
<input id="email" class="textInput" name="applicantEmail" value="{$user->email}"> &nbsp;<br />
<label for="comment">Comment</label>
<input id="comment" class="textInput" name="comment" value="{$comment}" maxlength="255"> &nbsp;
<div class="underline" style="margin-bottom:4px;">&nbsp;</div>
<a href="javascript:document.joinCompetitionForm.submit();" class="button">Submit</a>
</form>
</div>
</td></tr></table>
