File "facility.php"
Full path: /var/www/krbed.in/application618/views/facility.php
File size: 1.58 KiB (1613 bytes)
MIME-type: text/html
Charset: utf-8
<style>
.facility p a {
font-size: 16px;
color: #4175c1;
text-decoration: underline;
}
</style>
<div class="col1">
<h2 class="hpad">Facility
</h2>
<h5 class="blue"><strong></strong></h5>
<p class="stext">
<?php
$this->db->select('c.*,d.type_of_quarter,a.academic_from_year,a.academic_to_year');
$this->db->from('facilty_details c');
$this->db->join('type_of_quarters d', 'd.type_of_quarter_id =c.type_of_quarter_id', 'left');
$this->db->join('academic_year a', 'a.academic_year_id =c.academic_year_id', 'left');
$this->db->group_by('c.academic_year_id');
$this->db->where('c.status', 1);
$this->db->where('c.publishbtn', 1);
$sql = $this->db->get();
if ($sql->num_rows() > 0) {
foreach ($sql->result_array() as $row) {
$facilty_details = $row['academic_year_id'];
$academic_from_year = $row['academic_from_year'];
$academic_to_year = $row['academic_to_year'];
?>
<a href="<?php echo base_url("infrastructure/facility_detail/$facilty_details") ?>" style="color: #3b8dcf;">Academic year wise facility details (<?php echo $academic_from_year ?> - <?php echo $academic_to_year ?>)</a><br>
<?php }
} ?>
</p>
</div>
<div class="col2">
<?php $this->load->view('include/req_form'); ?>
<div class="rtab">
<?php $this->load->view('include/stud_navi'); ?>
</div>
<?php $this->load->view('include/clg_gallery'); ?>
</div>
<script>
$(document).ready(function() {
$(".facility p a").click(function() {
$(".facility_detail").show();
});
});
</script>