{include file="$gentemplates/$header_tpl"}
<h2>{$lang.affiliate.razdel_name}</h2>

<h3>{$lang.affiliate.login_header}</h3>
{*if $error}<p class="error_msg">*&nbsp;{$lang.affiliate.login_error}</p>{/if*}
<form action="aff_index.php{if isset($w)}?w={$w}{/if}" method="POST" name="login_form">
	<input type="hidden" name="action" value="login">
	<p>
		{$lang.affiliate.username}:<br />
		<input type="text"  name="login" value="{if isset($login)}{$login}{/if}" style="width:150">
	</p>
	<p>
		{$lang.affiliate.password}:<br />
		<input type="password"  name="password" value="{if isset($password)}{$password}{/if}" style="width:150">
	</p>
	<p>
		<input type="submit" class="button" value="{$lang.button.login}">
	</p>
</form>
<p>
	{$lang.affiliate.not_registered} - <a href="aff_signup.php">{$lang.affiliate.register}</a>
</p>

{if $banner.right}
<div style="float: left;">
{$banner.right}
</div>
{/if} 							  	
{include file="$gentemplates/$footer_tpl"}