?
Current Path : /home1/savoy/public_html/savoyglobal.net/old_site/views/admin/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/old_site/views/admin/doubles.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <?php $this->load->view('admin/header'); ?> <body> <script type="text/javascript"> $(document).ready(function() { $("#myTable").tablesorter(); } ); </script> <?php $this->load->view('admin/menu'); ?> <div class="container_12"> <!-- Example table --> <div class="module"> <h2><span>Doubles Registrations </span></h2> <div class="module-table-body"> <form action=""> <table id="myTable" class="tablesorter"> <thead> <tr> <th style="width:4%">SNo</th> <th style="width:20%">Company Name</th> <th style="width:10%">Player 1 Name</th> <th style="width:10%">Designation</th> <th style="width:10%">Qatar ID #</th> <th style="width:10%">Contact #</th> <th style="width:10%">Email</th> <th style="width:10%">Player 2 Name</th> <th style="width:10%">Designation</th> <th style="width:10%">Qatar ID #</th> <th style="width:10%">Contact #</th> <th style="width:10%">Email</th> <th style="width:10%">Date</th> <th style="width:5%">Action</th> </tr> </thead> <tbody> <?php $i=$id; if ($doubles->num_rows() > 0) { foreach ($doubles->result_array() as $registration) { ?> <tr <?php if($registration['active']=="0"){echo "class='bold_class';";}?>> <td class="align-center"><?=$i++;?></td> <td><?=$registration['registration_doubles_company_name'];?></td> <td><?=$registration['registration_doubles_player_name_1'];?></td> <td><?=$registration['registration_doubles_player_designation_1'];?></td> <td><?=$registration['registration_doubles_qatar_id_1'];?></td> <td><?=$registration['registration_doubles_contact_no_1'];?></td> <td><?=$registration['registration_doubles_email_1'];?></td> <td><?=$registration['registration_doubles_player_name_2'];?></td> <td><?=$registration['registration_doubles_designation_2'];?></td> <td><?=$registration['registration_doubles_qatar_id_2'];?></td> <td><?=$registration['registration_doubles_contact_no_2'];?></td> <td><?=$registration['registration_doubles_email_2'];?></td> <td><?=$registration['datetime'];?></td> <td> <a href="<?=site_url();?>/admin/update_doubles/<?=$registration['registration_doubles_id'];?>"><img src="<?=base_url();?>/assets/admin/images/pencil.gif" width="16" height="16" alt="edit" title="Edit" /></a> <?=anchor("admin/delete/registration_doubles/registration_doubles_id/".$registration['registration_doubles_id']."/doubles", '<img src="'.base_url().'assets/admin/images/bin.gif" title="Delete" width="16" height="16" align = "center" >',array('onclick'=>"return confirm('Are you sure want to delete this record?')"))?> </td> </tr> <?php } } ?> </tbody> </table> </form> <div id="pager"> <ul id="pagination-digg"> <li <?php if($pagenum>1){ ?>class="previous" <?php } else { ?> class="previous-off" <?php } ?> > <?php if($pagenum>1){ ?><a href="<?=site_url();?>/admin/doubles/<?=$pagenum-1?>" > <?php } ?> «Previous</a></li> <?php //Pagination Numbers for($i=$startpage; $i<=$endpage; $i++) { if($pagenum==$i ) { ?> <li class="active" ><?=$i?></li> <?php } else { ?> <li ><a href="<?=site_url();?>/admin/doubles/<?=$i?>"><?=$i?></a></li> <?php } } ?> <li <?php if($pagenum<$endpage){ ?> class="next-on" <?php } else { ?> class="next-off" <?php } ?>> <?php if($pagenum<$endpage){ ?><a href="<?=site_url();?>/admin/doubles/<?=$pagenum+1?>" > <?php } ?> Next » </a></li> </ul> </div> <div style="clear: both"></div> </div> <!-- End .module-table-body --> </div> <!-- End .module --> <div style="clear:both;"></div> </div> <!-- End .container_12 --> <?php $this->load->view('admin/footer'); ?> </body> </html>