Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
application
/
views
:
reg_runner_walker.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php $heading = isset($heading) ? $heading : ""; $data = isset($data) ? $data : array(); $sexArr = array('M'=>'Male', 'F'=>'Female' , 'X'=>'Mixed' ); $empTypeArr = array('S'=>'State & Federal Govt','C'=>'Corporation & Businesses','N'=>'Nonprofit & Local','O'=>'Open'); ?> <section class="pad-t80 pad-b50"> <div class="container"> <div class="row"> <div class="section-title text-center"> <h3><?php echo $heading; ?></h3> </div> </div> <div class="row" style="margin-bottom: 60px"> <?php if(!empty($data)){?> <div class="table-responsive"> <table id="example" class="table table-striped table-bordered" width="100%" cellspacing="0"> <thead> <tr role="row"> <th>First Name</th> <th>Last Name</th> <th>SEX</th> <th>PAID</th> <th>EMPLOYER</th> <th>STATUS</th> <th>TEAM NAME</th> </tr> </thead> <tbody> <?php foreach ($data as $d){?> <tr> <td class=""><?php echo $d->first_name;?></td> <td class=" "><?php echo $d->last_name;?></td> <td class="center "><?php echo isset($sexArr[$d->sex])? $sexArr[$d->sex] : ""; ?></td> <td class="center ">Yes</td> <td class="center "><?php echo $d->employer_name;?></td> <td class="center "><?php echo isset($empTypeArr[$d->employer_type])? $empTypeArr[$d->employer_type] : ""; ?></td> <td class="center "><?php echo $d->team_name;?></td> </tr> <?php }?> </tbody> </table> </div> <?php } else{?> <div class="well"><p>No Data found</p></div> <?php }?> </div> </div> </section> <script> $(document).ready(function() { $('#example').DataTable(); } ); </script>