?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Master/ |
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/Master/insurancetypes.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php $this->load->view('header'); ?> <script type="text/javascript"> $(document).ready(function(){ //Display Loading Image showcovertype('cover~covers','1',''); }); function showsegment(searchoption,pagenum,searchtext) { $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#entrydiv").load("<?= site_url('master/search_insurance/segmentinsurance') ?>/"+searchoption+'/'+pagenum+'/'+searchtext); } function showcovertype(searchoption,pagenum,searchtext) { $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#entrydiv").load("<?= site_url('master/search_insurance/coverinsurance') ?>/"+searchoption+'/'+pagenum+'/'+searchtext); } function addcover(rwd) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#entrydiv").load("<?= site_url('master/ajaxload/addcover/covers') ?>"); } }); } function addsegment(rwd) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#entrydiv").load("<?= site_url('master/ajaxload/addsegment/segment_insurances') ?>"); } }); } function addbranch() { $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#entrydiv").load("<?= site_url('master/ajaxload/addbranch/branch_insurances') ?>"); } function editcover(rwd,id) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#entrydiv").load("<?= site_url('master/edit/editcover/covers/id/') ?>" +"/" +id); } }); } function editbranch(id) { $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#entrydiv").load("<?= site_url('master/edit/addbranch/branch_insurances/id/') ?>" +"/" +id); } function editsegment(rwd,id) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#entrydiv").load("<?= site_url('master/edit/editsegment/segment_insurances/id/') ?>" +"/" +id); } }); } function search_insurance(seloption,serctext,page) { serctext = serctext.replace(/ /g,"~"); serctext = serctext.replace(/\//g,"_"); $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $('#entrydiv').load("<?php echo site_url('master/search_insurance/'); ?>/" +page + "/"+ seloption + "/" +1+ "/"+serctext); } function paginationdatasegmentsearch(pageNum,seloption,serctext) { serctext = serctext.replace(/ /g,"~"); serctext = serctext.replace(/\//g,"_"); $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $('#entrydiv').load("<?php echo site_url('master/search_insurance/segmentinsurance/'); ?>/"+ seloption + "/" +pageNum+ "/"+serctext); } function paginationdatacoversearch(pageNum,seloption,serctext) { serctext = serctext.replace(/ /g,"~"); serctext = serctext.replace(/\//g,"_"); $("#entrydiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $('#entrydiv').load("<?php echo site_url('master/search_insurance/coverinsurance/'); ?>/"+ seloption + "/" +pageNum+ "/"+serctext); } </script> <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" ></div> <p> </p> <div id="entrydiv"> </div> <div id="loading" align="center"></div> </div> </div> </div> <?php $this->load->view('footer'); ?> </div> </body> </html>