?
Current Path : /home1/savoy/www/savoyglobal.net/sibs_draft/system/application/views/Claims/ |
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/sibs_draft/system/application/views/Claims/claimforms.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php $this->load->view('header'); $this->load->view('commonfunctions'); ?> <script type="text/javascript"> $(document).ready(function(){ //Display Loading Image loadclaimforms(1,'',''); }); function loadclaimforms(pagenum,searchoption,searchtext) { $("#claimformsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#claimformsdiv").load("<?= site_url('claims/ajaxloadnew/viewclaimforms/claimforms') ?>/"+pagenum+'/'+searchoption+'/'+searchtext); } function addclaimforms(rwd) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#claimformsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#claimformsdiv").load("<?= site_url('claims/ajaxload/addclaimforms/claimforms') ?>"); } }); } function editclaimforms(rwd,id) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#claimformsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#claimformsdiv").load("<?= site_url('claims/edit/editclaimforms/claimforms/id/') ?>"+"/" +id); } }); } function searchclaimforms(search,selectsearch) { $("#claimformsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); pagenum = 1; search = search.replace(/ /g,"~"); search = search.replace(/\//g,"_"); $("#claimformsdiv").load("<?= site_url('claims/ajaxloadnew/viewclaimforms/claimforms/') ?>"+"/"+pagenum+"/"+selectsearch+"/"+search+"/"); } function singleclaimforms(rwd,id) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#claimformsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#claimformsdiv").load("<?= site_url('claims/single/singleclaimforms/claimforms/id/claimform_files/claimformid') ?>"+"/" +id); } }); } function paginationclaimforms(pageNum) { $("#claimformsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#claimformsdiv").load("<?= site_url('claims/ajaxloadnew/viewclaimforms/claimforms/') ?>" +"/" +pageNum); } function paginationclaimformssearch(pageNum,search,selectsearch) { $("#claimformsdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $('#claimformsdiv').load("<?php echo site_url('claims/ajaxloadnew/viewclaimforms/claimforms/'); ?>"+"/" +pageNum+"/"+selectsearch+"/"+search+"/"); } </script> <style type="text/css"> /* CSS for the demo */ img{ border:0px; } </style> <body > <div id="main"> <?php $this->load->view('menu'); ?> <div id="middle"> <?php $this->load->view('leftbar'); ?> <div id="center-column"> <?php $this->load->view('topbar'); ?> <div class="table"> <div id="successdiv" align="center"></div> <p> </p> <div style='display:none'> <div id='inline_example1' style='padding:10px; background:#fff;'> </div> </div> <div id="claimformsdiv"> </div> <div id="loading" align="center"></div> </div> </div> </div> <?php $this->load->view('footer'); ?> </div> </body> </html>