<%@ page session="true" contentType="text/html; charset=UTF-8" import="com.sportwetten.mcbet.util.*, com.sportwetten.mcbet.misc.Languages, com.sportwetten.mcbet.properties.Settings, com.sportwetten.mcbet.*, com.sportwetten.mcbet.localization.BundleManager" %> <% String domain = Settings.getDomain(request); String curLang = LangUtils.getCurrentLang(request); // // Initialization of Bundle // BundleManager bundle = new BundleManager( request, BundleManager.MCBET_BUNDLE_NAME ); %> // START COMMON USED HTML STUFF FUNCTIONS function getCombination(combi) { // 1+ -- in any combination if ( combi == '' || combi == 1) { return "1+"; } // single bets else if ( combi == 0 ) { return "\">OS"; } else if ( combi > 1 ) { return " " + combi + ".\">" + combi + "+"; } else if ( combi < 0 ) { return " " + (-combi) + ".\">" + (-combi) + "-"; } } function showMoreLink(more, leagueid, eventid) { var out = " "; if ( parseInt(more) == 1 ) { out += "<%=bundle.getString( "SP_018_0001")%>"; } else { out += " "; } out += ""; return out; } function showLeagueFooter(show, isAcceptBets) { var out = ""; if ( show == 1 && isAcceptBets == true ) { out += ""; out += "/images/space.gif\" border=\"0\" width=\"1\" height=\"2\" alt=\"\" />
"; out += ""; out += " "; out += " "; out += " "; out += " "; out += " "; out += "
\" class=\"button_reset\" /> \" class=\"button_submit\" onclick=\"this.form.submit(); clearSelectedItems(this.form)\" />
"; out += "/images/space.gif\" border=\"0\" width=\"1\" height=\"5\" alt=\"\" />
"; out += ""; } else { out += ""; out += "/images/space.gif\" border=\"0\" width=\"1\" height=\"5\" alt=\"\" />
"; } out += " /images/space.gif\" border=\"0\" width=\"1\" height=\"1\" alt=\"\" />"; out += " "; out += ""; out += "
"; return out; } function switchColor(classStr) { if ( classStr == bgColor2 ) { return bgColor1; } else { return bgColor2; } } function debug(dataArr) { var gesamt = dataArr.length; var entries = 19; document.writeln(""); document.writeln(" "); document.writeln(" "); document.writeln(" "); items = new Array('event id', 'league id', 'odd id', 'name', 'calculation kickoff time', 'frontend kickoff time', '1', 'quote 1', 'odd id', 'X', 'quote X', 'odd id', '2', 'quote 2', 'odd id', 'handicap result / handicap1', 'handicap / handicap2', 'combi', 'oddsplus/more (1 - yes)'); for (i = 0; i < gesamt; i+=entries) { for (k = 0; k < entries; k++) { document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); } document.writeln(""); } document.writeln("
Array contains the following values (" + gesamt + " total):
matches['+k+'] =="+items[k]+":"+dataArr[i+k]+"

"); // debug items //status_message+= ' | showOnly=' + showOnly + ' | sysDate=' + sysDate + ' | sysD=' + sysD + ' | outrights=' + outrights + ' | timerange=' + tr + ' | templ=scripts/showleague.jsp'; } // END OF COMMON USED HTML STUFF