?
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_attendance.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 Attendance</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_attendance','view_attendance','<?= $_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_attendance/view_attendance/1', $attributes); ?> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Attendance Date</label> <div class="controls"> <input name="attendance_date" value="<?= date('d-m-Y'); ?>" id="attendance_date" 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">Course Name</label> <div class="controls"> <span class="text bold" id="course_name"></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Teacher Name</label> <div class="controls"> <select name="teacher_id" class="chosen span12" id="teacher_id"> <option value="">--Select--</option> </select> </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" id="class_code"> </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"> <select name="subject_id" class="span12" id="subject_id"> <option value="">--Select--</option> </select> </div> </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 class="span6 "> <div class="control-group"> <div class="controls"> <button type="button" id="submit" class="clickimage" onclick="load_student_details()">Load student details</button> </div> </div> </div> </div> <div style="list-style: none;" id="attendance"></div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> <script defer type="text/javascript"> $(document).ready(function() { $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'}); }); </script>