10 $member_srl = $matches[3];
22 $nick_name = $matches[5];
25 if(!isset(
$GLOBALS[
'_transImageNameList'][$member_srl]))
27 $GLOBALS[
'_transImageNameList'][$member_srl] =
new stdClass();
29 $_tmp = &
$GLOBALS[
'_transImageNameList'][$member_srl];
35 $image_name_file = sprintf(
'files/member_extra_info/image_name/%s%d.gif',
getNumberingPath($member_srl), $member_srl);
36 $image_mark_file = sprintf(
'files/member_extra_info/image_mark/%s%d.gif',
getNumberingPath($member_srl), $member_srl);
38 if(file_exists(
_XE_PATH_ . $image_name_file))
40 $_tmp->image_name_file = $image_name_file .
'?' . date(
'YmdHis', filemtime(
_XE_PATH_ . $image_name_file));
41 $image_name_file = $_tmp->image_name_file;
45 $image_name_file =
'';
48 if(file_exists(
_XE_PATH_ . $image_mark_file))
50 $_tmp->image_mark_file = $image_mark_file .
'?' . date(
'YmdHis', filemtime(
_XE_PATH_ . $image_mark_file));
51 $image_mark_file = $_tmp->image_mark_file;
55 $image_mark_file =
'';
59 $group_image = $oMemberModel->getGroupImageMark($member_srl, $site_module_info->site_srl);
60 $_tmp->group_image = $group_image;
64 $group_image = $_tmp->group_image;
65 $image_name_file = $_tmp->image_name_file;
66 $image_mark_file = $_tmp->image_mark_file;
70 if(!$image_name_file && !$image_mark_file && !$group_image)
77 $config = $oMemberModel->getMemberConfig();
79 if($config->image_name ==
'Y' && $image_name_file)
81 $nick_name = sprintf(
'<img src="%s%s" alt="id: %s" title="id: %s" style="border:0;vertical-align:middle;margin-right:3px" />',
Context::getRequestUri(), $image_name_file, strip_tags($nick_name), strip_tags($nick_name));
83 if($config->image_mark ==
'Y' && $image_mark_file)
85 $nick_name = sprintf(
'<img src="%s%s" alt="id: %s" title="id : %s" style="border:0;vertical-align:middle;margin-right:3px"/>%s',
Context::getRequestUri(), $image_mark_file, strip_tags($nick_name), strip_tags($nick_name), $nick_name);
90 $nick_name = sprintf(
'<img src="%s" style="border:0;max-height:16px;vertical-align:middle;margin-right:3px" alt="%s" title="%s" />%s', $group_image->src, $group_image->title, $group_image->description, $nick_name);
93 return preg_replace(
'/' . preg_quote($matches[5],
'/') .
'<\/' . $matches[6] .
'>$/',
'', $matches[0]) . $nick_name .
'</' . $matches[6] .
'>';
getNumberingPath($no, $size=3)
if(file_exists(_XE_PATH_. 'config/config.user.inc.php')) if(!defined('__DEBUG__')) if(!defined('__DEBUG_OUTPUT__')) if(!defined('__DEBUG_PROTECT__')) if(!defined('__DEBUG_PROTECT_IP__')) if(!defined('__DEBUG_DB_OUTPUT__')) if(!defined('__LOG_SLOW_QUERY__')) if(!defined('__LOG_SLOW_TRIGGER__')) if(!defined('__LOG_SLOW_ADDON__')) if(!defined('__LOG_SLOW_WIDGET__')) if(!defined('__DEBUG_QUERY__')) if(!defined('__OB_GZHANDLER_ENABLE__')) if(!defined('__ENABLE_PHPUNIT_TEST__')) if(!defined('__PROXY_SERVER__')) if(!defined('__ERROR_LOG__')) if(!defined('__DISABLE_DEFAULT_CSS__')) if(!defined('__AUTO_OPCACHE_INVALIDATE__')) if((__DEBUG_OUTPUT__==2)&&version_compare(PHP_VERSION, '6.0.0')===-1) if(version_compare(PHP_VERSION, '5.3.0') >=0) $GLOBALS['__xe_autoload_file_map']
getRequestUri($ssl_mode=FOLLOW_REQUEST_SSL, $domain=null)