Location: PHPKode > projects > Community Learning Network > cln/template/GoodRobotDefault/mainTemplate.en.php
<!--      CLN: Copyright (c) 2003-4 St. Christopher House.     -->
<!--           http://bangthedrumcln.sourceforge.net           -->
<!--                                                           -->
<!--                 The CLN is under the GPL.                 -->
<!-- GNU Public License: http://www.gnu.org/copyleft/gpl.html  -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo $GLOBALS['CLN_TITLE']; ?></title>
<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
<!-- INSERT YOUR MENU STYLESHEET HERE -->
<link rel="stylesheet" href="<?php echo CLN_TEMPLATE_PATH; ?>styles/simplemenu.css" type="text/css" media="screen" />
<!-- THIS LOADS THE STYLESHEETS BASED ON ROOM DETAILS -->
<?php echo $GLOBALS['CLN_HEADER']; ?>

</head>

<body>

<!-- phpdigExclude -->

<!-- Accessibility SKIP LINKS -->
<div class="skipLinks">
	skip to: <a href="#content">page content</a> | <a href="#sideNav">links on this page</a> | <a href="#globalNavSection">site navigation</a> | <a href="#">footer (site information)</a>
</div>
<!-- Accessibility SKIP LINKS -->

<!--- START TOPLOGOSECTION  -->
<div id="topLogoSection">
	<div id="logo">
		<img src="<?php echo CLN_CLEAN_URL_BASE; ?>images/GR_Logo.gif" alt="GoodRobot logo" width="200" height="35"/>
		<div id="creator"><a href="http://www.theworkinggroup.ca" title="visit the workinggroup">created by theworkinggroup.ca</a></div>
	</div>

<!-- START TOP RIGHT SEARCH AND LOGIN SECTION -->
	<div id="horizontalSearch">
		<form action='<?php echo cleanURL($GLOBALS['path']); ?>' method='get'>
				<label for="query_string">Search this website:</label>
				<div id="topSearchArea">
				<input type='hidden' name='site' value='0'/>
				<input type='text' class='phpdiginputtext' maxlength='50' id='query_string' name='query_string' value=''/>
				<input type='submit' class='phpdiginputsubmit' name='search' value='Go'/>
				<input type="hidden" name="viewKoId" value="<?php echo CLN_TEMPLATE_SEARCH_KOID; ?>" />
				</div>
		</form>
	
	<span class="topDefaultButton"><a href="javascript:void(0);" onclick="showHelp('<?php echo cleanURL(CLN_HELP_PAGE); ?>')"><span id="helpButton">Help</span></a></span>
	<span class="topDefaultButton"><a href="<?php echo cleanURL(CONTACT_US); ?>"><span id="contactUs">Contact Us</span></a></span>
	<?php 
	if ($_SESSION['User']->isLoggedIn()) {
		echo '<span class="topDefaultButton">' .$GLOBALS['CLN_LOGOUT_BUTTON']. '</span>';
		echo '<div id="loggedInMode">';
		echo $GLOBALS['CLN_MYHOUSE_BUTTON'];
		echo $GLOBALS['CLN_BROWSE_EDIT_BUTTONS'];
		echo '</div>';
	}
	else {
	?>
	<!-- NOT LOGGED IN OUT BUTTONS -->	
	<span class="topDefaultButton"><?php echo $GLOBALS['CLN_JOIN_BUTTON'];?></span>
	<span class="topDefaultButton"><a href="javascript:showHideByLink('loginExpand','<?php echo CLN_CLEAN_URL_BASE; ?>')"><span id="logoutButton">Login</span></a></span>
	
	<!-- START THE EXPANDABLE FOOTER BUTTON -->
	<div id="loginExpand" style="display:none;">
		<div id="userLogin">
		<?php echo $GLOBALS['CLN_LOGIN_FORM'].$GLOBALS['CLN_NEW_PASSWORD_BUTTON'];?>
		</div>
	</div>		
 	<!-- END THE EXPANDABLE FOOTER BUTTON -->
	<?php
	}
	?>
	</div>
<!-- END TOP RIGHT SEARCH AND LOGIN SECTION -->	

<div class="clear"></div>
</div>
<!-- END TOPLOGOSECTION -->




<!-- BEGIN userLoginSection --> 
<!-- <div id="userLoginSection">
</div> -->
<!-- END userLoginSection -->	
	
<!-- BEGIN siteBannerSection NAME AND IMAGE AND BACKGROUND COLOUR -->



<!-- END siteBannerSection NAME AND IMAGE AND BACKGROUND COLOUR  -->	
	
<!-- BEGIN globalNavSection --> 	
<div id="globalNavSection">
	<?php echo $GLOBALS['CLN_MAINNAV']; ?>
</div>
<!-- end globalNavSection --> 


<!-- START MAINBOSY -->
<div id="mainBody"> 


<!-- ROOM BORT START --> 
  <?php echo $GLOBALS['CLN_ROOM_BORT']; ?>
<!-- room bort end -->  

<!-- START SIDE NAVIGATION -->  
  <div id="sideBar">
   	<?php echo $GLOBALS['CLN_NAVBAR']; ?>

    <?php echo $GLOBALS['CLN_LANG_CONTROLLER']; ?>
		<div class="clear"></div>
  </div> 
<!-- phpdigInclude --> 

<!-- end side navigation -->    

<div id="grPage" class="buggybox">

	<div id="topContent" class="buggybox">
	
	<!-- START BREADCRUMBSECTION -->  
	<div id="breadCrumbSection">
	<span id="locationBreadcrumb">
	Your Location: <?php echo $GLOBALS['CLN_BREADCRUMB']; ?>
	</span>
	</div>
	<!-- end breadcrumb -->
	
	
	<h1 id="pageTitle"><?php echo $GLOBALS['CLN_PAGE_TITLE']; ?></h1>
	</div><!-- end topContent -->
	
	<div id="content" class="buggybox">
	<?php echo $GLOBALS['CLN_PAGE_BORT']; ?>
	<?php echo $GLOBALS['CLN_USER_MESSAGE']; ?>
	<?php echo $GLOBALS['CLN_USER_ERROR']; ?>
	<?php echo $GLOBALS['CLN_CONTENT']; ?>
	<div class="clear">&nbsp;</div>
	</div>
</div>
<!-- end page -->
<!-- phpdigExclude -->  

<!-- START FOOTER -->
  <div id="footer">
  <span class="openCloseButton">
 <a href="javascript:showHide('footerExpand','<?php echo CLN_CLEAN_URL_BASE; ?>')"><img id="OpenButtonfooterExpand" src="<?php echo CLN_CLEAN_URL_BASE; ?>images/open.gif" border="0" width="41" height="15" alt="click this button for more"/></a></span>
 <a href="http://bangthedrumcln.sf.net">GoodRobot is a Community Learning Network</a> Version <?php echo CLN_VERSION; ?> &copy; St. Christopher House 2004.
 <br />
 <a href="<?php echo cleanURL(CLN_PRIVACY_PAGE); ?>">Privacy Statement</a> | <a href="<?php echo cleanURL(CLN_TERMS_OF_USE_PAGE); ?>">Legal Terms of Use</a> | <a href="<?php echo cleanURL(CONTACT_US); ?>">Contact TWG</a>

<!-- THE EXPANDABLE FOOTER BUTTON -->
<div id="footerExpand" style="display:none;">
 Developed by <a href="http://www.stchrishouse.org">St. Christopher House</a> &amp; <a href="http://www.theworkinggroup.ca">The Working Group Inc.</a> as an open source project, licensed under the terms of the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.
 <br />
<b>Report errors and software bugs: </b><a href="http://sourceforge.net/tracker/?atid=513547&amp;group_id=66162&amp;func=browse" target="_blank"> Source Forge Bug Reporting System</a><br />
<b>Request features for the CLN: </b><a href="http://sourceforge.net/tracker/?atid=513550&amp;group_id=66162&amp;func=browse" target="_blank"> Source Forge Feature Request System</a><br />
  <b>English Template</b><br />
  <a href="http://validator.w3.org/check/referer">XHTML</a> | 
  <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> |
  <a href="javascript:manageSessions('<?php echo CLN_CLEAN_URL_BASE; ?>')">Session Manager</a>
<br />
<br />
This page took <?php $GLOBALS['pageTimer']->stop();
echo sprintf("%01.3f", $GLOBALS['pageTimer']->timeElapsed());
?> seconds to render
</div>
<!-- Close Expandable footer -->

</div> 
<!-- Close Footer -->



</div> 
<!--end mainBody-->

<?php echo $GLOBALS['CLN_FOOTER']; ?>

</body>
</html>
Return current item: Community Learning Network