| Server IP : 27.254.96.235 / Your IP : 216.73.216.44 Web Server : Apache/2 System : Linux cs95 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : piboonsa ( 1055) PHP Version : 8.0.30 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/piboonsa/domains/piboonsawasdee.ac.th/public_html/ |
Upload File : |
<?php
include("dbconfig/config.php");
?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<?php include("title.inc.php");?>
<link rel="stylesheet" type="text/css" href="css/responsiveslides_intro.css">
</head>
<body>
<div align="center"><img src="images/template/mlogo.jpg"></div>
<div align="center">
<div id="wrapper">
<ul class="rslides" id="slider1">
<?php
$query = $db->query("SELECT * FROM intro");
$none = "yes";
while($rs = $db->getresult($query)){
if($rs['img']){
echo '<li><img src="'.IMG_INF.$rs['img'].'"/></li>';
$none = "no";
}
}
if($none == "yes"){
header( "location: home.php" );
exit(0);
}
?>
</ul>
</div>
</div><br><br>
<p align="center"><a href="home.php"><img src="images/intro/btn-goto.jpg"></a></p>
<?php include("foot.inc.php");?>
<script language="javascript" type="text/javascript" src="script/responsiveslides.min.js"></script>
<script language="javascript">
$(function () {
$("#slider1").responsiveSlides({
auto: true,
pager: true,
speed: 300
});
});
</script>
</body>
</html>