日韩天天综合网_野战两个奶头被亲到高潮_亚洲日韩欧美精品综合_av女人天堂污污污_视频一区**字幕无弹窗_国产亚洲欧美小视频_国内性爱精品在线免费视频_国产一级电影在线播放_日韩欧美内地福利_亚洲一二三不卡片区

如何將留言簿的查看模式由討論區(qū)方式改為留言板方式?_動(dòng)易Cms教程

編輯Tag賺U幣
教程Tag:暫無Tag,歡迎添加,賺取U幣!

問題:每次打開留言簿時(shí),總是顯示查看模式:討論區(qū)方式。我在后臺(tái)也沒有找到修改的地方,怎樣才能調(diào)整成默認(rèn)為查看模式:留言板方式。如何將留言簿的查看模式由討論區(qū)方式改為留言板方式?

解決:打開GuestBook/index.asp文件,加上以下紅色部分的代碼即可:

<!--#include file="CommonCode.asp"-->
<%

dim ShowGStyle
ShowGStyle = Request.Cookies("ShowGStyle")
If ShowGStyle="" or Not IsNumeric(ShowGStyle) Then
Response.Cookies("ShowGStyle")=2
End If

Call PE_GuestBook.ShowIndex
Set PE_GuestBook = Nothing
%>

以上方法只適合PowerEasy SP6前版本。

以下方法只適合SiteWeaver版本:

問題:每次打開留言簿時(shí),總是顯示查看模式:討論區(qū)方式。我在后臺(tái)也沒有找到修改的地方,怎樣才能調(diào)整成默認(rèn)為查看模式:留言板方式。如何將留言簿的查看模式由討論區(qū)方式改為留言板方式?

解決:打開Include/PowerEasy.GuestBook.asp文件,在文件最后面加上以下紅色部分的代碼即可:

以下是引用片段:
'=================================================
'函數(shù)名:ShowGueststyle()
'作 用:獲取查看方式
'參 數(shù):無
'=================================================
Private Function GuestStyle()
ShowGStyle = Request.Cookies("ShowGStyle")
If ShowGStyle = "" Or Not IsNumeric(ShowGStyle) Then
ShowGStyle = 1
Else
ShowGStyle = Int(ShowGStyle)
End If
GuestStyle = ShowGStyle
End Function

改為:

  • <tfoot id="euywo"></tfoot>
    <fieldset id="euywo"><kbd id="euywo"></kbd></fieldset>
    <strike id="euywo"><tr id="euywo"></tr></strike>

    以下是引用片段:
    '=================================================
    '函數(shù)名:ShowGueststyle()
    '作 用:獲取查看方式
    '參 數(shù):無
    '=================================================
    Private Function GuestStyle()
    ShowGStyle = Request.Cookies("ShowGStyle")
    If ShowGStyle = "" Or Not IsNumeric(ShowGStyle) Then
    ShowGStyle = 2
    Else
    ShowGStyle = Int(ShowGStyle)
    End If
    GuestStyle = ShowGStyle
    End Function

    查看更多 動(dòng)易Cms教程  動(dòng)易Cms模板

    共2頁上一頁12下一頁
    來源:模板無憂//所屬分類:動(dòng)易Cms教程/更新時(shí)間:2006-04-11
    相關(guān)動(dòng)易Cms教程
      <table id="euywo"></table>