| Server IP : 104.21.93.65 / Your IP : 104.23.197.32 Web Server : Apache System : Linux server.localhost.com 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64 User : pahana ( 1029) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /home/pahana/public_html/ |
Upload File : |
<?php ?><?php
/*c6a0e*/
/*c6a0e*/
// include "php/connect-mysql.php";
// include "php/functions.php";
include "php/header.php";
$sqlAbt = mysqli_query($conn, "SELECT * FROM about_us where id='1'");
$rowAbt = mysqli_fetch_array($sqlAbt);
$sqlAb2 = mysqli_query($conn, "SELECT * FROM about_us where id='2'");
$rowAb2 = mysqli_fetch_array($sqlAb2);
?>
<script src='//pubhtml5.com/plugin/LightBox/js/pubhtml5-light-box-api-min.js'></script>
<div class="contents">
<div class="custom-container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 equalcol conentsection">
<div class="row">
<div class="col-md-12">
<div class="bootstrap-carousel">
<div data-ride="carousel" class="carousel slide" id="carousel-example-captions">
<?php
$bnrSno = 0;
$liData = "";
$imgData = "";
$sqlBnr = mysqli_query($conn, "select * FROM banners order by id Desc");
while ($rowBnr = mysqli_fetch_array($sqlBnr)) {
$liData .= '<li data-slide-to="' . $bnrSno . '" data-target="#carousel-example-captions" class="' . (($bnrSno == 0) ? 'active' : '') . '"></li>';
$imgData .= '<div class="item ' . (($bnrSno == 0) ? 'active' : '') . '"><img src="' . $siteUrlMain . "img/" . (($rowBnr['bannerImg'] != "") ? $rowBnr['bannerImg'] : 'noImg.jpg') . '" alt="' . $rowBnr['bannerName'] . '" /></div>';
$bnrSno++;
}
echo '<ol class="carousel-indicators">' . $liData . '</ol>
<div class="carousel-inner">' . $imgData . '</div>';
?>
<a data-slide="prev" href="#carousel-example-captions" class="left carousel-control">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a data-slide="next" href="#carousel-example-captions" class="right carousel-control">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="sections">
<div class="row">
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
<div class="blogposttwo">
<img src="<?= $siteUrlMain . "img/" . (($rowAbt['pgImg'] != "") ? $rowAbt['pgImg'] : 'noImg.jpg'); ?>" class="img-responsive hovereffect imgRadius" alt="About Us" />
</div>
</div>
<div class="col-lg-7 col-md-7 col-sm-7 col-xs-12">
<div class="blogposttwo abtUsPg">
<div class="text">
<h2 class="heading"><?= $rowAbt['aboutTitle']; ?></h2>
<div class="descInfo"><?= $rowAbt['shortDesc']; ?>
<a href="<?= $siteUrlMain; ?>about-us" class="btn btn-primary btn-xs backcolor">Read More</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="sections">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="blogposttwo abtUsPg">
<div class="text">
<h2 class="heading">Main objective</h2>
<div class="descInfo">
<?= $rowAb2['shortDesc']; ?>
<a href="<?= $siteUrlMain; ?>objectives" class="btn btn-primary btn-xs backcolor">Read More</a>
</div>
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<h2>Latest Magazines</h2>
<div class="row">
<div class="col-lg-12">
<div class="owl-carousel owl-theme">
<?php
$sqlFeature = mysqli_query($conn, "SELECT * FROM product_mapping_cate ORDER BY issueDate desc LIMIT 8");
$numRowFtr = mysqli_num_rows($sqlFeature);
if ($numRowFtr > 0) {
while ($rowFtr = mysqli_fetch_array($sqlFeature)) {
echo ' <div class="item">
<div class="crsl-item">
<div class="blogposttwo">
<figure> <a target="_blank" href="' . $rowFtr["bookViewURL"] . '"><img src=' . $siteUrlMain . 'img/' . (($rowFtr['mpImg'] != "") ? $rowFtr['mpImg'] : 'noImg.jpg') . ' class="img-responsive hovereffect" alt="' . stringTxtLimit($rowFtr['cateName'], 33) . '" /></a> </figure>
<div class="text text-center">
<h4 class="text-center mb-0" style="margin-bottom:0px;margin-top:0px;"><a target="_blank" href="' . $rowFtr["bookViewURL"] . '">' . stringTxtLimit($rowFtr['cateName'], 33) . '</a></h4>
<a target="_blank" href="' . $rowFtr["bookViewURL"] . '" class="btn btn-primary btn-xs backcolor text-center">Read More</a>
<a download href="' . $siteUrlMain . 'img/' . (($rowFtr['pdfFile'] != "") ? $rowFtr['pdfFile'] : 'noImg.jpg') . '" class="btn btn-success btn-xs text-center"> Download <i class="fa fa-download "></i></a>
</div>
</div>
<div class="clearfix"></div>
</div> </div>';
}
}
?>
</div>
<script>
$(document).ready(function() {
var owl = $('.owl-carousel');
owl.owlCarousel({
margin: 10,
nav: true,
loop: true,
responsive: {
0: {
items:
1 },
600: {
items: 2
},
1000: {
items: 2
}
}
})
})
</script>
</div>
</div>
<section id="demos">
</section>
</div>
<div class="col-lg-12">
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<script>
function mg(mgid) {
var mgid = mgid;
alert(mgid);
}
</script>
<?php include "php/footer.php"; ?>