SclubFans's Archiver

huaekin 发表于 2023-8-14 21:50

管理大大,我的首页出了个小问题

[i=s] 本帖最后由 huaekin 于 2023-8-14 22:11 编辑 [/i]

[attach]710[/attach]

[url]http://9528.gain.tw/[/url]
首页版块主题点击后提示
指定的主题不存在或已被删除或正在被审核,请返回 的错误。

有两个代码,可能没结合好,能不能帮我看一下。[code]<!--{elseif is_array($forum['lastpost'])}-->
{eval $q2=$db->fetch_array($db->query("SELECT lastpost FROM cdb_forums WHERE fid='$forumid'"));}
{eval $q2=explode("\t",$q2["lastpost"]);}
{eval $q2=$q2[3];}
{eval $q2=$db->fetch_array($db->query("SELECT uid FROM cdb_uc_members WHERE username='$q2'"));}
<div class="oocnsytp_1"><img src="uc_server/avatar.php?uid=<!--{echo $q2['uid'];}-->&size=small" /></div>
class="oocnsytp_2">
<p><font color=#FFB90F>Re:</font><a href="redirect.php?tid=$forum[lastpost][tid]&amp;goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 30)}</a></p>

                                                               
<p><font color=blue>
┌</font><img src="http://9528.gain.tw/attachments/month_2205/22052115418da17499c7842877.gif"/><FONT color=#484AFF>-</FONT><a href="redirect.php?tid=$forum[lastpost]
[tid]&goto=lastpost#lastpost" target="_blank">{echo cutstr($forum[lastpost][subject], 44)}</a></p><cite><font color=green>
├</font><img src="http://9528.gain.tw/attachments/month_2205/22052115419ac52453a42c8bb1.gif"/><FONT
color=#F60>-</FONT><!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> <br><font color=red>
└</font><img src="http://9528.gain.tw/attachments/month_2205/2205211541adc46999f731bcf9.gif"/><FONT color=#8C0066>-</FONT>$forum[lastpost][dateline]</cite>
<!--{else}-->
{lang never}
<!--{/if}-->
<!--{/if}-->
</td>[/code]打开帖子后它没有显示帖子的ID
[url]http://9528.gain.tw/redirect.php?tid=Array[/url][tid]&goto=lastpost#lastpost

Yenifer 发表于 2023-8-14 22:56

建议按照教程回流,有问题的插件代码 就没必要继续安装了呀!

可以提供下账号密码  帮你看一下

Yenifer 发表于 2023-8-20 23:49

{:3_41:}

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.