?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/sec/application/views/student/add_extra_class.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script> <script type="text/javascript"> $(document).ready(function() { suggestBatch('#batch'); }); </script> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Creating New Extra Class</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_extra_class','view_extra_class','<?= $_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('student/addinstudent/insert_extra_class/view_extra_class/1', $attributes); $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher'); ?> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Extra Class Date</label> <div class="controls"> <input name="extra_class_date" id="extra_class_date" value="<?= date("d-m-Y"); ?>" type="text" class="required calfocus span12"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Batch Code / Name </label> <div class="controls"> <input type="text" name="batch" id="batch" data-id='batch_id' value='' class="required span12 " /> <input type="hidden" name="batch_id" id="batch_id" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Teacher Name</label> <div class="controls" > <select name="teacher_id" id="teacher_id" class="chosen span12" > <option value=''>Select</option> <?php foreach ($teacher as $list) { ?> <option value="<?= $list['employee_id'] ?>"><?= $list['employee_name'] ?></option> <?php } ?> </select> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Course Name</label> <div class="controls" id="course_name"> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Start Time</label> <div class="controls"> <?php echo createHours('start_time_hour', date("H")); ?> <?php echo createMinutes('start_time_minute', date("i")); ?> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">End Time</label> <div class="controls"> <?php echo createHours('end_time_hour', date("H")); ?> <?php echo createMinutes('end_time_minute', date("i")); ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Class Room</label> <div class="controls"> <select name="class_id" class="chosen span12" id="class_id"> <option value="">--Select--</option> </select> </div> <input type="hidden" name="class_id" id="class_id"/> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Subject</label> <div class="controls" id="class_code"> <select name="subject_id" class="chosen span12" id="subject_id"> <option value="">--Select--</option> </select> </div> <input type="hidden" name="class_id" id="class_id"/> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Remarks </label> <div class="controls"> <textarea name="remarks" id="remarks" class="span12" type="text"></textarea> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="extra_class"/> <input type="hidden" name="resfunction" value="search_extra_class"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('student','viewinstudentsearch','search_extra_class','view_extra_class','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>