1 | <?php |
---|
2 | //----------------------------------------------------------- include |
---|
3 | define('PHPWG_ROOT_PATH','./../../'); |
---|
4 | |
---|
5 | include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); |
---|
6 | include_once( PHPWG_ROOT_PATH.'include/functions_mail.inc.php' ); |
---|
7 | |
---|
8 | include_once (UAM_PATH.'include/constants.php'); |
---|
9 | include_once (UAM_PATH.'include/functions.inc.php'); |
---|
10 | |
---|
11 | $title= l10n('Deleted_Account_Redirection_Page'); |
---|
12 | $page['body_id'] = 'theAboutPage'; |
---|
13 | include(PHPWG_ROOT_PATH.'include/page_header.php'); |
---|
14 | |
---|
15 | @include(PHPWG_ROOT_PATH.'template/'.$user['template']. |
---|
16 | '/theme/'.$user['theme'].'/themeconf.inc.php'); |
---|
17 | |
---|
18 | |
---|
19 | global $user, $lang, $conf, $errors; |
---|
20 | |
---|
21 | |
---|
22 | $conf_UAM = unserialize($conf['UserAdvManager']); |
---|
23 | |
---|
24 | if (function_exists('get_user_language_desc')) |
---|
25 | { |
---|
26 | $custom_text = get_user_language_desc($conf_UAM[25]); |
---|
27 | } |
---|
28 | else $custom_text = l10n($conf_UAM[25]); |
---|
29 | |
---|
30 | $template->assign( |
---|
31 | array( |
---|
32 | 'GALLERY_URL' => make_index_url(), |
---|
33 | 'CUSTOM_REDIR_MSG' => $custom_text, |
---|
34 | ) |
---|
35 | ); |
---|
36 | |
---|
37 | if (isset($lang['Theme: '.$user['theme']])) |
---|
38 | { |
---|
39 | $template->assign( |
---|
40 | 'THEME_ABOUT',l10n('Theme: '.$user['theme']) |
---|
41 | ); |
---|
42 | } |
---|
43 | |
---|
44 | $template->set_filenames( |
---|
45 | array( |
---|
46 | 'UAM_RedirPage'=>dirname(__FILE__).'/template/del_account.tpl', |
---|
47 | ) |
---|
48 | ); |
---|
49 | |
---|
50 | $template->pparse('UAM_RedirPage'); |
---|
51 | include(PHPWG_ROOT_PATH.'include/page_tail.php'); |
---|
52 | ?> |
---|