| Server IP : 172.67.206.42 / Your IP : 104.23.243.51 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/php/ |
Upload File : |
<div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 equalcol graysidebar">
<div class="clearfix"></div>
<div class="widget">
<h2 class="heading">Our Magazines</h2>
<div class="videolistsmall todayHeadlines">
<div id="demo2" class="scroll-text">
<ul>
<?php
$sqlTdyHd = mysqli_query($conn, "SELECT * FROM product_mapping_cate ORDER BY issueDate desc LIMIT 8");
$numRowTD = mysqli_num_rows($sqlTdyHd);
if ($numRowTD > 0) {
while ($rowTD = mysqli_fetch_array($sqlTdyHd)) {
echo '<li><a href="' . magazineUrl($rowTD['id']) . '">» ' . stringTxtLimit($rowTD['cateName'], 33) . '</a></li>';
}
}
?>
</ul>
</div>
</div>
</div>
<div class="clearfix"></div>
<?php if ($basePth != "about.php" && $basePth != "advertiseWithUs.php") { ?>
<div class="clearfix"></div>
<div class="widget">
<div class="carousals">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<?php
$sqlAdv = mysqli_query($conn, "SELECT a.title,a.advImg,a.advURL,ap.advSize FROM advertisements as a,advertisement_position as ap WHERE ap.id=a.advPositionID AND a.advStatus='1' AND a.advPositionID='4' ORDER BY RAND() limit 1");
$numRowAdv = mysqli_num_rows($sqlAdv);
if ($numRowAdv > 0) {
$snoAdv = 0;
while ($rowAdv = mysqli_fetch_array($sqlAdv)) {
$snoAdv++;
echo '<div class="item ' . (($snoAdv == 1) ? 'active' : '') . '">
<a href="' . $rowAdv['advURL'] . '">
<img src="' . $siteUrlMain . 'img/' . $rowAdv['advImg'] . '" class="img-responsive hovereffect" alt="' . $rowAdv['title'] . '" />
</a>
</div>';
}
}
?>
</div>
</div>
</div>
</div>
<?php } ?>
</div>