Location: PHPKode > projects > Open Chamber of Commerce > ococ/content/footer.html
<!-- F O O T E R ============================================ -->
<?php require 'inc/langs/'.LANG.'/footer.php';?>
<div id="foot">
<div class="foothr"></div><!-- gold horiz rule -->
<?php
  if(eregi("pages/", $_SERVER['PHP_SELF']))
  {
    $depth = "../";
  } else {
    $depth = "";
  }
?>
<!-- B O T T O M  N A V  Section ============================ -->
<div id="botnav">
<?php include 'inc/make_bot_navs.php';?>
<br />

<!-- CUSTOMIZE THIS INFO 
This footer info is editable using the CMS.
Just log in and look for the article on page "footer".
-->
<?php 
$sql = "SELECT * FROM $content 
WHERE Page LIKE '%footer%' 
LIMIT 1 
";
show($sql,$db);
?>
<!--<p>&nbsp;</p>-->
<!-- END CUSTOMIZATION -->

</div><!--end botnav-->


<?php
if(isset($_SESSION['WHO']) AND $_SESSION['WHO'] == "staff")
{
  echo ' <p><a style="color:#900 !important;" href="'.$depth.'admin/">Admin</a> &bull; ';
  echo ' <a style="color:#900 !important;" href="'.$depth.'cms/content.php">Content Manager</a> &bull; ';
  echo ' <a style="color:#900 !important;" href="'.$depth.'cms/logout.php">Logout</a></p>';
  ?>
  <script type="text/javascript">
  frame = document.getElementsByTagName('html');
  frame[0].style.border = "8px solid #a33";
  </script>
  <?php
} else {
?>
<div id="valid"><!-- Code validates as of 2/10/05 6:00am -->
<?php echo FSITE_BY;?> <a href="http://WatersGulchDigital.com/">WatersGulchDigital.com</a> <?php echo FPOWERED_BY;?> <a href="http://WatersGulchDigital.com/oscc/">OCOC</a>
<p>
<a href="<?php echo $depth;?>browserissues.html"><?php echo FBROWSER_ISSUES;?></a>
</p>
  <p>
  <a href="http://validator.w3.org/check?uri=referer">
  <img style="border:0;width:44px;height:16px"
  src="<?php echo $depth;?>i/valid-xhtml"
  alt="Valid XHTML 1.0!" height="16" width="44" /></a>
  <a href="javascript:void(document.location='http://jigsaw.w3.org/css-validator/validator?uri='+document.location)">
  <img style="border:0;width:44px;height:16px"
       src="<?php echo $depth;?>i/vcss" 
       alt="Valid CSS!" />
  </a>
  </p>
</div><!--end valid-->
<p><a href="#" onclick="javascript:window.location='<?php echo $depth;?>cms/index.php?referrer=<?php echo basename($_SERVER['PHP_SELF']);?>';return false;" style="font-size:9px; color:#000; text-decoration:none;"><?php echo FUPDATE;?></a></p>
<?php
}
?>
<p>&nbsp;</p>
</div><!--end foot-->
Return current item: Open Chamber of Commerce