?
Current Path : /home1/savoy/public_html/savoyglobal.net/koolkids/school/application/views/Sms/ |
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/koolkids/school/application/views/Sms/viewdraft.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <span class="section_content_top"></span> <div class="section_content_inner"> <!--[if !IE]>start table_wrapper<![endif]--> <div class="table_wrapper"> <div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <th style="width: 17px;">Sl No.</th> <th><span>Sender ID</span></th> <th>Message</th> <th>Numbers</th> <th>Satus</th> <th>Date-Time</th> <th style="width: 165px;">Actions</th> </tr> <?php $slno=($pagenum-1)*10+1; if ($viewinfo->num_rows() > 0) { foreach ($viewinfo->result() as $row) { ?> <tr <?php if($slno%2==0) { ?>class="first" <?php } else { ?> class="second" <?php } ?>> <td><?=$slno++;?></td> <td><?=$row->sender_id;?></td> <td><?=$row->numbers;?></td> <td><?=$row->message;?></td> <td><?=$row->status;?></td> <td><?=$row->datetime;?></td> <td> <div class="actions_menu"> <ul> <li><a class="delete" href="#" onclick="deletedataperm(<?=$row->id;?>,'sendsms','id','sms','viewinsms','searchdraft','viewdraft')">Delete</a></li> <li><a class="add" href="#" onclick="sendsms(<?=$row->id;?>)">Send</a></li> </ul> </div> </td> </tr> <?php } } ?> </tbody></table> </div> </div> <!--[if !IE]>end table_wrapper<![endif]--> </div> <!--[if !IE]>start pagination<![endif]--> <div class="pagination_wrapper"> <span class="pagination_top"></span> <div class="pagination_middle"> <div class="pagination"> <span class="page_no">Page <?=$pagenum;?> of <?=$endpage;?></span> <ul class="pag_list"> <li> <?php if($pagenum>1){ ?><a href="#" onclick="viewdata('sms','viewinsmssearch','searchdraft','viewdraft',<?=$pagenum-1?>);" class="pag_nav"> <?php } ?> <span><span>« Previous</span></span></a> </li> <?php //Pagination Numbers for($i=$startpage; $i<=$endpage; $i++) { if($pagenum==$i) { ?> <li><a href="#" class="current_page"><span><span><?=$i?></span></span></a></li> <?php } else { ?> <li><a href="#" onclick="viewdata('sms','viewinsmssearch','searchdraft','viewdraft',<?=$i?>);"><?=$i?></a></li> <?php } } ?> <li> <?php if($pagenum<$endpage){ ?><a href="#" class="pag_nav" onclick="viewdata('sms','viewinsmssearch','searchdraft','viewdraft',<?=$pagenum+1?>);"> <?php } ?> Next »</a> </li> </ul> </div> </div> <span class="pagination_bottom"></span> </div> <!--[if !IE]>end pagination<![endif]--> <span class="section_content_bottom"></span>