⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 discuzcode.htm

📁 论坛代码网增加免费空间业务
💻 HTM
字号:
<!--{eval
function tpl_hide_credits_hidden($creditsrequire) {
global $hideattach;
}-->
<!--{block return}--><div class="notice" style="width: 500px">{lang post_hide_credits_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_hide_credits($creditsrequire, $message) {
global $hideattach;
}-->
<!--{block return}--><div class="notice" style="width: 500px">{lang post_hide_credits}</div>
$message<br /><br />
<br /><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_codedisp($discuzcodes, $code) {
}-->
<!--{block return}--><div class="blockcode"><em onclick="copycode($('code$discuzcodes[codecount]'));">{lang discuzcode_copyclipboard}</em><h5>{lang discuzcode_code}:</h5><code id="code$discuzcodes[codecount]">$code</code></div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_quote() {
}-->
<!--{block return}--><div class="quote"><h5>{lang discuzcode_quote}:</h5><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_free() {
}-->
<!--{block return}--><div class="quote"><h5>{lang discuzcode_free}:</h5><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_hide_reply() {
global $hideattach;
}-->
<!--{block return}--><div class="notice" style="width: 500px">{lang post_hide_reply}</div>
\\1<br /><br />
<br /><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function tpl_hide_reply_hidden() {
}-->
<!--{block return}--><div class="notice" style="width: 500px">{lang post_hide_reply_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function attachlist($attach) {
global $attachrefcheck, $extcredits, $creditstrans, $ftp, $thumbstatus, $authkey, $timestamp, $attachimgpost;
$k = md5($attach[aid].md5($authkey).$timestamp);
$hideurl = $attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp'));
}-->
<!--{block return}-->
	<dl class="t_attachlist">
	<!--{if $attach['attachimg']}-->
		<dt>
			$attach[attachicon]
			<a href="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp&amp;nothumb=yes" class="bold" target="_blank">$attach[filename]</a>
			<em>($attach[attachsize])</em>
		</dt>
		<dd>
			<p>
				$attach[dateline]
				<!--{if $attach['readperm']}-->, {lang readperm}: <strong>$attach[readperm]</strong><!--{/if}-->
				<!--{if $attach['price']}-->, {lang price}: <strong>{$extcredits[$creditstrans][title]} $attach[price] {$extcredits[$creditstrans][unit]}</strong> &nbsp;[<a href="misc.php?action=viewattachpayments&amp;aid=$attach[aid]" target="_blank">{lang pay_view}</a>]
					<!--{if !$attach['payed']}-->
						&nbsp;[<a href="misc.php?action=attachpay&amp;aid=$attach[aid]" target="_blank">{lang attachment_buy}</a>]
					<!--{/if}-->
				<!--{/if}-->
			</p>
			<!--{if $attach['description']}--><p>{$attach[description]}</p><!--{/if}-->
			<!--{if !$attach['price'] || $attach['payed']}-->
				<p>
				<!--{if $thumbstatus && $attach['thumb']}-->
					<!--{if $attachrefcheck || $hideurl}-->
						<a href="#zoom"><img onclick="zoom(this, 'attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp&amp;noupdate=yes&amp;nothumb=yes')" src="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp" alt="$attach[filename]" /></a>
					<!--{else}-->
						<a href="#zoom"><img onclick="zoom(this, '$attach[url]/$attach[attachment]')" src="$attach[url]/$attach[attachment].thumb.jpg" alt="$attach[filename]" /></a>
					<!--{/if}-->
				<!--{else}-->
					<!--{if $attachrefcheck || $hideurl}-->
						<img src="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp&amp;noupdate=yes" border="0" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp')" alt="$attach[filename]" />
					<!--{else}-->
						<img src="$attach[url]/$attach[attachment]" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, '$attach[url]/$attach[attachment]')" alt="$attach[filename]" />
					<!--{/if}-->
				<!--{/if}-->
				</p>
			<!--{/if}-->
		</dd>
	<!--{else}-->
		<dt>
			$attach[attachicon]
			<a href="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp" target="_blank">$attach[filename]</a>
			<em>($attach[attachsize])</em>
		</dt>
		<dd>
			<p>
				$attach[dateline], {lang downloads}: $attach[downloads]
				<!--{if $attach['readperm']}-->, {lang readperm}: <strong>$attach[readperm]</strong><!--{/if}-->
				<!--{if $attach['price']}-->
					, {lang price}: <strong>{$extcredits[$creditstrans][title]} $attach[price] {$extcredits[$creditstrans][unit]}</strong> &nbsp;[<a href="misc.php?action=viewattachpayments&amp;aid=$attach[aid]" target="_blank">{lang pay_view}</a>]
					<!--{if !$attach['payed']}-->
						&nbsp;[<a href="misc.php?action=attachpay&amp;aid=$attach[aid]" target="_blank">{lang attachment_buy}</a>]
					<!--{/if}-->
				<!--{/if}-->
			</p>
			<!--{if $attach['description']}--><p>{$attach[description]}</p><!--{/if}-->
		</dd>
	<!--{/if}-->
	</dl>
<!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

function attachinpost($attach) {
global $attachrefcheck, $extcredits, $creditstrans, $ftp, $thumbstatus, $authkey, $timestamp, $attachimgpost;
$k = md5($attach['aid'].md5($authkey).$timestamp);
$hideurl = $attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp'));
}-->
<!--{block return}-->
	<!--{if !isset($attach['unpayed'])}-->
		<!--{if $attach['attachimg']}-->
			<span style="position: absolute; display: none" id="attach_$attach[aid]" onmouseover="showMenu(this.id, 0, 1)"><img src="{IMGDIR}/attachimg.gif" border="0"></span>
			<!--{if $thumbstatus && $attach['thumb']}-->
				<!--{if $attachrefcheck || $hideurl}-->
					<a href="###zoom"><img onclick="zoom(this, 'attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp&amp;noupdate=yes&amp;nothumb=yes')" src="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp" border="0" onmouseover="attachimginfo(this, 'attach_$attach[aid]', 1)" onmouseout="attachimginfo(this, 'attach_$attach[aid]', 0, event)" /></a>
				<!--{else}-->
					<a href="###zoom"><img onclick="zoom(this, '$attach[url]/$attach[attachment]')" src="$attach[url]/$attach[attachment].thumb.jpg" border="0" onmouseover="attachimginfo(this, 'attach_$attach[aid]', 1)" onmouseout="attachimginfo(this, 'attach_$attach[aid]', 0, event)" /></a>
				<!--{/if}-->
			<!--{else}-->
				<!--{if $attachrefcheck || $hideurl}-->
					<img src="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp&amp;noupdate=yes" border="0" onload="attachimg(this, 'load')" onmouseover="attachimginfo(this, 'attach_$attach[aid]', 1);attachimg(this, 'mouseover')" onclick="zoom(this, 'attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp')" onmouseout="attachimginfo(this, 'attach_$attach[aid]', 0, event)" alt="" />
				<!--{else}-->
					<img src="$attach[url]/$attach[attachment]" border="0" onload="attachimg(this, 'load')" onmouseover="attachimginfo(this, 'attach_$attach[aid]', 1);attachimg(this, 'mouseover')" onclick="zoom(this, '$attach[url]/$attach[attachment]')" onmouseout="attachimginfo(this, 'attach_$attach[aid]', 0, event)" alt="" />
				<!--{/if}-->
			<!--{/if}-->
			<div class="t_attach" id="attach_$attach[aid]_menu" style="position: absolute; display: none">
			$attach[attachicon] <a href="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp&amp;nothumb=yes" target="_blank"><strong>$attach[filename]</strong></a> ($attach[attachsize])<br />
			<!--{if $attach[description]}-->$attach[description]<br /><!--{/if}-->
		<!--{else}-->
			$attach[attachicon] <span style="white-space: nowrap" id="attach_$attach[aid]" onmouseover="showMenu(this.id)"><a href="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp" target="_blank"><strong>$attach[filename]</strong></a> ($attach[attachsize])</span>
			<div class="t_attach" id="attach_$attach[aid]_menu" style="position: absolute; display: none">$attach[attachicon] <a href="attachment.php?aid=$attach[aid]&amp;k=$k&amp;t=$timestamp" target="_blank"><strong>$attach[filename]</strong></a> ($attach[attachsize])<br />
			<!--{if $attach['description']}-->$attach[description]<br /><!--{/if}-->
			{lang downloads}: $attach[downloads]<br />
			<!--{if $attach['readperm']}-->{lang readperm}: $attach[readperm]<br /><!--{/if}-->
		<!--{/if}-->
		<!--{if $attach['price']}-->
			{lang price}: {$extcredits[$creditstrans][title]} $attach[price] {$extcredits[$creditstrans][unit]} &nbsp;<a href="misc.php?action=viewattachpayments&amp;aid=$attach[aid]" target="_blank">[{lang pay_view}]</a>
			<!--{if !$attach['payed']}-->
				&nbsp;<a href="misc.php?action=attachpay&amp;aid=$attach[aid]" target="_blank">[{lang attachment_buy}]</a>
			<!--{/if}-->
		<!--{/if}-->
		<div class="t_smallfont">$attach[dateline]</div></div>
	<!--{else}-->
		$attach[attachicon] <strong>{lang attach_pay}: $attach[filename]</strong>
	<!--{/if}-->
<!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}

}-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -