<?php  defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
	<div id="footer">
			<span class="powered-by"><?php echo t('Built with ')?> <a href="http://www.concrete5.org"><?php echo t('concrete5 CMS') ?></a>.</span>
			&copy; <?php echo date('Y')?> <a href="<?php echo DIR_REL?>/"><?php echo SITE?></a>.
			&nbsp;&nbsp;
			<?php echo t('All rights reserved.')?>
			<?php 
			$u = new User();
			if ($u->isRegistered()) { ?>
				<span class="sign-in"><?php echo t('Currently logged in as <b>%s</b>.', $u->getUserName())?> <a href="<?php echo $this->url('/login', 'logout')?>"><?php echo t('Sign Out')?></a></span>
			<?php  } else { ?>
				<span class="sign-in"><a href="<?php echo $this->url('/login')?>"><?php echo t('Sign In to Edit this Site')?></a></span>
			<?php  } ?>
            
	</div>

</div>

<?php  Loader::element('footer_required'); ?>

</body>
</html>