%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 : dl,eval,exec,mail,passthru,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_open,putenv,shell_exec,show_source,system MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/moungngam/domains/moungngam.go.th/public_html/form/ |
Upload File : |
<?
session_start();
if(!isset($_SESSION["user"]) or ($_SESSION["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_10 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">
<style>
.from1{
font-size:20px;
font-weight:bold;
color:#005baa;
font-family:tahoma;
}
.form{
font-size:16px;
font-family:tahoma;
color:#333333;
line-height:28px;
}
.form-table{
width:800px;
margin:auto;
background:#ffffff;
border-radius:10px;
padding:20px;
box-shadow:0 3px 15px rgba(0,0,0,0.08);
border:1px solid #dfe7f1;
}
.form-header{
background:#0d6efd;
color:#ffffff;
font-size:24px;
font-weight:bold;
padding:15px;
border-radius:8px;
text-align:center;
}
.form-line{
border-bottom:1px dashed #dcdcdc;
height:10px;
}
.topic{
font-weight:bold;
color:#005baa;
}
.print-btn{
background:#0d6efd;
color:#fff;
padding:10px 25px;
border-radius:8px;
text-decoration:none;
font-size:16px;
display:inline-block;
}
.print-btn:hover{
background:#0b5ed7;
}
.signature-box{
border-top:1px dotted #000;
width:300px;
margin:auto;
padding-top:10px;
text-align:center;
}
</style>
<table class="form-table" border="0" cellpadding="5" cellspacing="0">
<tr align="center">
<td colspan="2">
<div class="form-header">
¤ÓÃéͧ¢Í¢éÍÁÙÅ¢èÒÇÊÒâͧÃÒª¡ÒÃ
</div>
</td>
</tr>
<tr>
<td colspan="2" class="form" style="padding-top:20px;">
<div align="right">
à¢Õ¹·Õè .............................................................
<br>
Çѹ·Õè <?php
$thaimonth = array(
"",
"Á¡ÃÒ¤Á",
"¡ØÁÀҾѹ¸ì",
"ÁÕ¹Ò¤Á",
"àÁÉÒ¹",
"¾ÄÉÀÒ¤Á",
"ÁԶعÒ¹",
"¡Ã¡®Ò¤Á",
"ÊÔ§ËÒ¤Á",
"¡Ñ¹ÂÒ¹",
"µØÅÒ¤Á",
"¾ÄȨԡÒ¹",
"¸Ñ¹ÇÒ¤Á"
);
$ThaiDate = date("j")." ".$thaimonth[date("n")]." ".(date("Y")+543);
?>
<div align="right">
Çѹ·Õè <?=$ThaiDate;?>
</div>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="form">
àÃÕ¹ ¹Ò¡ͧ¤ì¡ÒúÃÔËÒÃÊèǹµÓºÅÁèǧ§ÒÁ
</td>
</tr>
<tr>
<td colspan="2" class="form-line"></td>
</tr>
<tr>
<td colspan="2" class="form">
<div class="topic">
Êèǹ·Õè 1 : ¢éÍÁÙżÙéÂ×蹤ÓÃéͧ
</div>
</td>
</tr>
<tr>
<td width="250" valign="top" class="form">
<div align="right">
¤Ó¹Ó˹éÒ
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_prefix']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
ª×èÍ - ¹ÒÁÊ¡ØÅ
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_name']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
ÍÒÂØ
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_age']; ?> »Õ
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
ÍÒªÕ¾
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_job']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
ʶҹ·Õè·Ó§Ò¹ / ʶҹÈÖ¡ÉÒ
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_workplace']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
·ÕèÍÂÙè
</div>
</td>
<td class="form">
ºéÒ¹àÅ¢·Õè <?php echo $row_Recordset1['c_home']; ?>
ËÁÙè <?php echo $row_Recordset1['c_moo']; ?>
«ÍÂ <?php echo $row_Recordset1['c_soi']; ?>
¶¹¹ <?php echo $row_Recordset1['c_road']; ?>
µÓºÅ <?php echo $row_Recordset1['c_tumbon']; ?>
ÍÓàÀÍ <?php echo $row_Recordset1['c_amphur']; ?>
¨Ñ§ËÇÑ´ <?php echo $row_Recordset1['c_province']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
ËÁÒÂàÅ¢â·ÃÈѾ·ì
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_phone']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
ËÁÒÂàÅ¢â·ÃÊÒÃ
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_fax']; ?>
</td>
</tr>
<tr>
<td colspan="2" class="form-line"></td>
</tr>
<tr>
<td colspan="2" class="form">
<div class="topic">
Êèǹ·Õè 2 : ÃÒÂÅÐàÍÕ´¤ÓÃéͧ
</div>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
»ÃÐàÀ·¤ÓÃéͧ
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_request_type']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
àÃ×èͧ·Õè 1
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_subject1']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
àÃ×èͧ·Õè 2
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_subject2']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
àÃ×èͧ·Õè 3
</div>
</td>
<td class="form">
<?php echo $row_Recordset1['c_subject3']; ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
à¾×èÍãªé»ÃÐ⪹ì
</div>
</td>
<td class="form">
<?php echo nl2br($row_Recordset1['c_desc']); ?>
</td>
</tr>
<tr>
<td valign="top" class="form">
<div align="right">
àÍ¡ÊÒÃṺ
</div>
</td>
<td class="form">
<?php if($row_Recordset1['fm_file1'] != ""){ ?>
<a href="/form/attachfiles/<?php echo $row_Recordset1['fm_file1']; ?>"
target="_blank">
à»Ô´àÍ¡ÊÒÃṺ
</a>
<?php } ?>
</td>
</tr>
<tr>
<td colspan="2" style="height:50px;"></td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0">
<tr>
<td width="50%"></td>
<td width="50%">
<div class="signature-box">
(<?php echo $row_Recordset1['c_name']; ?>)
<br>
¼ÙéÂ×蹤ÓÃéͧ
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="height:30px;"></td>
</tr>
<tr>
<td colspan="2" align="center">
<a href="javascript:window.print()" class="print-btn">
?? ¾ÔÁ¾ìàÍ¡ÊÒÃ
</a>
</td>
</tr>
</table>
</div>
</body>
</html>
<?php
mysql_free_result($Recordset1);
if($conndb)
{
mysql_close($conndb);
unset($conndb);
}
?>