?
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus1/application/views/master/ |
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/eduplus1/application/views/master/add_class_name.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script type="text/javascript"> </script> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_class_name','view_class_name','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating New Class Classification</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('master/addinmaster/insert_class_name/view_class_name/1', $attributes); $class_room = $this->mastermodel->getdatas('class_room', 'class_room_id'); $session = $this->mastermodel->getdatas('session', 'session_id'); $term= $this->mastermodel->getdatas('term', 'term_id'); $accademic_year = $this->mastermodel->getdatas('academic_year', 'academic_year_id'); ?> <div class="grid_6"> <div class="box"> <div class="header main">Creating New Class Classification</div> <div class="content no-padding"> <div class="section _100"> <label>Class Room Name</label> <div> <select onchange="get_class_name()" name="class_room_id" id="class_room_id" class="required chzn-done"> <option value="">Select</option> <?php foreach ($class_room as $list) { ?> <option value="<?= $list['class_room_id']; ?>~<?= $list['class_room_name']; ?>"><?= $list['class_room_name']; ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Session </label> <div> <select onchange="get_class_name()" name="class_session" id="class_session" class="required chzn-done"> <option value="">Select</option> <?php foreach ($session as $list) { ?> <option value="<?= $list['session_id']; ?>~<?= $list['session_name']; ?>"><?= $list['session_name']; ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Term</label> <div> <select onchange="get_class_name()" class="chzn-done required" name="class_term" id="class_term"> <option value="">Select</option> <?php foreach ($term as $list) { ?> <option value="<?= $list['term_id'] ?>~<?= $list['term_name'] ?>"><?= $list['term_name'] ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Academic Year</label> <div> <select onchange="get_class_name()" class="chzn-done required" name="class_name_academic_year_id" id="class_name_academic_year_id"> <option value="">Select</option> <?php foreach ($accademic_year as $list) { ?> <option <?=($list['current']==1)?"selected":""?> value="<?= $list['academic_year_id'] ?>"><?= $list['display_name'] ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Class Code </label> <div> <input name="class_name_code" id="class_name_code" class="required" readonly="readonly" /> </div> </div> <div class="section _100"> <label>Days Of the week</label> <div> <br/> <input type="checkbox" name="week[]" value="0"/>Sunday <input type="checkbox" name="week[]" value="1"/>Monday <input type="checkbox" name="week[]" value="2"/>Tuesday <input type="checkbox" name="week[]" value="3"/>Wednesday<br/><br/> <input type="checkbox" name="week[]" value="4"/>Thursday <input type="checkbox" name="week[]" value="5"/>Friday <input type="checkbox" name="week[]" value="6"/>Saturday <br/><br/> </div> </div> <div class="section _100"> <label>Class 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>Class End Time</label> <div> <?php echo createHours('end_time_hour', date("H")); ?> <?php echo createMinutes('end_time_minute', date("i")); ?> </div> </div> </div> </div> </div> <div class="grid_6" > <div class="box"> <div class="content no-padding"> <div class="header main">Teacher Details</div> <?php $teacher = $this->mastermodel->get_data('employee', 1, 'employee_teacher'); ?> <table class="table" id="student_tb"> <tr> <th>Teacher</th> <th>WEF Date</th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td> <select id="teacher" name="teacher" class="chzn-done valid"> <option value="">Select</option> <?php foreach ($teacher as $list) { echo '<option value="' . $list['employee_id'] . '">' . $list['employee_name'] . '-' . $list['employee_no'] . '</option>'; } ?> </select> </td> <td> <input type="text" name="teacher_wef_date" id="teacher_wef_date" class="calfocus medium1" /> </td> <td> <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="actions"> <?php // ?> <div class="actions-left"> <input type="reset" /> <input type="hidden" name="resfunction" value="search_class_name"/> <input type="hidden" name="tab_name" value="class_name"/> <input type="hidden" name="class_name_id" id="class_name_id" value="0"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close(); ?>