?
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/examination/ |
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/eldertree/application/views/examination/edit_exam_master.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <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>Updating Exam Masters</div> <div class="tools"> <a href="#" onclick="viewdata('examination','viewinexaminationsearch','search_exam_master','view_exam_master','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('examination/addinexamination/update_exam_master/view_exam_master/1',$attributes); $accademic_year =$this->mastermodel->search_academic_year(); ?> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Exam Name</label> <div class="controls"> <input name="name" id="name" class="required span12" type="text" value="<?=$viewinfo->exam_master_name?>"> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Academic Year</label> <div class="controls"> <select class="chosen required span12" name="exam_academic_year_id" id="exam_academic_year_id"> <option value="">Select</option> <?php foreach ($accademic_year['results']->result_array() as $list) { ?> <option <?= ($list['academic_year_id'] == $viewinfo->exam_academic_year_id) ? "selected " : "" ?> value="<?= $list['academic_year_id'] ?>"><?= $list['academic_year_year'] ?></option> <?php } ?> </select> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Start Date</label> <div class="controls"> <input name="start_date" id="start_date" class="calfocus span12" type="text" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->exam_master_start_date); ?>"> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">End Date</label> <div class="controls"> <input name="end_date" id="end_date" class="calfocus span12" type="text" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->exam_master_end_date); ?>"> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="exam_master_id" id="exam_master_id" value="<?= $viewinfo->exam_master_id;?>" /> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i>Update</button> <button type="button" onclick="viewdata('examination','viewinexaminationsearch','search_exam_master','view_exam_master','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>