EOF;
if($_G['uid']) {
$return .= <<
EOF;
?>以下内容需要积分高于 {$creditsrequire} 才可浏览
{$message}
EOF;
?>复制代码
EOF;
?>\\1
EOF;
?>\\1
EOF;
?>本帖隐藏的内容
\\1
EOF;
?>
EOF;
if($_G['uid']) {
$return .= <<回复
EOF;
?>
-
{$attach['attachicon']}
-
EOF;
if(!$attach['price'] || $attach['payed']) {
$return .= <<{$attach['filename']}
EOF;
} else {
$return .= <<{$attach['filename']}
EOF;
}
$return .= <<
{$attach['attachsize']}
EOF;
if($attach['readperm']) {
$return .= <<{$attach['readperm']}
EOF;
}
$return .= <<
EOF;
if($attach['price']) {
$return .= <<{$attach['price']} {$_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit']}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['title']} [记录]
EOF;
if(!$attach['payed']) {
$return .= <<购买]
EOF;
} }
$return .= <<
EOF;
if($attach['description']) {
$return .= <<{$attach['description']}
EOF;
}
$return .= <<
EOF;
?>
EOF;
if(!IS_ROBOT) {
$return .= <<
EOF;
if(!$guestviewthumb) {
$return .= <<
{$attach['filename']}
({$attach['attachsize']}, 下载次数: {$attach['downloads']})
EOF;
if($attach['readperm']) {
$return .= <<{$attach['readperm']}
EOF;
} if($attach['price']) {
$return .= <<{$attach['price']} {$_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit']}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['title']} [记录]
EOF;
if(!$attach['payed']) {
$return .= <<购买]
EOF;
} }
$return .= <<
EOF;
if($attach['description']) {
$return .= <<{$attach['description']}
EOF;
} }
$return .= <<
登录/注册后可看大图
EOF;
} elseif(!$attach['price'] || $attach['payed']) {
$return .= <<
EOF;
if($_G['setting']['thumbstatus'] && $attach['thumb']) {
$return .= <<
EOF;
} else {
$return .= <<
EOF;
}
$return .= <<
EOF;
}
$return .= <<
EOF;
} else {
$return .= <<
EOF;
if(!$attach['price'] || $attach['payed']) {
$return .= <<
EOF;
if($attach['description']) {
$return .= <<{$attach['description']}
EOF;
}
$return .= <<
EOF;
}
$return .= <<
EOF;
}
$return .= <<
EOF;
}
$return .= << 8 || browserversion('safari') ? '' : parseaudio($attach['url'].$attach['attachment'], 400)) : '';
$guestviewthumb = !empty($_G['setting']['guestviewthumb']['flag']) && !$_G['uid'];
if($guestviewthumb) {
$guestviewthumbcss = guestviewthumbstyle();
}
?>
EOF;
if($attach['attachimg'] && $_G['setting']['showimages'] && (((!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid'])) || (($guestviewthumb)))) { if(!IS_ROBOT) { if($guestviewthumb) {
$thumbpath = helper_attach::attachpreurl().'image/'.helper_attach::makethumbpath($attach['aid'], $_G['setting']['guestviewthumb']['width'], $_G['setting']['guestviewthumb']['height']);
$makefile = 'forum.php?mod=image&aid='.$attach['aid'].'&size='.$_G['setting']['guestviewthumb']['width'].'x'.$_G['setting']['guestviewthumb']['height'].'&key='.dsign($attach['aid'].'|'.$_G['setting']['guestviewthumb']['width'].'|'.$_G['setting']['guestviewthumb']['height']).'&type=1';
$return .= <<
EOF;
} else { if($_G['setting']['thumbstatus'] && $attach['thumb']) {
$return .= <<
EOF;
} else {
$return .= <<
EOF;
} }
$return .= <<