nextcloud/inc/templates/header.php

29 lines
663 B
PHP
Raw Normal View History

2010-03-14 02:43:47 +03:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2010-03-14 02:46:28 +03:00
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
2010-03-10 15:03:40 +03:00
<title>ownCloud</title>
<link rel="stylesheet" type="text/css" href="/css/default.css" />
</head>
<body>
<h1><a id="owncloud-logo" href="/"><span>OwnCloud</span></a></h1>
2010-03-10 15:03:40 +03:00
<?php
if(!isset($_SESSION['username']) or $_SESSION['username']=='') {
echo('<br /><br /><div class="center">');
2010-03-10 15:03:40 +03:00
OC_UTIL::showloginform();
echo('</div>');
2010-03-10 15:03:40 +03:00
OC_UTIL::showfooter();
exit();
}else{
echo('<br /><div class="center">');
2010-03-10 15:03:40 +03:00
OC_UTIL::shownavigation();
echo('</div>');
2010-03-10 15:03:40 +03:00
}
?>
<br />