<div class="col-lg-12 ">
	<section class="panel">
		<header class="panel-heading" style="min-height:120px">
			<h4 class="text-center"><i class="fa fa-user truck_icon"></i><br/> <b>User List</b></h4>
		</header>
		<div class="panel-body">
			<section id="unseen">
				<table class="table table-bordered table-striped table-condensed">
					<thead>
						<tr>
							<th>User Code</th>
							<th>User Name</th>
							<th>User Designation</th>
							<th class="numeric">Mobile Number</th>
							<th>Email</th>
							<th>Country</th>
							<th>Province</th>
							<th>Place</th>
							<th>pincode</th>
							<th>Address</th>
							<th>Operation</th>
						</tr>
					</thead>
					<tbody>
						<?php
							foreach($ul_list as $ul_row){
						?>
								<tr>
									<td> <?php echo $ul_row['ul_code'];?> </td>
									<td> <?php echo $ul_row['ul_name'];?> </td>
									<td> 
										<?php
											if($ul_row['ul_designation']=='1'){
												echo "Gate Entry Officer";
											}else if($ul_row['ul_designation']=='2'){
												echo "Authorization Manager";
											}elseif($ul_row['ul_designation']=='3'){
												echo "WeighBridge Officer";
											}elseif($ul_row['ul_designation']=='20'){
												echo "Reports Manager";
											}
											// elseif($ul_row['ul_designation']=='4'){
											// 	echo "Loading Entry Officer";
											// }elseif($ul_row['ul_designation']=='5'){
											// 	echo "Vehicle slip entry Officer";
											// }elseif($ul_row['ul_designation']=='6'){
											// 	echo "Authorized Vehilce Slip Officer";
											// }
											

										?>
									</td>
									<td> <?php echo $ul_row['ul_mobile'];?> </td>
									<td> <?php echo $ul_row['ul_email'];?> </td>
									<td> <?php echo $ul_row['ul_state'];?> </td>
									<td> <?php echo $ul_row['ul_district'];?> </td>
									<td> <?php echo $ul_row['ul_place'];?> </td>
									<td> <?php echo $ul_row['ul_pincode'];?> </td>
									<td> <?php echo $ul_row['ul_address'];?> </td>
									<td>
										<a href="<?php echo base_url();?>users_ctrl/add_user_details/<?php echo $ul_row['ul_id'];?>" class="btn btn-success fa fa-edit"></a>
									</td>
								</tr>
						<?php
							}
						?>
					</tbody>
				</table>
			</section>
		</div>
	</section>
</div>