]> git.datanom.net - webcal.git/blame - include/header.inc.php
Initial upload
[webcal.git] / include / header.inc.php
CommitLineData
a5eae6b7
MR
1<?php
2/* $Id$ */
3require_once 'config.inc.php';
4require_once 'helper.php';
5
6$pwd = WEB_ROOT;
7if ($pwd[strlen($pwd)-1] == '/')
8 $pwd = substr($pwd, 0, -1);
9$title = TITLE;
10
11$head = <<<_HEAD
12<?xml version="1.0" encoding="utf-8"?>
13<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
14 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
15<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
16<head>
17<title>$title</title>
18<meta name="generator" content="Bluefish 1.0.7"/>
19<meta name="author" content="Michael Rasmussen"/>
20<meta name="date" content="2009-03-23T20:45:48+0100"/>
21<meta name="copyright" content="© 2007, Michael Rasmussen. Licensed under GPL"/>
22<meta name="keywords" content=""/>
23<meta name="description" content=""/>
24<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>
25<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8"/>
26<meta http-equiv="content-style-type" content="text/css"/>
27<meta http-equiv="expires" content="-1"/>
28<meta http-equiv="Pragma" content="no-cache"/>
29<link rel="stylesheet" type="text/css" href="$pwd/css/top_level.css" />
30<link rel="shortcut icon" href="$pwd/pixmaps/favicon.ico" />
31<script type="text/javascript" src="$pwd/js/calendar_db.js"></script>
32<link rel="stylesheet" type="text/css" href="$pwd/js/calendar.css" />
33<script type="text/javascript" src="$pwd/js/helper.js"></script>
34</head>
35<body>
36<table style="width: 100%;">
37<tr>
38<td style="width: 33%"><img src="$pwd/pixmaps/calendar.png" alt="calendar.png" /></td>
39<td style="width: 33%; text-align: center;"><a href="$pwd/logout.php">
40 <img onclick="window.location.href='$pwd/logout.php'" style="border: 0" src="$pwd/pixmaps/exit.png" width="32" height="32" alt="Logout" /><br/>Logout</a></td>
41<td style="text-align: right"><span style="font-size: 1.6em">DAViCal Web Calendar</span><br/> - A Web Interface for <a href="javascript: newwin('http://www.davical.org/');">DAViCal</a></td>
42</tr>
43</table>
44_HEAD;
45
46//file_put_contents('/tmp/davical.log', $head);
47
48print $head;
49
This page took 0.033444 seconds and 5 git commands to generate.