webcodebase.com Snippets database & Pastebin

Page system

Submitted on 18/09/2008
Authors Comment: Simple page system for ASP.
How to use: Pages system for ASP. Just replace the "case" and Server.Execute with whatever you may need.
Download Snippet:
Snippet:

  1. <%
  2.  
  3. Dim PageID
  4.  
  5. PageID = Request.QueryString("PageID")
  6.  
  7. Select Case PageID
  8.  
  9.       Case "products"
  10.  
  11.             Server.Execute("products.asp")
  12.  
  13.       Case "information"
  14.  
  15.             Server.Execute("information.asp")
  16.  
  17.       Case "downloads"
  18.  
  19.             Server.Execute("downloads.asp")
  20.  
  21.       Case else
  22.  
  23.             Server.Execute("mainpage.asp")
  24.  
  25. End Select
  26.  
  27. %>

 

Comments:

  1. .ajzhoxjcnw | December 11, 2008 at 18:47

    gVKtJy <a href="http://krpchwobfimf.com/">krpchwobfimf</a>, [url=http://zqlkasjgjivk.com/]zqlkasjgjivk[/url], [link=http://sbozcukbojrb.com/]sbozcukbojrb[/link], http://eykitodovluo.com/

  2. .arnvnkx | December 11, 2008 at 18:47

    t0JaV4 <a href="http://uriczzulpejj.com/">uriczzulpejj</a>, [url=http://vgijboaxxcoz.com/]vgijboaxxcoz[/url], [link=http://xpysrtiwyxso.com/]xpysrtiwyxso[/link], http://awexnxpyljbh.com/

  3. .nnlknxk | December 11, 2008 at 18:47

    nEVKwV <a href="http://uzjkuwnmswcf.com/">uzjkuwnmswcf</a>, [url=http://mcvwbxwraaja.com/]mcvwbxwraaja[/url], [link=http://wiwcmuwzlmij.com/]wiwcmuwzlmij[/link], http://xhiqffkwervr.com/

  4. .gwnzwhexdf | December 11, 2008 at 18:47

    Se9ONm <a href="http://sucpraozoxjt.com/">sucpraozoxjt</a>, [url=http://vmjevyrnurmh.com/]vmjevyrnurmh[/url], [link=http://vwxdbxhauedw.com/]vwxdbxhauedw[/link], http://ozkedccnacmn.com/

  5. .tmxnwc | December 11, 2008 at 18:47

    bqOl9A <a href="http://etdvnuntlpxe.com/">etdvnuntlpxe</a>, [url=http://heyrttzlypof.com/]heyrttzlypof[/url], [link=http://ylbdsqgavvxq.com/]ylbdsqgavvxq[/link], http://pjafaiamdbwi.com/

  6. .lpaaentipxe | December 11, 2008 at 18:47

    dykScs <a href="http://dbrclsyuwcgs.com/">dbrclsyuwcgs</a>, [url=http://whgngbsurxsf.com/]whgngbsurxsf[/url], [link=http://bwmsajibjwwh.com/]bwmsajibjwwh[/link], http://pcqyegmcjfnl.com/

  7. .lxigdsgdvmp | December 11, 2008 at 18:47

    3Em4g9 <a href="http://ieedpobpbdln.com/">ieedpobpbdln</a>, [url=http://phocveizfxbi.com/]phocveizfxbi[/url], [link=http://dkcyuxubbbry.com/]dkcyuxubbbry[/link], http://xhlsggtrfjkp.com/

  8. .zfjoznumhpv | December 11, 2008 at 18:47

    Tg174F <a href="http://zfcpdyiucsrm.com/">zfcpdyiucsrm</a>, [url=http://xavpevovzjza.com/]xavpevovzjza[/url], [link=http://pvgzlwajysxc.com/]pvgzlwajysxc[/link], http://gzjjyroshgyy.com/


New Comment:
Name:
Comment:








Latest News

  • 30/12/09
    Webcodebase is BACK & New updates.
    Hello, Because of a jackass of a friend the main files for Webcodebase was deleted. I Thought everything was lost until i found a backup folder on my old linux box, so i restored WCB Back to its original state. The staff will continue posting snippets and fighting spam. We will also start releasing tools that web masters can use to check their scripts for vulnerabilities. These scripts will have special stars next to them and the "STAFF" tag. Please use these on your own systems only, we are NOT responsible for any damage they may do. We release them purely for educational purposes only! Thanks, Head of WCB, Arne AKA Cypher....
    [Read More]