?
Current Path : /home1/savoy/public_html/savoyglobal.net/cocorico/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/cocorico/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() { 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="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); $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher'); ?> <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">Class Name </label> <div class="controls"> <input type="text" name="class_name" id="class_name" value='' class="required span12 " onchange="empty_text('class_name,#class_name_id')" /> <input type="hidden" name="class_name_id" id="class_name_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" class="required chosen span12" id="teacher_id"> <option value="">--Select--</option> </select> </div> </div> </div> <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> <div class="row-fluid"> <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 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="row-fluid"> <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>