%@LANGUAGE="JAVASCRIPT"%> <% var Scholarships__MMColParam = "true"; if (String(Request("MM_EmptyValue")) != "undefined" && String(Request("MM_EmptyValue")) != "") { Scholarships__MMColParam = String(Request("MM_EmptyValue")); } %> <% var Scholarships = Server.CreateObject("ADODB.Recordset"); Scholarships.ActiveConnection = MM_scholarshipsadmin_STRING; Scholarships.Source = "SELECT * FROM [Scholarship Information] WHERE Active = "+ Scholarships__MMColParam.replace(/'/g, "''") + " ORDER BY Schol_Title ASC"; Scholarships.CursorType = 0; Scholarships.CursorLocation = 2; Scholarships.LockType = 1; Scholarships.Open(); var Scholarships_numRows = 0; %> <% var Repeat1__numRows = -1; var Repeat1__index = 0; Scholarships_numRows += Repeat1__numRows; %> <% var MM_paramName = ""; %> <% // *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters // create the list of parameters which should not be maintained var MM_removeList = "&index="; if (MM_paramName != "") MM_removeList += "&" + MM_paramName.toLowerCase() + "="; var MM_keepURL="",MM_keepForm="",MM_keepBoth="",MM_keepNone=""; // add the URL parameters to the MM_keepURL string for (var items=new Enumerator(Request.QueryString); !items.atEnd(); items.moveNext()) { var nextItem = "&" + items.item().toLowerCase() + "="; if (MM_removeList.indexOf(nextItem) == -1) { MM_keepURL += "&" + items.item() + "=" + Server.URLencode(Request.QueryString(items.item())); } } // add the Form variables to the MM_keepForm string for (var items=new Enumerator(Request.Form); !items.atEnd(); items.moveNext()) { var nextItem = "&" + items.item().toLowerCase() + "="; if (MM_removeList.indexOf(nextItem) == -1) { MM_keepForm += "&" + items.item() + "=" + Server.URLencode(Request.Form(items.item())); } } // create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL + MM_keepForm; if (MM_keepBoth.length > 0) MM_keepBoth = MM_keepBoth.substring(1); if (MM_keepURL.length > 0) MM_keepURL = MM_keepURL.substring(1); if (MM_keepForm.length > 0) MM_keepForm = MM_keepForm.substring(1); %>
|
||||||||||||||
|
||||||||||||||
MSU-Great Falls College of Technology | 2100 16th Ave. South | Great Falls, MT 59405 Toll Free 800.446.2698 | FAX: 406.771.4317 | TDY: 406.771.4424 | Copyright 2004. All rights reserved. |