请求高手解决ASP问题
<!--#includefile="commond.asp"--><!--#includefile="include/function.asp"--><!--#inclu...
<!--#include file="commond.asp" -->
<!--#include file="include/function.asp" -->
<!--#include file="include/ubbcode.asp" -->
<!--#include file="include/library.asp" -->
<!--#include file="header.asp" -->
<%Dim ForumID,Url_Add,forum_Title
ForumID=Trim(Request.QueryString("ForumID"))
If IsInteger(ForumID)=False Then ForumID=0
Url_Add="?"
Dim DigestSQL
If Request.QueryString("ST")="D" Then
If ForumID<>0 Then
DigestSQL=" And thread_IsDigest=True"
Else
DigestSQL=" Where thread_IsDigest=True"
End If
Url_Add=Url_Add&"ST=D&"
End If
SQL="SELECT TOP 260 thread_Author,thread_LastPoster,thread_Icon,thread_ForumID,thread_ID,thread_IsTop,thread_IsDigest,thread_IsClose,thread_Title,thread_PostNums,thread_ViewNums,thread_LastPost,thread_PostTime FROM blog_Threads"&DigestSQL&" ORDER BY thread_IsTop ASC,thread_LastPost DESC"
If ForumID<>0 Then
SQL="SELECT thread_Author,thread_LastPoster,thread_Icon,thread_ForumID,thread_ID,thread_IsTop,thread_IsDigest,thread_IsClose,thread_Title,thread_PostNums,thread_ViewNums,thread_LastPost,thread_PostTime FROM blog_Threads WHERE thread_ForumID="&ForumID&""&DigestSQL&" OR thread_IsTop=True ORDER BY thread_IsTop ASC,thread_LastPost DESC"
Url_Add=Url_Add&"forumID="&ForumID&"&"
End If%><table width="716" border="0" align="center" cellpadding="4" cellspacing="6" background="images/blog_main.gif">
<tr>
<td valign="top" bgcolor="#FFFFFF"><table width="100%" height="71" border="0" cellpadding="0" cellspacing="0" class="wordbreak">
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="69" valign="top">
感谢你能来帮我解决问题,但代码太长了,我写在百度空间里了,希望大家能帮忙,谢谢!!!
代码文章地址http://hi.baidu.com/anuny/blog/item/168b37c39d5cc63ee4dd3b42.html 展开
<!--#include file="include/function.asp" -->
<!--#include file="include/ubbcode.asp" -->
<!--#include file="include/library.asp" -->
<!--#include file="header.asp" -->
<%Dim ForumID,Url_Add,forum_Title
ForumID=Trim(Request.QueryString("ForumID"))
If IsInteger(ForumID)=False Then ForumID=0
Url_Add="?"
Dim DigestSQL
If Request.QueryString("ST")="D" Then
If ForumID<>0 Then
DigestSQL=" And thread_IsDigest=True"
Else
DigestSQL=" Where thread_IsDigest=True"
End If
Url_Add=Url_Add&"ST=D&"
End If
SQL="SELECT TOP 260 thread_Author,thread_LastPoster,thread_Icon,thread_ForumID,thread_ID,thread_IsTop,thread_IsDigest,thread_IsClose,thread_Title,thread_PostNums,thread_ViewNums,thread_LastPost,thread_PostTime FROM blog_Threads"&DigestSQL&" ORDER BY thread_IsTop ASC,thread_LastPost DESC"
If ForumID<>0 Then
SQL="SELECT thread_Author,thread_LastPoster,thread_Icon,thread_ForumID,thread_ID,thread_IsTop,thread_IsDigest,thread_IsClose,thread_Title,thread_PostNums,thread_ViewNums,thread_LastPost,thread_PostTime FROM blog_Threads WHERE thread_ForumID="&ForumID&""&DigestSQL&" OR thread_IsTop=True ORDER BY thread_IsTop ASC,thread_LastPost DESC"
Url_Add=Url_Add&"forumID="&ForumID&"&"
End If%><table width="716" border="0" align="center" cellpadding="4" cellspacing="6" background="images/blog_main.gif">
<tr>
<td valign="top" bgcolor="#FFFFFF"><table width="100%" height="71" border="0" cellpadding="0" cellspacing="0" class="wordbreak">
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="69" valign="top">
感谢你能来帮我解决问题,但代码太长了,我写在百度空间里了,希望大家能帮忙,谢谢!!!
代码文章地址http://hi.baidu.com/anuny/blog/item/168b37c39d5cc63ee4dd3b42.html 展开
4个回答
展开全部
什么问问题???
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
论坛的程序应该在后台可以直接修改显示数,这些页面里面都是参数
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你都不说什么错误,我们怎么知道在那改
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询