{eval function tpl_hide_credits_hidden($creditsrequire) { global $_G; }
{$_G[username]}{lang guest}{lang post_hide_credits_hidden}
{eval } function tpl_hide_credits($creditsrequire, $message) { }
{lang post_hide_credits}
$message
{eval } function tpl_codedisp($code) { $randomid = 'code_'.random(3); }

1. $code

{lang discuzcode_copyclipboard}
{eval } function tpl_quote() { }

> \\1

{eval } function tpl_free() { }

> \\1

{eval } function tpl_hide_reply() { global $_G; }

#### {lang post_hide}

\\1
{eval } function tpl_hide_reply_hidden() { global $_G; }
{$_G[username]}{lang guest}{lang post_hide_reply_hidden}
{eval } function attachlist($attach) { global $_G; $attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp'))); $aidencode = packaids($attach); $widthcode = attachwidth($attach['width']); $is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G[forum_thread][archiveid] : ''; $pluginhook = !empty($_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach[aid]]) ? $_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach[aid]] : ''; }

$attach[attachicon]

  $attach[filename] $attach[filename]

  $attach[attachsize], {lang readperm}: $attach[readperm], {lang downloads}: $attach[downloads], {lang attachcredits}: $_G[getattachcredits]

  {lang price}: $attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} [{lang pay_view}] [{lang attachment_buy}]

  {$attach[description]}

  $pluginhook

{eval } function imagelist($attach, $firstpost = 0) { global $_G; $attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp'))); $aidencode = packaids($attach); $widthcode = attachwidth($attach['width']); $is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G[forum_thread][archiveid] : ''; $attachthumb = getimgthumbname($attach['attachment']); $pluginhook = !empty($_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach[aid]]) ? $_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach[aid]] : ''; $attach['filename'] = dhtmlspecialchars($attach['filename']); }

  $attach[filename] ($attach[attachsize], {lang downloads}: $attach[downloads]) {lang set_cover}

  {lang readperm}: $attach[readperm] {lang price}: $attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} [{lang pay_view}] [{lang attachment_buy}]

  {$attach[description]}

  $pluginhook

  {$attach[description]}

{eval } function attachinpost($attach, $post) { global $_G; $firstpost = $post['first']; $attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp'))); $aidencode = packaids($attach); $widthcode = attachwidth($attach['width']); $is_archive = $_G['forum_thread']['is_archived'] ? '&fid='.$_G['fid'].'&archiveid='.$_G[forum_thread][archiveid] : ''; $attachthumb = getimgthumbname($attach['attachment']); $musiccode = getstatus($post[status], 7) && fileext($attach['attachment']) == 'mp3' ? (browserversion('ie') > 8 || browserversion('safari') ? '' : parseaudio($attach['url'].$attach['attachment'], 400)) : ''; $attach['filename'] = dhtmlspecialchars($attach['filename']); }