<%@language="JScript"%> <% function rtrim(myStr,numspc) { var spaces = ""; for (i=0;i 0) scratch = scratch.substr(0, num); return scratch; } /*// Putting in Navagation Bar RW(""); RW(""); RW("
Current StatusBuild HistoryAdmin

"); */ // Putting in Navagation Bar RW(""); RW(""); RW("
Current StatusBuild HistoryAdminStatisticsCrash Reports

"); BuildEstablishConnection(); var numRecords; var pageNumRecords = String(Request.Form("show")); numRecords = 10; if((pageNumRecords == "undefined") || (pageNumRecords == "") || (pageNumRecords == null)) { numRecords = 10; } else { numRecords = pageNumRecords; } var query = Show("prophetstblbuildhistory", "id", numRecords); var name = ExSQL(query); WebPageUser = Request.ServerVariables("LOGON_USER"); RW("prophets Build Status Page"); RW("

prophets Build History Page

"); RW("Enter number of records to show, 10 by default:"); RW("
"); RW("\n"); RW("\n"); RW("
"); RW("

All builds located at: prophets Builds (" + ProphetsProp + ")

"); RW(""); RW(""); RW(""); RW(""); RW("
"); while(!name.EOF) { RW("
");
 
	var bcnum = parseInt(name("buildconfig"));
 	if(bcnum != -1)
 	{
		if(BuildOptions[bcnum] == "DebugBuild")
		{
			RW("" + rtrim(name("buildnum"),1) + "
DEBUG BUILD"); } else if(BuildOptions[bcnum] == "DebugBuildCache") { RW("" + rtrim(name("buildnum"),1) + "
DEBUG CACHE BUILD"); } else { RW(BuildOptions[parseInt(name("buildconfig"))]); } } RW("

 

Requested by: " + rtrim(name("builduser"),3) + "

 

") RW("Request Time: " + rtrim(name("buildstart"),2) + "

Build Finished: " + rtrim(name("buildend"),2) + "

") RW("Code Sync Started: " + rtrim(name("startsync"),2) + "

Code Sync Ended: " + rtrim(name("endsync"),2) + "

Build Results:

" + rtrim(name("results"),3) + "

Comments:" + rtrim(name("comments"),3) + "

"); name.MoveNext(); } RW("
"); CloseConnection(DataBase); function ParseResults(input) { var returnString = new String(input); var index, lastindex; var len = returnString.length; index = returnString.indexOf("warning(s)"); lastindex = index + 10; var scratch = returnString.substr(0, index + 10) + "
"; returnString = returnString.substr(index + 10); RW(returnString); index = returnString.indexOf("warnings(s)"); scratch += returnString.substr(lastindex, index + 10) + "
"; return scratch; } %>