?? user_my_board_list.asp
字號:
<%
'===================================================================
'= ASP FILENAME : /user/user_my_board_list.asp
'= CREATED TIME : 2006-5-4
'= LAST MODIFIED: 2006-5-4
'= VERSION INFO : CCASP Framework Ver 2.0.1 ALL RIGHTS RESERVED BY www.cclinux.com
'= DESCRIPTION : 我發表的留言
'= Change Log:
'===================================================================
%>
<!-- #include file = "../inc/customer/include_customer_action_view.asp" -->
<!-- #include file = "../main_func.asp" -->
<!-- #include file = "../inc/inc_ubb.asp" -->
<!-- #include file = "./user_inc.asp" -->
<!-- #include file = "../inc/logic/logic_board.asp" -->
<%
'========================================================
'== Action參數設置
'========================================================
'== 頁面名
Const CONST_PAGE_FILE = "user/user_my_board_list.asp"
'== 頁面標題/功能
Const CONST_PAGE_TITLE = "我發表的留言"
'== 功能函數名字空間
Const CONST_ACTION_FUNC = "ShowUserMyBoardListCtl"
'== 相對根目錄路徑
GBL_strHomeURL = "../"
'== 頁面構造
Call ActionBuild()
'== 在模板中引用的標簽變量
Dim TAG_objRS '== 列表記錄集
Dim TAG_strPageNav '== 翻頁導航
'== 請求校驗與過濾
Call ActionFilter(CONST_PAGE_FILE,CONST_ACTION_FUNC)
'== 頁面析構
Call ActionOver()
%>
<%
'===================================================================
'= Function : LoadPageTpl()
'= Time : Created At 2006-5-4
'= Description : 加載頁面模塊
'===================================================================
Function LoadPageTpl()
%>
<!-- #include file = "../template_c/page_user_my_board_list.html.asp" -->
<%
End Function
'===================================================================
'= Function : ShowUserMyBoardListCtl()
'= Time : Created At 2006-5-3
'= Input : None
'= Description : 我發表的留言
'===================================================================
Function ShowUserMyBoardListCtl()
Dim strFileName '== The file post
Dim intCurPage,intTotalPut
Dim intMaxPerPage '== per page board
Dim strSql
strFileName = "user_my_board_list.asp"
intMaxPerPage = GBL_intMaxPerPage
TAG_intPerPage = GBL_intMaxPerPage
strSql = " AND BOARD_USER_ID=" & GBL_intUserId
If Not GetBoardsLogic(strSql) Then Exit Function
If Not ResultExecute(GBL_objPubDB.intRSNum,"我發表的留言","ES_DB_NO") Then
Set TAG_objRS = GBL_objPubDB.objPubRS
intTotalPut = GBL_objPubDB.intRSNum
intCurPage = GetCurPage(intMaxPerPage,intTotalPut)
If intCurPage > 1 Then
If (intCurPage - 1) * intMaxPerPage < intTotalPut Then
GBL_objPubDB.objPubRS.Move (intCurPage - 1) * intMaxPerPage
Dim BookMark
BookMark = GBL_objPubDB.objPubRS.BookMark
End If
End If
TAG_strPageNav = ShowPageNav(intTotalPut,intMaxPerPage,intCurPage,strFileName)
End If
End Function
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -