blob: 831d01af3c583c6c06fa2ef39450d9800155f1cb (
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
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
|
<?php
/*
* Copyright 2004 Matt Brubeck
* This file is licensed under a Creative Commons license:
* http://creativecommons.org/licenses/by/2.0/
*/
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="<?=$lang?>">
<head>
<title><?=_("Oreka")?>: <?=$pageTitle?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$encoding?>">
<link rel="stylesheet" href="<?=$sitePath?>/style.css" type="text/css">
</head>
<body>
<p><a class="skip" href="#content"><?=_("Jump to page content")?></a></p>
<form id="search" action="http://google.com/custom" method="get"><p>
<label for="q"><a href="http://www.google.com/"><img alt="Google" title="<?=_("Powered by Google")?>" src="http://www.google.com/logos/Logo_25wht.gif"></a></label>
<input name="q" id="q" class="text">
<input type="hidden" name="sitesearch" value="oreka.sourceforge.net">
<input type="hidden" name="cof" value="S:http://oreka.sourceforge.net/;AH:center;LH:100;L:http://oreka.sourceforge.net/images/oreka.jpg;LW:253;AWFID:a42d5b7b681df0fd;">
<input type="hidden" name="domains" value="oreka.sourceforge.net">
<input type="submit" value="<?=_("Search this site")?>">
</p></form>
<?php
$titleStr = _("Oreka");
$titleImg = "<img title=\"$titleStr\" alt=\"$titleStr\" src=\"$sitePath/images/oreka.jpg\" width=\"253\" height=\"100\">";
if ($sectionId == "" && $pageId == "") {
echo "<h1>$titleStr</h1><p> </p>";
}
else {
echo "<h1>$titleStr</h1><p> </p>";
}
?>
<div id="sitenav">
<h2><?=_("Site Navigation")?></h2>
<ul>
<?php
foreach ($siteNavItems as $navItem) {
$name = $navItem[0];
$path = $navItem[1];
if ($sectionId == $path) {
$sectionNavItems = $navItem[2];
?><li class="selected"><?=$name?></li><?php
}
else {
?><li><a href="<?=$sitePath?>/<?=$path?>"><?=$name?></a></li><?php
}
}
?>
</ul>
</div>
<?php
if ($sectionNavItems) {
?>
<div id="subnav">
<?php
if ($pageId == "") {
?><h3 class="selected"><?=$sectionTitle?></h3><?php
}
else {
?><h3><a href="<?=$sectionPath?>/"><?=$sectionTitle?></a></h3><?php
}
?>
<ul>
<?php
foreach ($sectionNavItems as $navItem) {
$name = $navItem[0];
$path = $navItem[1];
if ($pageId == $path) {
?><li class="selected"><?=$name?></li><?php
}
else {
?><li><a href="<?=$sectionPath?>/<?=$path?>"><?=$name?></a></li><?php
}
}
?>
</ul>
</div>
<?php
}
?>
<div id="content"<?php if ($sectionNavItems) echo ' class="afternav"';?>>
|