<div class="navbar">
  <div class="navbar-inner">
    <a class="brand" style="padding:2px 20px;" href="/"> <img src="/css/images/logo.png"> </a>	
	<ul class="nav pull-right">
		<li>
			<a href="<?php echo site_url('/login/signup'); ?>">Sign Up</a>
	    </li>
	</ul>
  </div>
</div>
<div class="row-fluid">
  <div class="span2"></div>
 

 <div class="span8" style="min-height:768px">

		<form action="<?php echo site_url('login/login_submit') ?>" class="form-horizontal"  name="form_login" id="form_login" method="post">
		<legend>Welcome</legend>
		  <div class="control-group">
			<label class="control-label" for="inputEmail">Email</label>
			<div class="controls">
			  <input type="text" id="email" name="email" placeholder="Email" value="<?php if(isset($_COOKIE['user_email'])) echo $_COOKIE['user_email']; ?>">
			</div>
		  </div>
		  <div class="control-group">
			<label class="control-label" for="inputPassword">Password</label>
			<div class="controls">
			  <input type="password" id="password" name="password" placeholder="Password" value="<?php if(isset($_COOKIE['user_pwd'])) echo $_COOKIE['user_pwd']; ?>">
			</div>
		  </div>
		  <div class="control-group">
			<div class="controls">
			  <button type="button" onclick="submitForm('form_login');" class="btn">Log in</button>
			  Or 
				  <a href="<?php echo site_url('login/signup'); ?>" id="login_warning" name="login_warning">Sign Up</a>
			</div>
		  </div>
		  <div class="control-group">
			<div class="controls">
			  <a href="<?php echo site_url('login/findpwd'); ?>" id="findpwd" name="findpwd">I've Forgotten My Password.</a>
			</div>
		  </div>
		</form>
		
	<div class="alert alert-error">
	  <h4>IE6 isn't allowed!</h4>
	  Please use Google Chrome, Firefox, Safair, or IE7+.
	</div>
	
	</div>
		
 <div class="span2"></div>
</div>