<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
		<meta name="description" content="">
		<meta name="author" content="">
		<link rel="shortcut icon" href="#" type="image/png">
		<title>Truck Management System</title>
		<link href="<?php echo base_url();?>public_html/admin_assets/css/style.css" rel="stylesheet">
		<link href="<?php echo base_url();?>public_html/admin_assets/css/style-responsive.css" rel="stylesheet">
	</head>
	<body class="login-body">
		<div class="container"> 
			<form class="form-signin" action="<?php echo base_url()?>icd/icd_login_ctrl/submit" method="post">
				<div class="form-signin-heading text-center">
					<h1 class="sign-title">Sign In</h1>
					<!-- <h1 style="color:#688AC2;"><b>Truck Management System </b></h1> -->
					<img src="<?php echo base_url();?>public_html/admin_assets/images/logo.png" alt=""/>
					<p style="font-size: 14px; padding: 4px; color: #fd0101; font-weight: bold;">
						<?php 
							$emsg = $this->session->flashdata('tos_error');
							if($emsg!=''){
								echo $this->session->flashdata('tos_error');							
							}
						?>
					</p>
				</div>
				<div class="login-wrap">
					<input type="text" name="u_name" class="form-control" placeholder="User Name" >
					<input type="password" name="pwd" class="form-control" placeholder="Password">
					<select class="form-control" name="ul_type" required>
                        <option value="">--Select User--</option>
						<!-- <option value="0"> Admin </option> -->
						<?php
							foreach($url_list as $url_key=>$url_row){ 
								if($url_row['url_role_id']>=4 && $url_row['url_role_id']<=20 ){
						?>
									<option value="<?php echo $url_row['url_role_id']; ?>"> <?php echo $url_row['url_name']; ?></option>
						<?php
								}
							}
						?>	
						<!-- <option value="6"> Authorized Vehilce Slip Officer </option> -->					 </select>

					<button class="btn btn-lg btn-login btn-block" type="submit">
					<i class="fa fa-check"></i>
					</button>
					<!-- <label class="checkbox">
						<input type="checkbox" value="remember-me"> Remember me
						<span class="pull-right">
							<a data-toggle="modal" href="#myModal"> Forgot Password?</a>
						</span>
						</label> -->
				</div>
			</form>
		</div>
		<!-- Placed js at the end of the document so the pages load faster -->
		<!-- Placed js at the end of the document so the pages load faster -->
		<script src="<?php echo base_url();?>public_html/admin_assets/js/jquery-1.10.2.min.js"></script>
		<script src="<?php echo base_url();?>public_html/admin_assets/js/bootstrap.min.js"></script>
		<script src="<?php echo base_url();?>public_html/admin_assets/js/modernizr.min.js"></script>
	</body>
</html>