麻烦明版说一下,长短是在toplist.htm里面修改吗
如果是应该修改哪里,麻烦你了~
<div class="toplist">
<div class="toplist2" style="border-top: none">
<div style="float: left; width: 420px; text-align: left">
<script type="text/javascript">
var varText = ""
function addInfo(title,photourl,link){
if(varText!=""){
varText+="|||";
}
varText+=title+"|_|"+photourl+"|_|"+link;
}
linkarr = new Array();
picarr = new Array();
textarr = new Array();
linkarr[1] = "index.php";
picarr[1] = "{IMGDIR}/toplist/1.jpg";
textarr[1] = "测试图片效果之1";
linkarr[2] = "index.php";
picarr[2] = "{IMGDIR}/toplist/2.jpg";
textarr[2] = "测试图片效果之2";
linkarr[3] = "index.php";
picarr[3] = "{IMGDIR}/toplist/3.jpg";
textarr[3] = "测试图片效果之3";
linkarr[4] = "index.php";
picarr[4] = "{IMGDIR}/toplist/4.jpg";
textarr[4] = "测试图片效果之4";
linkarr[5] = "index.php";
picarr[5] = "{IMGDIR}/toplist/5.jpg";
textarr[5] = "测试图片效果之5";
addInfo(textarr[1],picarr[1],linkarr[1]);
addInfo(textarr[2],picarr[2],linkarr[2]);
addInfo(textarr[3],picarr[3],linkarr[3]);
addInfo(textarr[4],picarr[4],linkarr[4]);
addInfo(textarr[5],picarr[5],linkarr[5]);
document.write('<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="410" height="200" id="01" align="middle">')
document.write('<param name="allowScriptAccess" value="sameDomain" />')
document.write('<param name="movie" value="http://bbs.yoyyy.com/flash.swf?info='+varText+'" />')
document.write('<param name="quality" value="high" />')
document.write('<param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" />')
document.write('<embed src="{IMGDIR}/toplist/flash.swf" quality="high" bgcolor="#ffffff" width="410" height="200" name="01" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
document.write('</object>')
</script>
</div>
<div style="float: left; width: 26%; height: 200px">
<ul class="lbox" style="clear: both">
<img src="{IMGDIR}/toplist/newspost.gif" />
</ul>
<!--{loop $new_post_threadlist $nthread}-->
<!--{if $nthread[replies]}-->
<Li class=toplistpost><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题作者: $nthread[author]{LF}发表时间: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}最后回复: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]" >$nthread[view_subject]</a></Li>
<!--{else}-->
<Li class=toplistpost><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title="最新话题 {LF}所在论坛: $nthread[forumname]{LF}主题作者: $nthread[author]{LF}发表时间{lang time}: $nthread[date]{LF}浏览次数: $nthread[views] 次 {LF}回复次数: $nthread[replies] 次{LF}{lang replies}: 暂时没有回复" >$nthread[view_subject]</a></Li>
<!--{/if}-->
<!--{/loop}-->
</div>
<div style="float: left; width: 26%; height: 200px">
<ul class="lbox" style="clear: both">
<img src="{IMGDIR}/toplist/newsreply.gif" />
</ul>
<!--{loop $new_reply_threadlist $rthread}-->
<Li class=toplistpost><a href="viewthread.php?tid=$rthread[tid]" $rthread['highlight'] title="最新回复 {LF}所在论坛: $rthread[forumname]{LF}主题作者: $rthread[author]{LF}发表时间: $rthread[date]{LF}浏览次数: $rthread[views] 次{LF}回复次数: $rthread[replies] 次{LF}最后回复: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]">$rthread[view_subject]</a></Li>
<!--{/loop}-->
</div>
</div>
</div> |