Removed redundant form_types functions and the file /reporting/includes/form_types...
[fa-stable.git] / includes / main.inc
1 <?php
2
3     include_once($path_to_root . "/includes/db/connect_db.inc");
4
5     include_once($path_to_root . "/includes/reserved.inc");
6     include_once($path_to_root . "/includes/errors.inc");
7     include_once($path_to_root . "/includes/types.inc");
8     include_once($path_to_root . "/includes/systypes.inc");
9     include_once($path_to_root . "/includes/references.inc");
10     include_once($path_to_root . "/includes/prefs/sysprefs.inc");
11     include_once($path_to_root . "/includes/db/comments_db.inc");
12         include_once($path_to_root . "/includes/db/sql_functions.inc");
13
14     include_once($path_to_root . "/admin/db/users_db.inc");
15
16     function page($title, $no_menu=false, $is_index=false, $onload="", $js="")
17     {
18
19         global $path_to_root;
20
21         $hide_menu = $no_menu;
22
23         include($path_to_root . "/includes/page/header.inc");
24
25         page_header($title, $no_menu, $is_index, $onload, $js);
26     }
27
28     function end_page($no_menu=false, $is_index=false)
29     {
30         global $path_to_root;
31
32         $hide_menu = $no_menu;
33
34         include($path_to_root . "/includes/page/footer.inc");
35
36         page_footer($no_menu, $is_index);
37     }
38
39 ?>