?
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_homework.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); //$this->load->view('documentreadyfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'}); 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 Home Work</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_homework','view_homework','<?= $_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_homework/view_homework/1', $attributes); ?> <div class="row-fluid"> <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 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> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Subject</label> <div class="controls" id="course_name"> <select name="subject_id" class="required chosen span12" id="subject" > <option value="">Select</option> </select> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Date</label> <div class="controls"> <input name="date" id="date" type="text" class="calfocus span12" /> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Date Of Submission</label> <div class="controls"> <input name="submission_date" id="submission_date" type="text" class="calfocus span12" /> </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="form-actions"> <input type="hidden" name="tab_name" value="homework"/> <input type="hidden" name="resfunction" value="search_homework"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('student','viewinstudentsearch','search_homework','view_homework','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>