r46: Added new selection engine that can do it all one one page!
[bugdar.git] / global.php
1 <?php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # Renapsus [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # All parts of this file are ©2003-[#]year[#] Iris Studios, Inc. No # ||
7 || # part of this file may be reproduced in any way: part or whole. # ||
8 || # --------------------------------------------------------------- # ||
9 || # ©2003 - [#]year[#] Iris Studios, Inc. | http://www.iris-studios.com # ||
10 || ################################################################### ||
11 \*=====================================================================*/
12
13 require_once('./includes/init.php');
14
15 require_once('./includes/functions.php');
16 require_once('./includes/functions_mail.php');
17
18 // ###################################################################
19
20 if ($bugsys->userinfo['userid'])
21 {
22 echo '<div>You are logged in as ' . construct_user_display($bugsys->userinfo) . ' | [<a href="index.php?">Home</a>] | [<a href="newreport.php">New Bug</a>]</div><hr />' . "\n\n<!-- ******************************************************************* -->\n\n";
23 }
24
25 // ###################################################################
26 require_once('./includes/functions_template.php');
27 $tpl = new Template();
28
29 $globaltemplates = array(
30 'doctype',
31 'header',
32 'headinclude',
33 'footer',
34 'selectoption',
35 'selectoptgroup',
36 'pcv_select_row'
37 );
38
39 $tpl->cache(array_merge($globaltemplates, (array)$fetchtemplates));
40
41 // ###################################################################
42 // initialize template variables
43 $show = array();
44
45 /*=====================================================================*\
46 || ###################################################################
47 || # $HeadURL$
48 || # $Id$
49 || ###################################################################
50 \*=====================================================================*/
51 ?>