<?php
  require('inc/sessionStart.php');
?>

<?php
  $pageTitle = "Administration";
  $pageDescription = "";
  $pageKeywords = "";
?>

<?php
  include_once($_SERVER['DOCUMENT_ROOT'] . '/common/header.php');
?>
	<link rel="stylesheet" href="//afsshareportal.com/colorbox/colorbox.css" />
	<script src="//afsshareportal.com/colorbox/jquery.colorbox.js"></script>
<?php
  include_once($_SERVER['DOCUMENT_ROOT'] . '/common/mainNav.php');
  include_once($_SERVER['DOCUMENT_ROOT'] . '/common/getOfferings.php');
?>



    
    <section class="container">
      <div id="blankBuffer" class="carousel-buffer"></div>
      <div id="noEditError" class="hideObject">
			<div class="alert alert-error">
				  <a class="close" data-dismiss="alert" href="#">x</a>You can only <span id="noEditErrorText"></span> if you have editing capabilities.
			</div>
	  </div>
	  <section class="container" id="storePortal">
	    <div class="row">
		  
		  <?php
			foreach($finalOfferings as $anOffering){
		  ?>
			<a href="/admin/<?php echo $anOffering['link']; ?>">
			  <div class="span2 well navBtn">
				<h2><i class="<?php echo $anOffering['icon']; ?> icon-large"></i></h2>
				<h5><?php echo $anOffering['display']; ?></h5>
			  </div>
			</a>
		  <?php
			}
		  ?>
		  
		  
		  <a href="/filemanager/index.php" id="fileManagerBtn" class="iframe cboxElement">
			<div class="span2 well navBtn">
			  <h2><i class="icon-th icon-large"></i></h2>
			  <h5>File Management</h5>
			</div>
		  </a>
	    </div>
		
      </section>
      
	  
    </section>
      
    

  <script>
	$(".iframe").colorbox({iframe:true, width:"80%", height:"80%"});
  </script>
  
<?php require($_SERVER['DOCUMENT_ROOT'] . '/common/footer.php'); ?>
