Quinnipiac vs. Providence College
(9/18/2010 at Providence, R.I.)
Quinnipiac (3-1-1) vs.
Providence College (0-4-0)
Goals by period 1 2 Tot
 
Quinnipiac.......... 0 0 - 0
Providence.......... 0 1 - 1
Quinnipiac
# Player POS SH SOG G A
 
2 Brandon Strain-Goode * N/A - - - -
4 Dwayne Mars......... N/A - - - -
6 Johan Karlhagen..... * N/A - - - -
7 Dominic Adams....... * N/A - - - -
8 Fabricio Silva...... * N/A 1 - - -
10 Nick Pelicaen....... N/A - - - -
11 Brett Uttley........ N/A - - - -
12 Josh Lavallee....... * N/A - - - -
13 Pierre Soubrier..... * N/A 2 1 - -
14 Matthew Rothbart.... N/A - - - -
15 Philip Suprise...... * N/A 8 3 - -
17 William Daniels..... * N/A 1 - - -
19 Tolle Staffanson.... * N/A 1 - - -
20 Greg Digiovine...... * N/A - - - -
24 William Cavallo..... * N/A - - - -
TM Team................ - - - -
  Totals.............. 13 4 0 0
Providence
# Player POS SH SOG G A
 
1 OBANDO, Jhojan...... * gk - - - -
2 DATILUS, David...... * d - - - -
3 HODGE, George....... * d 1 1 - -
5 MINOGUE, Bryan...... * d - - - -
6 RALEY, John......... * d 1 1 - -
7 MARCIN, Matt........ * m 3 1 - -
8 PEREIRA, Michael.... * m - - - -
9 CINTRON, Marc....... * m 2 1 - 1
10 SOUSA, Andrew....... * m 2 - - -
13 BAUMANN, Anthony.... 1 - - 1
15 JECEWIZ, Keith...... - - - -
17 GRISELL, Brian...... 1 1 - -
19 FABIAN, Daniel...... * m 1 - - -
20 ARBOLEDA, Wilder.... * m 2 1 1 -
TM TEAM................ - - - -
  Totals.............. 14 6 1 2
Quinnipiac
# Player SOG GA Saves Min
12 Josh Lavallee....... * 6 1 5 90:00
Providence
# Player SOG GA Saves Min
1 OBANDO, Jhojan...... * 4 - 4 90:00
Shots by period 1 2 Tot
 
Quinnipiac.......... 6 7 - 13
Providence.......... 4 10 - 14
Saves by period 1 2 Tot
 
Quinnipiac.......... 1 4 - 5
Providence.......... 4 0 - 4
Corner Kicks 1 2 Tot
 
Quinnipiac.......... 2 3 - 5
Providence.......... 3 5 - 8
Fouls 1 2 Tot
 
Quinnipiac.......... 8 6 - 14
Providence.......... 3 4 - 7
SCORING SUMMARY:
GOAL Time/Team Goal Scorer Assists Description
 
1. 63:16 -
There was a problem with a Velocity script
Pagesoxml-monospace-template
ErrorInvocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at soxml-monospace-template[line 117, column 45]
Page source:
1: ##COMMON FUNCTIONS
2: #macro (changeViewScript)
3: ## CORRECT WRONG VIEW WITH REPLACESTATE
4: <script type="text/javascript">
5:     $(function () {
6:         if (!$('.stats-tabs li.active').length) {
7:             if (history.replaceState) {
8:                 history.replaceState({}, '', '?view=' + $('.stats-tabs li:first').addClass('active').children('a').data('view'));
9:             } else {
10:                 $('.stats-tabs li:first').addClass('active');
11:             }
12:         }
13:     })
14: </script>
15: #end
16: 
17: #macro (printPdfHeader $title)
18: <div class="stats-fullbox clearfix">
19:     <table>
20:         <tr>
21:             <td class="align-center"><h4>$title</h4></td>
22:         </tr>
23:     </table>
24: </div>
25: #end
26: 
27: ##COMMON SOCCER FUNCTIONS
28: #macro (printPeriods $class)
29:     #foreach ($prd in $document.selectNodes("sogame/team[1]/linescore/lineprd"))
30:     <th $class>
31:         #if ($velocityCount >= 3)
32:             #if ($velocityCount == 3)
33:                 OT
34:             #elseif ($velocityCount == 5)
35:                 SO
36:             #else
37:                 ${tool.math.sub($velocityCount, 2)}OT
38:             #end
39:         #else
40:             $!velocityCount
41:         #end
42:     </th>
43:     #end
44: #end
45: 
46: ## DEFAULT VALUES
47: #set ($showPlayerMin = false)
48: 
49: ## PICK UP OPTIONS
50: #if ($stats.view != "pdf")
51:     $website.include("options")
52: #end
53: #set ($options = $request.getAttribute("options"))
54: 
55: ## SET VARIABLES FROM OPTIONS
56: #set ($showPlayerMin = $options.get("boxscore_so_player_min"))
57: #if ($showPlayerMin == "show")#set ($showPlayerMin = true)#end
58: 
59: #set ($showWiki = true)
60: #set ($showWiki = $showWikiVar)
61: 
62: #if ($showWiki == true)
63: 	$website.decorate("printer-decorator")
64: 	$!wiki.su
65: #end
66: 
67: #set ($showGoalDesc = $document.valueOf("sogame/venue/show/@goaldesc") == "1")
68: #set ($showFieldHockey = $document.valueOf("sogame/venue/show/@fhk") == "1")
69: #set ($shootoutScores = {"V" : 0, "H" : 0})
70: 
71: #set ($linkPlayers = $stats.linkPlayers)
72: #set ($linkPlayersBase = $stats.linkPlayersBase)
73: #set ($linkTeams = $stats.linkTeams)
74: #set ($linkTeamsBase = $stats.linkTeamsBase)
75: 
76: #macro (shootout $shootouts $t)
77: #foreach ($shot in $shootouts)
78: #if ($shot.valueOf("@vh") == $t)
79: ${shot.valueOf("@uni")}/#if ($shot.valueOf("@result") == "MADE")
80: #set ($score = $shootoutScores.get($t))
81: #set ($score = $tool.math.add($score, 1))
82: #set ($score = $shootoutScores.put($t, $score))
83: Y #else
84: N #end
85: #end ## if
86: #end ## foreach
87: #end
88: 
89: 
90: #macro (period $p)
91: #if ($p == 1) 1st
92: #elseif ($p == 2) 2nd
93: #elseif ($p == 3) OT
94: #elseif ($p == 4) 2OT
95: #else $p
96: #end
97: #end
98: 
99: #macro (printName $name)
100: #set ($printVal = $name)
101: #if ($stats.view != "pdf")
102:     #if ($name.length() < 20)
103:         #set ($dotCount = $tool.math.sub(20, $name.length()))
104:         #foreach ($i in [1..$dotCount])
105:             #set ($printVal = "${printVal}.")
106:         #end
107:     #end
108: #end
109:     $tool.esc.html($printVal)
110: #end
111: 
112: #macro (printAbbName $s)
113:   #set ($printVal = "")
114:   #if ($s.length() > 0)
115:     #set ($arr = $s.split(' '))
116: 	#foreach ($i in $arr)
117: 	  #set ($printVal = "${printVal}${i.substring(0, 1)}")
118: 	#end
119:       $tool.esc.html($printVal)
120:   #end
121: #end
122: 
123: #macro (printStatVal $val)
124: #set ($printVal = "")
125: #if ($val.length() > 0)
126:   #if ($tool.math.toInteger($val) == 0)
127:     #set ($printVal = "-")
128:   #else
129:     #set ($printVal = $val)
130:   #end
131:     $tool.esc.html($printVal)
132: #end
133: #end
134: 
135: #set ($home = $tool.esc.html($document.valueOf("sogame/team[@vh='H']/@name")))
136: #set ($visitor = $tool.esc.html($document.valueOf("sogame/team[@vh='V']/@name")))
137: #set ($visname = $tool.esc.html($document.valueOf("sogame/venue/@visname")))
138: #set ($homename = $tool.esc.html($document.valueOf("sogame/venue/@homename")))
139: #set ($location = $document.valueOf("sogame/venue/@location"))
140: #set ($stadium = $document.valueOf("sogame/venue/@stadium"))
141: #set ($date = $document.valueOf("sogame/venue/@date"))
142: #set ($duration = $document.valueOf("sogame/venue/@duration"))
143: #set ($schedNote = $document.valueOf("sogame/venue/@schednote"))
144: #set ($attendance = $document.valueOf("sogame/venue/@attend"))
145: 
146: ## RULES
147: #set ($periodRule = $document.valueOf("sogame/venue/rules/@periods"))
148: #set ($periodLength = $document.valueOf("sogame/venue/rules/@minutes"))
149: #set ($otPeriodLength = $document.valueOf("sogame/venue/rules/@minutesot"))
150: 
151: ## STATUS
152: #set ($status = $document.valueOf("sogame/status/@period"))
153: #set ($clock = $document.valueOf("sogame/status/@clock"))
154: #set ($gameFinished = false)
155: #set ($inProgress = false)
156: 
157: ## FOULS
158: #set ($showFouls = false)
159: #if($showFieldHockey)
160: 	#set ($homeFouls =  $tool.math.toInteger($document.valueOf("sogame/team[@vh='H']/totals/penalty/@fouls")))
161: 	#set ($visitorFouls =  $tool.math.toInteger($document.valueOf("sogame/team[@vh='V']/totals/penalty/@fouls")))
162: 
163: 	#if($homeFouls > 0 || $visitorFouls > 0)
164: 	#set ($showFouls = true)
165: 	#end
166: #else
167: 	#set ($showFouls = true) ## ALWAYS SHOW FOR SOCCER
168: #end
169: 
170: 
171: #if ($document.valueOf("sogame/venue/@duration").length() > 0)
172:   #set ($gameFinished = true)
173: #end
174: 
175: #if (!$gameFinished && $document.selectNodes("//currentscore").size() > 0)
176:   #set ($inProgress = true)
177: #end
178: 
179: #if ($clock.length() > 0 && $clock != "90:00")
180:   #if ($periodRule.length() > 0 && $periodLength.length() > 0 && $otPeriodLength.length() > 0)
181:     #set ($normalTime = $tool.math.mul($periodRule, $periodLength))
182: 	#set ($extraTime = $tool.math.mul($otPeriodLength, 2))
183: 	#set ($totalTime = "$tool.math.mul($normalTime, $extraTime):00")
184: 	$totalTime
185:   #end
186: #end
187: 
188: #set ($periodCount = $document.selectNodes("sogame/team[1]/linescore/lineprd").size())
189: #set ($periodRange = [1..$periodCount])
190: #set ($isNeutralGame = $documnt.valueOf("sogame/venue/@neutralgame"))
191: #if ($isNeutralGame.length() > 0 && $isNeutralGame.equals("Y"))
192:   #set ($isNeutralGame = true)
193: #else
194:   #set ($isNeutralGame = false)
195: #end
196: 
197: #set ($hasPlayByPlay = $document.selectNodes("sogame/plays/period").size() > 0)
198: 
199: ## GOALIE SHOTS
200: #macro (shots $ga $saves)
201: #if ($saves.length() > 0)
202:  $tool.math.add($ga, $saves)
203: #else
204: #end
205: #end
206: 
207: <head>
208: <title>$visname #if($isNeutralGame)vs.#else at #end $homename | Boxscore #if($date.length() > 0)| $date #end</title>
209: </head>
210: 
211: 
212: <div class="monostats clearfix">
213: 
214: ## GAME INFORMATION
215: <div class="align-center bold">
216:     $visname vs. $homename<br />
217:     ($date at $location)
218:     #if ($schedNote.length() > 0)<br />$!schedNote #end
219: </div>
220: 
221: <div class="clearfix">
222: 
223: ## TEAM RECORDS
224: <div class="monostats-halfbox-left">
225: <table>
226:     <tr>
227:         <td>
228:             $visname ($document.valueOf("sogame/team[@vh='V']/@record")) vs.
229:             <br /> $homename ($document.valueOf("sogame/team[@vh='H']/@record"))
230:         </td>
231:     </tr>
232: </table>
233: </div>
234: 
235: ## PERIOD SUMMARY
236: <div class="monostats-halfbox-right">
237: <table>
238:     <tr>
239:         <th class="align-left">Goals by period</th>
240:         #printPeriods('class="align-right"')
241:         <th colspan="2" class="align-right">Tot</th>
242:     </tr>
243: 
244:     #if ($stats.view != "pdf")
245:         <tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&#160;</td></tr>
246:     #end
247: 
248:     #foreach ($team in $document.selectNodes("sogame/team"))
249:     <tr>
250:         <td>#printName($!team.valueOf("@name"))</td>
251:         #foreach ($prd in $team.selectNodes("linescore/lineprd"))
252:         <td class="align-right">$prd.valueOf("@score")</td>
253:         #end
254:         <td class="align-center">-</td>
255:         <td class="align-right">$team.valueOf("linescore/@score")</td>
256:     </tr>
257:     #end
258: </table>
259: </div>
260: ## PERIOD SUMMARY END
261: </div>
262: 
263: #if ($request.getParameter("view") == "plays" && $hasPlayByPlay)
264: ## PLAY BY PLAY
265: 
266: #macro (printPlays $prd)
267:   #set ($prdCount = $prd.valueOf("@number"))
268:   <tr><th colspan="2"><span id="prd${prdCount}">#period($prdCount)</span></th></tr>
269:   <tr class="stats-highlight">
270:     <td class="align-center"><span class="bold">Time</span></td>
271:     <td class="align-center"><span class="bold">Play</span></td>
272:   </tr>
273:   #set ($i = 0)
274:   #set ($playNodes = $prd.selectNodes("*"))
275:   #foreach ($play in $playNodes)
276:     #set ($nodeName = $play.getName())
277:     #if ($nodeName == "play" && !$play.valueOf("@action").equalsIgnoreCase("goalmsg"))
278:       #set ($i = $i + 1)
279:       #if ($i % 2 == 0)
280:         #set ($row = "even")
281:       #else
282:         #set ($row = "odd")
283:       #end
284: 
285: 	  #if ($play.valueOf("@action").equalsIgnoreCase("goal"))
286: 	  <tr class="${row} highlight bold">
287:         <td class="align-center">$play.valueOf("@clock")</td>
288: 		#set ($printValue = $play.valueOf("@text"))
289: 		#if ($playNodes.get($tool.math.add($velocityCount, 1)))
290: 		  #set ($goalMsg = $playNodes.get($tool.math.add($velocityCount, 1)).valueOf("@text"))
291: 		  #set ($printValue = "${printValue} ${goalMsg}")
292: 		#end
293:         <td>$printValue</td>
294:       </tr>
295: 	  #else
296: 	  <tr class="${row}">
297:         <td class="align-center">$play.valueOf("@clock")</td>
298:         <td>$play.valueOf("@text")</td>
299:       </tr>
300: 	  #end
301:     #elseif ($nodeName == "currentscore")
302:       <tr class="stats-highlight">
303:         <td colspan="2" class="align-center bold">Score: $visitor $play.valueOf("@vscore") - $home $play.valueOf("@hscore")</td>
304:       </tr>
305:     #end
306: #end
307: #end ## ends printPlays
308: 
309: <div class="monostats-fullbox clearfix">
310: <table>
311: <tr>
312: <td colspan="2">
313: <span class="bold">Period: </span>
314: #foreach ($p in [1..$document.selectNodes("sogame/plays/period").size()])
315: #if ($velocityCount > 1) | #end
316: <a href="#prd${p}">#period($p)</a>
317: #end
318: </td>
319: </tr>
320: #foreach ($playPeriod in $document.selectNodes("sogame/plays/period"))
321: #printPlays ($playPeriod)
322: #end
323: </table>
324: </div>
325: ## PLAY BY PLAY END
326: 
327: #else
328: ## BOXSCORE
329: 
330: ## TEAM SUMMARY
331: #macro (playerstatsCoach $team)
332: <div class="caption">$tool.esc.html($team.valueOf("@name"))</div>
333: <table>
334: 	<tr>
335: 		<th class="align-left">&#35;</th>
336: 		<th class="align-left">Player</th>
337: 		<th>POS</th>
338: 		<th>SH</th>
339: 		#if ($showFieldHockey)
340: 		<th>SO</th>
341: 		#else
342: 		<th>SOG</th>
343: 		#end
344: 		<th>G</th>
345: 		<th>A</th>
346: 		#if ($showFieldHockey)
347: 		<th>DS</th>
348: 		#end
349: 		#if ($showPlayerMin == true)
350: 		<th>Min</th>
351: 		#end
352: 	</tr>
353: 
354: #set ($colspan = 7)
355: #if ($showFieldHockey)
356: 	#set ($colspan = $colspan +1)
357: #end
358: #if ($showPlayerMin == true)
359: 	#set ($colspan = $colspan +1)
360: #end
361: 
362:     #if ($stats.view != "pdf")
363: 	    <tr><td colspan="$colspan" class="hr">&#160;</td></tr>
364:     #end
365: 
366: 	#foreach ($stat in $team.selectNodes("player/shots"))
367: 	<tr>
368: 		<td>$!stat.valueOf("../@uni")</td>
369: 		#if ($stat.valueOf("../@gs") == 1)
370: 		<td class="nowrap">#printName($stat.valueOf("../@name"))*</td>
371: 		#else
372: 		<td class="nowrap">#printName($stat.valueOf("../@name"))</td>
373: 		#end
374: 		<td>$stat.valueOf("../@pos")</td>
375: 		<td class="align-right">#printStatVal($!stat.valueOf("@sh"))</td>
376: 		<td class="align-right">#printStatVal($!stat.valueOf("@sog"))</td>
377: 		<td class="align-right">#printStatVal($!stat.valueOf("@g"))</td>
378: 		<td class="align-right">#printStatVal($!stat.valueOf("@a"))</td>
379: 		#if ($showFieldHockey)
380: 		<td class="align-right">#printStatVal($!stat.valueOf("../misc/@dsave"))</td>
381: 		#end
382: 		#if ($showPlayerMin == true)
383: 		<td class="align-right">$!stat.valueOf("../misc/@minutes")</td>
384: 		#end
385: 	</tr>
386: 	#end
387: 
388: 	<tr>
389: 		<td>&#160;</td>
390: 		<td colspan="2">#printName("Totals")</td>
391: 		#set ($statTotals = $team.selectSingleNode("totals/shots"))
392: 		<td class="align-right">$!statTotals.valueOf("@sh")</td>
393: 		<td class="align-right">$!statTotals.valueOf("@sog")</td>
394: 		<td class="align-right">$!statTotals.valueOf("@g")</td>
395: 		<td class="align-right">$!statTotals.valueOf("@a")</td>
396: 		#if ($showFieldHockey)
397: 		<td class="align-right">$!statTotals.valueOf("../misc/@dsave")</td>
398: 		#end
399: 		#if ($showPlayerMin == true)
400: 		<td class="align-right">$!statTotals.valueOf("../misc/@minutes")</td>
401: 		#end
402: 	</tr>
403: </table>
404: #end ##macro
405: 
406: #macro (goaliestats $team)
407: #if ($stats.view != "pdf")
408:     <div class="caption">$tool.esc.html($team.valueOf("@name"))</div>
409: #end
410: <table>
411: 	<tr>
412: 		<th class="align-left">&#35;</th>
413: 		#if ($showFieldHockey)
414: 		<th class="align-left">Goalkeepers</th>
415: 		#else
416: 		<th class="align-left">Player</th>
417: 		#end
418: 		<th>SOG</th>
419: 		<th>GA</th>
420: 		<th>Saves</th>
421: 		<th>Min</th>
422: 	</tr>
423: 
424: 	#foreach ($stat in $team.selectNodes("player/goalie"))
425: 	<tr>
426: 		<td>$!stat.valueOf("../@uni")</td>
427: 		#if ($stat.valueOf("../@gs") == 1)
428: 		<td class="nowrap">#printName($stat.valueOf("../@name"))*</td>
429: 		#else
430: 		<td class="nowrap">#printName($stat.valueOf("../@name"))</td>
431: 		#end
432: 		<td class="align-right">#shots($stat.valueOf("@ga") $stat.valueOf("@saves"))</td>
433: 		<td class="align-right">#printStatVal($!stat.valueOf("@ga"))</td>
434: 		<td class="align-right">#printStatVal($!stat.valueOf("@saves"))</td>
435: 		<td class="align-right">$!stat.valueOf("@minutes")</td>
436: 	</tr>
437: 	#end
438: 
439: 	#if ($team.selectNodes("player/goalie").size() > 1) ## if more than one goalie appeared show totals
440: 	<tr>
441: 		<td>&#160;</td>
442: 		#set ($goalieTotals = $team.selectSingleNode("totals/goalie"))
443: 		<td class="align-center">#printName("Totals")</td>
444: 		<td class="align-right">#shots($goalieTotals.valueOf("@ga") $goalieTotals.valueOf("@saves"))</td>
445: 		<td class="align-right">$!goalieTotals.valueOf("@ga")</td>
446: 		<td class="align-right">$!goalieTotals.valueOf("@saves")</td>
447: 		<td class="align-right">$!goalieTotals.valueOf("@minutes")</td>
448: 	</tr>
449: 	#end
450: </table>
451: #end
452: 
453: 
454: <div class="clearfix">
455:     ## VISITOR STATISTICS
456:     <div class="monostats-halfbox-left">#playerstatsCoach($document.selectSingleNode("sogame/team[@vh='V']"))</div>
457:     ## HOME STATISTICS
458:     <div class="monostats-halfbox-right">#playerstatsCoach($document.selectSingleNode("sogame/team[@vh='H']"))</div>
459:     <div class="clear"></div>
460: </div>
461: 
462: #if ($stats.view != "pdf")
463:     <div class="clearfix">
464:         ## VISITOR STATISTICS
465:         <div class="monostats-halfbox-left">#goaliestats($document.selectSingleNode("sogame/team[@vh='V']"))</div>
466:         ## HOME STATISTICS
467:         <div class="monostats-halfbox-right">#goaliestats($document.selectSingleNode("sogame/team[@vh='H']"))</div>
468:         <div class="clear"></div>
469:     </div>
470: #end
471: 
472: <div class="clearfix">
473:     ## SHOTS BY PERIOD
474:     <div class="monostats-halfbox-left">
475:     <table>
476:         <tr>
477:             <th class="align-left">Shots by period</th>
478:             #printPeriods('class="align-right"')
479:             <th colspan="2" class="align-right">Tot</th>
480:         </tr>
481: 
482:         #if ($stats.view != "pdf")
483:             <tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&#160;</td></tr>
484:         #end
485: 
486:         #foreach ($team in $document.selectNodes("sogame/team"))
487:         <tr>
488:             <td>#printName($!team.valueOf("@name"))</td>
489:             #foreach ($prd in $team.selectNodes("linescore/lineprd"))
490:             <td class="align-right">$prd.valueOf("@shots")</td>
491:             #end
492:             <td class="align-center">-</td>
493:             <td class="align-right">$team.valueOf("linescore/@shots")</td>
494:         </tr>
495:         #end
496:     </table>
497:     </div>
498:     ## SHOTS BY PERIOD END
499: 
500:     ## SAVES
501:     <div class="monostats-halfbox-right">
502:     <table>
503:         <tr>
504:             <th class="align-left">Saves by period</th>
505:             #printPeriods('class="align-right"')
506:             <th colspan="2" class="align-right">Tot</th>
507:         </tr>
508: 
509:         #if ($stats.view != "pdf")
510:             <tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&#160;</td></tr>
511:         #end
512: 
513:         #foreach ($team in $document.selectNodes("sogame/team"))
514:         #set ($runningTotal = 0)
515:         <tr>
516:             <td>#printName($!team.valueOf("@name"))</td>
517:             #foreach ($prd in $team.selectNodes("linescore/lineprd"))
518:             <td class="align-right">$prd.valueOf("@saves")</td>
519:             #set ($runningTotal = $tool.math.add($runningTotal, $prd.valueOf("@saves")))
520:             #end
521:             <td class="align-center">-</td>
522:             <td class="align-right">$runningTotal</td>
523:         </tr>
524:         #end
525:     </table>
526:     </div>
527:     <div class="clear"></div>
528: ## SAVES END
529: </div>
530: 
531: <div class="clearfix">
532: <div class="monostats-halfbox-left">
533: <table>
534: #if ($showFieldHockey)
535: ## PERIOD SUMMARY - PENALTY CORNERS
536: 	<tr>
537: 		<th class="align-left">Penalty corners</th>
538:         #printPeriods('class="align-right"')
539: 		<th colspan="2" class="align-right">Tot</th>
540: 	</tr>
541: 
542:     #if ($stats.view != "pdf")
543: 	    <tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&#160;</td></tr>
544:     #end
545: 
546: 	## team corners, which have to be manually added up
547: 	#foreach ($team in $document.selectNodes("sogame/team"))
548: 	#set ($totalCorners = 0)
549: 	<tr>
550: 		<td>#printName($!team.attributeValue("name"))</td>
551: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
552: 		#set ($totalCorners = $tool.math.add($totalCorners, $prd.valueOf("@corners")))
553: 		<td class="align-right">$prd.valueOf("@corners")</td>
554: 		#end
555: 		<td class="align-right">$totalCorners</td>
556: 	</tr>
557: 	#end
558: #else
559: ## PERIOD SUMMARY - CORNER KICKS
560: 	<tr>
561: 		<th class="align-left">Corner Kicks</th>
562:         #printPeriods('class="align-right"')
563: 		<th colspan="2" class="align-right">Tot</th>
564: 	</tr>
565: 
566:     #if ($stats.view != "pdf")
567: 	    <tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&#160;</td></tr>
568:     #end
569: 
570: 	## team corners, which have to be manually added up
571: 	#foreach ($team in $document.selectNodes("sogame/team"))
572: 	#set ($totalCorners = 0)
573: 	<tr>
574: 		<td>#printName($!team.attributeValue("name"))</td>
575: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
576: 		#set ($totalCorners = $tool.math.add($totalCorners, $prd.valueOf("@corners")))
577: 		<td class="align-right">$prd.valueOf("@corners")</td>
578: 		#end
579: 		<td class="align-center">-</td>
580: 		<td class="align-right">$totalCorners</td>
581: 	</tr>
582: 	#end
583: #end
584: </table>
585: </div>
586: 
587: #if($showFouls)
588: ## FOULS BY PERIOD
589: <div class="monostats-halfbox-right">
590: <table>
591: 	<tr>
592: 		<th class="align-left">Fouls</th>
593:         #printPeriods('class="align-right"')
594: 		<th colspan="2" class="align-right">Tot</th>
595: 	</tr>
596: 
597:     #if ($stats.view != "pdf")
598: 	    <tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&#160;</td></tr>
599:     #end
600: 
601: 	#foreach ($team in $document.selectNodes("sogame/team"))
602: 	<tr>
603: 		<td>#printName($!team.attributeValue("name"))</td>
604: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
605: 		<td class="align-right">$prd.valueOf("@fouls")</td>
606: 		#end
607: 		<td class="align-center">-</td>
608: 		<td class="align-right">$team.valueOf("totals/penalty/@fouls")</td>
609: 	</tr>
610: 	#end
611: </table>
612: </div>
613: #end
614: <div class="clear"></div>
615: </div>
616: 
617: ## SCORING SUMMARY
618: <div class="monostats-fullbox clearfix">
619: <div class="caption">SCORING SUMMARY:</div>
620: <table>
621: 	#if ($document.selectNodes("sogame/scores/score").size() > 0)
622: 	<tr>
623: 		<th class="align-left">GOAL</th>
624: 		<th class="align-left">Time/Team</th>
625: 		<th class="align-left">Goal Scorer</th>
626: 		<th class="align-left">Assists</th>
627: 		<th class="align-left">Description</th>
628: 	</tr>
629: 	#end
630: 
631:     #if ($stats.view != "pdf")
632: 	    <tr><td colspan="5" class="hr">&#160;</td></tr>
633:     #end
634: 
635: 	#set ($shownStats = "")
636: 	#foreach ($score in $document.selectNodes("sogame/scores/score"))
637: 	#set ($shownStats = "y")
638: 	<tr>
639: 		<td>${velocityCount}.</td>
640: 		<td>
641: 			$score.valueOf("@time")
642: 			#if($score.valueOf("@vh") == 'H') - #printAbbName($homename) #end
643: 			#if($score.valueOf("@vh") == 'V') - #printAbbName($visname) #end
644: 		</td>
645: 		<td>$score.valueOf("@name")</td>
646: 
647: 		#if($score.valueOf("@assist1").length() > 0)
648: 		#if ($score.valueOf("@assist2").length() > 0)
649: 		<td>$score.valueOf("@assist1") &amp; $score.valueOf("@assist2")</td>
650: 		#else
651: 		<td>$score.valueOf("@assist1")</td>
652: 		#end
653: 		#else
654: 		<td>unassisted</td>
655: 		#end
656: 
657: 		## SHOW GOAL DESCRIPTION
658: 		#if($!score.valueOf("@desc").length() > 0)
659: 			<td>$!score.valueOf("@desc")</td>
660: 		#else
661: 			<td>
662: 				#set($scoreTime = $score.valueOf("@time"))
663: 				#foreach ($play in $document.selectNodes("sogame/plays/period/play"))
664: 					#if(($play.valueOf("@action") == "PENSHOT") && ($play.valueOf("@clock") == $scoreTime))
665: 						#if ($showFieldHockey)Penalty Stroke #else Penalty Kick #end
666: 					#end
667: 				#end
668: 			</td>
669: 		#end
670: 	</tr>
671: 	#end ## scoring foreach
672: 
673: 	#if ($shownStats == "")
674: 	<tr><td colspan="5" class="align-center">(no scoring)</td></tr>
675: 	#end
676: </table>
677: </div>
678: ## SCORING SUMMARY END
679: 
680: ## SHOOTOUT
681: #set ($shootouts = $document.selectNodes("sogame/shootouts/shootout"))
682: #if ($shootouts.size() > 0)
683: <div class="monostats-fullbox clearfix">
684: <div class="caption">SHOOTOUT</div>
685: <table>
686:     #if ($stats.view != "pdf")
687:         <tr><td class="hr">&#160;</td></tr>
688:     #end
689: 	<tr>
690: 		<td>
691: 		<strong>${visitor}:</strong>
692: 		#shootout($shootouts "V")
693: 		</td>
694: 	</tr>
695: 	<tr>
696: 		<td>
697: 		<strong>${home}:</strong>
698: 		#shootout($shootouts "H")
699: 		</td>
700: 	</tr>
701: 
702: 		#if ($shootoutScores.get("V") > $shootoutScores.get("H"))
703: 			#set ($shootoutResult = ("$visitor wins shootout ${shootoutScores.get('V')} - ${shootoutScores.get('H')}"))
704: 		#else
705: 			#set ($shootoutResult = ("$home wins shootout ${shootoutScores.get('H')} - ${shootoutScores.get('V')}"))
706: 		#end
707: 	<tr>
708: 		<td>
709: 		<strong>$shootoutResult</strong>
710: 		</td>
711: 	</tr>
712: </table>
713: </div>
714: ## SHOOTOUT END
715: #end
716: 
717: 
718: 
719: ## PENALTY SUMMARY
720: <div class="monostats-fullbox clearfix">
721: <div class="caption">#if ($showFieldHockey)PLAYER CARDS: #else CAUTIONS AND EJECTIONS: #end</div>
722: <table>
723: <tr>
724: 	<td>
725: 	#set ($shownStats = "")
726: 	#foreach ($penalty in $document.selectNodes("sogame/penalties/pen"))
727: 	#if ($velocityCount % 4 == 0)<br />#end
728: 	#set ($shownStats = "y")
729: 		#if ($penalty.valueOf("@type") == 'GREEN')GC #end
730: 		#if ($penalty.valueOf("@type") == 'YELLOW')YC #end
731: 		#if ($penalty.valueOf("@type") == 'RED')RC #end
732: 		#if($penalty.valueOf("@vh") == 'H')- #printAbbName($homename) #end
733: 		#if($penalty.valueOf("@vh") == 'V')- #printAbbName($visname) #end
734: 		#if ($penalty.valueOf("@uni").length() > 0)
735: 		  &#35;$penalty.valueOf("@uni")
736: 		#end
737: 		#if ($velocityCount > 1)
738: 		($penalty.valueOf("@time"));
739: 		#else
740: 		($penalty.valueOf("@time"))
741: 		#end
742: 	#end ## penalty foreach
743: 
744: 	#if ($shownStats == "")
745: 		(no penalties)
746: 	#end
747: 	</td>
748: </tr>
749: </table>
750: </div>
751: 
752: ## OTHER INFORMATION
753: <div class="monostats-fullbox clearfix">
754: <table>
755: 	<tr>
756: 		<td>
757: 		#if ($document.selectNodes("sogame/team/player/goalie[@win]").size() > 0 && $document.selectNodes("sogame/team/player/goalie[@loss]").size() > 0)
758: 			#set ($winGk = $document.selectNodes("sogame/team/player/goalie[@win]").get(0))
759: 			#set ($lossGk = $document.selectNodes("sogame/team/player/goalie[@loss]").get(0))
760: 			Win-$winGk.valueOf("../@name")#if ($winGk.valueOf("@win").length() > 0)($winGk.valueOf("@win"))#end.
761: 			Loss-$lossGk.valueOf("../@name")#if ($lossGk.valueOf("@loss").length() > 0)($lossGk.valueOf("@loss")) #end <br />
762: 		#elseif ($document.selectNodes("sogame/team/player/goalie[@tie]").size() > 0)
763: 			#set ($playerTie = $document.selectNodes("sogame/team/player/goalie[@tie]"))
764: 			#set ($tieGk1 = $playerTie.get(0))
765: 			#set ($tieGk2 = '')
766: 			#if ($playerTie.size() > 1)
767: 				#set ($tieGk2 = $playerTie.get(1))
768: 			#end
769: 			Tie-$tieGk1.valueOf("../@name")#if ($tieGk1.valueOf("@tie").length() > 0)($tieGk1.valueOf("@tie")) #end
770: 			#if ($tieGk2.length() > 0)
771: 				Tie-$tieGk2.valueOf("../@name")#if ($tieGk2.valueOf("@tie").length() > 0)($tieGk2.valueOf("@tie")) #end <br />
772: 			#end
773: 		#end
774: 
775: 		#if ($stadium.length() > 0)<span class="bold">Stadium:</span> $stadium; #end
776: 		<span class="bold">Game Length:</span> $document.valueOf("sogame/venue/@duration");
777: 		<span class="bold">Attendance:</span> $document.valueOf("sogame/venue/@attend")
778: 		#set ($officials = $document.selectNodes("sogame/venue/officials/official"))
779: 		#if ($officials.size() > 0)
780: 		<br />
781: 		<span class="bold">Officials:</span>
782: 		#foreach ($official in $officials)
783: 			#if ($velocityCount % 2 == 0)<br />#end
784: 			#if ($official.valueOf("@title").length() > 0)$official.valueOf("@title"):#end $official.valueOf("@name");
785: 		#end
786: 		#end
787: 	</td>
788: 	</tr>
789: </table>
790: </div>
791: #end  ## VIEW CHECK
792: </div>
793: 
794: #if ($stats.view != "pdf")
795:     #set ($showWiki = true)
796:     #set ($showWiki = $showWikiVar)
797: 
798:     #if ($showWiki == true)
799:         $!wiki.su
800:     #else
801:         <script type="text/javascript">print();</script>
802:     #end
803: #end