本帖最后由 djdj4 于 2009-9-28 23:01 编辑
他无法全部显示!没有视听啦和下载啦。怎么不全部显示呢?在那里调试呢?- <!--{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, $attachurl, $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]&k=$k&t=$timestamp&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> [<a href="misc.php?action=viewattachpayments&aid=$attach[aid]" target="_blank">{lang pay_view}</a>]
- <!--{if !$attach['payed']}-->
- [<a href="misc.php?action=attachpay&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]&k=$k&t=$timestamp&noupdate=yes&nothumb=yes')" src="attachment.php?aid=$attach[aid]&k=$k&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]&k=$k&t=$timestamp&noupdate=yes" border="0" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'attachment.php?aid=$attach[aid]&k=$k&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]&k=$k&t=$timestamp" target="_blank">$attach[filename]</a>
- <em>($attach[attachsize])</em><!--{if fileext($attach['filename']) == 'mp3' || fileext($attach['filename']) == 'MP3' || fileext($attach['filename']) == 'wma' || fileext($attach['filename']) == 'WMA'}--> <a href=# onclick="window.open('Music.php?aid=$attach[aid]',null, 'height=500,width=450,top=0,right=1')"><font color=red>【试听】</font></a><a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp" target="_blank"><font color=Blue>【下载】</font></a><!--{/if}-->
- </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> [<a href="misc.php?action=viewattachpayments&aid=$attach[aid]" target="_blank">{lang pay_view}</a>]
- <!--{if !$attach['payed']}-->
- [<a href="misc.php?action=attachpay&aid=$attach[aid]" target="_blank">{lang attachment_buy}</a>]
- <!--{/if}-->
- <!--{/if}-->
- </p>
- <!--{if $attach['description']}--><p>说明:{$attach[description]}</p><!--{/if}-->
- <!--{if fileext($attach['filename']) == 'mp3' || fileext($attach['filename']) == 'MP3' || fileext($attach['filename']) == 'wma' || fileext($attach['filename']) == 'WMA'}-->
- <p><font color=blue>温馨提示:试听音乐请点上方红字[试听音乐].试听为低音质,下载为高音质!</font></p>
- <p><font color=red>重要通知:下载文件音质如有问题请到[信息举报板块]投诉或与版主联系,本站会尽快解决!</font></p>
- <!--{/if}-->
- </dd>
- <!--{/if}-->
- </dl>
- <!--{/block}-->
- <!--{eval return $return;}-->
- <!--{eval
- }
- function attachinpost($attach) {
- global $attachrefcheck, $extcredits, $creditstrans, $ftp, $thumbstatus, $attachurl, $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]&k=$k&t=$timestamp&noupdate=yes&nothumb=yes')" src="attachment.php?aid=$attach[aid]&k=$k&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]&k=$k&t=$timestamp&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]&k=$k&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]&k=$k&t=$timestamp&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]&k=$k&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]&k=$k&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]} <a href="misc.php?action=viewattachpayments&aid=$attach[aid]" target="_blank">[{lang pay_view}]</a>
- <!--{if !$attach['payed']}-->
- <a href="misc.php?action=attachpay&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
- }
- }-->
复制代码 这个文件是我站程序6.1的页面,能调试成7.0嘛?用到7.0上成这个样子啦下图!求高手 |