4 # <page [title=] [func=] [pagetitle=]>
5 # Define the actual page
7 # title= headline for the page, default: "Infodrom Service"
8 # func= Function of the page, left bar
9 # pagetitle= title for the page, default <func>: <title>
11 <define-tag page endtag=required>
12 <preserve title func pagetitle>
15 <if <not <get-var title>>
16 <set-var title="Infodrom Service">>
19 <if <not <get-var func>>
20 <set-var func=<default-func>>
24 <if <not <get-var pagetitle>>
25 <if <not <get-var func>>
26 <set-var pagetitle=<get-var title>>
27 <set-var pagetitle="<get-var func>: <get-var title>">
33 <title><get-var pagetitle></title>
34 <meta name="author" content="joey@infodrom.org (Martin Schulze)">
35 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
36 <link href="<root_prefix>infodrom.css" rel="stylesheet" type="text/css">
37 <script type="text/javascript" src="<root_prefix>/jquery-2.1.0.min.js"></script>
41 <table class=font width=100% border=0 cellpadding=0 cellspacing=0>
43 <td align=left valign=top width=10% bgcolor=#<submenu-bgcolor>><font size=-1 color="#<submenu-textcolor>">
45 <table class=font width=100% border=0 cellpadding=1 cellspacing=0 bgcolor=#<white>>
46 <tr><td align=left valign=top>
47 <img src=<root_prefix>pix/infocon-90.png alt=""><p>
50 #include "submenu.inc"
55 <td valign=top><img src=<root_prefix>pix/imgdot-1x1-transp.gif width=3 height=0 alt=""></td>
57 <td valign=top align=left width=90% id="content">
59 <table class=font width=100% border=0 cellpadding=1 cellspacing=0 bgcolor=#<bar-bgcolor>>
61 <td align=left><font color=#<bar-textcolor>>
62 <strong><get-var func></strong>
65 <a href="<root_prefix>index.html"><font color="#<bar-textcolor>"><strong>Infodrom Service</strong></font></a></a>
70 <h3><get-var title></h3>
82 <restore title function pagetitle>
85 <define-tag calendar_init>
86 <script type="text/javascript" src="<root_prefix>calendar.js"></script>
87 <script type="text/javascript">
88 caldays = new Array('S','M','D','M','D','F','S');
89 mn = new Array('Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez');
90 var opts ={past: true, startat: 1, close: true, delim: '.', imgpath: '<root_prefix>pix/'};
93 <style type="text/css">
100 <define-tag calendar>
101 <img class="calendar" src="<root_prefix>pix/calendar.gif" onclick="event.cancelBubble=true;popcalendar('%0');">
107 while (strlen($dir) > 1) {
108 if (file_exists($dir.'/config.php')) {
109 require_once($dir.'/config.php');
112 $dir = dirname($dir);
115 require_once('<root_prefix>/future.php');