AL8 Forum
»
Discuz 4.0 及 4.1 插件發佈
» AL8 首頁四格顯示 (2007.01.07 最後更新)
‹‹ 上一主題
|
下一主題 ››
549
3/28
‹‹
1
2
3
4
5
6
7
8
9
10
››
›|
標題:
[D4.0 & 4.1]
AL8 首頁四格顯示 (2007.01.07 最後更新)
打印
|
推薦
|
訂閱
|
收藏
doctor
0011743
頭銜: Member
帖子: 71
精華: 0
積分: 960 點
現金: 1 元
存款: 345 元
閱讀權限: 15
註冊: 2004-11-18
狀態: 離線
#41
大
中
小
發表於 2006-2-8 23:06
資料
個人空間
短消息
加為好友
顶出来 老大再看看35楼的问题
AL8 Forum © All rights reserved.
alan888
0000001
頭銜: Administrator
自述: skywalker
帖子: 21877
精華:
195
積分: 558095 點
現金: 78355948 元
存款: 144392954 元
閱讀權限: 120
註冊: 2003-11-13
來自: Hong Kong
狀態: 離線
#42
大
中
小
發表於 2006-2-8 23:14
資料
個人空間
主頁
短消息
加為好友
QUOTE:
原帖由
doctor
於 2006-2-8 23:06 發表。
顶出来 老大再看看35楼的问题
新版本的 MySQL 4.1 (含 4.1)以上 或 PHP 5.x系統的問題
試如下修改
1. include/cache.func.php 加入紅字
QUOTE:
case newtopic:
$table = 'threads t';
$cols = "t.tid,
t.typeid,
t.subject, t.author, t.dateline, t.views, t.replies, t.lastpost, t.lastposter, t.highlight, f.name
, tt.name AS idname
";
$fids="1,2,3";//自定義
$conditions = "
LEFT JOIN {$tablepre}threadtypes tt ON (tt.typeid=t.typeid) LEFT JOIN {$tablepre}forums f ON (f.fid=t.fid)
WHERE t.fid<>'$fid' AND f.fid IN ($fids) ORDER BY t.dateline DESC LIMIT 0, 11";
break;
case newreply:
$table = 'threads t';
$cols = "t.tid,
t.typeid,
t.subject, t.author, t.dateline, t.views, t.replies, t.lastpost, t.lastposter, t.highlight, f.name
, tt.name AS idname
";
$fids="1,2,3";//自定義
$conditions = "
LEFT JOIN {$tablepre}threadtypes tt ON (tt.typeid=t.typeid) LEFT JOIN {$tablepre}forums f ON (f.fid=t.fid)
WHERE t.fid<>'$fid' AND f.fid IN ($fids) AND t.replies !=0 ORDER BY t.lastpost DESC LIMIT 0, 11";
break;
foruminfo 模板
改 2 處 加入紅字
QUOTE:
{if $nthread['idname']}[{$nthread['idname']}]{/if}
$nthread[view_subject]</a><br>
改 1 處 加入紅字
QUOTE:
{if $rthread['idname']}[{$rthread['idname']}]{/if}
$rthread[view_subject]</a><br>
AL8 Forum © All rights reserved.
alan888
0000001
頭銜: Administrator
自述: skywalker
帖子: 21877
精華:
195
積分: 558095 點
現金: 78355948 元
存款: 144392954 元
閱讀權限: 120
註冊: 2003-11-13
來自: Hong Kong
狀態: 離線
#43
大
中
小
發表於 2006-2-8 23:19
資料
個人空間
主頁
短消息
加為好友
QUOTE:
原帖由
nicka
於 2006-2-8 18:57 發表。
我系MYSOL 5 ,咁系唔系唔會成功ga
我沒有 MySQL 5 的環境測試, 所以沒法答你這個問題, 某些錯誤應該是可以修正
AL8 Forum © All rights reserved.
doctor
0011743
頭銜: Member
帖子: 71
精華: 0
積分: 960 點
現金: 1 元
存款: 345 元
閱讀權限: 15
註冊: 2004-11-18
狀態: 離線
#44
大
中
小
發表於 2006-2-9 01:24
資料
個人空間
短消息
加為好友
再试试
[
本帖最後由 doctor 於 2006-2-9 02:21 編輯
]
AL8 Forum © All rights reserved.
doctor
0011743
頭銜: Member
帖子: 71
精華: 0
積分: 960 點
現金: 1 元
存款: 345 元
閱讀權限: 15
註冊: 2004-11-18
狀態: 離線
#45
大
中
小
發表於 2006-2-9 01:31
資料
個人空間
短消息
加為好友
成功了 谢谢老大
这个是我的文件:
[Copy to clipboard]
[
-
]
CODE:
case newtopic:
$table = 'threads t';
$cols = "t.tid, t.typeid, t.subject, t.author, t.dateline, t.views, t.replies, t.lastpost, t.lastposter, t.highlight, f.name, tt.name AS idname";
$fids="1,3";//例如 "1,2,3";
$conditions = "LEFT JOIN {$tablepre}threadtypes tt ON (tt.typeid=t.typeid) LEFT JOIN {$tablepre}forums f ON (f.fid=t.fid) WHERE t.fid<>'$fid' AND f.fid=t.fid AND f.fid IN ($fids) ORDER BY t.dateline DESC LIMIT 0, 11";
break;
case newreply:
$table = 'threads t';
$cols = "t.tid, t.typeid, t.subject, t.author, t.dateline, t.views, t.replies, t.lastpost, t.lastposter, t.highlight, f.name, tt.name AS idname";
$fids="1,3";//例如 "1,2,3";
$conditions = "LEFT JOIN {$tablepre}threadtypes tt ON (tt.typeid=t.typeid) LEFT JOIN {$tablepre}forums f ON (f.fid=t.fid) WHERE t.fid<>'$fid' AND f.fid=t.fid AND f.fid IN ($fids) AND t.replies !=0 ORDER BY t.lastpost DESC LIMIT 0, 11";
break;
[
本帖最後由 doctor 於 2006-2-9 02:20 編輯
]
AL8 Forum © All rights reserved.
alan888
0000001
頭銜: Administrator
自述: skywalker
帖子: 21877
精華:
195
積分: 558095 點
現金: 78355948 元
存款: 144392954 元
閱讀權限: 120
註冊: 2003-11-13
來自: Hong Kong
狀態: 離線
#46
大
中
小
發表於 2006-2-9 02:14
資料
個人空間
主頁
短消息
加為好友
不是 (2 個)
$table = 'threads t, cdb_forums f';
是
$table = 'threads t';
AL8 Forum © All rights reserved.
doctor
0011743
頭銜: Member
帖子: 71
精華: 0
積分: 960 點
現金: 1 元
存款: 345 元
閱讀權限: 15
註冊: 2004-11-18
狀態: 離線
#47
大
中
小
發表於 2006-2-9 02:22
資料
個人空間
短消息
加為好友
QUOTE:
原帖由
alan888
於 2006-2-9 02:14 發表。
不是 (2 個)
$table = 'threads t, cdb_forums f';
是
$table = 'threads t';
是的
刚刚发现
AL8 Forum © All rights reserved.
doctor
0011743
頭銜: Member
帖子: 71
精華: 0
積分: 960 點
現金: 1 元
存款: 345 元
閱讀權限: 15
註冊: 2004-11-18
狀態: 離線
#48
大
中
小
發表於 2006-2-9 02:24
資料
個人空間
短消息
加為好友
演示。。。。。。。。。
附件:
您所在的用戶組無法下載或查看附件
AL8 Forum © All rights reserved.
DarkCircle
0039155
頭銜: Newbie
帖子: 20
精華: 0
積分: 280 點
現金: 100 元
存款: 0 元
閱讀權限: 10
註冊: 2006-1-24
狀態: 離線
#49
大
中
小
發表於 2006-2-9 04:31
資料
個人空間
短消息
加為好友
不小心忘了在改完 cache.func.php 後就去更新緩存 !
結果會變這樣 !
[Copy to clipboard]
[
-
]
CODE:
Discuz! info: MySQL Query Error
User: TonTon
Time: 2006-2-9 4:28am
Script: /discuz/admincp.php
SQL: SELECT * FROM cdb_
Error: Table 'discuz.cdb_' doesn't exist
Errno.: 1146
Similar error report has beed dispatched to administrator before.
因此我只好重頭來做 ! 把檔案都改回來 !結果一樣的說 Orz
AL8 Forum © All rights reserved.
dzfreddy
0035860
頭銜: Discuz Team
暱稱: Freddy
帖子: 80
精華: 0
積分: 210 點
現金: 167 元
存款: 1000 元
閱讀權限: 70
註冊: 2005-11-28
來自: Discuz.net
狀態: 離線
#50
大
中
小
發表於 2006-2-9 10:21
資料
個人空間
主頁
短消息
加為好友
支持老大的插件.
AL8 Forum © All rights reserved.
apanhu
0039191
頭銜: Member
帖子: 61
精華: 0
積分: 730 點
現金: 0 元
存款: 114 元
閱讀權限: 15
註冊: 2006-1-25
狀態: 離線
#51
大
中
小
發表於 2006-2-9 11:54
資料
個人空間
主頁
短消息
加為好友
楼主,foruminfo.htm这个文件有简体的吗,我下载后打开里面有些乱码,看不懂,不敢改啊
[Copy to clipboard]
[
-
]
CODE:
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
<tr class="header"><td colspan="4">$bbname {lang index_announcements}</td></tr>
<tr bgcolor="{ALTBG2}" align="center">
<td colspan="4" align="center">
<!--{if empty($announcements)}-->
{lang index_noannouncement}
<!--{else}-->
<marquee direction="left" scrollamount="3" onMouseOver="this.stop();" onMouseOut="this.start();">
$announcements
</marquee>
<!--{/if}-->
</td></tr>
<tr>
<td width="25%" valign="top" bgcolor="{ALTBG2}" align="left"onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="2" cellpadding="0" border="0" width="{TABLEWIDTH}" valign="top" align="center">
<!--{if !$discuz_user}-->
<tr class="mediumtxt">
<td class="bold">
叫<a href="register.php">{lang register}</a>Θn{lang memberlist}:</td></tr>
<tr>
<td class="smalltxt">
ㄓs $mem_home Y砐, 瞷{lang register}Θn穦z簡秘瞷 100 翴, ノ岱ぉ <span class="bold">{$bbname}</span> Y兜_笆ぇノ
</td></tr>
<tr class="mediumtxt">
<td class="bold"><br>
<a href="index.php">$bbname</a>穦z祅嘲</td></tr>
<tr>
<td class="smalltxt">
<form method="post" name="login" action="logging.php?action=login">
<input type="hidden" name="formhash" value="{FORMHASH}">
<input type="hidden" name="referer" value="$referer">
{lang username}<input type="text" name="username" size="14" maxlength="40" tabindex="1"><br>
{lang password}<input type="password" name="password" size="14" tabindex="2"><br>
</td></tr><tr><td height="3"></td></tr><tr><td>
<input type="submit" name="loginsubmit" value="е硉{lang login}"> ┪ <a href="$link_login">^h{lang login}</a>
</form>
</td></tr>
<!--{/if}-->
<!--{if $discuz_uid}-->
<tr class="mediumtxt">
<td>
<b>$discuz_userss</b> <!--{if $invisible}--> [ {lang login_invisible_mode}]<!--{else}--> R豸僯<!--{/if}--></td></tr>
<tr>
<td class="smalltxt">
{lang index_status}: <span class="bold"><!--{if $validdays}--><a href="member.php?action=groupexpiry"><span class="bold">$grouptitle</span>($validdays)</a><!--{else}--><span class="bold">$grouptitle</span><!--{/if}--></span> <br>
{lang lastvisit}: <span class="bold">$lastvisittime</span><br>
{lang credits}: <span class="bold">$credits</span><br>
<!--{loop $extcredits $id $credit}-->
$credit[title]: <span class="bold">$GLOBALS[extcredits.$id]</span> $credit[unit]<br>
<!--{/loop}-->
IP<span class="bold">$onlineip</span> <br>
{lang location}<span class="bold">$mem_home</span><br>
╰参<font face="Impact">$visitor_os</font><br>
{lang stats_browser}<font face="Impact">$visitor_browser</font><br>
穝{lang pm}<a href="pm.php" target=_bank>
<!--{if $newpm ==0}-->⊿Τ穝{lang pm}<!--{else}-->
<span class="bold"> $newpmnum</span> 兵</a><!--{/if}--><br>
<a href="search.php?srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}">穝┇</a> |
<a href="member.php?action=markread" title="{lang mark_read}">夹弄</a> | <a href="search.php?srchuid=$discuz_uid&mytopics=yes&searchsubmit=yes" title="{lang show_mytopics}">и┇</a> | <a href="digest.php" title="{lang digest}">弘地</a> |<!--{if $allowuseblog}--><a href="blog.php?uid=$discuz_uid" title="{lang blog}" target="_blank">{lang blog}</a><!--{/if}-->
<!--{/if}-->
</td></tr>
</table>
</td>
<td width="21%"valign="top" bgcolor="{ALTBG2}" align="left"onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="2" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center">
<tr class="mediumtxt">
<td class="bold">
<a href="index.php">$bbname</a> 戈</td></tr>
<tr><td class="smalltxt">
祇h肈{lang total}: <span class="bold">$threads</span> 絞<br>
┇濿计{lang total}: <span class="bold">$posts</span> 絞<br>
穦z羆计: <span class="bold">$totalmembers</span> <br>
琌ら梤穦z: <span class="bold">$todayvisit</span> <br>
琌ら矼lang stats_main_members_count}: <span class="bold">$todaynewmems</span> <br>
I絬计: <span class="bold">$onlinenum</span> <br>
{lang stats_main_new}: <a href="viewpro.php?username=$memberenc"><font face="Impact">$lastmember</font></a><br>
</td></tr>
<td class="bold">
穓_阶韭</td>
<tr><td class="smalltxt">
<input type="text" name="searchbox1" value="块闽龄Y" size="10" class="altbg2" onfocus="this.value=''"> <input type="button" value="穓_" style="height: 1.8em" onclick="window.open('search.php?srchtxt='+findobj('searchbox1').value+'&searchsubmit=yes');">
<br>
<a href="search.php">蔼c穓_</a>
</td></tr>
</table>
<td width="27%" valign="top" bgcolor="{ALTBG2}" align="left"onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="2" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center"> <tr>
<td width="100%" class="bold">程穝祇ゅ彻</td></tr>
<tr><td class="smalltxt">
<!--{loop $new_post_threadlist $nthread}-->
<!--{if $nthread[replies]}-->
<a href="redirect.php?tid=$nthread[tid]&goto=lastpost#lastpost" title="{lang forum}: $nthread[forumname]{LF}{lang subject}: $nthread[subject]{LF}{lang author}: $nthread[author]{LF}祇徒lang time}: $nthread[date]{LF}{lang order_views}: $nthread[views] Ω {LF}{lang replies}: $nthread[replies] Ω{LF}程AE滦: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]" $nthread[highlight] >$nthread[view_subject]</a><br>
<!--{else}-->
<a href="redirect.php?tid=$nthread[tid]&goto=lastpost#lastpost" title="{lang forum}: $nthread[forumname]{LF}{lang subject}: $nthread[subject]{LF}{lang author}: $nthread[author]{LF}祇徒lang time}: $nthread[date]{LF}{lang order_views}: $nthread[views] Ω{LF}{lang replies}: 既⊿ΤE滦" $nthread[highlight] >$nthread[view_subject]</a><br><!--{/if}-->
<!--{/loop}-->
</td></tr></table>
</td>
<td width="27%" valign="top" bgcolor="{ALTBG2}" align="left"onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="2" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center"> <tr>
<td width="100%" class="bold">程穝E滦ゅ彻</td></tr>
<tr><td class="smalltxt">
<!--{loop $new_reply_threadlist $rthread}-->
<a href="redirect.php?tid=$rthread[tid]&goto=lastpost#lastpost" title="{lang forum}: $rthread[forumname]{LF}{lang subject}: $rthread[subject]{LF}{lang author}: $rthread[author]{LF}祇徒lang time}: $rthread[date]{LF}{lang order_views}: $rthread[views] Ω{LF}{lang replies}: $rthread[replies] Ω{LF}程AE滦: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]" $rthread[highlight]>$rthread[view_subject]</a><br>
<!--{/loop}-->
</td></tr></table>
</td></tr></table>
AL8 Forum © All rights reserved.
doctor
0011743
頭銜: Member
帖子: 71
精華: 0
積分: 960 點
現金: 1 元
存款: 345 元
閱讀權限: 15
註冊: 2004-11-18
狀態: 離線
#52
大
中
小
發表於 2006-2-9 12:35
資料
個人空間
短消息
加為好友
简体版:
[Copy to clipboard]
[
-
]
CODE:
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
<tr class="header"><td colspan="4">$bbname {lang index_announcements}</td></tr>
<tr bgcolor="{ALTBG2}" align="center">
<td colspan="4" align="center">
<!--{if empty($announcements)}-->
{lang index_noannouncement}
<!--{else}-->
<marquee direction="left" scrollamount="3" onMouseOver="this.stop();" onMouseOut="this.start();">
$announcements
</marquee>
<!--{/if}-->
</td></tr>
<tr>
<td width="25%" valign="top" bgcolor="{ALTBG2}" align="left"onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="2" cellpadding="0" border="0" width="{TABLEWIDTH}" valign="top" align="center">
<!--{if !$discuz_user}-->
<tr class="mediumtxt">
<td class="bold">
请即<a href="register.php">{lang register}</a>成为{lang memberlist}:</td></tr>
<tr>
<td class="smalltxt">
来自 $mem_home 的访客, 现{lang register}成为会员即获赠现金 100 点, 用作参予 <span class="bold">{$bbname}</span> 的各项活动之用。
</td></tr>
<tr class="mediumtxt">
<td class="bold"><br>
<a href="index.php">$bbname</a>会员登陆</td></tr>
<tr>
<td class="smalltxt">
<form method="post" name="login" action="logging.php?action=login">
<input type="hidden" name="formhash" value="{FORMHASH}">
<input type="hidden" name="referer" value="$referer">
{lang username}:<input type="text" name="username" size="14" maxlength="40" tabindex="1"><br>
{lang password} :<input type="password" name="password" size="14" tabindex="2"><br>
</td></tr><tr><td height="3"></td></tr><tr><td>
<input type="submit" name="loginsubmit" value="快速{lang login}"> 或 <a href="$link_login">安全{lang login}</a>
</form>
</td></tr>
<!--{/if}-->
<!--{if $discuz_uid}-->
<tr class="mediumtxt">
<td>
<b>$discuz_userss</b> <!--{if $invisible}--> [ {lang login_invisible_mode}]<!--{else}--> 个人资料<!--{/if}--></td></tr>
<tr>
<td class="smalltxt">
{lang index_status}: <span class="bold"><!--{if $validdays}--><a href="member.php?action=groupexpiry"><span class="bold">$grouptitle</span>($validdays)</a><!--{else}--><span class="bold">$grouptitle</span><!--{/if}--></span> <br>
{lang lastvisit}: <span class="bold">$lastvisittime</span><br>
{lang credits}: <span class="bold">$credits</span><br>
<!--{loop $extcredits $id $credit}-->
$credit[title]: <span class="bold">$GLOBALS[extcredits.$id]</span> $credit[unit]<br>
<!--{/loop}-->
IP:<span class="bold">$onlineip</span> <br>
{lang location}:<span class="bold">$mem_home</span><br>
系统:<font face="Impact">$visitor_os</font><br>
{lang stats_browser}:<font face="Impact">$visitor_browser</font><br>
新{lang pm}:<a href="pm.php" target=_bank>
<!--{if $newpm ==0}-->没有新{lang pm}<!--{else}-->
共<span class="bold"> $newpmnum</span> 条</a><!--{/if}--><br>
<a href="search.php?srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}">新帖</a> |
<a href="member.php?action=markread" title="{lang mark_read}">标读</a> | <a href="search.php?srchuid=$discuz_uid&mytopics=yes&searchsubmit=yes" title="{lang show_mytopics}">我帖</a> | <a href="digest.php" title="{lang digest}">精华</a> |<!--{if $allowuseblog}--><a href="blog.php?uid=$discuz_uid" title="{lang blog}" target="_blank">{lang blog}</a><!--{/if}-->
<!--{/if}-->
</td></tr>
</table>
</td>
<td width="25%"valign="top" bgcolor="{ALTBG2}" align="left"onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="2" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center">
<tr class="mediumtxt">
<td class="bold">
<a href="index.php">$bbname</a> 资料</td></tr>
<tr><td class="smalltxt">
发表主题{lang total}: <span class="bold">$threads</span> 篇<br>
帖子总数{lang total}: <span class="bold">$posts</span> 篇<br>
会员总数: <span class="bold">$totalmembers</span> 人 <br>
今日到访会员: <span class="bold">$todayvisit</span> 人 <br>
今日加入{lang stats_main_members_count}: <span class="bold">$todaynewmems</span> 人<br>
在线人数: <span class="bold">$onlinenum</span> 人<br>
{lang stats_main_new}: <a href="viewpro.php?username=$memberenc"><font face="Impact">$lastmember</font></a><br>
</td></tr>
<td class="bold">
搜索论坛</td>
<tr><td class="smalltxt">
<input type="text" name="searchbox1" value="输入关键字" size="10" class="altbg2" onfocus="this.value=''"> <input type="button" value="搜索" style="height: 1.8em" onclick="window.open('search.php?srchtxt='+findobj('searchbox1').value+'&searchsubmit=yes');">
<br>
<a href="search.php">高级搜索</a>
</td></tr>
</table>
<td width="25%" valign="top" bgcolor="{ALTBG2}" align="left"onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="2" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center"> <tr>
<td width="100%" class="bold">最新发表文章</td></tr>
<tr><td class="smalltxt">
<!--{loop $new_post_threadlist $nthread}-->
<!--{if $nthread[replies]}-->
<a href="redirect.php?tid=$nthread[tid]&goto=lastpost#lastpost" title="{lang forum}: $nthread[forumname]{LF}{lang subject}: $nthread[subject]{LF}{lang author}: $nthread[author]{LF}发表{lang time}: $nthread[date]{LF}{lang order_views}: $nthread[views] 次 {LF}{lang replies}: $nthread[replies] 次{LF}最後回覆: $nthread[lastreplytime]{LF}{lang lastpost}: $nthread[lastposter]" $nthread[highlight] >$nthread[view_subject]</a><br>
<!--{else}-->
<a href="redirect.php?tid=$nthread[tid]&goto=lastpost#lastpost" title="{lang forum}: $nthread[forumname]{LF}{lang subject}: $nthread[subject]{LF}{lang author}: $nthread[author]{LF}发表{lang time}: $nthread[date]{LF}{lang order_views}: $nthread[views] 次{LF}{lang replies}: 暂时没有回覆" $nthread[highlight] >$nthread[view_subject]</a><br><!--{/if}-->
<!--{/loop}-->
</td></tr></table>
</td>
<td width="25%" valign="top" bgcolor="{ALTBG2}" align="left"onMouseOver="this.style.backgroundColor='{ALTBG1}'" onMouseOut="this.style.backgroundColor='{ALTBG2}'">
<table cellspacing="2" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center"> <tr>
<td width="100%" class="bold">最新回复文章</td></tr>
<tr><td class="smalltxt">
<!--{loop $new_reply_threadlist $rthread}-->
<a href="redirect.php?tid=$rthread[tid]&goto=lastpost#lastpost" title="{lang forum}: $rthread[forumname]{LF}{lang subject}: $rthread[subject]{LF}{lang author}: $rthread[author]{LF}发表{lang time}: $rthread[date]{LF}{lang order_views}: $rthread[views] 次{LF}{lang replies}: $rthread[replies] 次{LF}最後回覆: $rthread[lastreplytime]{LF}{lang lastpost}: $rthread[lastposter]" $rthread[highlight]>$rthread[view_subject]</a><br>
<!--{/loop}-->
</td></tr></table>
</td></tr></table>
AL8 Forum © All rights reserved.
ct5743
0037802
頭銜: Conqueror
帖子: 213
精華: 0
積分: 1472 點
現金: 0 元
存款: 186 元
閱讀權限: 20
註冊: 2005-12-31
狀態: 離線
#53
大
中
小
發表於 2006-2-9 16:35
資料
個人空間
短消息
加為好友
User: ct5743
Time: 2006-2-9 4:35pm
Script: /admincp.php
SQL: SELECT t.tid, t.subject, t.author, t.dateline, t.views, t.replies, t.lastpost, t.lastposter, t.highlight, f.name FROM cdb_threads t, cdb_forums f WHERE t.fid<>'' AND f.fid=t.fid AND f.fid IN (3,4,6,7,8,9,10,11,12,13,14,15,16,25,,18,19,20,22,23,27,28,31,32,34,35,36,37 ) ORDER BY t.dateline DESC LIMIT 0, 11
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '18,19,20,22,23,27,28,31,32,34,35,36,37 ) ORDER BY t.dateline DE
Errno.: 1064
AL8 Forum © All rights reserved.
安全提問
0039229
頭銜: Member
帖子: 83
精華: 0
積分: 1049 點
現金: 7 元
存款: 0 元
閱讀權限: 15
註冊: 2006-1-26
狀態: 離線
#54
大
中
小
發表於 2006-2-9 20:17
資料
個人空間
主頁
短消息
加為好友
QUOTE:
在下面加上 (注意先填妥紅字部份)
由於使用快取檔型式, 故某些私密區不能判斷會員權限來顯示發帖及回帖, 所以要先修改及取代下紅字部份 "填上需要顯示回帖區域的 fid 編號, 以逗號作分格, 最後一個不用加上逗號" 部份, 例如希望顯示 fid 1,3,5 便填上 "$fids=(1,3,5);"
如果我想全部呢?
除了某d版面
咁我可以點做?
AL8 Forum © All rights reserved.
Jonathan88
0036148
頭銜: Conqueror
帖子: 115
精華: 0
積分: 580 點
現金: 483 元
存款: 0 元
閱讀權限: 20
註冊: 2005-12-2
狀態: 離線
#55
大
中
小
發表於 2006-2-9 20:32
資料
個人空間
短消息
加為好友
Warning: main(d:\appserv\www\3aforum\./forumdata/templates/1_foruminfo.tpl.php): failed to open stream: No such file or directory in d:\appserv\www\3aforum\forumdata\templates\1_index.tpl.php on line 10
Warning: main(d:\appserv\www\3aforum\./forumdata/templates/1_foruminfo.tpl.php): failed to open stream: No such file or directory in d:\appserv\www\3aforum\forumdata\templates\1_index.tpl.php on line 10
Warning: main(): Failed opening 'd:\appserv\www\3aforum\./forumdata/templates/1_foruminfo.tpl.php' for inclusion (include_path='.;c:\php4\pear') in d:\appserv\www\3aforum\forumdata\templates\1_index.tpl.php on line 10
請問咩事=.=? (已解決, 原來是我忘記上傳foruminfo=.+")
[
本帖最後由 Jonathan88 於 2006-2-9 20:33 編輯
]
AL8 Forum © All rights reserved.
doctor
0011743
頭銜: Member
帖子: 71
精華: 0
積分: 960 點
現金: 1 元
存款: 345 元
閱讀權限: 15
註冊: 2004-11-18
狀態: 離線
#56
大
中
小
發表於 2006-2-9 20:48
資料
個人空間
短消息
加為好友
QUOTE:
原帖由
ct5743
於 2006-2-9 16:35 發表。
User: ct5743
Time: 2006-2-9 4:35pm
Script: /admincp.php
SQL: SELECT t.tid, t.subject, t.author, t.dateline, t.views, t.replies, t.lastpost, t.lastposter, t.highlight, f.name FROM cdb_threads t ...
QUOTE: