- เครดิต
- 259
- เพื่อน
- ทักทาย
- บล็อก
- อัลบั้ม
- โพสต์
- กระทู้
- แชร์
- สำคัญ
- สิทธิ์อ่าน
- 20
- จำนวนผู้ติดตาม
- จำนวนผู้กำลังติดตาม
- เพศ
- ไม่บอก
|
ที่มา
http://www.alan888.com/Discuz/vi ... amp;highlight=Flash
ที่จริงแล้วสังเกตดูที่ รูปจากกระดานตัว flash ของมันไม่ได้ไปดึงเอารูปจากกระดานมาแสดงนะครับ เป็นการจับรูปไปวางในโฟลเดอร์ที่กำหนด และก็ใส่ลิงค์ ใส่อะไรต่อยุ่งมากนะ
แต่ตัวนี้ผมปรับใหม่แล้ว ให้มันไปดึงรูปจากกระดาน ที่กำหนดไว้มาแสดง โดยใช้ IE โพสนะรูปถึงจะขึ้น
วิธีติดตั้งนั้นง่ายๆ มากๆ แค่ 2ไฟล์ คือ index.php และ discuz.htm หวังว่าคงรูปนะว่าไฟล์ไหนอยู่ตรงไหน
เปิดไฟล์ index.php ขึ้นมาแล้วหา- $newthreads = round(($timestamp - $lastvisit + 600) / 1000) * 1000;
คัดลอกไปที่คลิปบอร์ด วางโค้ดนี้ด้านล้าง- //----WOWO首頁六格代碼開始BY:WOWO
- $colorarray = array('', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'gray');
- //最新主題
- $hack_cut_str = 50; //標題字數
- $hack_cut_strauthor = 10;
- $new_post_threadlist = array();
- $nthread = array();
- $query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid AND f.fid not in (0) AND t.displayorder not in (-1,-2) ORDER BY t.dateline DESC LIMIT 0, 10");
- while($nthread = $db->fetch_array($query)) {
- $nthread['forumname'] = ereg_replace('<[^>]*>','',$nthread['name']);
- $nthread['view_subject'] = cutstr($nthread['subject'],$hack_cut_str);
- $nthread['view_author'] = cutstr($nthread['author'],$hack_cut_strauthor);
- $nthread['date']= gmdate("$dateformat $timeformat", $nthread['dateline'] + $timeoffset * 3600);
- $nthread['lastreplytime']= gmdate("$dateformat $timeformat", $nthread[lastpost] + ($timeoffset * 3600));
- if($nthread['highlight']) {
- $string = sprintf('%02d', $nthread['highlight']);
- $stylestr = sprintf('%03b', $string[0]);
- $nthread['highlight'] = 'style="';
- $nthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
- $nthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
- $nthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
- $nthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
- $nthread['highlight'] .= '"';
- } else {
- $nthread['highlight'] = '';
- }
- $new_post_threadlist[] = $nthread;
- }
- //最新回復
- $hack_cut_str = 50; //標題字數
- $hack_cut_strauthor = 10;
- $new_reply_threadlist = array();
- $rthread = array();
- $query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 AND f.fid not in (0) AND t.displayorder not in (-1,-2) ORDER BY t.lastpost DESC LIMIT 0, 10");
- while($rthread = $db->fetch_array($query)) {
- $rthread['forumname'] = ereg_replace('<[^>]*>','',$rthread['name']);
- $rthread['view_subject'] = cutstr($rthread['subject'],$hack_cut_str);
- $rthread['view_lastposter'] = cutstr($rthread['lastposter'],$hack_cut_strauthor);
- $rthread['date']= gmdate("$dateformat $timeformat", $rthread['dateline'] + $timeoffset * 3600);
- $rthread['lastreplytime']= gmdate("$dateformat $timeformat", $rthread[lastpost] + ($timeoffset * 3600));
- if($rthread['highlight']) {
- $string = sprintf('%02d', $rthread['highlight']);
- $stylestr = sprintf('%03b', $string[0]);
- $rthread['highlight'] = 'style="';
- $rthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
- $rthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
- $rthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
- $rthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
- $rthread['highlight'] .= '"';
- } else {
- $rthread['highlight'] = '';
- }
- $new_reply_threadlist[] = $rthread;
- }
- //一周熱門帖
- $hack_cut_str = 70; //標題字數
- $hack_cut_strauthor = 10;
- $new_hot_threadlist = array();
- $mthread = array();
- $ctime=$timestamp-3600*24*7;//最后7是天數為本周
- $query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 AND t.dateline>$ctime AND f.fid not in (0) AND t.displayorder not in (-1,-2) ORDER BY t.replies DESC LIMIT 0, 10");
- while($mthread = $db->fetch_array($query)) {
- $mthread['forumname'] = ereg_replace('<[^>]*>','',$mthread['name']);
- $mthread['view_subject'] = cutstr($mthread['subject'],$hack_cut_str);
- $mthread['view_lastposter'] = cutstr($mthread['lastposter'],$hack_cut_strauthor);
- $mthread['date']= gmdate("$dateformat $timeformat", $mthread['dateline'] + $timeoffset * 3600);
- $mthread['lastreplytime']= gmdate("$dateformat $timeformat", $mthread[lastpost] + ($timeoffset * 3600));
- if($mthread['highlight']) {
- $string = sprintf('%02d', $mthread['highlight']);
- $stylestr = sprintf('%03b', $string[0]);
- $mthread['highlight'] = 'style="';
- $mthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
- $mthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
- $mthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
- $mthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
- $mthread['highlight'] .= '"';
- } else {
- $mthread['highlight'] = '';
- }
- $new_hot_threadlist[] = $mthread;
- }
- //隨機精華帖
- $hack_cut_str = 70; //標題字數
- $hack_cut_strauthor = 10;
- $new_digest_threadlist = array();
- $dthread = array();
- $dtime=$timestamp-3600*24*30;//最后30是天數為本月
- $query = $db->query("SELECT t.*, f.name FROM {$tablepre}threads t, {$tablepre}forums f WHERE t.fid<>'$fid' AND f.fid=t.fid AND t.closed NOT LIKE 'moved|%' AND t.replies !=0 AND t.dateline>$dtime AND t.digest in (1,2,3) AND f.fid not in (0) AND t.displayorder not in (-1,-2) ORDER BY t.replies DESC LIMIT 0, 10");
- while($dthread = $db->fetch_array($query)) {
- $dthread['forumname'] = ereg_replace('<[^>]*>','',$dthread['name']);
- $dthread['view_subject'] = cutstr($dthread['subject'],$hack_cut_str);
- $dthread['view_lastposter'] = cutstr($dthread['lastposter'],$hack_cut_strauthor);
- $dthread['date']= gmdate("$dateformat $timeformat", $dthread['dateline'] + $timeoffset * 3600);
- $dthread['lastreplytime']= gmdate("$dateformat $timeformat", $dthread[lastpost] + ($timeoffset * 3600));
- if($dthread['highlight']) {
- $string = sprintf('%02d', $dthread['highlight']);
- $stylestr = sprintf('%03b', $string[0]);
- $dthread['highlight'] = 'style="';
- $dthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
- $dthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
- $dthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
- $dthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
- $dthread['highlight'] .= '"';
- } else {
- $dthread['highlight'] = '';
- }
- $new_digest_threadlist[] = $dthread;
- }
- //本月發帖排行
- $today = array();
- $query = $db->query("SELECT uid, username, posts FROM {$tablepre}members ORDER BY posts DESC LIMIT 10");
- while($variable = $db->fetch_array($query)) {
- $today[] = array('uid'=>$variable['uid'], 'username'=>$variable['username'], 'posts'=>$variable[posts]);
- }
- //----WOWO首頁六格代碼結束BY:WOWO
คัดลอกไปที่คลิปบอร์ด เปิดไฟล์ discuz.htm ที่อยู่ใน templates\สกินที่คุณใช้งานปัจจุบัน
หา- <!--{else}--><div id="ad_text"></div><!--{/if}-->
คัดลอกไปที่คลิปบอร์ด วางโค้ดนี้ด้านล้างSave อัพโหลดไฟล์ขึ้นโฮสต์ อัพเดทแคช เรียบร้อยครับง่ายๆ
มาดูโค้ดที่ผมแก้ไขในไฟล์ foruminfo.htm
ต้นฉบับ<!-- WO WO首頁六格代碼開始 -->
<script language="javascript">
function view(a) {
document.getElementById('top1').style.display='none';
document.getElementById('top2').style.display='none';
document.getElementById('top3').style.display='none';
document.getElementById('top4').style.display='none';
document.getElementById('top'+a).style.display='block';
document.getElementById('tab1').className='';
document.getElementById('tab2').className='';
document.getElementById('tab3').className='';
document.getElementById('tab4').className='';
document.getElementById('tab'+a).className='current';
}
</script>
<div class="mainbox">
<span class="headactions"></span>
<h3><a href="/" title="論壇主題推薦專區">論壇主題推薦專區</a></h3>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="35%" align="center" style="padding: 5px 0px 0px 5px">
<div class="mainbox">
<ul class="tabs">
<li class="current"><span style="padding:0 5px;"><FONT color=#FF0000>論壇活動</FONT></span></li>
</ul>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="padding:1px; border-top:0px"><span style="margin-top:-13">
<script type="text/javascript">
<!--
var focus_width=350
var focus_height=198
var text_height=0
var swf_height = focus_height+text_height
/*圖片*/
var pics='images/wowo/ab/pic1.jpg|images/wowo/ab/pic2.jpg|images/wowo/ab/pic3.jpg|images/wowo/ab/pic4.jpg|images/wowo/ab/pic5.jpg|images/wowo/ab/pic6.jpg'
/*連接*/
var links='index.php|index.php|index.php|index.php|index.php|index.php'
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/wowo/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#000000">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="images/wowo/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#000000" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');document.write('</object>');
//-->
</script>
</span>
</td>
</tr>
</table>
</div>
</td>
<td width="45%" style="padding: 5px 0px 0px 5px">
<div class="mainbox">
<ul class="tabs">
<li id="tab1" class="current" ><span style="padding:0 8px;" onMouseOver="javascript:view(1);"><FONT color=#FF0000>最新主題</FONT></span></li>
<li id="tab2" class="" ><span style="padding:0 8px;" onMouseOver="javascript:view(2);"><FONT color=#33CCFF>最新回復</FONT></span></li>
<li id="tab3" class="" ><span style="padding:0 8px;" onMouseOver="javascript:view(3);"><FONT color=#00FF00>本周熱門</FONT></span></li>
<li id="tab4" class="" ><span style="padding:0 8px;" onMouseOver="javascript:view(4);"><FONT color=#FF00FF>隨機精華</FONT></span></li>
</ul>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="images/wowo/list.gif" border="0" /></td>
<td background="images/wowo/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat" width="100%">
<div id="top1" style="display:block;">
<!--{loop $new_post_threadlist $nthread}-->
<!--{if $nthread[replies]}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;"><a href="space.php?uid=$nthread[authorid]" title="查看$nthread[author]的詳細資料" target="_blank">$nthread[view_author]</a></em><span style="float:left;"><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title='最新話題 {LF}所在論壇: $nthread[forumname]{LF}主題標題: $nthread[subject] {LF}主題作者: $nthread[author]{LF}發表時間: $nthread[date]{LF}瀏覽次數: $nthread[views] 次 {LF}回復次數: $nthread[replies] 次{LF}最後回復: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]'>$nthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{else}-->
<div style="overflow: hidden;height: 20px;width:100%;"><em style="float:right; padding-top:2px;"><a href="space.php?uid=$nthread[authorid]" title="查看$nthread[author]的詳細資料" target="_blank">$nthread[view_author]</a></em><span style="float:left;"><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title='最新話題 {LF}所在論壇: $nthread[forumname]{LF}主題標題: $nthread[subject] {LF}主題作者: $nthread[author]{LF}發表時間: $nthread[date]{LF}瀏覽次數: $nthread[views] 次 {LF}回復次數: $nthread[replies] 次{LF}最後回復: 暫時沒有回復'>$nthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{/if}-->
<!--{/loop}-->
</div>
<div id="top2" style="display:none;">
<!--{loop $new_reply_threadlist $rthread}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;"><a href="space.php?username=$rthread[lastposter]" title="查看$rthread[lastposter]的詳細資料" target="_blank">$rthread[lastposter]</a></em><span style="float:left;"><a href="redirect.php?tid=$rthread[tid]&goto=lastpost#lastpost" $rthread['highlight'] title='最新回復 {LF}所在論壇: $rthread[forumname]{LF}主題標題: $rthread[subject]{LF}主題作者: $rthread[author]{LF}發表時間: $rthread[date]{LF}瀏覽次數: $rthread[views] 次{LF}回復次數: $rthread[replies] 次{LF}最後回復: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]'>$rthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{/loop}-->
</div>
<div id="top3" style="display:none;">
<!--{loop $new_hot_threadlist $mthread}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;"><a href="space.php?uid=$mthread[authorid]" title="查看$mthread[author]的詳細資料" target="_blank">$mthread[author]</a></em><span style="float:left;"><a href="viewthread.php?tid=$mthread[tid]" $mthread['highlight'] title='本周熱門 {LF}所在論壇: $mthread[forumname]{LF}主題標題: {echo strip_tags($mthread[subject])}{LF}主題作者: $mthread[author]{LF}發表時間: $mthread[date]{LF}瀏覽次數: $mthread[views] 次{LF}回復次數: $mthread[replies] 次{LF}最後回復: $mthread[lastreplytime]{LF}{lang lastpost}: $mthread[lastposter]'>$mthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{/loop}-->
</div>
<div id="top4" style="display:none;">
<!--{loop $new_digest_threadlist $dthread}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;"><a href="space.php?uid=$dthread[authorid]" title="查看$dthread[author]的詳細資料" target="_blank">$dthread[author]</a></em><span style="float:left;"><a href="viewthread.php?tid=$dthread[tid]" $dthread['highlight'] title='隨機精華 {LF}所在論壇: $dthread[forumname]{LF}主題標題: $dthread[subject]{LF}主題作者: $dthread[author]{LF}發表時間: $dthread[date]{LF}瀏覽次數: $dthread[views] 次{LF}回復次數: $dthread[replies] 次{LF}最後回復: $dthread[lastreplytime]{LF}{lang lastpost}: $dthread[lastposter]'>$dthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{/loop}-->
</div>
</table>
</div>
</td>
<td width="20%" style="padding: 5px 5px 0px 5px">
<div class="mainbox">
<ul class="tabs">
<li class="current"><span style="padding:0 5px;"><FONT color=#FF0000>論壇發帖榮譽榜</FONT></span></li>
</ul>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="images/wowo/list.gif" border="0" /></td>
<td background="images/wowo/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat" width="100%">
<div>
<!--{loop $today $member}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;">$member[posts]</em><a href="space.php?uid=$member[uid]" title="查看$member[username]的個人空間">$member[username]</a></div>
<!--{/loop}-->
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<!-- WO WO首頁六格代碼結束 --> เปลี่ยนเป็น<!-- WO WO首頁六格代碼開始 -->
<script language="javascript">
function view(a) {
document.getElementById('top1').style.display='none';
document.getElementById('top2').style.display='none';
document.getElementById('top3').style.display='none';
document.getElementById('top4').style.display='none';
document.getElementById('top'+a).style.display='block';
document.getElementById('tab1').className='';
document.getElementById('tab2').className='';
document.getElementById('tab3').className='';
document.getElementById('tab4').className='';
document.getElementById('tab'+a).className='current';
}
</script>
<div class="mainbox">
<span class="headactions"></span>
<h3><a href="$indexname" title="หน้าแรก">สถิติการใช้งานกระดานข่าวและรูปจากกระดาน</a></h3>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="26%" align="center" style="padding: 5px 0px 0px 5px">
<div class="mainbox">
<ul class="tabs">
<li class="current"><span style="padding:0 5px;">รูปจากกระดาน</span></li>
</ul>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<script type="text/javascript" src="pic.php"></script>
</table>
</div>
</td>
<td width="45%" style="padding: 5px 0px 0px 5px">
<div class="mainbox">
<ul class="tabs">
<li id="tab1" class="current" ><span style="padding:0 8px;" onMouseOver="javascript:view(1);">กระทู้ล้าสุด</span></li>
<li id="tab2" class="" ><span style="padding:0 8px;" onMouseOver="javascript:view(2);">ตอบกลับล่าสุด</span></li>
<li id="tab3" class="" ><span style="padding:0 8px;" onMouseOver="javascript:view(3);">กระทู้ร้อนแรง</span></li>
<li id="tab4" class="" ><span style="padding:0 8px;" onMouseOver="javascript:view(4);">กระทู้สำคัญ</span></li>
</ul>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="images/wowo/list.gif" border="0" /></td>
<td background="images/wowo/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat" width="100%">
<div id="top1" style="display:block;">
<!--{loop $new_post_threadlist $nthread}-->
<!--{if $nthread[replies]}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;"><a href="space.php?uid=$nthread[authorid]" title="查看$nthread[author]的詳細資料" target="_blank">$nthread[view_author]</a></em><span style="float:left;"><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title='最新話題 {LF}所在論壇: $nthread[forumname]{LF}主題標題: $nthread[subject] {LF}主題作者: $nthread[author]{LF}發表時間: $nthread[date]{LF}瀏覽次數: $nthread[views] 次 {LF}回復次數: $nthread[replies] 次{LF}最後回復: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]'>$nthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{else}-->
<div style="overflow: hidden;height: 20px;width:100%;"><em style="float:right; padding-top:2px;"><a href="space.php?uid=$nthread[authorid]" title="查看$nthread[author]的詳細資料" target="_blank">$nthread[view_author]</a></em><span style="float:left;"><a href="viewthread.php?tid=$nthread[tid]" $nthread['highlight'] title='最新話題 {LF}所在論壇: $nthread[forumname]{LF}主題標題: $nthread[subject] {LF}主題作者: $nthread[author]{LF}發表時間: $nthread[date]{LF}瀏覽次數: $nthread[views] 次 {LF}回復次數: $nthread[replies] 次{LF}最後回復: 暫時沒有回復'>$nthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{/if}-->
<!--{/loop}-->
</div>
<div id="top2" style="display:none;">
<!--{loop $new_reply_threadlist $rthread}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;"><a href="space.php?username=$rthread[lastposter]" title="查看$rthread[lastposter]的詳細資料" target="_blank">$rthread[lastposter]</a></em><span style="float:left;"><a href="redirect.php?tid=$rthread[tid]&goto=lastpost#lastpost" $rthread['highlight'] title='最新回復 {LF}所在論壇: $rthread[forumname]{LF}主題標題: $rthread[subject]{LF}主題作者: $rthread[author]{LF}發表時間: $rthread[date]{LF}瀏覽次數: $rthread[views] 次{LF}回復次數: $rthread[replies] 次{LF}最後回復: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]'>$rthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{/loop}-->
</div>
<div id="top3" style="display:none;">
<!--{loop $new_hot_threadlist $mthread}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;"><a href="space.php?uid=$mthread[authorid]" title="查看$mthread[author]的詳細資料" target="_blank">$mthread[author]</a></em><span style="float:left;"><a href="viewthread.php?tid=$mthread[tid]" $mthread['highlight'] title='本周熱門 {LF}所在論壇: $mthread[forumname]{LF}主題標題: {echo strip_tags($mthread[subject])}{LF}主題作者: $mthread[author]{LF}發表時間: $mthread[date]{LF}瀏覽次數: $mthread[views] 次{LF}回復次數: $mthread[replies] 次{LF}最後回復: $mthread[lastreplytime]{LF}{lang lastpost}: $mthread[lastposter]'>$mthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{/loop}-->
</div>
<div id="top4" style="display:none;">
<!--{loop $new_digest_threadlist $dthread}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;"><a href="space.php?uid=$dthread[authorid]" title="查看$dthread[author]的詳細資料" target="_blank">$dthread[author]</a></em><span style="float:left;"><a href="viewthread.php?tid=$dthread[tid]" $dthread['highlight'] title='隨機精華 {LF}所在論壇: $dthread[forumname]{LF}主題標題: $dthread[subject]{LF}主題作者: $dthread[author]{LF}發表時間: $dthread[date]{LF}瀏覽次數: $dthread[views] 次{LF}回復次數: $dthread[replies] 次{LF}最後回復: $dthread[lastreplytime]{LF}{lang lastpost}: $dthread[lastposter]'>$dthread[view_subject]</a></span></div><div style="clear:both;"></div>
<!--{/loop}-->
</div>
</table>
</div>
</td>
<td width="20%" style="padding: 5px 5px 0px 5px">
<div class="mainbox">
<ul class="tabs">
<li class="current"><span style="padding:0 5px;">สมาชิกใช้งานวันนี้</span></li>
</ul>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td width="24" style="padding:0;border-top:0px;"><img src="images/wowo/list.gif" border="0" /></td>
<td background="images/wowo/listbg.gif" style="line-height:20px;padding:0;border-top:0px;background-repeat: repeat" width="100%">
<div>
<!--{loop $today $member}-->
<div style="overflow: hidden;height: 20px;width: 100%;"><em style="float:right; padding-top:2px;">$member[posts]</em><a href="space.php?uid=$member[uid]" title="查看$member[username]的個人空間">$member[username]</a></div>
<!--{/loop}-->
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<!-- WO WO首頁六格代碼結束 --> [ แก้ไขล่าสุด mastergtx เมื่อ 2008-6-15 11:33 ] |
ขออภัย! โพสต์นี้มีไฟล์แนบหรือรูปภาพที่ไม่ได้รับอนุญาตให้คุณเข้าถึง
คุณจำเป็นต้อง ลงชื่อเข้าใช้ เพื่อดาวน์โหลดหรือดูไฟล์แนบนี้ คุณยังไม่มีบัญชีใช่ไหม? สมัครสมาชิก
x
|