<div id="mainMenu">
	<table border="0" cellpadding="0" cellspacing="0" class="mainMenu_table">
		<tr>
			<td>
				<img height="17" width="236" alt="" src="/files/leftMenuTop.jpg"/>
			</td>
		</tr>
		<tr>
			<td valign="top" align="left" style="background-image: url(/files/leftMenuMiddle.jpg); width: 236px; height: 141px; background-position: center top; background-repeat: no-repeat;">
				<div id="loginForm_content">
				<?php 
					$remind = '';
					echo '<form action="" method="post">';
					
					if($this->uri->segment('1') == 'admin' || $this->uri->segment('1') == '')
					{
						$remind='<a href="/admin/forgotten_pass"><u>nie pamiętasz hasła?</u></a>';
					}
				?>
					<table border="0" cellpadding="0" cellspacing="0" style="line-height:25px;">
						<tr><td colspan="2"><b>Zaloguj się</b></td></tr>
						<tr>
							<td valign="middle" align="left">Login </td>
							<td valign="middle" ><input style="margin-left:10px; width:145px;" type="text" name="login_form" value="<?=$this->validation->login_form;?>" /></td>
						</tr>
						<?php 
							if($this->validation->login_form_error)
							{
								echo '<tr>';
									echo '<td></td><td  style="padding-left:10px;font-size:10px">'.$this->validation->login_form_error.'</td>';	
								echo '</tr>';
							}
						?>
						<tr>
							<td valign="middle" align="left">Hasło</td>
							<td valign="middle" ><input style="margin-left:10px; width:145px;" type="password" name="pass" value="<?=$this->validation->pass;?>"/></td>
						</tr>
						<?php 
							if($this->validation->pass_error)
							{
								echo '<tr>';
									echo '<td></td><td style="padding-left:10px;font-size:10px">'.$this->validation->pass_error.'</td>';	
								echo '</tr>';
							}
						?>						
						<tr>
							<td></td>
							<td><input style="margin-top:5px; margin-left:10px;width:100px;" type="submit" value="Zaloguj"/></td>
						</tr>
					</table>
			
					</form>
					<br/>
					<?php echo $remind; ?>
				</div>		
			</td>
		</tr>
		<tr>	
			<td>
				<img height="17" width="236" alt="" src="/files/leftMenuBottom.jpg"/>
			</td>
		</tr>
	</table>
</div>					