?
Current Path : /home1/savoy/public_html/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/public_html/savoyglobal.net/drafthr/system/application/views/Master/mycompany.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php $this->load->view('header'); ?> <script> $(document).ready(function(){ viewcompany(); }); function viewcompany() { $("#compdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>'); $("#compdiv").load("<?= site_url('master/viewmycompany/') ?>" +"/"); } function addmycompany(rwd) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#compdiv").load("<?= site_url('master/addmycompany/') ?>"); } }); } function editmycompany(rwd,id) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#compdiv").load("<?= site_url('master/get_company/') ?>" +"/" + id ); } }); } function delmycompany(rwd,id) { $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data) { if(data==1) { $("#compdiv").load("<?= site_url('master/deletemycompany/') ?>" +"/" +id,function(){ viewcompany(); }); } }); } function checkfile(table) { var file=document.getElementById('logoup').value; $("#errordiv").load("<?= site_url('hr/filecheck/') ?>/"+table+ "/"+file,function(data) { if(data>=1) { alert("file already exist.Please Rename the file"); document.getElementById('logoup').value=""; } }); } </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> <div id="loading" align="center"></div> </div> <div id='compdiv' style='padding:10px;float:left; width: 100%'> <?php// $this->load->view('Settings/activitypage'); ?> </div> </div> </div> <?php $this->load->view('footer'); ?> </div> <div style="display:none"><div id="errordiv"></div></div> </body> </html>