<%Option Explicit%> <%Server.ScriptTimeout=60%> <%dim GuWebpageSort:GuWebpageSort="User"%> <%dim GuWebpageName:GuWebpageName=""%> <%dim GuWebpageTitle:GuWebpageTitle=""%> <%call GuArticleReadReplaceData()%> <% dim AP_ID,AP_Name,AP_Code,AP_Purview,AP_Money,AP_Integral,AP_Distance,AP_Type dim SA_Name,SA_NameStyle,SA_Target,SA_Title dim SB_Name,SB_NameStyle,SB_Target,SB_Title dim AR_ID,AR_Icon,AR_Name,AR_NameBrief,AR_NameStyle,AR_SortA,AR_SortB,AR_Permission,AR_Author,AR_Href,AR_From,AR_Column,AR_Keyword,AR_Tag,AR_Content,AR_ContentAdditional,AR_Integral,AR_DateDay,AR_DateWeek,AR_DateMonth,AR_HitsDay,AR_HitsWeek,AR_HitsMonth,AR_Hits,AR_StatusSortA,AR_StatusSortB,AR_Status,AR_Comment,AR_Publish,AR_Publisher,AR_Member,AR_Administrator,AR_IP,AR_DateTime dim MemberLoginBoolean,ME_Account,ME_Grade,ME_Money,MR_DateTime dim GuSQLSort,GuPageRedirect,ArticleDataBoolean,ArticleHrefBoolean,ArticleFromBoolean,ArticleTagBoolean,ArticlePageBoolean call ArticleDataCheck() if ArticleDataBoolean=true and trim(Request.QueryString("GuComm"))="" and GuExplorerFileExists("Index.html")=true and GuExplorerFileExists(""&WebsiteFolderArticle&"/"&GuArticlePresent&""&GuPageRedirect&".html")=true then Response.Redirect ""&WebsiteFolderArticle&"/"&GuArticlePresent&""&GuPageRedirect&".html" Response.End end if if AR_SortA>=1 and AR_SortB>=1 then GuSQLSort="(AR_SortA="&AR_SortA&" or AR_SortB="&AR_SortB&") and" else GuSQLSort="" end if %> <%=AR_Name%>__<%=WebsiteName%>
<%if instr(SearchFormParameter,"LeftShow")>=1 then%>
    <%=SearchLeftTitle%>
<%call SearchLeft()%> <%end if%> <%if instr(ArticlePageParameter,"ColumnCommendShow")>=1 then%>
    <%=ArticleColumnCommendTitle%>       More...
<% dim ARCC set ARCC=Server.CreateObject("ADODB.RecordSet") SQL="select top "&ArticleColumnCommendTop&" * from "&GuDatabaseTablePrefix&"_Article_Data where "&GuSQLSort&" AR_Column like '%Commend%' and AR_StatusSortA='Show' and AR_StatusSortB='Show' and instr(AR_Status,'Approve')>=1 and instr(AR_Status,'Show')>=1 order by AR_ID desc,AR_DateTime desc" ARCC.Open SQL,ACMA,1,1 if ARCC.Bof and ARCC.Eof then Response.Write "" else CC=1 do while not ARCC.Eof GuResourceContentData=GuFilterHTML(ARCC("AR_Content")) GuResourceContentData=GuReplaceString(GuResourceContentData,ArticleReadReplaceData) %><% CC=CC+1 ARCC.MoveNext loop end if ARCC.Close set ARCC=nothing %>
  没有找到相关数据
" GuHrefArticle><%if ARCC("AR_Icon")="" or isNull(ARCC("AR_Icon"))=true then%><%=ARCC(" title="<%=ARCC("AR_Name")%>  <%=DateValue(ARCC("AR_DateTime"))%>" style="width:32px;height:32px;border:0px;" /><%else%>" alt="<%=ARCC("AR_Name")%>" title="<%=ARCC("AR_Name")%>  <%=DateValue(ARCC("AR_DateTime"))%>" style="width:32px;height:32px;border:0px;" /><%end if%> " GuHrefArticle title="<%=ARCC("AR_Name")%>  <%=DateValue(ARCC("AR_DateTime"))%>" class="BlackS12" style="font-family:<%=split(ARCC("AR_NameStyle")&"|||","|")(1)%>;font-size:<%=split(ARCC("AR_NameStyle")&"|||","|")(2)%>;color:<%=split(ARCC("AR_NameStyle")&"|||","|")(3)%>;"><%=GuLeftString(ARCC("AR_Name"),ArticleColumnCommendLeft)%>
" GuHrefArticle title="<%=GuLeftString(GuResourceContentData,200)%>" class="GrayS12"><%=GuLeftString(GuResourceContentData,ArticleColumnCommendLeft)%>
<%end if%> <%if instr(ArticlePageParameter,"HitsReadShow")>=1 then%>
    <%=ArticleHitsReadTitle%>
<% dim ARHW set ARHW=Server.CreateObject("ADODB.RecordSet") SQL="select top "&ArticleHitsReadTop&" * from "&GuDatabaseTablePrefix&"_Article_Data where "&GuSQLSort&" AR_StatusSortA='Show' and AR_StatusSortB='Show' and instr(AR_Status,'Approve')>=1 and instr(AR_Status,'Show')>=1 order by AR_HitsWeek desc,AR_ID desc" ARHW.Open SQL,ACMA,1,1 if ARHW.Bof and ARHW.Eof then Response.Write "" else HH=1 do while not ARHW.Eof GuResourceContentData=GuFilterHTML(ARHW("AR_Content")) GuResourceContentData=GuReplaceString(GuResourceContentData,ArticleReadReplaceData) %><% HH=HH+1 ARHW.MoveNext loop end if ARHW.Close set ARHW=nothing %>
  没有找到相关数据
" GuHrefArticle><%if ARHW("AR_Icon")="" or isNull(ARHW("AR_Icon"))=true then%><%=ARHW(" title="<%=ARHW("AR_Name")%>  <%=DateValue(ARHW("AR_DateTime"))%>" style="width:32px;height:32px;border:0px;" /><%else%>" alt="<%=ARHW("AR_Name")%>" title="<%=ARHW("AR_Name")%>  <%=DateValue(ARHW("AR_DateTime"))%>" style="width:32px;height:32px;border:0px;" /><%end if%> " GuHrefArticle title="<%=ARHW("AR_Name")%>  <%=DateValue(ARHW("AR_DateTime"))%>" class="BlackS12" style="font-family:<%=split(ARHW("AR_NameStyle")&"|||","|")(1)%>;font-size:<%=split(ARHW("AR_NameStyle")&"|||","|")(2)%>;color:<%=split(ARHW("AR_NameStyle")&"|||","|")(3)%>;"><%=GuLeftString(ARHW("AR_Name"),ArticleHitsReadLeft)%>
" GuHrefArticle title="<%=GuLeftString(GuResourceContentData,200)%>" class="GrayS12"><%=GuLeftString(GuResourceContentData,ArticleHitsReadLeft)%>
<%end if%>
  文 章 信 息
<% if ArticleDataBoolean=true then call ArticleList() call ArticleReadNote() else GuSystemMessageCode=1810 GuSystemMessageTitle="" GuSystemMessageContent="读取数据出现错误,没有找到相关数据。" GuSystemMessageURL="" call GuSystemMessage() end if sub ArticleList() call ArticleDataLoad() call ArticlePageCheck() call MemberLoginCheck() call MemberReadLoad() call MemberGradeCheck() %>
   <%if AR_Icon="" or isNull(AR_Icon)=true then%><%else%><%end if%> ;font-size:<%=split(AR_NameStyle&"|||","|")(2)%>;color:<%=split(AR_NameStyle&"|||","|")(3)%>;"><%=AR_Name%>
<%if instr(GuestbookPageParameter,"GuestbookEnabled")>=1 then%>[留言]<%end if%><%if instr(CommentPageParameter,"CommentEnabledMember")>=1 or instr(CommentPageParameter,"CommentShowMember")>=1 then%>[评论]<%end if%><%if instr(MemberFavoritePageParameter,"ArticleEnabled")>=1 then%>[收藏]<%end if%>
[文章分类:;font-size:<%=split(SA_NameStyle&"|||","|")(2)%>;color:<%=split(SA_NameStyle&"|||","|")(3)%>;"><%=GuLeftString(SA_Name,14)%>/;font-size:<%=split(SB_NameStyle&"|||","|")(2)%>;color:<%=split(SB_NameStyle&"|||","|")(3)%>;"><%=GuLeftString(SB_Name,20)%>][字体:隶体/楷体/宋体/黑体][字号:12px/14px/16px/18px][颜色:] 
<%if ArticleTagBoolean=true then%> <%end if%>
<%=GuResourceContentData%><%call ArticlePageList("Article.asp")%>
文章标签:<%call ArticleTagLoad()%>
文章作者:<%if AR_Author="" or isNull(AR_Author)=true then Response.write "未知" else Response.write AR_Author end if%>  <%call ArticleHrefLoad()%><%if ArticleFromBoolean=true then%>文章来源:<%call ArticleFromLoad()%><%end if%>整理日期:<%=DateValue(AR_DateTime)%>
<%if instr(ArticlePageParameter,"ReadStatShow")>=1 then%>[文章浏览:]<%else%>[页面刷新:<%=now()%>]<%end if%>[打印文章]<%if instr(SendPageParameter,"SendEnabled")>=1 then%>[发送文章]<%end if%>
<% dim ArticleBackBoolean,ArticleBackData if instr(ArticlePageParameter,"BackArticleShow")>=1 then dim ARAB set ARAB=Server.CreateObject("ADODB.RecordSet") SQL="select top "&ArticleBackArticleTop&" * from "&GuDatabaseTablePrefix&"_Article_Data where AR_StatusSortA='Show' and AR_StatusSortB='Show' and instr(AR_Status,'Approve')>=1 and instr(AR_Status,'Show')>=1 and AR_Keyword='"&GuKeywordTwo&"' and AR_ID<"&GuArticlePresent&" order by AR_ID desc" ARAB.Open SQL,ACMA,1,1 if ARAB.Bof and ARAB.Eof then Response.Write "" ArticleBackBoolean=false ArticleBackData="" else ArticleBackBoolean=true ArticleBackData="" do while not ARAB.Eof ArticleBackData=ArticleBackData+"·"&GuLeftString(ARAB("AR_Name"),ArticleBackArticleLeft)&" "&DateValue(ARAB("AR_DateTime"))&"
" ARAB.MoveNext loop end if ARAB.Close set ARAB=nothing else ArticleBackBoolean=false ArticleBackData="" end if dim ArticleNextBoolean,ArticleNextData if instr(ArticlePageParameter,"NextArticleShow")>=1 then dim ARAN set ARAN=Server.CreateObject("ADODB.RecordSet") SQL="select top "&ArticleNextArticleTop&" * from "&GuDatabaseTablePrefix&"_Article_Data where AR_StatusSortA='Show' and AR_StatusSortB='Show' and instr(AR_Status,'Approve')>=1 and instr(AR_Status,'Show')>=1 and AR_Keyword='"&GuKeywordTwo&"' and AR_ID>"&GuArticlePresent&" order by AR_ID asc" ARAN.Open SQL,ACMA,1,1 if ARAN.Bof and ARAN.Eof then Response.Write "" ArticleNextBoolean=false ArticleNextData="" else ArticleNextBoolean=true ArticleNextData="" do while not ARAN.Eof ArticleBackData=ArticleBackData+"·"&GuLeftString(ARAN("AR_Name"),ArticleNextArticleLeft)&" "&DateValue(ARAN("AR_DateTime"))&"
" ARAN.MoveNext loop end if ARAN.Close set ARAN=nothing else ArticleNextBoolean=false ArticleNextData="" end if if ArticleBackBoolean=true or ArticleNextBoolean=true then %>
上下篇章
<%=ArticleBackData%><%=ArticleNextData%>
<% end if if instr(ArticlePageParameter,"LikeArticleShow")>=1 then dim ARAL set ARAL=Server.CreateObject("ADODB.RecordSet") SQL="select top "&ArticleLikeArticleTop&" * from "&GuDatabaseTablePrefix&"_Article_Data where AR_StatusSortA='Show' and AR_StatusSortB='Show' and instr(AR_Status,'Approve')>=1 and instr(AR_Status,'Show')>=1 and (AR_Name like '%"&left((GuKeywordOne),4)&"%' or AR_Keyword like '%"&left((GuKeywordTwo),4)&"%') and AR_ID<>"&GuArticlePresent&"" ARAL.Open SQL,ACMA,1,1 if ARAL.Bof and ARAL.Eof then Response.Write "" else %>
相关文章
<% do while not ARAL.Eof Response.Write "·"&GuLeftString(ARAL("AR_Name"),ArticleLikeArticleLeft)&" "&DateValue(ARAL("AR_DateTime"))&"
" ARAL.MoveNext loop %>
<% end if ARAL.Close set ARAL=nothing end if end sub sub ArticleReadNote() if instr(ArticlePageParameter,"ReadNoteShow")>=1 then dim ARARN set ARARN=Server.CreateObject("ADODB.RecordSet") SQL="select * from "&GuDatabaseTablePrefix&"_Config where CO_ID=10000001" ARARN.Open SQL,ACMA,1,1 if ARARN.Bof and ARARN.Eof then Response.Write "" else %>
阅读说明
<%=replace(ARARN("CO_ArticleReadNoteText"),"[WebsitePath]",WebsitePath)%>
<% end if ARARN.Close set ARARN=nothing end if end sub %>
<%call GuDatabaseClose()%>