?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Home/ |
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/www/savoyglobal.net/drafthr/system/application/views/Home/viewmore-schedule.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <fieldset><legend>View Today's All Schedules</legend> <table class="sort"> <tr> <th>Sl No.</th> <th>Policy No.</th> <th>Date</th> <th>amount</th> </tr> <?php $i=(($currpage-1) * 5); foreach ($schlist as $schedule) { $i=$i+1; $sche_dat = $this->mastermodel->convdatformat($schedule['date']); echo "<tr><td>".$i."</td><td>".$schedule['policy_no']."</td><td>".$sche_dat."</td><td>".$schedule['amount']."</td></tr>"; } ?> </table> </fieldset> <div style="width:75%; height:30px; float:right;"> <ul> <li class="pagsel" onclick="viewscheduldem('1')"> <img src="<?php echo base_url() ?>/assets/images/first.gif"/> </li> <li class="pagsel" <?php if($currpage>0){ ?> onclick="viewscheduldem('<?php echo $currpage-1 ?>')" <?php } ?> > <img src="<?php echo base_url() ?>/assets/images/prev.gif"/> </li> <?php $totpage=ceil($totrecord/5); $arr= $this->settingsmodel->getmaxminlist($currpage,$totpage,4); $myarray=$arr['listnos']; for($i=$myarray[0]; $i<=$myarray[1]; $i++) { if($currpage==$i ) { ?> <li class="pagsel"> <?php echo $i ?></li> <?php } else { ?> <li class="pag" onclick="viewscheduldem('<?php echo $i ?>')"> <?php echo $i ?></li> <?php } } ?> <li class="pagsel" <?php if($currpage<$totpage){ ?> onclick="viewscheduldem('<?php echo $currpage+1 ?>')"<?php } ?>> <img style="vertical-align:top" src="<?php echo base_url() ?>/assets/images/next.gif"/> </li> <li class="pagsel" onclick="viewscheduldem('<?php echo $totpage ?>')"><img src="<?php echo base_url() ?>/assets/images/last.gif"/> </li> </ul> </div> <div id="polidiv"> </div>