Newer
Older
backup-commander / src / templates / body_o.tp


	$auth = \Johnpearcey\Amara\Router\UserState::get()->getAuth();

	$strui_login = '';
	if ($auth->isLoggedIn()) {
		$strui_login = "<a id=\"anc_login\" class=\"shb_TitleRHS\" href=\"post_handler.php?action=logout\" style=\"margin-right: 10px;\"  >Logout</a>";
	}else{
		$strui_login = "<a id=\"anc_login\" class=\"shb_TitleRHS\" href=\"index.php\" style=\"margin-right: 10px;\"  >Login</a>";
	}

?>
	<body onload="index_onload()">

	<div class="main_page">
			
		<div id="shb_Header" class="flex_header"  >
			<div id="shb_Title" class="shb_Title" ><img src="/img/uk-green.png" style="margin-right: 20px; height: 40px;" >Backup Commander<span id="shb_pageName" style="margin-left:30px; font-size: 10px;">Version 0.9.1</span></div>
			<?php echo $strui_login; ?>
		</div>
<?php