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