<!-- SIGN IN MODAL -->
        <div id="logout" class="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
              <div class="modal-content">

                <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                  <h4 class="modal-title" id="myModalLabel">Logout</h4>
                </div>
                <div class="modal-body">
                  <!-- SIGN IN FORM -->
				<form action="logout" method="post" class="form-horizontal">
					<div style="float:center" class="form-group">
						<label style="float:center" for="inputEmail" class="col-lg-12">Are you sure you want logout?</label>
					</div>
				</div>
					<div class="modal-footer">
						<!-- LEFT BUTTONS -->
						<button style="float:left" type="button" class="btn btn-default" data-dismiss="modal">X</button>
						<!-- RIGHT BUTTONS -->
						<input type="submit" class="btn btn-primary" value="Logout" name="submit" id="submit">
					</div>
				</form> 

              </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div><!-- /.modal -->
<?php
// FOOTER FOR NORMAL SITE // EXCLUDING HOME PAGE
// LOADING STATS
$time = microtime(true);
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round(($finish - $start), 4);
if ($total_time == '0') {$total_time = '0.001';}
?>
  <footer class="text-center">
		<p>
		<nav style="margin: 0px 0px;" class="navbar navbar-inverse" role="navigation">
                <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex2-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                  </button>
                  <a class="navbar-brand" href="#"><i class="fa fa-caret-square-o-up"></i></a>
                </div>

                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse navbar-ex2-collapse">
					<ul style="float: left;width: 70%;" class="nav navbar-nav">
						<?php 
						if($_SESSION['username']) {
						?>
							<li style="float:left"><a href="p.Dashboard">Dashboard</a></li>
						<?php
						}else{
						?>
							<li style="float:left"><a href="f.home"><?php echo $a026; ?></a></li>
							<li style="float:left"><a data-toggle="modal" href="#forgotpass"><?php echo $a114;?></a></li>
						<?php
						}
						?>
						<li style="float:left"><a href="p.PRates"><?php echo $a193;?></a></li>
						<li style="float:left"><a href="p.AdvertiserRatesINT"><?php echo $a192;?></a></li>
						<li style="float:left"><a href="p.Support"><?php echo $a013;?></a></li>
						<li style="float:left"><a href="p.Support">Support</a></li>
					</ul>
					<ul style="float: right;width: 20%;" class="nav navbar-nav">
						<li style="float:right"><a href="#">© <?php echo date('Y');?> <?php echo"$title";?> | <?php echo $a034;?></a></li>
					</ul>
                </div><!-- /.navbar-collapse -->
              </nav>
		</p>
		</br>
		<p>
		</p>
	</div>
  </footer>

  <!-- jQuery CDN and fallback -->
  <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
  <script>window.jQuery || document.write('<script src="data/templates/frontend/superhero/assets/js/jquery.js">\x3C/script>')</script>

  <!-- Main Scripts-->
  <script src="data/templates/panelend/superhero/assets/js/bootstrap.min.js"></script>
  <script src="data/templates/panelend/superhero/assets/js/plan.ui.js"></script>
  <!-- Bootstrap Select -->
  <script src="data/templates/panelend/superhero/assets/js/bootstrap-select.min.js"></script>

</body></html>

