婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁(yè) > 知識(shí)庫(kù) > ShowPage 顯示“上一頁(yè) 下一頁(yè)”等信息的封裝代碼

ShowPage 顯示“上一頁(yè) 下一頁(yè)”等信息的封裝代碼

熱門(mén)標(biāo)簽:河北智能外呼系統(tǒng)軟件 伊春外呼業(yè)務(wù)系統(tǒng) 調(diào)度系統(tǒng)外呼 綿陽(yáng)防封電銷(xiāo)卡價(jià)格 福建外呼增值業(yè)務(wù)線路 中國(guó)辦理電信400電話 電銷(xiāo)機(jī)器人教育 電銷(xiāo)機(jī)器人源碼網(wǎng)盤(pán)下載 宜賓語(yǔ)音外呼系統(tǒng)軟件
'**************************************************
'函數(shù)名:ShowPage
'作  用:顯示“上一頁(yè) 下一頁(yè)”等信息
'參  數(shù):sFileName  ----鏈接地址
'       TotalNumber ----總數(shù)量
'       MaxPerPage  ----每頁(yè)數(shù)量
'       ShowTotal   ----是否顯示總數(shù)量
'       ShowAllPages ---是否用下拉列表顯示所有頁(yè)面以供跳轉(zhuǎn)。有某些頁(yè)面不能使用,否則會(huì)出現(xiàn)JS錯(cuò)誤。
'       strUnit     ----計(jì)數(shù)單位
'返回值:“上一頁(yè) 下一頁(yè)”等信息的HTML代碼
'**************************************************
function ShowPage(sFileName,TotalNumber,MaxPerPage,ShowTotal,ShowAllPages,strUnit)
    dim TotalPage,strTemp,strUrl,i

    if TotalNumber=0 or MaxPerPage=0 or isNull(MaxPerPage) then
        ShowPage=""
        exit function
    end if
    if totalnumber mod maxperpage=0 then
        TotalPage= totalnumber \&;maxperpage
      Else
        TotalPage= totalnumber \&;maxperpage+1
      end if
    if CurrentPage>TotalPage then CurrentPage=TotalPage

      strTemp= "table align='center'>tr>td>"
    if ShowTotal=true then 
        strTemp=strTemp  "共 b>"  totalnumber  "/b> "  strUnit  "nbsp;nbsp;"
    end if
    strUrl=JoinChar(sfilename)
      if CurrentPage2 then
        strTemp=strTemp  "首頁(yè) 上一頁(yè)nbsp;"
      Else
        strTemp=strTemp  "a href='"  strUrl  "page=1'>首頁(yè)/a>nbsp;"
        strTemp=strTemp  "a href='"  strUrl  "page="  (CurrentPage-1)  "'>上一頁(yè)/a>nbsp;"
      end if

      if CurrentPage>=TotalPage then
        strTemp=strTemp  "下一頁(yè) 尾頁(yè)"
      Else
        strTemp=strTemp  "a href='"  strUrl  "page="  (CurrentPage+1)  "'>下一頁(yè)/a>nbsp;"
        strTemp=strTemp  "a href='"  strUrl  "page="  TotalPage  "'>尾頁(yè)/a>"
      end if
       strTemp=strTemp  "nbsp;頁(yè)次:strong>font color=red>"  CurrentPage  "/font>/"  TotalPage  "/strong>頁(yè) "
        strTemp=strTemp  "nbsp;b>"  maxperpage  "/b>"  strUnit  "/頁(yè)"
    if ShowAllPages=True then
        strTemp=strTemp  "nbsp;nbsp;轉(zhuǎn)到第input type='text' name='page' size='3' maxlength='5' value='"  CurrentPage  "' onKeyPress=""if (event.keyCode==13) window.location='"  strUrl  "page="  "'+this.value;""'>頁(yè)"
         'strTemp  = strTemp "nbsp;Input type=""button""  onClick=""window.location.href='"  strUrl  "page='+document.all.page.value;""  name=button1  value=GO >"
    end if
    strTemp=strTemp  "/td>/tr>/table>"
    ShowPage=strTemp
end function

標(biāo)簽:優(yōu)質(zhì)小號(hào) 延邊 那曲 銅川 河池 蘇州 電商邀評(píng) 新鄉(xiāng)

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《ShowPage 顯示“上一頁(yè) 下一頁(yè)”等信息的封裝代碼》,本文關(guān)鍵詞  ShowPage,顯示,上一頁(yè),下,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《ShowPage 顯示“上一頁(yè) 下一頁(yè)”等信息的封裝代碼》相關(guān)的同類(lèi)信息!
  • 本頁(yè)收集關(guān)于ShowPage 顯示“上一頁(yè) 下一頁(yè)”等信息的封裝代碼的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 临夏市| 稷山县| 手游| 南召县| 延庆县| 大足县| 镇原县| 芜湖市| 蒙山县| 呼伦贝尔市| 天门市| 辰溪县| 香河县| 随州市| 云龙县| 贡山| 西峡县| 衡南县| 麦盖提县| 崇义县| 乌兰县| 和硕县| 沂水县| 沁阳市| 囊谦县| 商水县| 麻栗坡县| 陆河县| 汕尾市| 鄂伦春自治旗| 东兰县| 尼玛县| 商河县| 武鸣县| 秭归县| 四会市| 宣汉县| 澎湖县| 穆棱市| 专栏| 卓资县|