?
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/edit_session.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_session','view_session','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating new Session</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('master/addinmaster/update_session/view_session/1', $attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Session Name </label> <div> <input name="session_name" id="session_name" class="required" value="<?= $viewinfo->session_name ?>"/> </div> </div> <div class="section _100"> <label>Session Start Time</label> <div> <?php $start = explode(':', $viewinfo->session_start); $end = explode(':', $viewinfo->session_end); ?> <select name="session_start_hr" id="session_start_hr" class="required chzn-done" style="width:50px;"> <option value="">Hr</option> <?php for ($i = 0; $i <= 24; $i++) { ?> <option value="<?= $i; ?>" <?= ($start[0] == $i) ? "selected" : "" ?>><?= str_pad($i, 2, '0', STR_PAD_LEFT) ?></option> <?php } ?> </select> <select name="session_start_min" id="session_start_min" class="required chzn-done" style="width:50px;"> <option value="">Min</option> <?php for ($i = 0; $i <= 60; $i++) { ?> <option value="<?= $i; ?>" <?= ($start[1] == $i) ? "selected" : "" ?>><?= str_pad($i, 2, '0', STR_PAD_LEFT) ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Session End Time</label> <div> <select name="session_end_hr" id="session_end_hr" class="required chzn-done" style="width:50px;"> <option value="">Hr</option> <?php for ($i = 0; $i <= 24; $i++) { ?> <option value="<?= $i; ?>" <?= ($end[0] == $i) ? "selected" : "" ?>><?= str_pad($i, 2, '0', STR_PAD_LEFT) ?></option> <?php } ?> </select> <select name="session_end_min" id="session_end_min" class="required chzn-done" style="width:50px;"> <option value="">Min</option> <?php for ($i = 0; $i <= 60; $i++) { ?> <option value="<?= $i; ?>" <?= ($end[1] == $i) ? "selected" : "" ?>><?= str_pad($i, 2, '0', STR_PAD_LEFT) ?></option> <?php } ?> </select> </div> </div> </div> <div class="actions"> <?php // ?> <div class="actions-left"> <input type="reset" /> <input type="hidden" name="tab_name" value="session"/> <input type="hidden" name="resfunction" value="search_session"/> <input type="hidden" name="tab_field" value="id"/> <input type="hidden" name="tab_id" id="tab_id" value="<?= $viewinfo->session_id ?>"/> </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(); ?>