?
Current Path : /home1/savoy/public_html/savoyglobal.net/koaladraft/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/koaladraft/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/js/jquery.autocomplete.js"></script> <script type="text/javascript"> $(document).ready(function() { suggestClass_name('#class_name'); $("#start_time_hour,#start_time_minute,#end_time_hour,#end_time_minute").change(function(){ var id=this.id; var val=this.value; $(":input[name^="+id+"]").val(val); }) }); </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_attendance','view_attendance','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating New Attendance</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/insert_attendance/view_attendance/1', $attributes); $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher'); ?> <div class="grid_6"> <div class="box"> <div class="header main"> </div> <div class="content no-padding"> <div class="section _100"> <label>Attendance Date</label> <div> <input name="attendance_date" value="<?= date('d-m-Y'); ?>" id="attendance_date" type="text" class="required calfocus"/> </div> </div> <div class="section _100"> <label>Class Name </label> <div> <input type="text" name="class_name" id="class_name" value='' class="required " onchange="empty_text('class_name,#class_name_id')" /> <input type="hidden" name="class_name_id" id="class_name_id" /> </div> </div> <div class="section _100" > <label> Teacher Name</label> <div > <select name="teacher_id" id="teacher_id" class="chzn-done" > <option value=''>Select</option> <?php foreach ($teacher as $list) { ?> <option value="<?= $list['employee_id'] ?>"><?= $list['employee_name'] ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Start Time</label> <div> <?php echo createHours('start_time_hour', date("H")); ?> <?php echo createMinutes('start_time_minute', date("i")); ?> </div> </div> <div class="section _100"> <label>End Time</label> <div> <?php echo createHours('end_time_hour', date("H")); ?> <?php echo createMinutes('end_time_minute', date("i")); ?> </div> </div> <div class="section _100"> <label>Remarks </label> <div> <textarea name="remarks" id="remarks" type="text"></textarea> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset" /> </div> <div class="actions-right"> <button type="button" id="submit" class="clickimage" onclick="load_student_details()">Load student details</button> </div> </div> </div> </div> </div> <div id="attendance" style="list-style: none;"></div> <?php echo form_close(); ?>