? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/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/sgms/draft/application/views/HR/add_employee.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript">
    jQuery(document).ready(function()
    {
           suggestemployee('employee');
           checkaccount_settings();
    });
    function checkaccount_settings()
    {

       $.ajax({
        type: "POST",
        url: "<?= site_url('accounting/checkaccountsettings/') ?>",
        success: function(msg)
        {
           if(msg==0)
           {
               $("#success-panel").fadeIn(900,0);
               $("#success-panel").html("<div style=\"border:2px solid red;padding-top:4px;text-align:center; width:500px;height:20px;margin-left:30%\" ><font color=\"red\" >Sub Account Settings not Set</font></div>");
               $("#success-panel").fadeOut(3000,0);
               $('button[type=submit]#submit').attr('disabled', 'disabled');
           }
        }
        });
    }
</script>
<div class="select-bar">
    <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_employee','view_employee','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
    </label>
    <span class="heading">Creating new Employee</span>
</div>
<fieldset>
<?php
    $attributes=array('id'=>'validateform','class'=>'customForm');
    echo form_open('hr/addinhr/insert_employee/view_employee/1',$attributes);
    $designation=$this->mastermodel->getdatas('designation','designation_id');
    $department=$this->mastermodel->getdatas('department','department_id');
    $grade=$this->mastermodel->getdatas('grade','grade_id');
    $status=$this->mastermodel->getdatas('status','status_id');
    $branch=$this->mastermodel->getdatas('branch','branch_id');
    $employee_no=$this->mastermodel->get_employee_number();
?>
    <ul>
        <table class="sortnew">
            <tr>
                <th colspan="2" style="text-align: center">Employee Information</th>
            </tr>
            <tr>
               <td>Employee No</td><td style="width:65%"><?php
                  $data = array(
                  'name'        => 'employee_no',
                  'id'          => 'employee_no',
                  'class'       =>'required',
                  'value'       => $employee_no,
                  'readonly'    => true
                  );
                  echo form_input($data).form_error($data);
             ?></td>
           </tr>
           <tr>
               <td>Employee Name</td><td style="width:65%"><?php
                  $data = array(
                  'name'        => 'employee_name',
                  'id'          => 'employee_name',
                  'class'       =>'required',
               
                  );
                  echo form_input($data).form_error($data);
             ?></td>
           </tr>
           <tr>
               <td>Gender</td><td style="width:65%">
             <select name="employee_gender" id="employee_gender" class="required">
                <option value="">Select</option>
                <option value="Male">Male</option>
                <option value="Female">Female</option>
               
            </select>

                   
             </td>
           </tr>
           <tr>
               <td>Date of Birth</td><td style="width:65%"><?php
                      $data = array(
                      'name'        => 'employee_dob',
                      'id'          => 'employee_dob',
                      'class'       =>'required calfocus'
                      );
                      echo form_input($data).form_error($data);
                 ?></td>
           </tr>
           <tr>
               <td>Joining Date</td><td style="width:65%"><?php
                      $data = array(
                      'name'        => 'employee_joining_date',
                      'id'          => 'employee_joining_date',
                      'class'       =>'calfocus'
                      );
                      echo form_input($data).form_error($data);
                 ?></td>
           </tr>
           <tr>
               <td>Nationality</td><td style="width:65%"> <?php
                  $data = array(
                  'name'        => 'employee_nationality',
                  'id'          => 'employee_nationality',
                  );
                  echo form_input($data).form_error($data);
             ?></td>
           </tr>
           <tr>
               <td>Passport No</td><td style="width:65%"> <?php
                  $data = array(
                  'name'        => 'employee_passport_no',
                  'id'          => 'employee_passport_no',
                  );
                  echo form_input($data).form_error($data);
             ?></td>
           </tr>
           <tr>
               <td>Visa Type</td><td style="width:65%"><?php
                  $data = array(
                  'name'        => 'employee_visa_type',
                  'id'          => 'employee_visa_type',
                  );
                  echo form_input($data).form_error($data);
             ?></td>
           </tr>
           <tr>
               <td>Visa Expiry Date</td><td style="width:65%"> <?php
                      $data = array(
                      'name'        => 'employee_visa_expiry_date',
                      'id'          => 'employee_visa_expiry_date',
                      'class'       => 'calfocus'
                      );
                      echo form_input($data).form_error($data);
                 ?></td>
           </tr>
           <tr>
               <td>Labor Card No</td><td style="width:65%"><?php
                  $data = array(
                  'name'        => 'employee_labour_card_no',
                  'id'          => 'employee_labour_card_no',
                  );
                  echo form_input($data).form_error($data);
             ?></td>
           </tr>
           <tr><td style="width:35%">Labor Card Expiry Date</td><td style="width:65%"><?php
                      $data = array(
                      'name'        => 'employee_labour_card_expiry_date',
                      'id'          => 'employee_labour_card_expiry_date',
                      'class'       => 'calfocus'
                      );
                      echo form_input($data).form_error($data);
                 ?></td></tr>
           <tr><td style="width:35%">Employee Device No</td><td style="width:65%"><?php
                      $data = array(
                      'name'        => 'device_no',
                      'id'          => 'device_no',
                      'onchange'    => "checkexistence('employee','device_no',this.value)"
                      );
                      echo form_input($data).form_error($data);
                 ?></td></tr>
        </table>

        <table class="sortnew">
            <tr>
                <th colspan="2" style="text-align: center">Professional Information</th>
            </tr>
            <tr><td style="width:35%">Branch</td>
                <td style="width:65%"><select name="employee_branch_id" id="employee_branch_id" class="required">
                <option value="">Select</option>
                <?php
                    foreach($branch as $list)
                    {
                ?>
                <option value="<?=$list['branch_id'];?>"><?=$list['branch_name'];?></option>
                <?php
                    }
                ?>
            </select></td></tr>
            <tr><td style="width:35%">Designation</td><td style="width:65%"><select name="employee_designation_id" id="employee_designation_id" class="required">
                <option value="">Select</option>
                <?php
                    foreach($designation as $list)
                    {
                ?>
                <option value="<?=$list['designation_id'];?>"><?=$list['designation_name'];?></option>
                <?php
                    }
                ?>
            </select></td></tr>
            <tr><td style="width:35%">Department</td><td style="width:65%"><select name="employee_department_id" id="employee_department_id" class="required">
                <option value="">Select</option>
                <?php
                    foreach($department as $list)
                    {
                ?>
                <option value="<?=$list['department_id'];?>"><?=$list['department_name'];?></option>
                <?php
                    }
                ?>
            </select></td></tr>
            <tr><td style="width:35%">Grade</td><td style="width:65%">
            <select name="employee_grade_id" id="employee_grade_id" class="required">
                <option value="">Select</option>
                <?php
                    foreach($grade as $list)
                    {
                ?>
                <option value="<?=$list['grade_id'];?>"><?=$list['grade_name'];?></option>
                <?php
                    }
                ?>
            </select></td></tr>
            <tr><td style="width:35%">Status</td><td style="width:65%"><select name="employee_status_id" id="employee_status_id" class="required">
                <option value="">Select</option>
                <?php
                    foreach($status as $list)
                    {
                ?>
                <option value="<?=$list['status_id'];?>"><?=$list['status_name'];?></option>
                <?php
                    }
                ?>
            </select></td></tr>
            <tr><td style="width:35%">Local Address</td><td style="width:65%"><?php
                  $data = array(
                  'name'        => 'employee_local_address',
                  'id'          => 'employee_local_address',
                  'rows'          => '10',
                  'cols'          => '5',
                  'style'       => 'width:80%',
                  );
                  echo form_textarea($data).form_error($data);
             ?></td></tr>
            <tr><td style="width:35%">Permanent Address</td><td style="width:65%"> <?php
                  $data = array(
                  'name'        => 'employee_permanent_address',
                  'id'          => 'employee_permanent_address',
                  'rows'          => '10',
                  'cols'          => '5',
                   'style'       => 'width:80%',
                  
                  );
                  echo form_textarea($data).form_error($data);
             ?></td></tr>
            <tr><td style="width:35%">Contact No</td><td style="width:65%"><?php
                  $data = array(
                  'name'        => 'employee_contact_no',
                  'id'          => 'employee_contact_no',
                  'class'       =>'required'
                  );
                  echo form_input($data).form_error($data);
             ?></td></tr>
            <tr><td style="width:35%">Email</td><td style="width:65%"><?php
                  $data = array(
                  'name'        => 'employee_email',
                  'id'          => 'employee_email',
                  );
                  echo form_input($data).form_error($data);
             ?></td></tr>
             <tr><td style="width:35%">Reporting to</td><td style="width:65%"> <input type="text" class="required"  name="employee" id="employee"  />
                     <input type="hidden" name="employee_id" id="employee_id"  /></td></tr>

        </table>


   
       
       <li>
            <table class="sort" cellpadding="0" cellspacing="0" width="200px;">
                <tr>
                    <th>Course Name</th>
                    <th>University</th>
                    <th>Year of Passing</th>
                    <th width="20%">
                        <input type="button" style="width:150px;" id="button2" value="Add More" class="addRow" title="Add Row"/>
                    </th>

                </tr>
          <tr>
              <td><input type="text" name="course"></td>
              <td><input type="text" name="university"></td>
              <td><input type="text" style="width:30px;" class="number" name="yearofpassing"></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>
           </li>
           <li>
            <table class="sort" cellpadding="0" cellspacing="0" width="200px;">
                <tr>
                    <th>Employer Name</th>
                    <th>Designation</th>
                    <th>Period</th>
                    <th width="20%">
                        <input type="button" style="width:150px;" id="button2" value="Add More" class="addRow" title="Add Row"/>
                    </th>

                </tr>
          <tr>
              <td><input type="text" name="employer"></td>
              <td><input type="text" name="designation"></td>
              <td><input type="text" style="width:30px;" class="number" name="period"></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>
           </li>
                  <li>
            <table class="sort" cellpadding="0" cellspacing="0" width="200px;">
                <tr>
                    <th>Course Name</th>
                    <th>Institute</th>
                    <th>Year of Passing</th>
                    <th width="20%">
                        <input type="button" style="width:150px;" id="button2" value="Add More" class="addRow" title="Add Row"/>
                    </th>

                </tr>
          <tr>
              <td><input type="text" name="course_add"></td>
              <td><input type="text" name="institute"></td>
              <td><input type="text" style="width:30px;" class="number" name="year_passing"></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>
           </li>
           <li>

            <input type="hidden" name="tab_name" value="employee"/>
            <label for="submit">&nbsp;</label>
            <button type="submit" id="submit" class="clickimage" onclick="checkdatavalidity($('input#employee_id').val(),'employee','No existing employee selected');addformdata('validateform')">Save</button>
        </li>
  
    </ul>
<?php echo form_close();?>
</fieldset>

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