Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.36 KB | None | 0 0
  1. <%
  2.  
  3.  
  4. Dim tb_status, tb_description, tb_keywords, tb_url, tb_company
  5. Dim tb_color_1, tb_color_2, tb_color_3, tb_color_4
  6. Dim tb_currency, tb_address1, tb_address2, tb_city, tb_state, tb_zip
  7. Dim tb_phone, tb_fax, tb_email, tb_partial_email, tb_default_location
  8. Dim connect, tb_dbconn, counter, data_source, tb_allow_html, tb_convert_breaks
  9.  
  10.  
  11. tb_status = "Vincennes YMCA"
  12. tb_description = ""
  13. tb_keywords = ""
  14. tb_company = "Vincennes YMCA"
  15. tb_address1 = "2010 College Ave"
  16. tb_address2 = ""
  17. tb_city = "Vincennes"
  18. tb_state = "Indiana"
  19. tb_zip = "47591"
  20. tb_phone = "812-895-YMCA"
  21. tb_fax = ""
  22. tb_email = "info@vincennesymca.org"
  23. tb_partial_email = "@vincennesymca.org"
  24. tb_default_location = "Vincennes"
  25. tb_url = "ymca.towerbridgetech.local"
  26. tb_color_1 = "#7C93D9"
  27. tb_color_2 = "#A2B0DD"
  28. tb_color_3 = "#EDF0F9"
  29. tb_color_4 = "#EAEEF9"
  30. tb_color_5 = "#B7C2F0"
  31. tb_currency = "$"
  32. tb_allow_html = "yes"
  33. tb_convert_breaks = "no"
  34. %>
  35.  
  36. <%
  37. '**********************************************************************************************************
  38. 'connect to database
  39. data_source = Server.Mappath("database\ymca_db.mdb")
  40. Set Connect = Server.CreateObject("ADODB.Connection")
  41. Connect.Open "Data Source=" & data_source & ";Provider=Microsoft.Jet.OLEDB.4.0;"
  42. '**********************************************************************************************************
  43. %>
  44.  
  45. <%
  46. 'Common querystrings etc
  47.  
  48. Dim chosenaction, chosenparagraph, chosencontent, chosenjob, chosencode
  49. Dim chosenpage, chosennews, chosensearch, chosenmessage
  50.  
  51. chosenaction = request.QueryString("action")
  52. chosencode = request.QueryString("code")
  53. chosenpage = request.QueryString("page")
  54. chosenparagraph = request.QueryString("paragraph")
  55. chosencontent = request.QueryString("content")
  56. chosenjob = request.QueryString("job")
  57. chosennews = request.QueryString("news")
  58. chosensearch = request.QueryString("search")
  59. chosenerror = request.QueryString("error")
  60. chosenevent = request.QueryString("event")
  61. chosenmessage = request.QueryString("msg")
  62. %>
  63.  
  64.  
  65. <!--#INCLUDE VIRTUAL="inc/function_system.asp" -->
  66. <!--#INCLUDE VIRTUAL="inc/function_content.asp" -->
  67. <!--#INCLUDE VIRTUAL="inc/function_employment.asp" -->
  68. <!--#INCLUDE VIRTUAL="inc/function_images.asp" -->
  69. <!--#INCLUDE VIRTUAL="inc/function_news.asp" -->
  70. <!--#INCLUDE VIRTUAL="inc/function_search.asp" -->
  71. <!--#INCLUDE VIRTUAL="inc/function_events.asp" -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement