| 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 : |
<table class="table table-bordered table-striped datatable" id="table_export">
<thead>
<tr>
<th style="width: 60px;">#</th>
<th><?php echo get_phrase('title');?></th>
<th><?php echo get_phrase('class');?></th>
<th><?php echo get_phrase('exam');?></th>
<th><?php echo get_phrase('teacher');?></th>
<th><?php echo get_phrase('options');?></th>
</tr>
</thead>
<tbody>
<?php
$count = 1;
$this->db->order_by('question_paper_id', 'desc');
$question_papers = $this->db->get('question_paper')->result_array();
foreach ($question_papers as $row) { ?>
<tr>
<td><?php echo $count++; ?></td>
<td><?php echo $row['title']?></td>
<td>
<?php echo $this->db->get_where('class', array('class_id' => $row['class_id']))->row()->name; ?>
</td>
<td>
<?php echo $this->db->get_where('exam', array('exam_id' => $row['exam_id']))->row()->name; ?>
</td>
<td>
<?php echo $this->db->get_where('teacher', array('teacher_id' => $row['teacher_id']))->row()->name; ?>
</td>
<td>
<a href="#" onclick="showAjaxModal('<?php echo base_url();?>index.php?modal/popup/question_paper_view/<?php echo $row['question_paper_id']; ?>');"
class="btn btn-default btn-sm btn-icon icon-left">
<i class="entypo-eye"></i>
<?php echo get_phrase('view_question_paper');?>
</a>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<!-- DATA TABLE EXPORT CONFIGURATIONS -->
<script type="text/javascript">
jQuery(document).ready(function($)
{
var datatable = $("#table_export").dataTable({
"sPaginationType": "bootstrap"
});
$(".dataTables_wrapper select").select2({
minimumResultsForSearch: -1
});
});
</script>