| Server IP : 162.214.74.102 / Your IP : 216.73.216.59 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/school/application/views/backend/admin/ |
Upload File : |
<?php echo form_open(base_url() . 'index.php?admin/change_session' , array('id' => 'session_change'));?>
<li>
<div class="form-group">
<select name="running_year" class="form-control" onchange="submit()">
<?php $running_year = $this->db->get_where('settings' , array('type'=>'running_year'))->row()->description;?>
<option value=""><?php echo get_phrase('select_running_session');?></option>
<?php for($i = 0; $i < 10; $i++):?>
<option value="<?php echo (2016+$i);?>-<?php echo (2016+$i+1);?>"
<?php if($running_year == (2016+$i).'-'.(2016+$i+1)) echo 'selected';?>>
<?php echo (2016+$i);?>-<?php echo (2016+$i+1);?>
</option>
<?php endfor;?>
</select>
</div>
</li>
<?php echo form_close();?>
<script type="text/javascript">
function submit()
{
$('#session_change').submit();
}
</script>