HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/taxicamera/old/applicationold/views/admin/driver/list_new_driver.php
<div class="main-content">
	<div class="content-wrapper">
		<div class="container-fluid">
			<?php if ($this->session->flashdata('success_msg')) : ?>
				<div class="alert alert-success">
					<a href="#" class="close" data-dismiss="alert" aria-label="close" title="close">×</a>
					<?php echo $this->session->flashdata('success_msg') ?>
				</div>
			<?php endif ?>
			<?php if ($this->session->flashdata('error_msg')) : ?>
				<div class="alert alert-danger">
					<a href="#" class="close" data-dismiss="alert" aria-label="close" title="close">×</a>
					<?php echo $this->session->flashdata('error_msg') ?>
				</div>
			<?php endif ?>
			<!-- Basic form layout section start -->
			<section id="basic-form-layouts">
				<div class="row">
					<div class="col-md-12">
						<div class="card">
							<div class="clearfix"></div>
							<div class="card-header">
								<div class="page-title-wrap">
									<h4 class="card-title">New Driver List</h4>
									<a class="add_bttn title_btn t_btn_list" href="<?= base_url('admin/driver/add_new_driver') ?>"><span><i class="fa fa-plus" aria-hidden="true"></i></span> Add Driver</a>									
								</div>
							</div>
							<?php //pr($ck_action_falg); ?>
							<div class="card-body">
								<div class="px-3">
									<form class="form">
										<div class="form-body">
											<!-- start -->
											<div class="row">
												<div class="col-md-12">
													<div class="staff_tab_area">
														<div class="table-responsive custom_table_area">
															<table class="table table-striped table-bordered dom-jQuery-events c_table_style">
																<thead>
																	<tr>
																		<th>SL No.</th>
																		<th style="min-width: 10%;">Action</th>
																		<th>Name</th>
																		<th>Dc No.</th>
																		<th>Mobile No.</th>
																		<th>Password</th>
																		<th>DOB</th>
																		<th>ABN</th>
																		<th style="min-width: 200px;">Address</th>
																		<th>Landline No.</th>
																		<th>Email</th>
																		<th>Driver’s licence number</th>
																		<th>DL Exp. Date</th>
																		<th>Driver Type</th>
																		<th>Driver accreditation Exp. Date</th>
																		<th>Bank Name</th>
																		<th>BSB</th>
																		<th>Account No.</th>
																	</tr>
																</thead>
																<tbody>
																	<?php if (!empty($driver_list)) { ?>
																		<?php foreach ($driver_list as $key => $driver) { ?>
																			<tr>
																				<td><?=$key +1?></td>
																				<td title="Edit" class="action_td text-center">
																					<a href="<?=base_url('admin/driver/'.$driver['user_id'])?>" class="edit_bttn btn_action edit_icon"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>
                    																<button title="Driver Validation" class=" btn btn-warning"><a style="text-decoration:none;color:white" href="<?= base_url();?>admin/driver/generate_agreement/<?= $driver['user_id'];?>">Driver Validation</a></button>
                																</td>
																				<td><?=$driver['full_name']?></td>
																				<td><?=$driver['dc_no']?></td>
																				<td><?= $driver['mobile'] ?></td>
																				<td><?= isset($driver['org_password'])?$driver['org_password']:'N/A'?></td>
																				<td><?=$driver['dob']?></td>
																				<td><?=$driver['abn']?></td>
																				<td><?=$driver['full_address']?></td>
																				<td><?=isset($driver['landline_no'])?$driver['landline_no']:'N/A'?></td>
																				<td><?=$driver['email']?></td>
																				<td><?=$driver['dr_licence_no']?></td>
																				<td><?=$driver['dr_licence_expiry']?></td>
																				<?php if($driver['dr_driver_type'] =='1'): ?>
																				<?php	$dr_driver_type = 'Sedan'; ?>
																				<?php else: ?>
																				<?php   $dr_driver_type = 'Maxi'; ?>
																				<?php endif; ?>
																				<td><?=$dr_driver_type?></td>
																				<td><?=$driver['dr_dc_expiry']?></td>
																				<td><?=$driver['bank_name']?></td>
																				<td><?=$driver['bsb']?></td>
																				<td><?=isset($driver['account_no'])?$driver['account_no']:''?></td>
																			</tr>
																		<?php }
																		}  ?>

																</tbody>

															</table>
														</div>
														<!-- Tab panes -->
													</div>
												</div>
											</div>
											<!-- end -->
										</div>
									</form>
								</div>
							</div>
						</div>
					</div>
				</div>
			</section>
			<!-- // Basic form layout section end -->
		</div>
	</div>
</div>