5100704d |
1 | <?php |
2 | /** |
3 | ** addrbook_popup.php |
4 | ** |
5 | ** Frameset for the JavaScript version of the address book. |
6 | ** |
7 | **/ |
8 | |
9 | if(!isset($logged_in)) { |
138f26f6 |
10 | echo _("You must login first."); |
5100704d |
11 | exit; |
12 | } |
13 | if(!isset($username) || !isset($key)) { |
14 | echo _("You need a valid user and password to access this page!"); |
15 | exit; |
16 | } |
17 | |
18 | if (!isset($config_php)) |
19 | include("../config/config.php"); |
20 | if (!isset($page_header_php)) |
21 | include("../functions/page_header.php"); |
22 | if (!isset($addressbook_php)) |
23 | include("../functions/addressbook.php"); |
24 | ?> |
25 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"> |
26 | |
27 | <HTML> |
28 | <HEAD> |
29 | <TITLE><?php |
30 | printf("%s: %s", $org_title, _("Address Book")); |
31 | ?></TITLE> |
32 | </HEAD> |
33 | |
34 | <FRAMESET ROWS="60,*" BORDER=0> |
35 | <FRAME NAME="abookmain" MARGINWIDTH=0 SCROLLING=NO |
36 | SRC="addrbook_search.php?show=form" BORDER=0> |
37 | <FRAME NAME="abookres" MARGINWIDTH=0 SRC="addrbook_search.php?show=blank" |
38 | BORDER=0> |
39 | </FRAMESET> |
40 | |
41 | </HTML> |