if(!defined('IN_DISCUZ')) exit('Access Denied'); function tpl_hide_credits_hidden($creditsrequire) {
global $hideattach;
?>
$return = <<本帖隐藏的内容需要积分高于 {$creditsrequire} 才可浏览
EOF;
?> return $return; }
function tpl_hide_credits($creditsrequire, $message) {
global $hideattach;
?>
$return = <<以下内容需要积分高于 {$creditsrequire} 才可浏览
{$message}
EOF;
?> return $return; }
function tpl_codedisp($discuzcodes, $code) {
?>
$return = <<复制代码
EOF;
?> return $return; }
function tpl_quote() {
?>
$return = <<\\1
EOF;
?> return $return; }
function tpl_free() {
?>
$return = <<\\1
EOF;
?> return $return; }
function tpl_hide_reply() {
global $hideattach;
?>
$return = <<本帖隐藏的内容需要回复才可以浏览
\\1
EOF;
?> return $return; }
function tpl_hide_reply_hidden() {
?>
$return = <<本帖隐藏的内容需要回复才可以浏览
EOF;
?> return $return; }
function attachlist($attach) {
global $attachrefcheck, $extcredits, $creditstrans, $creditstransextra, $ftp, $thumbstatus, $authkey, $attachimgpost, $fid;
$attach['refcheck'] = (!$attach['remote'] && $attachrefcheck) || ($attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp')));
$aidencode = aidencode($attach['aid']);
?>
$return = <<
{$attach['filename']}
({$attach['attachsize']})
EOF;
if($attach['readperm']) {
$return .= <<{$attach['readperm']}
EOF;
} if($attach['price']) {
$return .= <<{$extcredits[$creditstransextra['1']]['title']} {$attach['price']} {$extcredits[$creditstransextra['1']]['unit']} [记录]
EOF;
if(!$attach['payed']) {
$return .= <<购买]
EOF;
} }
$return .= <<
EOF;
if($attach['description']) {
$return .= <<{$attach['description']}
EOF;
} if(!$attach['price'] || $attach['payed']) {
$return .= <<
EOF;
if($thumbstatus && $attach['thumb']) {
$return .= <<
EOF;
} else { $GLOBALS['aimgs'][$attach['pid']][] = $attach['aid']; $widthcode = attachwidth($attach['width']);
$return .= <<
EOF;
}
$return .= <<
EOF;
}
$return .= <<
EOF;
} else {
$return .= <<
EOF;
if(!$attach['price'] || $attach['payed']) { if($attach['description']) {
$return .= <<{$attach['description']}
EOF;
}
$return .= <<
EOF;
} } } else {
$return .= <<
{$attach['attachicon']}
EOF;
if(!$attach['price'] || $attach['payed']) {
$return .= <<{$attach['filename']}
EOF;
} else {
$return .= <<{$attach['filename']}
EOF;
}
$return .= <<
EOF;
if($attach['readperm']) {
$return .= <<{$attach['readperm']}
EOF;
} if($attach['price']) {
$return .= <<{$extcredits[$creditstransextra['1']]['title']} {$attach['price']} {$extcredits[$creditstransextra['1']]['unit']} [记录]
EOF;
if(!$attach['payed']) {
$return .= <<购买]
EOF;
} }
$return .= <<
EOF;
if($attach['description']) {
$return .= <<{$attach['description']}
EOF;
}
$return .= <<
EOF;
}
$return .= <<
EOF;
?> return $return; }
function attachinpost($attach) {
global $attachrefcheck, $extcredits, $creditstrans, $creditstransextra, $ftp, $thumbstatus, $attachimgpost;
$attach['refcheck'] = (!$attach['remote'] && $attachrefcheck) || ($attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp')));
$aidencode = aidencode($attach['aid']);
?>
$__IMGDIR = IMGDIR;$return = <<
EOF;
if($thumbstatus && $attach['thumb']) {
$return .= <<
EOF;
} else { $GLOBALS['aimgs'][$attach['pid']][] = $attach['aid']; $widthcode = attachwidth($attach['width']);
$return .= <<
EOF;
}
$return .= <<