?
Current Path : /home1/savoy/www/savoyglobal.net/eduplus1/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 |
Current File : /home1/savoy/www/savoyglobal.net/eduplus1/application/views/hr/single_teacher.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $subject = $this->mastermodel->getdatas('subject', 'subject_id', 'asc', 'subject_id'); ?> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_teachers','view_teacher','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4> Teachers Details</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('', $attributes); ?> <div class="grid_6"> <div class="box"> <div class="header main">Personal Details </div> <div class="content no-padding"> <div class="section _100"> <label>Teacher No</label> <div class="single_page"> <?= $viewinfo->employee_no; ?> </div> </div> <div class="section _100"> <label>First Name</label> <div class="single_page"> <?= $viewinfo->employee_name ?> </div> </div> <div class="section _100"> <label>Gender</label> <div class="single_page"> <?= $viewinfo->employee_gender; ?> </div> </div> <div class="section _100"> <label>Date of Birth </label> <div class="single_page"> <?= $viewinfo->employee_dob ?> </div> </div> <div class="section _100"> <label>Passport No</label> <div class="single_page"> <?= $viewinfo->employee_passport_no ?> </div> </div> <div class="section _100"> <label>Date of Joining </label> <div class="single_page"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->date_of_join) ?> </div> </div> <div class="section _100"> <label>Date of Relieving </label> <div class="single_page"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->relieving_date) ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Address Details</div> <div class="content no-padding"> <div class="section _100"> <label>Contact No</label> <div class="single_page"> <?= $viewinfo->employee_contact_no ?> </div> </div> <div class="section _100"> <label>Mobile No</label> <div class="single_page"> <?= $viewinfo->employee_mobile_no ?> </div> </div> <div class="section _100"> <label>Email ID</label> <div class="single_page"> <?= $viewinfo->employee_email ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="content no-padding"> <div class="header main"> Teacher Subjects</div> <table class="table"> <tr> <th>Course</th> <th>subject</th> </tr> <?php $teacher_subject = $this->mastermodel->get_data('teacher_subject', $viewinfo->employee_id, 'teacher_id'); foreach ($teacher_subject as $value) { $cours_sub = $this->mastermodel->get_data_srow('course_subject', $value['course_subject_id'], 'id'); if(!empty($cours_sub)){ ?> <tr> <td> <?= $this->mastermodel->get_single_field_value('course', 'course_name', 'course_id', $cours_sub->course_id) ?> </td> <td> <?= $this->mastermodel->get_single_field_value('subject', 'subject_name', 'subject_id', $cours_sub->subject_id) ?> </td> </tr> <?php } } ?> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main"> Educational Qualification</div> <table class="table"> <tr> <th>Course</th> <th>University</th> <th>Year of Passing</th> </tr> <?php $i = 1; $professional = $this->mastermodel->get_data('employee_educational_qualification', $viewinfo->employee_id, 'employee_id'); foreach ($professional as $list) { ?> <tr> <td><?= $list['course']; ?></td> <td><?= $list['university']; ?></td> <td><?= $list['yearofpassing']; ?></td> </tr> <?php $i++; } ?> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main">Work Experiance Details</div> <table class="table"> <tr> <th>Employer</th> <th>Designation</th> <th>Period</th> </tr> <?php $i = 1; $professionals = $this->mastermodel->get_data('employee_professional_experience', $viewinfo->employee_id, 'employee_id'); foreach ($professionals as $list) { ?> <tr> <td><?= $list['employer']; ?></td> <td><?= $list['designation']; ?></td> <td><?= $list['period']; ?></td> </tr> <?php $i++; } ?> </table> </div> </div> </div> <?php echo form_close(); ?> <?php $data['master_id']=$viewinfo->employee_id; $data['controller']='hr'; $data['controller_function']='viewinhrsearch'; $data['page']='view_teacher'; $data['model_function']='search_teachers'; $this->load->view('master/uploaded_files',$data); echo form_close(); ?>