Location: PHPKode > projects > ACollab > include/footer.inc.php
<?php
/****************************************************************************************/
/* ACollab                                                                              */
/****************************************************************************************/
/* Copyright (c) 2002-2004  Adaptive Technology Resource Centre / University of Toronto */
/*                                                                                      */
/* http://atutor.ca/acollab                                                             */
/*                                                                                      */
/* This program is free software. You may redistribute it and/or                        */
/* modify it under the terms of the GNU General Public License                          */
/* as published by the Free Software Foundation; either version 2 of the License,       */
/* or (at your option) any later version.                                               */
/*                                                                                      */
/* This program is distributed in the hope that it will be useful, but                  */
/* WITHOUT ANY WARRANTY; without even the implied warranty of                           */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                                 */
/* See the GNU General Public License for more details.                                 */
/*                                                                                      */
/* You may access the GNU General Public License at:                                    */
/* http://www.opensource.org/licenses/gpl-license.php                                   */
/*                                                                                      */
/* You may contact the Adaptive Technology Resource Centre at                           */
/* Robarts Library, University of Toronto                                               */
/* 130 St. George Street, Toronto, Ontario, Canada M5S 1A5                              */
/* Further contact information is available at http://www.utoronto.ca/atrc/             */
/****************************************************************************************/
/* Programmer:                                                                          */
/* Joel Kronenberg - ATRC                                                               */
/****************************************************************************************/

if (!defined('AC_INCLUDE_PATH')) { exit; }

	?></td>
</tr>
<tr>
	<td style="border-top: 1px solid #006699; background: #EFEFEF;">
		<table border="0" width="100%" cellspacing="2" cellpadding="0" bgcolor="white">
			<tr>
			<td bgcolor="#DEDEDE">
			<table border="0" width="100%" cellspacing="2" cellpadding="2">
				<tr>
					<td><small><b><?php

						$_SESSION['show_feedback'] = $_SERVER['PHP_SELF'];

						echo _AC('signed_in_as', $_SESSION['login']);
						
						if ($_SESSION['group_id']) {
							if ($_SESSION['status'] == USER_ADMIN) {
								echo ' <small>('._AC('admin').')</small>';
							} else if ($_SESSION['status'] == USER_GROUP_ADMIN) {
								echo ' <small>('._AC('group_admin').')</small>';
							}
						} else if ($_SESSION['status'] == USER_ADMIN) {
							echo ' <small>('._AC('admin').')</small>';
						}
						?>.</b></small></td>
					<td align="right"><b><small>
					<?php echo AT_date(_AC('footer_time'), time(), AT_DATE_UNIX_TIMESTAMP); ?></small></b></td>
				</tr>
			</table></td>
			</tr>
		</table>
	</td>
</tr>
</table>
<br />
<?php
	require(AC_INCLUDE_PATH . 'html/languages.inc.php');
?>
	<div class="footer"><a href="http://www.atutor.ca/acollab"><img src="images/acollab.gif" height="29" width="95" alt="ACollab | Atutor.ca" border="0" class="img" /></a> <?php echo _AC('copyright'); ?> </div>
</body>
</html>
<?php
//debug($_SESSION);
?>
Return current item: ACollab