55 $member_info =
$_SESSION[
'xoops_member_info'];
57 $member_info[
'uname'] =
$xoops->getConfig(
'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] =
$xoops->user->getVar($info,
'E');
71 $_SESSION[
'xoops_member_info'][$info .
'_expire'] = $time + 60;
75 if (!@empty($params[
'assign'])) {
76 $smarty->assign($params[
'assign'], $member_info);
$_SESSION['RF']["verify"]
smarty_function_xoMemberInfo($params, &$smarty)
if(isset($_POST['name'])) $info