<?php if (!defined('BASEPATH')) exit('No direct script access allowed');?>
<div id="loginBlock">
	<?= form_open('user/login/') ?>
		<div class="text"><?=$this->lang->line('user_name')?></div>
		<div class="input"><input type="text" name="Name" class="text" /></div>
		<div class="text"><?=$this->lang->line('user_password')?></div>
		<div class="input"><input type="password" name="Password" class="password" /></div>
		<div class="submit"><input type="image" src="<?= $this->config->item('design_pic_url') ?>submit_button.gif" class="submit" /></div>
	<?= form_close(); ?>
	<div class="textCenter"><?= anchor('user/forgot_password/', $this->lang->line('forgot_password')); ?></div>
	<div class="textCenter"><?= anchor('user/registration/', $this->lang->line('registration')); ?></div>
	<? if ( 1 == $this->config->item('openid') ) : ?>
	<div style="margin-top:20px;text-align:center;">
		<a href="<?=site_url('openid/login')?>"><img src="<?=base_url().'views/_images/openid-icon-small.gif'?>" style="margin-right: 3px;" align="absmiddle" height="16" width="16">Sign in with OpenID</a>
	</div>
	<? endif; ?>
</div>