<h1 class="underline">My Account Settings</h1>

<p>Change your site password and update your demographics.</p>

{include_php file="shared_handle:myAccount"}

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

<table><tr><td>
<div class="chunk300">
<h2 class="withBG">Address &amp; Contact Information</h2>
	Address: <input type="text" name="profile[address1]" value="{$profile.address1|htmlspecialchars}" size="22" class="textInputNotFixed" /><br />
	<input type = text" name="profile[address2]" value="{$profile.address2|htmlspecialchars}" size="22" class="textInputNotFixed" /><br />
	City: <input type="text" name="profile[city]" value="{$profile.city|htmlspecialchars}" size="15" class="textInputNotFixed" /> 
	State: <input type="text" name="profile[state]" value="{$profile.state}" id="profile[state]" size="2" class="textInputNotFixed" /><br />
	Country: <input type="text" name="profile[country]" value="{$profile.country|htmlspecialchars}" id="profile[country]" class="textInputNotFixed" size="22" /><br />
	Zip: <input type="text" name="profile[zip]" value="{$profile.zip|htmlspecialchars}" size="10" class="textInput" /><br />
	Phone1: <input type="text" name="profile[phone1]" value="{$profile.phone1|htmlspecialchars}" size="10" class="textInput" /><br />
	Phone2: <input type="text" name="profile[phone2]" value="{$profile.phone2|htmlspecialchars}" size="10" class="textInput" /><br />
</div>

<div class="chunk300">
<h2 class="withBG">Identity</h2>
	First Name:
	<input type="text" name="profile[firstName]" value="{$profile.firstName|htmlspecialchars}" class="textInput" size="20" /><br />

	Last Name:
	<input type="text" name="profile[lastName]" value="{$profile.lastName|htmlspecialchars}" class="textInput" size="20" /><br />

	E-mail:
	<input type="text" name="profile[email]" value="{$profile.email|htmlspecialchars}" class="textInput" size="30" /><br />

	Your Username:
	<b>{$profile.username}</b><br />
</div>

<div class="chunk300">
<h2 class="withBG">Change Password</h2>
	Only fill-in these fields if you would like to change your password.<br />
	Current Password: <input type="password" class="textInput" name="profile[currentPassword]" value="" /><br />
	New Password: <input type="password" class="textInput" name="profile[password]" value="" /><br />
	Confirm New: <input type="password" class="textInput" name="profile[passwordConfirm]" value="" /><br />
</div>

{* <!-- *** temporarily disabled *** -->
	<div class="chunk300">
	<h2 class="withBG">Site Skin</h2>
	<form name="skinForm" method="post" action="index.php">
	<input type="hidden" name="pg" value="{$page.name}" />
	Select a background: <select name="bgImage">
		<option value="">White</option>
		<option value="">Rivets</option>
	</select>
	</form>
	</div>
*}

</td></tr></table>

</form>

<div class="hBox" style="text-align:right;">
	<a href="javascript://" onclick="document.updateProfileForm.submit(); return false;" class="link">Submit Changes</a> | 
	<a class="link" href="?pg=myhome">Back to My Home</a>
</div>