?
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/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 |
Current File : /home1/savoy/public_html/savoyglobal.net/sims/school/application/views/Teacher/addstaff.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'); $emp_no=$this->mastermodel->get_max_row('staff','staff_no','NTS','staff_id'); ?> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('teacher/addinteacher/insertstaff/viewstaff/1/',$attributes); ?> <!--[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>Add Non-Teaching Staff</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" /></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" value="<?=$emp_no;?>" readonly name="staff_no" id="staff_no" type="text" /></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']?>"><?=$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']?>"><?=$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" /></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" /></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" /></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" /></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>Address</h3> <div class="row" <label><strong>Permanent Address</strong></label> <div class="inputs"> <textarea name="address_permanent" id="address_permanent"></textarea> </div> </div> <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=""/></span> </div> </div> <div class="row" <label><strong>Present Address</strong></label> <div class="inputs"> <textarea name="address_present" id="address_present"></textarea> </div> </div> <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=""/></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Create User?</label> <div class="inputs"> <input type="checkbox" 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="" > <option value="0" selected>Select Profile</option> <?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> <!--[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>Add</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>