<%
「ページを受信するパラメーターが処理され、表示されるページの数はデフォルトの最初のページです。
'ページパラメーターは、可変ページネムに最初の値を表示させることです:0
ifrequest( "page")= "" then
pagenum = 0
'以下はページパラメーターです
それ以外
pagenum = request( "page")
ifnotisnumeric(pagenum)
calldh.alert( "error!"、 "-1")
それ以外
pagenum = clng(pagenum)
endif
endif%>
<%
'これは、コンテンツフィールドをContentStrに割り当てるための鍵です
contentStr = facty((rs( "dhsl_content"))、 "|||"、 "||||")
%>
<%
'機能スプリストを使用してセグメントを取得し、それらをコンテンツに保存します
contentstr = split(contentstr、 "|||")
'以下は、URLによって取得されたページ変数です
fori = pagenumtopagenum
%>
'その後、コンテンツを表示します
<%= contentstr(i)%>
<%next%>
この記事は次のように分かれています。
<%
forp = 0toubund(contentsstr)
%>
<ahref = "content page name.asp?passedパラメーター= <%= request(" ecceptedパラメーター ")
<%next%>ページ