? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Sales/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Sales/staffcustomer.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
               loadstaffcustomer(1,'','');

});

    function loadstaffcustomer(pagenum,searchoption,searchtext)
    {
       $("#staffcustomerdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
       $("#staffcustomerdiv").load("<?= site_url('sales/ajaxloadnew/viewstaffcustomer/staffcustomer')?>/"+pagenum+'/'+searchoption+'/'+searchtext);
    }

    function addstaffcustomer(rwd)
    {

       $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data)
  {
  if(data==1)
       {
      $("#staffcustomerdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
      $("#staffcustomerdiv").load("<?= site_url('sales/ajaxload/addstaffcustomer/staffcustomer') ?>");
       }

  });

     
    }
     function editstaffcustomer(rwd,id)
    {

         $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data)
  {
  if(data==1)
       {
    $("#staffcustomerdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
         $("#staffcustomerdiv").load("<?= site_url('sales/edit/editstaffcustomer/staffcustomer/id/') ?>"+"/" +id);
       }

  });

        

    }
     function singlestaffcustomer(rwd,id)
    {

         $("#ck_permission").load("<?= site_url('master/check_permissions/') ?>"+"/"+rwd,function(data)
  {
  if(data==1)
       {
        $("#staffcustomerdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
         $("#staffcustomerdiv").load("<?= site_url('sales/single/singlestaffcustomer/staffcustomer/id/') ?>"+"/" +id);
       }

  });


      

    }
    function showcustomerdiv()
    {

    $("#customerdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
    $("#customerdiv").load("<?= site_url('sales/ajaxload/searchcustomer/customers/') ?>");
    $("#inliexample1").colorbox({width:"75%",height:"70%", inline:true, href:"#customerdiv"});
    }

function searchCust(serctext,seloption,pagenum)
{   
    $("#custlist").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
    $('#custlist').load("<?php echo site_url('sales/listSearchcustomer/'); ?>/"+ seloption + "/"+ pagenum + "/" + serctext );
   

}
  
function usecust(insured,id,date,code)
{
     $("input#customername").val(insured);
     $("input#customerid").val(id);
     $("input#lastdate").val(date);
     $("#custinfodet").html("<fieldset><li><label>Customer Code</label>"+code+"</li>\n\
        <li><label>Customer Name</label>"+insured+"</li>");
     $.fn.colorbox.close();

    
}
function showstaffdiv()
 {

   $("#custlist").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');

    $("#staffdiv").load("<?= site_url('sales/ajaxload/searchstaff/staffpersonaldetails/') ?>");
    $("#inliexample2").colorbox({width:"75%",height:"70%", inline:true, href:"#staffdiv"});
 }
function searchStaff(serctext,seloption,pagenum)

{  

$("#stafflist").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
      $('#stafflist').load("<?php echo site_url('sales/listSearchstaff/'); ?>/"+ pagenum+ "/" +seloption  + "/" + serctext);
}
function usestaff(staffname,id,employeeid,designation,department)
{
     $("input#staffname").val(staffname);
     $("input#staffid").val(id);
     $.fn.colorbox.close();
      document.getElementById('stfinfodet').innerHTML="<fieldset><li><label>Employee No</label>"+employeeid+"</li>\n\
    <li><label>Designation</label>"+designation+"</li><li><label>Department</label>"+department+"</li></fieldset>";

}
function searchstaffcustomer(search,selectsearch)
{
       $("#staffcustomerdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
       pagenum = 1;
       search = search.replace(/ /g,"~");
        search = search.replace(/\//g,"_");
       $("#staffcustomerdiv").load("<?= site_url('sales/ajaxloadnew/viewstaffcustomer/staffcustomer/') ?>"+"/"+pagenum+"/"+selectsearch+"/"+search+"/");
}
    function paginationstaffcustomer(pageNum)
    {
        $("#staffcustomerdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
        $("#staffcustomerdiv").load("<?= site_url('sales/ajaxload/viewstaffcustomer/staffcustomer/') ?>" +"/" +pageNum);
    }
 function paginationstaffcustomersearch(pageNum,search,selectsearch)
    {
        $("#staffcustomerdiv").empty().html('<CENTER><img src="<?=base_url()?>/assets/images/loading.gif" class="loading"/></CENTER>');
        $('#staffcustomerdiv').load("<?php echo site_url('sales/ajaxloadnew/viewstaffcustomer/staffcustomer/'); ?>"+"/" +pageNum+"/"+search+"/"+selectsearch+"/");
    }

function doallthethree()
{
     
 if(validateform('date','employee_id','customer_id','employee','customer'))
     {
         var cid=document.getElementById('customerid').value;
         var thisdate=document.getElementById('date').value;
         var lastdate=document.getElementById('lastdate').value;
       
var str1 = thisdate;
var str2 = lastdate;
        var dt1  = parseInt(str1.substring(0,2),10);
     var mon1 = parseInt(str1.substring(3,5),10);
     var yr1  = parseInt(str1.substring(6,10),10);
     var dt2  = parseInt(str2.substring(0,2),10);
     var mon2 = parseInt(str2.substring(3,5),10);
     var yr2  = parseInt(str2.substring(6,10),10);
     var date1 = new Date(yr1, mon1, dt1);
     var date2 = new Date(yr2, mon2, dt2);

    // if(date2 > date1)
     //{
       //  alert("Customer already assigned to another Staff during this period");
       // return false;
     //}


          converttodate('date','entrydate');
       
    }
    else
        {
            return false;
        }
}
</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"  align="center"></div>

	        <p>&nbsp;</p>


                <div id="staffcustomerdiv"> </div>
                  <div style='display:none'>
                <div id='customerdiv' style='padding:10px; background:#fff;'>

                        </div>
                 </div>

                <div style='display:none'>
                <div id='staffdiv' style='padding:10px; background:#fff;'>

                        </div>
                 </div>
<div id="loading" align="center"></div>
		  </div>
		</div>

	</div>
	<?php
        $this->load->view('footer');
        ?>

</div>



</html>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net