| Server IP : 172.67.187.206 / Your IP : 172.71.28.156 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/www/news/Downloads/evaluation/ |
Upload File : |
<?php
session_start() ;
echo "<meta http-equiv='Content-Language' content='th' >";
echo "<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=UTF-8'>\n";
echo "<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=window-874'>\n";
echo "<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=tis-620'>\n";
echo "<LINK HREF='style/style.css' REL='stylesheet' TYPE='text/css'>";
include("config.inc.php");
echo "<br>";
echo "<center>";
$user_agent = $_SERVER['HTTP_USER_AGENT'];
function getOS() {
global $user_agent;
$os_platform="desktop";
$os_array=array(
'/windows nt 10.0/i' => 'Windows 10',
'/windows nt 6.3/i' => 'Windows 8.1',
'/windows nt 6.2/i' => 'Windows 8',
'/windows nt 6.1/i' => 'Windows 7',
'/windows nt 6.0/i' => 'Windows Vista',
'/windows nt 5.2/i' => 'Windows Server 2003/XP x64',
'/windows nt 5.1/i' => 'Windows XP',
'/windows xp/i' => 'Windows XP',
'/windows nt 5.0/i' => 'Windows 2000',
'/macintosh|mac os x/i' => 'Mac OS X',
'/mac_powerpc/i' => 'Mac OS 9',
'/linux/i' => 'Linux',
'/ubuntu/i' => 'Ubuntu',
'/iphone/i' => 'iPhone',
'/ipod/i' => 'iPod',
'/ipad/i' => 'iPad',
'/android/i' => 'Android',
'/blackberry/i' => 'BlackBerry',
'/webos/i' => 'Mobile'
);
foreach ($os_array as $regex => $value) {
if (preg_match($regex, $user_agent)) {
$os_platform = $value;
if(($os_platform=='Android') or ($os_platform=='BlackBerry') or ($os_platform=='iPhone') or ($os_platform=='iPad')){
$os_platform="mobile";
}
else{
$os_platform="desktop";
}
}
}
return $os_platform;
}
$user_os = getOS();
$day=date("Y-m-d");
$today=thai_date($day);
function thai_date($date){
if(!isset($date)){
return;
}
$thai_day_arr=array("อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์");
$thai_month_arr=array(
"0"=>"",
"1"=>"มกราคม",
"2"=>"กุมภาพันธ์",
"3"=>"มีนาคม",
"4"=>"เมษายน",
"5"=>"พฤษภาคม",
"6"=>"มิถุนายน",
"7"=>"กรกฎาคม",
"8"=>"สิงหาคม",
"9"=>"กันยายน",
"10"=>"ตุลาคม",
"11"=>"พฤศจิกายน",
"12"=>"ธันวาคม"
);
$f_date=explode("-", $date);
$time=mktime(0, 0, 0, $f_date[1], $f_date[2], $f_date[0]);
$thai_date_return="วัน".$thai_day_arr[date("w",$time)];
$thai_date_return.= "ที่ ".date("j",$time);
$thai_date_return.=" เดือน".$thai_month_arr[date("n",$time)];
$thai_date_return.= " พ.ศ.".(date("Y",$time)+543);
if($date!=""){
return $thai_date_return;
}else{
$thai_date_return="";
return $thai_date_return;
}
}
?>
<!-- ตัวหนังสือ Download กระพริมสลัลสี -->
<script type="text/javascript">
<!--
var message="<?=$title.' '.$today; ?>" //แก้ไขเป็นชื่อหน่วยงานคุณ
var neonbasecolor="blue" //สีพื้นตัวหนังสือ
var neontextcolor="red" //สีตัวหนังสือหลักที่วิ่ง
var neontextcolor2="#D4D4D4" //สีตัวหนังสือรองที่วิ่ง
var flashspeed=50
var flashingletters=25
var flashingletters2=5
var flashpause=5
var n=0
if (document.all||document.getElementById){
document.write('<center><font color="'+neonbasecolor+'"><h1>')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
document.write('</h1></font></center>')
}
else
document.write(message)
function crossref(number){
var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
return crossobj
}
function neon(){
if (n==0){
for (m=0;m<message.length;m++)
crossref(m).style.color=neonbasecolor
}
crossref(n).style.color=neontextcolor
if (n>flashingletters-1) crossref(n-flashingletters).style.color=neontextcolor2
if (n>(flashingletters+flashingletters2)-1) crossref(n-flashingletters-flashingletters2).style.color=neonbasecolor
if (n<message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",flashpause)
return
}
}
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
// -->
</script>