This repository has been archived by the owner on May 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
127 lines (110 loc) · 2.2 KB
/
index.php
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//DE" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<!--
** This is YaP - Yet another Pager
** Yet another Pager is a content management system without a (common) database.
** It uses xml-files to save it's content.
** We are aviable on http://github.com/chrischdi/YaP
-->
<style type="text/css">
* {
border: 0px;
}
#header, #headbar {
height: 95px;
}
#wrapper {
margin-top: -95px;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
width: 960px;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: sans-serif,verdana;
}
#headbar {
background-color:#3B5998;
width:100%
left: 0;
}
#header {
text-align: center;
width: 960px;
color: #ffffff;
}
#header div {
padding: 5px;
}
#header h1 a:link, #header h1 a:visited, #header h1 :hover, #header h1 a:active {
margin: 0 2px;
color: #ffffff;
text-decoration:none;
}
#nav {
margin-top: -23px;
}
#main {
margin: 10px 0;
width: 960px;
border-bottom: 2px groove #3B5998;
}
#content {
width: 960px;
}
p {
margin: 4px 0;
}
#footer {
color: #afafaf;
width: 960px;
height: 40px;
padding: 10px;
text-align: center;
}
#footer span {
margin: 0 10px 0 10px;
}
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
margin: 0 2px;
color: #eeeeee;
text-decoration:none;
}
#nav a:hover {
color: #ffffff;
text-decoration: underline;
}
iframe {
width: 100%;
min-height: 510px;
height: auto !important;
height: 510px;
}
</style>
<?php include "inc/cms.php"; ?>
<title><?php $cms->website->title(); ?> - <?php $cms->page->title(); ?></title>
</head><body>
<div id="headbar"></div>
<div id="wrapper">
<div id="header">
<div>
<h1><a href="<?php $cms->website->domain(); ?>"><?php $cms->website->title(); ?></a></h1>
<div id="nav">
<?php $cms->nav->menu(); ?>
</div>
</div>
</div>
<div id="main">
<div id="content">
<?php $cms->page->body(); ?>
<div style="clear: both;"> </div>
<br>
</div>
</div>
<div id="footer">© by 9er & Chrischdi</div>
</div>
</body></html>