<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <% Dim specal Dim specal_numRows Set specal = Server.CreateObject("ADODB.Recordset") specal.ActiveConnection = MM_ksw_STRING specal.Source = "SELECT * FROM user1130866.VW_Specials ORDER BY newsorder" specal.CursorType = 0 specal.CursorLocation = 2 specal.LockType = 1 specal.Open() specal_numRows = 0 %> <% Dim specialdet__MMColParam specialdet__MMColParam = "%" If (Request.QueryString("id") <> "") Then specialdet__MMColParam = Request.QueryString("id") End If %> <% Dim specialdet Dim specialdet_numRows Set specialdet = Server.CreateObject("ADODB.Recordset") specialdet.ActiveConnection = MM_ksw_STRING specialdet.Source = "SELECT * FROM user1130866.Vwpublication WHERE id like '" + Replace(specialdet__MMColParam, "'", "''") + "' ORDER BY newsorder" specialdet.CursorType = 0 specialdet.CursorLocation = 2 specialdet.LockType = 1 specialdet.Open() specialdet_numRows = 0 %> <% Dim doc Dim doc_numRows Set doc = Server.CreateObject("ADODB.Recordset") doc.ActiveConnection = MM_ksw_STRING doc.Source = "SELECT * FROM user1130866.Vwpublication ORDER BY newsorder" doc.CursorType = 0 doc.CursorLocation = 2 doc.LockType = 1 doc.Open() doc_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 specal_numRows = specal_numRows + Repeat1__numRows %> <% Dim Repeat2__numRows Dim Repeat2__index Repeat2__numRows = 1 Repeat2__index = 0 specialdet_numRows = specialdet_numRows + Repeat2__numRows %> <% Dim Repeat3__numRows Dim Repeat3__index Repeat3__numRows = -1 Repeat3__index = 0 doc_numRows = doc_numRows + Repeat3__numRows %> <% Dim MM_paramName %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters Dim MM_keepNone Dim MM_keepURL Dim MM_keepForm Dim MM_keepBoth Dim MM_removeList Dim MM_item Dim MM_nextItem ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" End If MM_keepURL="" MM_keepForm="" MM_keepBoth="" MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each MM_item In Request.QueryString MM_nextItem = "&" & MM_item & "=" If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item)) End If Next ' add the Form variables to the MM_keepForm string For Each MM_item In Request.Form MM_nextItem = "&" & MM_item & "=" If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item)) End If Next ' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm If (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) End If If (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) End If If (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) End If ' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem) If (firstItem <> "") Then MM_joinChar = "&" Else MM_joinChar = "" End If End Function %>

Martial Science

Brief Description

Publications

Location

Calendar of Events

Class Schedule

Adult Program

Eagles Program

Dragons Program

Tiny Tigers Program

The Science of Breathing

Sparring

Weapons

Health and Fitness

What's New

New Promotional Products

Instructors

Seminar/ Workshops

Summer Camp

Nutrition

Black Belts

Picture Gallery

Store

 
 
     

 


<% specal.Close() Set specal = Nothing %> <% specialdet.Close() Set specialdet = Nothing %> <% doc.Close() Set doc = Nothing %>