forked from dtouzeau/artica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
my.addressbook.php
64 lines (34 loc) · 908 Bytes
/
my.addressbook.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
include_once(dirname(__FILE__)."/ressources/class.user.inc");
include_once(dirname(__FILE__)."/ressources/class.templates.inc");
if(isset($_GET["index-page"])){sommaire();exit;}
js();
function js(){
$tpl=new templates();
$title=$tpl->_ENGINE_parse_body('{my_address_book}');
$page=CurrentPageName();
$html="
function LoadGlobalAddressBook(){
YahooWin3(750,'$page?index-page=yes','$title');
}
LoadGlobalAddressBook();
";
echo $html;
}
function sommaire(){
$add=Paragraphe("my-address-book-user-add.png",'{add_new_contact}','{add_new_contact_text}',"javascript:Loadjs('contact.php')");
$left=RoundedLightWhite($add);
$html="<H1>{my_address_book}</H1>
<table style='width:100%'>
<tr>
<td valign='top'>$left
</td>
<td valign='top'>
</td>
</tr>
</table>
";
$tpl=new templates();
echo $tpl->_ENGINE_parse_body($html);
}
?>