{stored_object name=$smarty.session.session_id|truncate:10:"" type="comp" from="comp" assign="comp"}
{if $smarty.request.confirmReset}{stored_object name=$smarty.session.session_id|truncate:10:"" type="comp" destroy="true"}{/if}
{include file="shared:layouts/comp_create_navbar.tpl"}

{toc_next assign="next"}
{toc_prev assign="prev"}

{if $user->isLoggedIn()}
	{store_messages}
	{redirect href=$null|cat:"?pg=":$next.pageName}
	{* redirect href="http://www.clubgm.com" *}
{/if}

<br />

<form name="compStartForm" method="post" style="margin:0px;" action="index.php">
<input type="hidden" name="pg" value="{$next.pageName}">
<input type="hidden" name="no_expire" value="true">

<table border=0 cellpadding=0 cellspacing=0 width="100%">
   <tr>
	<td style="background-image:url({$skinFolder}images/ehc/containers/grayTable/table1_header_bg.gif);background-repeat:repeat-x;"><img src="{$skinFolder}images/ehc/containers/grayTable/table1_header_left.gif"></td>
        <td style="background-image:url({$skinFolder}images/ehc/containers/grayTable/table1_header_bg.gif);background-repeat:repeat-x;">A. Create an Account:</td>
        <td><img src="{$skinFolder}images/ehc/containers/grayTable/table1_header_right2.gif"></td>
   </tr>
   <tr> 
        <td style="background-image:url({$skinFolder}images/ehc/containers/grayTable/table_body_left.gif);background-repeat:repeat-y;"></td>
        <td nowrap>
<table width="100%" border=0>
<tr>
  <td valign="top">
   <table width="100%">
   <tr>
     <td>First Name:</td>
     <td><input type="text" /></td>
   </tr>
   <tr>
     <td>Last Name:</td>
     <td><input type="text" /></td>
   </tr>
   <tr>
     <td>Userame:</td>
     <td><input type="text" /></td>
   </tr>
   <tr>
     <td>Email:</td>
     <td><input type="text" /></td>
   </tr>
   <tr>
     <td>Password:</td>
     <td><input type="text" /></td>
   </tr>
   <tr>
     <td>Retype Pass:</td>
     <td><input type="text" /></td>
   </tr>
   <tr>
     <td>Birth Date:</td>
     <td><input type="text" size="2" /> <input type="text" size="2" /> <input type="text" size="2" /> </td>
   </tr>
   <tr>
     <td>Current Weight:</td>
     <td><input type="text" /></td>
   </tr>
   <tr>
     <td>Hide Weight?:</td>
     <td><input type="radio" checked="checked" /> Yes <input type="radio" /> No </td>
   </tr>
   <tr>
     <td>Gender?:</td>
     <td nowrap="nowrap"><input type="radio" /> Not Specified <input type="radio" checked="checked" /> Male <input type="radio" /> Female</td>
   </tr>
   <tr>
     <td>Terms:</td>
     <td><input type="checkbox" /> I have read and agree to the <a href="#">Terms of Use</a>.</td>
   </tr>
   <tr>
     <td>&nbsp;</td>
     <td align="right"><input type="button" value="Create My Account!" onclick="location.replace('?pg=compCreate/step4');" /></td>
   </tr>
   </table>
  </td>
</tr>
</table>
        </td>
        <td style="background-image:url({$skinFolder}images/ehc/containers/grayTable/table_body_right2.gif);background-repeat:repeat-y;"></td>
   </tr>
   <tr>
        <td style="background-image:url({$skinFolder}images/ehc/containers/grayTable/table_bottom_bg.gif);background-repeat:repeat-x;"><img src="{$skinFolder}images/ehc/containers/grayTable/table_bottom_corner_left.gif"></td>
        <td style="background-image:url({$skinFolder}images/ehc/containers/grayTable/table_bottom_bg.gif);background-repeat:repeat-x;" ></td>
        <td><img src="{$skinFolder}images/ehc/containers/grayTable/table_bottom_corner_right.gif"></td>
   </tr>
</table>

{stored_object_fill_form object=$comp name="comp"}

<div align="right">
	{if $prev.pageName}<input type="image" src="{$skinFolder}images/btn_back.gif" class="btn_image" onclick="pg.value='{$prev.pageName}';">&nbsp; {/if}
	{if $next.pageName}<input type="image" src="{$skinFolder}images/btn_next.gif" class="btn_image" onclick="pg.value='{$next.pageName}';">{/if}	
</div>


</form>