<?php
session_start();
if(!isset($_SESSION['adm1n']) || $_SESSION['adm1n']['Nbr'] == ''){
  
       header("Location: ../misc/default.php");
       exit;
       
}
?>
<section>
<div class="container-fluid">
    <div class="container">
        <div class="col-md-4">
            <div class="col-md-12 result-heading">
                <div class="rh-form">
                  <?php
                  echo '<form>';
                  echo '<div class="form-group">';
                  echo '<div class="return-div"><span onclick="contentChanger(\'resources/manage-resources.php\');"><< RETURN TO resource pages MANAGER</span></div>';
                  echo '</div>';       
                  echo '</form>';            
                  ?>	
                    <div class="col-md-10">
                        <form id="Search_Form" name="Search_Form">                          
                            <div class="form-group">
                                <input type="button" value="Add Category" onclick="contentChanger('resources/add-category.php','','resources/manage-categories.php');">
                            </div>                            
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-8">
            <div class="col-md-12 result-heading">
                <h1>Resource Page Categories</h1>&nbsp;
              <div id="Animation">
                  <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 id="Result" style="margin-bottom:25px;"></div>                 
            </div>
            <div id="RowContainer">
            
        </div>
        </div>
    </div>
</div>
</section>
<script>
$(document).ready(function(){
    processSearch('Resource-Categories','No_Clear','1');
});
</script>