%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_11 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>
<?php
require_once("../admin/Connections/conndb.php");
$id = $_GET['id'];
mysql_select_db($database_conndb,$conndb);
$query = "SELECT * FROM form_11 WHERE id='$id'";
$Recordset1 = mysql_query($query,$conndb)
or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
?>
<style>
.admin-card{
max-width:1100px;
margin:auto;
background:#ffffff;
border-radius:20px;
padding:30px;
box-shadow:0 5px 25px rgba(0,0,0,0.08);
font-family:tahoma;
}
.admin-title{
font-size:32px;
font-weight:bold;
color:#005baa;
text-align:center;
margin-bottom:30px;
}
.info-section{
margin-bottom:30px;
}
.section-title{
font-size:22px;
font-weight:bold;
color:#0d6efd;
border-left:5px solid #0d6efd;
padding-left:12px;
margin-bottom:20px;
}
.info-table{
width:100%;
border-collapse:collapse;
}
.info-table td{
padding:12px;
border-bottom:1px solid #eeeeee;
font-size:16px;
vertical-align:top;
}
.info-table td:first-child{
width:260px;
font-weight:bold;
color:#333;
background:#f8fbff;
}
.badge-status{
background:#ffc107;
color:#000;
padding:8px 15px;
border-radius:30px;
font-size:14px;
display:inline-block;
}
.file-link{
background:#0d6efd;
color:#fff;
padding:8px 15px;
border-radius:8px;
text-decoration:none;
display:inline-block;
}
.file-link:hover{
background:#0b5ed7;
}
.btn-print{
background:#198754;
color:#fff;
border:none;
padding:12px 30px;
border-radius:10px;
font-size:18px;
cursor:pointer;
}
.btn-print:hover{
background:#157347;
}
.btn-edit{
background:#fd7e14;
color:#fff;
border:none;
padding:12px 30px;
border-radius:10px;
font-size:18px;
cursor:pointer;
}
.btn-edit:hover{
background:#dc6a0b;
}
.action-box{
text-align:center;
margin-top:30px;
}
</style>
<div class="admin-card">
<div class="admin-title">
ÃÒÂÅÐàÍÕ´¤ÓÃéͧ¢Íãªéʶҹ·ÕèÃÒª¡ÒÃ
</div>
<div class="info-section">
<div class="section-title">
¢éÍÁÙżÙéÂ×蹤ÓÃéͧ
</div>
<table class="info-table">
<tr>
<td>ª×èÍ - Ê¡ØÅ</td>
<td>
<?php echo $row_Recordset1['c_prefix']; ?>
<?php echo $row_Recordset1['c_name']; ?>
</td>
</tr>
<tr>
<td>µÓá˹è§</td>
<td>
<?php echo $row_Recordset1['c_position']; ?>
</td>
</tr>
<tr>
<td>·ÕèÍÂÙè</td>
<td>
ºéÒ¹àÅ¢·Õè
<?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>Çѹ·ÕèºÑ¹·Ö¡¤ÓÃéͧ</td>
<td>
<?php echo $row_Recordset1['fm_created']; ?>
</td>
</tr>
<tr>
<td>ʶҹÐ</td>
<td>
<span class="badge-status">
ÃÍ´Óà¹Ô¹¡ÒÃ
</span>
</td>
</tr>
</table>
</div>
<div class="info-section">
<div class="section-title">
ÃÒÂÅÐàÍÕ´¡ÒâÍãªéʶҹ·Õè
</div>
<table class="info-table">
<tr>
<td>ʶҹ·Õè 1</td>
<td>
<?php echo $row_Recordset1['c_place1']; ?>
<br><br>
<b>à¾×èÍ :</b>
<?php echo $row_Recordset1['c_objective1']; ?>
</td>
</tr>
<tr>
<td>ʶҹ·Õè 2</td>
<td>
<?php echo $row_Recordset1['c_place2']; ?>
<br><br>
<b>à¾×èÍ :</b>
<?php echo $row_Recordset1['c_objective2']; ?>
</td>
</tr>
<tr>
<td>ʶҹ·Õè 3</td>
<td>
<?php echo $row_Recordset1['c_place3']; ?>
<br><br>
<b>à¾×èÍ :</b>
<?php echo $row_Recordset1['c_objective3']; ?>
</td>
</tr>
<tr>
<td>ÃÐÂÐàÇÅÒãªé§Ò¹</td>
<td>
µÑé§áµèÇѹ·Õè
<?php echo $row_Recordset1['c_date_start']; ?>
¶Ö§Çѹ·Õè
<?php echo $row_Recordset1['c_date_end']; ?>
<br><br>
àÇÅÒ
<?php echo $row_Recordset1['c_time_start']; ?>
¶Ö§
<?php echo $row_Recordset1['c_time_end']; ?>
</td>
</tr>
</table>
</div>
<div class="info-section">
<div class="section-title">
àÍ¡ÊÒÃṺ
</div>
<table class="info-table">
<tr>
<td>ä¿ÅìṺ</td>
<td>
<?php if($row_Recordset1['fm_file1'] != ""){ ?>
<a href="/form/attachfiles/<?php echo $row_Recordset1['fm_file1']; ?>"
target="_blank"
class="file-link">
à»Ô´ä¿ÅìṺ
</a>
<?php }else{ ?>
äÁèÁÕä¿ÅìṺ
<?php } ?>
</td>
</tr>
</table>
</div>
<div class="action-box">
<button
class="btn-print"
onclick="window.print();">
?? ¾ÔÁ¾ìàÍ¡ÊÒÃ
</button>
</div>
</div>
</div>
</body>
</html>
<?php
mysql_free_result($Recordset1);
if($conndb)
{
mysql_close($conndb);
unset($conndb);
}
?>