?
Current Path : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/student/ |
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/eldertree/application/views/student/single_deactivate.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Deactivation Details</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_deactivate','view_deactivate','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <div class="form-horizontal form-view form-bordered"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('', $attributes); $student = $this->mastermodel->get_data_srow('student', $viewinfo->student_id,'student_id'); ?> <h3 class="form-section">Student Details </h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Student Name</label> <div class="controls"> <span class="text bold"><?=$student->first_name." ".$student->last_name;?> </span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Student Reg No</label> <div class="controls"> <span class="text bold"><?=$student->reg_no?> </span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Gender</label> <div class="controls"> <span class="text bold"><?=$student->gender?> </span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Nationality</label> <div class="controls"> <span class="text bold"><?= $this->mastermodel->get_single_field_value('nationality','nationality_name','nationality_id',$student->nationality_id) ?> </span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Class Name</label> <div class="controls"> <span class="text bold"><?=$this->mastermodel->get_single_joined_value('class_name_code', 'class_name', 'student_class', 'class_name_id', 'class_name_id', 'student_class_id' , $viewinfo->student_class_id)?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Age</label> <div class="controls"> <span class="text bold"> <?php /* 'yyyy-mm-dd format' */ $age_details = $this->mastermodel->getAgeDetails($student->dob); echo $age_details['in_words']; ?> </span> </div> </div> </div> </div> <h3 class="form-section">Deactivation Details </h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Deactivate Date</label> <div class="controls"> <span class="text bold"><?=$this->mastermodel->convertdatenormalformat($viewinfo->start_date)?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Remarks</label> <div class="controls"> <span class="text bold"><?=$viewinfo->remarks?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Activated?</label> <div class="controls"> <span class="text bold"><input type="checkbox" name="activate" id="activate" Disabled <?php if($viewinfo->activate==1) { echo "checked"; }?>/></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Activation Date</label> <div class="controls"> <span class="text bold"><?=$this->mastermodel->convertdatenormalformat($viewinfo->activate_date)?></span> </div> </div> </div> </div> <?php echo form_close(); ?> </div> </div> </div> </div> </div>