summaryrefslogtreecommitdiffstats
path: root/inc/templates/header.php
blob: 90a9b1c23f0b62448a1c41df6538a7fca517c1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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>
<?php

  if(!isset($_SESSION['username']) or $_SESSION['username']=='') {

    echo('<div class="center">');
    OC_UTIL::showloginform();
    echo('</div>');
    OC_UTIL::showfooter();
    exit();
  }else{

    echo('<div id="nav" class="center">');
    OC_UTIL::shownavigation();
    echo('</div>');

  }

?>