%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 122.155.177.87 / Your IP : 122.155.177.87 Web Server : Apache/2 System : Linux cat177-87.static.lnwhostname.com 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64 User : apache ( 994) PHP Version : 5.3.29 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,putenv,eval MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/thungkhana/domains/thungkhanan.go.th/public_html/webboard/admin/ |
Upload File : |
<?
session_start();
if($user==""){
$message = "س Login .";
$url = "../../admin/index.php";
include("../../admin/alert.php");
exit;
}
?>
<title>-=- źº -=-</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link rel="stylesheet" href="../style.css" type="text/css">
</head>
<body bgcolor="#FFFFFF">
<?
require("../config.inc.php");
#źź Comment źٻ͡ҡк ǢͤӶ
mysql_connect($host,$user_db,$passwd_db);
mysql_query ("SET NAMES 'tis620'");
$sql_c = "select * from webboard_data where No='$No'";
$c_query = mysql_db_query($dbname,$sql_c) or die ("ö database ӧҹ㹢й");
while( $c_arr = mysql_fetch_row( $c_query ) )
{
#ӡ礡ٻ
if($c_arr[13]==""){ }else{
$file_com = "../$path/$c_arr[13]"; #ٻ
if (file_exists( $file_com )) { unlink("$file_com"); } else { }; #ӡźٻ͡
};
}
#źź Comment źٻ͡ҡк Ǣͤӵͺ
$sql_c1 = "select * from webboard_ans where QuestionNo='$No'";
$c_query1 = mysql_db_query($dbname,$sql_c1) or die ("ö database ӧҹ㹢й");
while( $c_arr1 = mysql_fetch_row( $c_query1 ) )
{
#ӡ礡ٻ
if($c_arr1[9]==""){ }else{
$file_com1 = "../$path/$c_arr1[9]"; #ٻ
if (file_exists( $file_com1 )) { unlink("$file_com1"); } else { }; #ӡźٻ͡
};
}
mysql_close();
mysql_connect($host,$user_db,$passwd_db);
mysql_query ("SET NAMES 'tis620'");
#ӡź
$sql = "DELETE FROM webboard_data WHERE No='$No'";
$result = mysql_db_query($dbname,$sql);
#ӡѾവ
$sql1 = "DELETE FROM webboard_ans WHERE QuestionNo='$No'";
$result1 = mysql_db_query($dbname,$sql1);
mysql_close();
#´
print "<meta http-equiv=refresh content=0;URL=admin.php?Category=$Category>";
?>
</body>
</html>