PK

ADDRLIN : /home/questend/public_html/domains/rwa40.com/admin/gallery/
FLL :
Current File : /home/questend/public_html/domains/rwa40.com/admin/gallery/images.php

<?php
   ob_start();
   //error_reporting(E_ALL ^ E_NOTICE);
   @session_start();
   ini_set('allow_url_include',1);    
   date_default_timezone_set("Asia/Kolkata");
   set_time_limit(600);
   ini_set('max_execution_time',600);
   include '../includes/settings/constant.php';
   //include '../includes/settings/db.php';
   require_once '../includes/settings/PDODB.php';
   include '../includes/modules/functions.php';
   
   $function = new FUNCTIONS();

   if (!empty($_SESSION['adminId']) && !empty($_SESSION['admin_role_id'])) {
     if($_SESSION['admin_role_id']==1){
      //header("Location: index.php");
    }elseif($_SESSION['admin_role_id']==2){
      header("Location: ../dashboard/index.php");
    }
   }else{
    header("Location: ../index.php");
    exit();
   }
   
   $imagesdata = $function->getImages($id=$_GET['id'],$title=NULL,$status=1,$orderBy='DESC');
   //print_r($imagesdata[0]['title']); exit;

   $galleryTitle = $imagesdata[0]['title'];
   $allimagesdata = $function->getImages($id=NULL,$title=$galleryTitle,$status=1,$orderBy='DESC');
    
?>
<!DOCTYPE html>
<html>
   <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>INSPINIA | Basic Form</title>
      <link href="../css/plugins/blueimp/css/blueimp-gallery.min.css" rel="stylesheet">
      <?php include_once '../layout/style.php'; ?>
   </head>
   <body>
      <div id="wrapper">
         <?php $currentPage = 'gallery-index'; include_once '../layout/side-bar.php'; ?>
         <div id="page-wrapper" class="gray-bg">
            <?php include_once '../layout/header.php'; ?>
            <div class="row wrapper border-bottom white-bg page-heading">
               <div class="col-lg-8">
                  <h2>Images</h2>
                  <ol class="breadcrumb">
                     <li>
                        <a href="index.html">Home</a>
                     </li>
                     <li>
                        <a href="index.php">Gallery</a>
                     </li>
                     <li class="active">
                        <strong>Images</strong>
                     </li>
                  </ol>
               </div>               
            </div>           
            <div class="wrapper wrapper-content">
               <div class="row">
                  <div class="col-lg-12">
                     <div class="ibox float-e-margins">
                        <div class="ibox-content">
                           <h2><?=$galleryTitle;?></h2>
                           
                           <div class="lightBoxGallery">
                            <?php for($i=0;$i<count($allimagesdata);$i++){ ?>
                              <a href="../uploads/gallery/<?=$allimagesdata[$i]['file_name'];?>" title="Image from Unsplash" data-gallery="">
                                <img width="100" height="100" src="../uploads/gallery/<?=$allimagesdata[$i]['file_name'];?>"></a>
                            <?php } ?>
                              <!-- The Gallery as lightbox dialog, should be a child element of the document body -->
                              <div id="blueimp-gallery" class="blueimp-gallery">
                                 <div class="slides"></div>
                                 <h3 class="title"></h3>
                                 <a class="prev">‹</a>
                                 <a class="next">›</a>
                                 <a class="close">×</a>
                                 <a class="play-pause"></a>
                                 <ol class="indicator"></ol>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>         
      </div>
      <?php include_once '../layout/script.php'; ?>
      <script src="../js/plugins/blueimp/jquery.blueimp-gallery.min.js"></script>

      <script>
         function tossterMsgAlert(msg='Welcome',title='') {
             toastr.options = {
                 closeButton: true,
                 //debug: false,
                 newestOnTop: false,
                 //progressBar: false,
                 positionClass: 'toast-top-center',
                 preventDuplicates: true,
                 //onclick: null,
                 //showDuration: 300,
                 //hideDuration: 1000,
                 timeOut: 2000,
                 //extendedTimeOut: 1000,
                 //showEasing: 'swing',
                 //hideEasing: 'linear',
                 //showMethod: 'fadeIn',
                 hideMethod: 'fadeOut'
             };
             toastr.warning(title,msg);
         }
      </script>
      <!-- Page-Level Scripts -->
      <script>
        $(document).ready(function(){
            $('.dataTables-example').DataTable({
                dom: '<"html5buttons"B>lTfgitp',
                columnDefs: [
                    { type: "num-fmt", symbols:"R$" , targets: 4 }
                ],
                buttons: [
                    { extend: 'copy'},
                    {extend: 'csv'},
                    /*{extend: 'excel', title: 'ExampleFile'},
                    {extend: 'pdf', title: 'ExampleFile'},*/
                    /*{extend: 'print',
                     customize: function (win){
                        $(win.document.body).addClass('white-bg');
                        $(win.document.body).css('font-size', '10px');
                        $(win.document.body).find('table')
                            .addClass('compact')
                            .css('font-size', 'inherit');
                        }
                    }*/
                ]    
            });
        });
      </script>

   </body>
</html>


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home