<?php
session_start();
define('Admin_USER',true);
if(!isset($_SESSION['adm1n']) || $_SESSION['adm1n']['Nbr'] == ''){
  
       header("Location: ../misc/default.php");
       exit;
       
}
require_once("../../includes/php/defines.php");
require_once("../../includes/php/classes/mainClass.php");
require_once("../../includes/php/classes/galleryClass.php");

?>
<section>
<div class="container-fluid">
    <div class="container">
        <div class="col-md-3">
            <div class="col-md-12 result-heading">
                <div class="rh-form">
                    <div class="col-md-10">                     
                        <form id="Admin_Form">                           
                            <div class="form-group">
                                <label>&nbsp;</label>
                                <select  class="col-md-12" id="Display_Type" name="Display_Type" onchange="galleryDisplay();">
                                <option value="Categories" selected="selected">Categories</option>
                                <option value="All_Albums">Albums</option>
                                <!-- <option value="Images">Images</option> -->
                                </select>
                            </div>
                            <div class="form-group gallery-btn-group" id="Add_Category">
                                <input type="button" value="Add New Category" onclick="initiatePopup('add-album-category');" class="gallery-btn">
                            </div>                             
                            <div class="form-group gallery-btn-group" id="Add_Album">
                                <input type="button" value="Add New Album" onclick="initiatePopup('add-album');" class="gallery-btn">
                            </div>                            
                            <div class="form-group gallery-btn-group" id="Add_Images" >
                                <input type="button" value="Add Images" onclick="contentChanger('gallery/add-photos.php','','','gallery/gallery.php');" class="gallery-btn">
                            </div>                              
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-9">
            <div class="col-md-12 result-heading">
              <div id="Animation" style="margin-top:50px;">
                  <div class="blockG" id="rotateG_01"></div>
                  <div class="blockG" id="rotateG_02"></div>
                  <div class="blockG" id="rotateG_03"></div>
                  <div class="blockG" id="rotateG_04"></div>
                  <div class="blockG" id="rotateG_05"></div>
                  <div class="blockG" id="rotateG_06"></div>
                  <div class="blockG" id="rotateG_07"></div>
                  <div class="blockG" id="rotateG_08"></div>                                            
              </div>          
            </div>
            <div id="RowContainer" style="margin-top:25px;">
        </div>
        </div>
    </div>
</div>
</section>