937d9a9291692b801434099013b67cab0acf6317
[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 . "/reporting/includes/form_types.inc");
15     
16     include_once($path_to_root . "/admin/db/users_db.inc");    
17     
18     function page($title, $no_menu=false, $is_index=false, $onload="", $js="") 
19     {
20         
21         global $path_to_root;
22         
23         $hide_menu = $no_menu;
24         
25         include($path_to_root . "/includes/page/header.inc");
26         
27         page_header($title, $no_menu, $is_index, $onload, $js);
28     }     
29     
30     function end_page($no_menu=false, $is_index=false) 
31     {
32         global $path_to_root;
33         
34         $hide_menu = $no_menu;
35         
36         include($path_to_root . "/includes/page/footer.inc");
37         
38         page_footer($no_menu, $is_index);       
39     }
40
41 ?>