Server IP : 103.233.192.212 / Your IP : 3.17.80.220 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 : |
<?php require_once('db_main.php'); ?> <!doctype html> <html lang="en"> <head> <?php include_once ("head.html"); ?> </head> <body class="bg-all animated fadeIn faster "> <?php include_once ("chatfacebook.php"); ?> <div class="container-fluid p-0 " > <div class="container bg-main fix-page mb-0 pb-0" > <?php include_once ("menu.php"); ?> </div> <!------ data ------> <div class="container bg-white fix-page mt-0 " id="data"> <div class="row"> <div class="col bg-cl-0 fcl-cl-1 bg-txt-head text-center"> นโยบายผู้บริหาร </div> <div class="w-100"></div> <div class="col p-4 pt-5 pb-5 fw-300"> <?php $sql_data1 = "SELECT * FROM `data_dataother` WHERE `id_dataother`= 10 AND `stt_dataother`=0 "; $qr_data1 = mysqli_query($con_db_main,$sql_data1) or die( mysqli_error($con_db_main)); $rs_data1 = mysqli_fetch_assoc($qr_data1); if( !isset($rs_data1["page_dataother"]) ){ echo '<div class="w-100 text-center mt-5 mb-5 text-secondary opacity-25 fs-20 fw-500" ><i class="fas fa-eye-slash fs-70"></i><br>ไม่พบข้อมูล<br>นโยบายผู้บริหาร</div>'; }else{ echo $rs_data1["page_dataother"]; $sql_cpwimg = "SELECT COUNT(*) FROM `data_filedoc_dataother` WHERE `id_tbdata_filedoc_dataother`='10' "; $qr_cpwimg = mysqli_query($con_db_main, $sql_cpwimg) or trigger_error("SQL", E_USER_ERROR); $rs_cpwimg = mysqli_fetch_row($qr_cpwimg); $sql_data_fileimg = "SELECT * FROM `data_filedoc_dataother` WHERE `id_tbdata_filedoc_dataother`='10' "; $qr_data_fileimg = mysqli_query($con_db_main,$sql_data_fileimg) or die( mysqli_error($con_db_main)); if($rs_cpwimg[0]==1){ while($rs_data_fileimg = mysqli_fetch_array($qr_data_fileimg)){ echo '<div class="w-100 text-center mt-3"><img src="../'.$rs_data_fileimg['path_filedoc_dataother'].'" class="img-fluid mh_1pic"></div>'; } }else if($rs_cpwimg[0]>1){ echo '<div id="slideAB10" class="carousel slide carousel-dark bg-white w-100 text-center mt-3 " data-bs-ride="carousel"> <div class="carousel-inner">'; $c_row=0; while($rs_data_fileimg = mysqli_fetch_array($qr_data_fileimg)){ $c_row++; if($c_row==1){ echo '<div class="carousel-item active text-center animated fadeIn" data-bs-interval="2000"> <img src="../'.$rs_data_fileimg['path_filedoc_dataother'].'" class="img-fluid mh_pic"> </div>'; }else{ echo '<div class="carousel-item text-center animated fadeIn" data-bs-interval="2000"> <img src="../'.$rs_data_fileimg['path_filedoc_dataother'].'" class="img-fluid mh_pic"> </div>'; } } echo ' </div> <button class="carousel-control-prev" type="button" data-bs-target="#slideAB10" data-bs-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="visually-hidden">Previous</span> </button> <button class="carousel-control-next" type="button" data-bs-target="#slideAB10" data-bs-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="visually-hidden">Next</span> </button> </div>'; }; } ?> </div> <div class="w-100"></div> <div class="col bg-cl-2 text-center fcl-cl-1 fs-1" style="height:10px;"></div> </div> </div> <!------------------> <?php include_once ("footer.php"); ?> </div> <?php include_once ("cookie.php"); ?> </body> </html>