-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
37 lines (29 loc) · 1022 Bytes
/
profile.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
<?php
define('PRO','1');
define('SCR','profile');
require_once('global.php');
!$winduid && Showmsg('not_login');
S::gp(array('action'));
require_once(R_P . 'require/showimg.php');
//list($faceurl) = showfacedesign($winddb['icon'],1,'s');
//导航
$homenavigation = array();
$navConfigService = L::loadClass('navconfig', 'site');
$homenavigation = $navConfigService->userHomeNavigation(PW_NAV_TYPE_MAIN, 'o');
empty($action) && $action = 'modify';
$pro_tab = $action;
$USCR = 'set_profile';
$db_menuinit .= ",'td_userinfomore' : 'menu_userinfomore'";
if (file_exists(R_P . "u/require/profile/{$action}.php")) {
require_once(R_P . 'u/require/core.php');
require_once(R_P . 'u/lib/space.class.php');
$newSpace = new PwSpace($winduid);
$space =& $newSpace->getInfo();
//* include_once pwCache::getPath(D_P . 'data/bbscache/o_config.php');
pwCache::getData(D_P . 'data/bbscache/o_config.php');
require_once S::escapePath(R_P . "u/require/profile/{$action}.php");
} else {
Showmsg('undefined_action');
}
exit;
?>