| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/alliancealliance/ |
Upload File : |
<?php
require_once('webadmin/basic_info.php');
$this_menu_info = get_menu_info(4);
?>
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<?php require_once("html_head.php") ?>
<script src="js/owl-carousel/owl.carousel.js"></script>
<!-- Owl Carousel Assets -->
<link href="js/owl-carousel/owl.carousel.css" rel="stylesheet">
<link href="js/owl-carousel/owl.theme.css" rel="stylesheet">
<script type="text/javascript">
$(document).ready(function () {
var owl = $("#news_slider").owlCarousel({
slideSpeed: 300,
paginationSpeed: 400,
singleItem: true,
autoPlay: 3000,
pagination: true,
navigation: true
});
owl.owlCarousel();
});
</script>
</head>
<body>
<?php require_once("google_analysis.php"); ?>
<?php require_once("html_header.php") ?>
<section id="content" class="news">
<?php require_once("banner.php") ?>
<div class="container">
<div style="padding: 20px 0;">
<div class="head_title" style="color: #808080;">
<?= $this_menu_info["title_" . $langcode] ?>
</div>
<div class="news_middle_content">
<?php
$this_menu_info = get_menu_info(7);
$news_info = get_news_list($this_menu_info["typeid"]);
if(!empty($news_info)){
?>
<table>
<tr>
<td style="width: 60%;">
<div id="news_slider" class="owl-carousel owl-theme">
<?php
$count = 1;
foreach($news_info as $news){
if(count($news_info)%3 == 0 || $count == 1){
echo '<div class="item">';
}
echo '<a href="news_detail.php?id='.$news["id"].'" <div class="item_content">
<div class="news_img" style="background: url(images/news/'.$news["cover_img2_".$langcode].') center center no-repeat; background-size: 100%; background-color: #ffffff;">
</div>
<div class="news_txt">
'.$news["short_desc_".$langcode].'
</div>
</div></a>';
if($news_info%3 == 0){
echo '</div>';
}
$count++;
}
?>
</div>
</td>
<td style="width: 40%;" class="vm tr right_content">
<div style="margin-top: 110px;">
<a href="<?= $this_menu_info["link_to"] ?>">
<p class="right_content_title nopadding_nomargin"><?= $this_menu_info["title_".$langcode] ?></p>
</a>
<div>
<form action="search_post.php" method="post" name="search" id="search" enctype="multipart/form-data">
<div class="button" onclick="search.submit();">Search</div>
<input type="hidden" name="type" value="industry_news"/>
<input type="text" name="keywords" class="search_news_releases"/>
<div class="clearboth"></div>
<!--<img src="images/subscribe.png" style="height: 25px; margin-right: 10px;"/>-->
<a href="rss.php">
<img src="images/RSS.png" style="height: 25px;"/>
</a>
</form>
</div>
</div>
</td>
</tr>
</table>
<?php } ?>
</div>
<div class="news_bottom_content">
<table>
<tr>
<td style="padding-right: 30px; border-right: 1px #c3c3c3 solid; width: 50%; vertical-align: top;">
<?php
$this_menu_info = get_menu_info(8);
$news_info = get_news_list($this_menu_info["typeid"], 0, 1);
?>
<a href="<?= $this_menu_info["link_to"] ?>">
<p style="font-size: 18px;"><?= $this_menu_info["name_" . $langcode] ?></p>
</a>
<?php if (!empty($news_info)) { $news_info = $news_info[0]; ?>
<a href="news_detail.php?id=<?= $news_info["id"] ?>">
<p class="subtitle"><?= $news_info["title_" . $langcode] ?></p>
</a>
<?php
if(!empty($news_info["cover_img2_" . $langcode])){
echo '<img src="images/news/'.$news_info["cover_img2_" . $langcode].'" style="width: 100%;"/>';
}
?>
<br>
<div>
<?= $news_info["short_desc_" . $langcode] ?>
</div>
<a href="news_detail.php?id=<?= $news_info["id"] ?>">
<p style="color: #10218B;">
<span class="vt">Learn more </span><img src="images/icon_more.png"/>
</p>
</a>
<?php } ?>
</td>
<td style="padding-left: 30px; width: 50%; vertical-align: top;">
<?php
$this_menu_info = get_menu_info(9);
$news_info = get_news_list($this_menu_info["typeid"], 0, 1);
?>
<a href="<?= $this_menu_info["link_to"] ?>">
<p style="font-size: 18px;"><?= $this_menu_info["name_" . $langcode] ?></p>
</a>
<?php if (!empty($news_info)) { $news_info = $news_info[0]; ?>
<a href="news_detail.php?id=<?= $news_info["id"] ?>">
<p class="subtitle"><?= $news_info["title_" . $langcode] ?></p>
</a>
<?php
if(!empty($news_info["cover_img2_" . $langcode])){
echo '<img src="images/news/'.$news_info["cover_img2_" . $langcode].'" style="width: 100%;"/>';
}
?>
<br>
<div>
<?= $news_info["short_desc_" . $langcode] ?>
</div>
<a href="news_detail.php?id=<?= $news_info["id"] ?>">
<p style="color: #10218B;">
<span class="vt">Learn more </span><img src="images/icon_more.png"/>
</p>
</a>
<?php } ?>
</td>
</tr>
</table>
</div>
</div>
</div>
</section>
<?php require_once("html_footer.php"); ?>
</body>
</html>