403Webshell
Server IP : 172.67.187.206  /  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/training/supervision66/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/training/supervision66//num.php
<?php
include('db.php');
    $sql = "select * from quiz_pass where subject='การพัฒนาโรงเรียนนวัตกรรมพัฒนาผู้เรียนสู่การเป็นนวัตกร'";
    $result = mysqli_query($conn,$sql);
    $pass = mysqli_num_rows($result);

    $sql2 = "select * from quiz_nopass where subject='การพัฒนาโรงเรียนนวัตกรรมพัฒนาผู้เรียนสู่การเป็นนวัตกร'";
    $result2 = mysqli_query($conn,$sql2);
    $nopass = mysqli_num_rows($result2);

    $total = $pass+$nopass;
?>
- จำนวนผู้ทำแบบทดสอบ <?php echo $total; ?> คน<br/>
- ผ่านทั้งหมด <?php echo $pass; ?> คน<br/>
- คิดเป็น <?php echo number_format($pass*100/$total,2); ?>%

Youez - 2016 - github.com/yon3zu
LinuXploit