<h1 class="withBG">My Profile</h1>

<p>Here you can update your personal motto, etc.</p>

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

<table cellpadding="0" cellspacing="0" align="center"><tr><td>

<div class="chunk300" style="width:310px;">
<h2 class="withBG">Personal Profile</h2>
Date of Birth:
{get_month name="signup[dob][month]"}
{get_day   name="signup[dob][day]"}
{math assign="end_year" equation="x - 18" x=$smarty.now|date_format2:"Y"}  {* Minimum age is 18 years for now *}
{get_year  name="signup[dob][year]" end=$end_year}<br />

Current Weight:
<input type="text" name="signup[initialWeight]" size="4" maxlength="3" class="textInput" style="width:25px;" /><br />

Hide Initial Weight?:
<input type="radio" name="signup[hideInitialWeight]" value="Yes" /> Yes &nbsp; <input type="radio" name="signup[hideInitialWeight]" value="No"{if not $signup[hideInitialWeight]} checked{/if} /> No<br />

Goal Weight:
<input type="text" name="signup[goalWeight]" size="4" maxlength="3" class="textInput" style="width:25px;" /><br />

Height:
<input type="text" name="signup[height][feet]" class="textInput" maxlength="1" style="width:18px;" /> feet, 
<input type="text" name="signup[height][inches]" class="textInput" maxlength="2" style="width:20px;" /> inches<br />
</div>

<div class="chunk300">
	<h2 class="withBG">Personal Goal</h2>
	<textarea name="signup[personalGoal]" cols="30" rows="5" style="width:295px; height:125px;"></textarea><br />
</div>

<div class="chunk300">
	<h2 class="withBG">Personal Motto</h2>
	<textarea name="signup[personalSaying]" cols="30" rows="5" style="width:295px; height:125px;"></textarea><br />
</div>

<div class="chunk300">
	<h2 class="withBG">Your Signature</h2>
	<textarea name="signup[signature]" cols="30" rows="5" style="width:295px; height:125px;"></textarea><br />
</div>
</td></tr></table>

<div class="hBox" align="right">
	<br />
	{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">{/if}
</div>

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

</form>
