| 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 : |
<div class="col-md-2">
<div class="form-group">
<label class="control-label" style="margin-bottom: 5px;"><?php echo get_phrase('section');?></label>
<select name="section_id" id="section_id" class="form-control selectboxit">
<?php
$sections = $this->db->get_where('section' , array(
'class_id' => $class_id
))->result_array();
foreach($sections as $row):
?>
<option value="<?php echo $row['section_id'];?>"><?php echo $row['name'];?></option>
<?php endforeach;?>
</select>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label class="control-label" style="margin-bottom: 5px;"><?php echo get_phrase('subject');?></label>
<select name="subject_id" id="subject_id" class="form-control selectboxit">
<?php
$subjects = $this->db->get_where('subject' , array(
'class_id' => $class_id , 'year' => $this->db->get_where('settings' , array('type' => 'running_year'))->row()->description
))->result_array();
foreach($subjects as $row):
?>
<option value="<?php echo $row['subject_id'];?>"><?php echo $row['name'];?></option>
<?php endforeach;?>
</select>
</div>
</div>
<div class="col-md-2" style="margin-top: 20px;">
<center>
<button type="submit" class="btn btn-info"><?php echo get_phrase('manage_marks');?></button>
</center>
</div>
<script type="text/javascript">
$(document).ready(function() {
if($.isFunction($.fn.selectBoxIt))
{
$("select.selectboxit").each(function(i, el)
{
var $this = $(el),
opts = {
showFirstOption: attrDefault($this, 'first-option', true),
'native': attrDefault($this, 'native', false),
defaultText: attrDefault($this, 'text', ''),
};
$this.addClass('visible');
$this.selectBoxIt(opts);
});
}
});
</script>