D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
saravanabhavan
/
domains
/
hotelshrisaravanabhavan.com
/
private_html
/
Filename :
gallery_photo.php
back
Copy
<?php include("admin/connection.php"); ?> <!doctype html> <html class="no-js" lang=""> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>..::.:.. Hotel Shri Saravana Bhavan | Gallery | Photo Gallery ..:.::..</title> <meta property="og:title" content="Hotel Shri Saravana Bhavan | Gallery | Photo Gallery"> <meta property="og:site" content="Hotel Shri Saravana Bhavan"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Favicon --> <link rel="shortcut icon" type="image/x-icon" href="img/favicon.png"> <!-- Normalize CSS --> <link rel="stylesheet" href="css/normalize.css"> <!-- Main CSS --> <link rel="stylesheet" href="css/main.css"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="css/bootstrap.min.css"> <!-- Animate CSS --> <link rel="stylesheet" href="css/animate.min.css"> <!-- Font-awesome CSS--> <link rel="stylesheet" href="css/font-awesome.min.css"> <!-- Owl Caousel CSS --> <link rel="stylesheet" href="vendor/OwlCarousel/owl.carousel.min.css"> <link rel="stylesheet" href="vendor/OwlCarousel/owl.theme.default.min.css"> <!-- Main Menu CSS --> <link rel="stylesheet" href="css/meanmenu.min.css"> <!-- nivo slider CSS --> <link rel="stylesheet" href="vendor/slider/css/nivo-slider.css" type="text/css" /> <link rel="stylesheet" href="vendor/slider/css/preview.css" type="text/css" media="screen" /> <!-- Switch Style CSS --> <link rel="stylesheet" href="css/switch-style.css"> <!-- Custom CSS --> <link rel="stylesheet" href="style.css"> <!-- Modernizr Js --> <script src="js/modernizr-2.8.3.min.js"></script> <link rel="stylesheet" href="viewbox.css"> </head> <body> <div class="wrapper"> <!-- Header Area Start Here --> <header style="background: #FFF;"> <div class="header2-area"> <!-- Top Header Begins--> <?php include "include/top_header.php"; ?> <!-- Top Header Ends--> <div class="header-bottom-area" id="sticker"> <div class="container"> <div class="row"> <div class="col-lg-2 col-md-2 col-sm-2 col-xs-12"> <div class="logo-area"> <a href="./"><img class="img-responsive" src="img/logo-color.png" alt="logo"></a> </div> </div> <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12"> <div class="main-menu-area"> <nav> <ul> <li><a href="index.php">Home</a></li> <li><a href="about.php">About</a></li> <li><a href="#">Our Menu</a> <!-- Our Menu Card Menu Begins--> <?php include "include/our_menu.php"; ?> <!-- Our Menu Card Menu Ends--> </li> <li class="active"><a href="#">Gallery</a> <!-- Gallery Menu Begins--> <?php include "include/gallery_menu.php"; ?> <!-- Gallery Menu Ends--> </li> <li><a href="enquiry.php">Enquiry</a></li> <li><a href="contact.php">Contact</a></li> </ul> </nav> </div> </div> </div> </div> </div> </div> <!-- Mobile Menu Begins--> <?php include "include/mobile_menu.php"; ?> <!-- Mobile Menu Ends--> </header> <!-- Header Area End Here --> <!-- Inner Page Banner Area Start Here --> <div class="inner-page-banner-area"> <div class="container"> <div class="pagination-area"> <h2>Photo Gallery</h2> <ul> <li><a href="index.php">Home</a> /</li> <li><a href="#">Gallery</a> /</li> <li>Photo Gallery</li> </ul> </div> </div> </div> <!-- Inner Page Banner Area End Here --> <!-- our-recipes-area Start Here --> <div class="our-recipes-area section-space"> <div class="container"> <?php $sql1="SELECT * FROM gallery_title where GalleryTitleID order by GalleryTitleID DESC"; $result1=mysql_query($sql1); while($row1 = mysql_fetch_array($result1)) { ?> <div class="row"> <div class="col-md-12"> <h2 class="title-bar-medium-left inner-sub-title"><?php echo $row1["GalleryTitle"]; ?></h2> </div> </div> <p> </p> <div class="row"> <?php $sql="SELECT * FROM gallery where gallery.GalleryTitleID=".$row1['GalleryTitleID']." order by gallery.GalleryTitleID DESC"; $result=mysql_query($sql); while($row = mysql_fetch_array($result)) { ?> <div class="col-lg-4 col-md-4 col-sm-6 col-xs-6"> <div class="recipe-box2"> <ul class="recipe-box2-social"> <li><a href="admin/images/gallery/<?php echo $row["GalleryImg"]; ?>" class="thumbnail-2"><i class="fa fa-search" aria-hidden="true"></i></a></li> </ul> <div class="recipe-box2-img-holder"> <a href="#"><img src="admin/images/gallery/<?php echo $row["GalleryImg"]; ?>" alt="Recipe" class="img-responsive" style="width: 400px; height: 250px;"></a> </div> </div> </div> <?php } ?> <p> </p> </div> <?php } ?> </div> </div> <!-- our-recipes-area End Here --> <!-- Contact Us Page Area End Here --> <!-- Footer Begins--> <?php include "include/footer.php"; ?> <!-- Footer Ends--> </div> <!-- Preloader Start Here --> <div id="preloader"></div> <!-- Preloader End Here --> <!-- jquery--> <script src="js/jquery-2.2.4.min.js" type="text/javascript"></script> <!-- Plugins js --> <script src="js/plugins.js" type="text/javascript"></script> <!-- Bootstrap js --> <script src="js/bootstrap.min.js" type="text/javascript"></script> <!-- WOW JS --> <script src="js/wow.min.js"></script> <!-- Nivo slider js --> <script src="vendor/slider/js/jquery.nivo.slider.js" type="text/javascript"></script> <script src="vendor/slider/home.js" type="text/javascript"></script> <!-- Owl Cauosel JS --> <script src="vendor/OwlCarousel/owl.carousel.min.js" type="text/javascript"></script> <!-- Meanmenu Js --> <script src="js/jquery.meanmenu.min.js" type="text/javascript"></script> <!-- Srollup js --> <script src="js/jquery.scrollUp.min.js" type="text/javascript"></script> <!-- jquery.counterup js --> <script src="js/jquery.counterup.min.js"></script> <script src="js/waypoints.min.js"></script> <!-- Switch js --> <script src="js/switch-style.js" type="text/javascript"></script> <!-- Custom Js --> <script src="js/main.js" type="text/javascript"></script> <script src="jquery.viewbox.min.js"></script> <script> $(function(){ $('.thumbnail').viewbox(); $('.thumbnail-2').viewbox(); (function(){ var vb = $('.popup-link').viewbox(); $('.popup-open-button').click(function(){ vb.trigger('viewbox.open'); }); $('.close-button').click(function(){ vb.trigger('viewbox.close'); }); })(); (function(){ var vb = $('.popup-steps').viewbox({navButtons:false}); $('.steps-button').click(function(){ vb.trigger('viewbox.open',[0]); }); $('.next-button').click(function(){ vb.trigger('viewbox.open',[1]); }); $('.prev-button').click(function(){ vb.trigger('viewbox.open',[0]); }); $('.ok-button').click(function(){ vb.trigger('viewbox.close'); }); })(); }); </script> </body> </html>