?
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/school/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/sims/school/application/views/Student/addrollover.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $class=$this->mastermodel->getdatas('classlevel','sort'); $this->load->view('documentreadyfunctions'); ?> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('student/addinstudent/insertrollover/addrollover/1/',$attributes); ?> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Current Academic Year</label> <div class="inputs"> <span class="input_wrapper"> <?php echo $ayear_current = $this->mastermodel->getsinglefieldvalue('academicyear','ayear','current','1');?> <input type="hidden" name="current_ayear" value="<?=$ayear_current;?>" </span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Rollover to</label> <div class="inputs"> <span class="input_wrapper select_wrapper" style="width:100px;"> <select name="ayear" id="ayear" class="required"> <option value="">--Select--</option> <?php $ayear=$this->mastermodel->getdatas('academicyear','ayear'); foreach($ayear as $list) { if($list['ayear']>$ayear_current) { ?> <option value="<?=$list['ayear'];?>"><?=$list['ayear'];?></option> <?php } } ?> </select> </span> </div> </div> <!--[if !IE]>end row<![endif]--> <br/><br/> <br/><br/> <div class="table_wrapper"> <div class="table_wrapper_inner"> <table cellpadding="0" cellspacing="0" width="120%"> <tbody><tr> <th><span>Class Code</span></th> <th><span>New Class</span></th> </tr> <?php $slno=1; if ($viewinfo->num_rows() > 0) { foreach ($viewinfo->result() as $row) { ?> <tr <?php if($slno%2==0) { ?>class="first" <?php } else { ?> class="second" <?php } ?>> <td> <?=$row->classlevel_code;?> <input type="hidden" value="<?=$row->classlevel_id;?>" name="presentclasslevel_<?=$slno;?>" id="presentclasslevel_<?=$slno;?>"/> </td> <td> <select name="rolloverto_<?=$slno;?>" id="rolloverto_<?=$slno;?>" > <option value="">--Select--</option> <?php $classes=$this->mastermodel->getdatas('classlevel','sort'); foreach($classes as $list) { if($list['classlevel_id']!=$row->classlevel_id) { ?> <option value="<?=$list['classlevel_id'];?>"><?=$list['classlevel_code'];?></option> <?php } } ?> </select> </td> </tr> <?php $slno++; } } ?> </tbody></table> </div> </div> </div> </fieldset> <!--[if !IE]>start row<![endif]--> <div class="row"> <div class="inputs"> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Rollover</em></span></span><input name="" type="submit" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> </div> <!--[if !IE]>end forms<![endif]--> <!--[if !IE]>end fieldset<![endif]--> <?php echo form_close(); ?> <span class="section_content_bottom"></span>