<?php
session_start();
if( isset($_SESSION['username']) && strlen($_SESSION['username'])>=4 ){
$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>";
}
?>
<!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>Backup Commander</title>
<meta name="author" content="John Pearcey" />
<meta name="description" content="A WebUI for managing file and database backups on Linux servers" />
<link rel="icon" href="img/shb_logo-light-2.png" />
<link rel="stylesheet" href="css/main.css"/>
<script src="./js/common.js"></script>
<script src="./js/main.js"></script>
</head>
<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>
<div class="page_inner">
<div id="page_content"></div>
<div class="section_header">Panel Help</div>
<div class="content_section_text">
<p>For help using this panel, please email john@pearcey.net</p>
<p>This backup utility is open source and can be downloaded from <a href="http://pearcey.net:8080/">pearcey.net</a></p>
<p>Please report bugs to john@pearcey.net</p>
</div>
</div>
</div>
</body>
</html>