{*
  The user profile template
  $Id: profile.tpl,v 1.1 2006/12/06
*}

<!-- {$smarty.template} -->

<br>
<div id="toppage"><a href="javascript:" onclick="blocking('BL0','yes', 'block'); return false;">{$lang.opt_account} {$user.name}</a></div>
<div id="content">
	<form method="post" action="profile.php">
        <input type="hidden" name="editsave" value="1"/>
			<table id="BL0" width="100%" border="0" cellspacing="0" cellspadding="0">
				<tr>
					<td class="lineeven"><b>» {$lang.email} :</b></td>
					<td class="lineeven">
					<input type="text" size="20" name="email" id="email" value="{$user.email}" class="center" />
					</td>
				</tr>
				<tr>
					<td class="lineodd"><b>» {$lang.password} :</b></td>
					<td class="lineodd"><input type="text" name="password"/></td>
				</tr>
				<tr>
					<td class="lineeven"><b>» {$lang.confirmation} {$lang.password} :</b></td>
					<td class="lineeven"><input type="text" name="password2"/></td>
				</tr>
				<tr>
					<td class="lineodd" colspan="2">
						<span class="onglet">
						<input type="submit" style="width:100%;" value="{$lang.save}" id="savebutton" accesskey="s" />
						</span>
						<span class="onglet-admin">
						<input type="button" style="width:100%;" value="{$lang.back}" onClick="javascript:history.go(-1)"/>
						</span>
					</td>
				</tr>
			</table>
    </form>		
    <form method="post" action="profile.php" enctype="multipart/form-data">
        <input type="hidden" name="save" value="1"/>

        <table id="tableshow" border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr><td>
			{include file="options.tpl"}
			</td></tr>
		</table>
		<br><br>
		<table id="tableshow" border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr><td>
			<span class="onglet">
			<input style="width:100%" type="submit" value="{$lang.save}" id="savebutton" accesskey="s" />
			</span>
			</td></tr>			
		</table>
    </form>
</div>
<!-- /content -->
