55 $member_info =
$_SESSION[
'xoops_member_info'];
56 if ( !isset($xoopsUser) || !is_object($xoopsUser) ) {
57 $member_info[
'uname']= $xoopsConfig[
'anonymous'];
59 if ( @empty( $params[
'infos'] ) ) {
60 $params[
'infos'] =
'uname|name|email|user_avatar|url|user_icq|user_aim|user_yim|user_msnm|posts|user_from|user_occ|user_intrest|bio|user_sig';
62 $infos = explode(
"|", $params[
'infos']);
64 if ( !is_array( $member_info ) ) {
65 $member_info = array();
67 foreach( $infos as $info ) {
68 if ( !array_key_exists($info, $member_info) && @
$_SESSION[
'xoops_member_info'][$info.
'_expire'] <
$time) {
69 $member_info[$info] = $xoopsUser->getVar($info,
'E');
70 $_SESSION[
'xoops_member_info'][$info] = $member_info[$info];
75 if ( !@empty( $params[
'assign'] ) ) {
76 $smarty->assign( $params[
'assign'], $member_info );