?
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus1/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/eduplus1/application/views/student/edit_deactivate.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { $('.calfocus1').datepick({dateFormat: 'dd-mm-yyyy',onClose:function(){ }}); }); function change_activate_date() { if(document.getElementById("activate").checked==false) $('#activate_date').addClass('required'); else $('#activate_date').removeClass('required'); } </script> <script src="<?= base_url() ?>assets/js/jquery.autocomplete.js"></script> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_deactivate','view_deactivate','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating Student Deactivation</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/update_deactivate/view_deactivate/1', $attributes); $students_name = $this->mastermodel->get_data_srow_joined('student', 'nationality', 'nationality_id', 'nationality_id',$viewinfo->student_id, 'student_id'); ?> <div class="grid_6"> <div class="box"> <div class="header main"> </div> <div class="content no-padding"> <div class="section _100"> <label>Class Name</label> <div class="single_page"> <?= $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) ?> </div> </div> <div class="section _100"> <label>Student</label> <div class="single_page"> <?= $students_name->first_name . ' ' . $students_name->last_name ?> <input type="hidden" name="student_id" id="student_id" value="<?= $viewinfo->student_id ?>" /> <input type="hidden" name="student" id="student" class="required" value=" <?= $students_name->first_name . ' ' . $students_name->last_name ?> " /> </div> </div> <div class="section _100" > <label>Student No</label> <div id="reg_no" class="single_page"> <?= $students_name->reg_no ?> </div> </div> <div class="section _100" > <label>Gender</label> <div id="reg_no" class="single_page"> <?= $students_name->gender ?> </div> </div> <div class="section _100" > <label>Nationality</label> <div id="nationality" class="single_page"> <?= $students_name->nationality_name ?> </div> </div> <div class="section _100"> <label>Age</label> <div class="single_page"> <?php /* 'yyyy-mm-dd format' */ $age_details = $this->mastermodel->getAgeDetails($students_name->dob); echo $age_details['in_words']; ?> </div> </div> <!-- <div class="section _100"> <label>Deactivate Date</label> <div> <input name="start_date" id="start_date" class=" required calfocus1" type="text" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->start_date) ?>"/> </div> </div> --> <div class="section _100"> <label>Remarks </label> <div> <textarea name="remarks" id="remarks" type="text"><?= $viewinfo->remarks ?></textarea> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <!-- <input type="hidden" name="deactivate_id" id="deactivate_id" value="<?= $viewinfo->deactivate_id ?>"/>--> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <div class="grid_12" > <div class="box"> </div> </div> <?php echo form_close(); ?>