Central Connecticut vs. Robert Morris
(10/7/2012 at Moon Township, Pa.)
Central Connecticut (4-5-2, 2-0-1 NEC) vs.
Robert Morris (3-8-2, 0-3-1 NEC)
Goals by period 1 2 OT 2OT Tot
 
CCSU................ 0 1 0 0 - 1
Robert Morris....... 1 0 0 0 - 1
CCSU
# Player POS SH SOG G A Min
 
1 Anthony Occhialini.. * GK - - - - 110
2 Jose Pablo gamboa... * D - - - - 110
3 Ben Knight.......... * D - - - - 110
4 Mamoudou Dioubate... * C 1 1 - - 110
5 Steven Bailey....... * D 3 3 1 - 110
6 Jesse Menzies....... * C 2 - - - 110
7 Eddy Bogle.......... * F 2 1 - - 77
8 Stephen Walmsley.... * D - - - - 110
9 Reece Wilson........ * F 6 3 - 1 110
10 Thomas Obasi........ * F 1 1 - - 64
12 Freddy Metellus..... C 2 - - - 60
16 Tiago Martins....... C - - - - 9
17 Manny Nobre......... * C 1 - - - 110
18 Bilal Afolabi....... F - - - - 10
TM TEAM................ - - - - 0
  Totals.............. 18 9 1 1 1210
Robert Morris
# Player POS SH SOG G A Min
 
00 BOLAJI, Toba........ * g - - - - 110
3 JULL, Bennett....... * d - - - - 110
4 CAMPOS, Luca........ * m - - - - 110
5 REID, Carl.......... * d 1 1 - - 110
6 MACAULAY, Kyle...... * d - - - - 110
7 CALABRETTA, Daniel.. * m 1 1 - - 110
9 CABRILO, Miro....... * f 2 1 - - 110
10 WILLIAMS, Devon..... * m 1 1 - 1 105
11 SAMUELS, Prince..... 2 - - - 73
15 BRETT, Neco......... * f 2 - - - 47
16 MASCIA, Dominic..... - - - - 13
20 CULLEN, Bruce....... * m 3 1 1 - 86
22 JONES, Michael...... * d - - - - 110
23 CORADO, Niko........ - - - - 5
TM TEAM................ - - - - 0
  Totals.............. 12 5 1 1 1209
CCSU
# Player SOG GA Saves Min
1 Anthony Occhialini.. * 4 1 3 110:00
TM TEAM................ 1 - 1 0:00
  Totals.............. 5 1 4 110:00
Robert Morris
# Player SOG GA Saves Min
00 BOLAJI, Toba........ * 9 1 8 110:00
Shots by period 1 2 OT 2OT Tot
 
CCSU................ 7 10 0 1 - 18
Robert Morris....... 4 5 1 2 - 12
Saves by period 1 2 OT 2OT Tot
 
CCSU................ 2 1 1 0 - 4
Robert Morris....... 5 3 0 0 - 8
Corner Kicks 1 2 OT 2OT Tot
 
CCSU................ 1 2 0 0 - 3
Robert Morris....... 0 2 0 1 - 3
Fouls 1 2 OT 2OT Tot
 
CCSU................ 6 7 1 0 - 14
Robert Morris....... 6 9 4 1 - 20
SCORING SUMMARY:
GOAL Time/Team Goal Scorer Assists Description
 
1. 16:11 - RM CULLEN, Bruce WILLIAMS, Devon Pass behind defense, shot inside left po
2. 66:25 - CC STEVEN BAILEY REECE WILSON Header into box, #5 shot to near side.
CAUTIONS AND EJECTIONS:
YC - RM #11 (65:58) YC - RM #6 (68:00);
There was a problem with a Velocity script
Pagesoxml-monospace-template
ErrorInvocation of method 'get' in class java.util.ArrayList threw exception java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at soxml-monospace-template[line 614, column 98]
Page source:
1: #set ($showWiki = true)
2: #set ($showWiki = $showWikiVar)
3: 
4: #if ($showWiki == true)
5: 	$website.decorate("printer-decorator")
6: 	$!wiki.su 
7: #end
8: 
9: #set ($showGoalDesc = $document.valueOf("sogame/venue/show/@goaldesc") == "1")
10: #set ($showFouls = $document.valueOf("sogame/venue/show/@fouls") == "1")
11: #set ($showFieldHockey = $document.valueOf("sogame/venue/show/@fhk") == "1")
12: #set ($shootoutScores = {"V" : 0, "H" : 0})
13: 
14: #set ($linkPlayers = $stats.linkPlayers)
15: #set ($linkPlayersBase = $stats.linkPlayersBase)
16: #set ($linkTeams = $stats.linkTeams)
17: #set ($linkTeamsBase = $stats.linkTeamsBase)
18: 
19: #macro (shootout $shootouts $t)
20: #foreach ($shot in $shootouts)
21: #if ($shot.valueOf("@vh") == $t)
22: ${shot.valueOf("@uni")}/#if ($shot.valueOf("@result") == "MADE")
23: #set ($score = $shootoutScores.get($t))
24: #set ($score = $tool.math.add($score, 1))
25: #set ($score = $shootoutScores.put($t, $score))
26: Y #else
27: N #end
28: #end ## if
29: #end ## foreach
30: #end
31: 
32: #macro (period $p)
33: #if ($p == 1) 1st
34: #elseif ($p == 2) 2nd
35: #elseif ($p == 3) OT
36: #elseif ($p == 4) 2OT
37: #else $p
38: #end
39: #end
40: 
41: #macro (printPeriods)
42: #foreach ($prd in $document.selectNodes("sogame/team[1]/linescore/lineprd"))
43: #if ($velocityCount >= 3)
44: <th class="align-right">#if ($velocityCount == 3)OT #else ${tool.math.sub($velocityCount, 2)}OT #end</th>
45: #else
46: <th class="align-right">$velocityCount</th>
47: #end
48: #end
49: #end
50: 
51: #macro (printName $name)
52: #set ($printVal = $name)
53: #if ($name.length() < 20)
54:   #set ($dotCount = $tool.math.sub(20, $name.length()))
55:   #foreach ($i in [1..$dotCount])
56:     #set ($printVal = "${printVal}.")
57:   #end
58: #end
59: $printVal
60: #end
61: 
62: #macro (printAbbName $s)
63:   #set ($printVal = "")
64:   #if ($s.length() > 0)
65:     #set ($arr = $s.split(' '))
66: 	#foreach ($i in $arr)
67: 	  #set ($printVal = "${printVal}${i.substring(0, 1)}")
68: 	#end
69: 	$printVal
70:   #end
71: #end
72: 
73: #macro (printStatVal $val)
74: #set ($printVal = "")
75: #if ($val.length() > 0)
76:   #if ($tool.math.toInteger($val) == 0)
77:     #set ($printVal = "-")
78:   #else
79:     #set ($printVal = $val)
80:   #end
81: $printVal
82: #end
83: #end
84: 
85: #set ($home = $document.valueOf("sogame/team[@vh='H']/@name"))
86: #set ($visitor = $document.valueOf("sogame/team[@vh='V']/@name"))
87: #set ($visname = $document.valueOf("sogame/venue/@visname"))
88: #set ($homename = $document.valueOf("sogame/venue/@homename"))
89: #set ($location = $document.valueOf("sogame/venue/@location"))
90: #set ($stadium = $document.valueOf("sogame/venue/@stadium"))
91: #set ($date = $document.valueOf("sogame/venue/@date"))
92: #set ($duration = $document.valueOf("sogame/venue/@duration"))
93: #set ($schedNote = $document.valueOf("sogame/venue/@schednote"))
94: #set ($attendance = $document.valueOf("sogame/venue/@attend"))
95: 
96: ## RULES
97: #set ($periodRule = $document.valueOf("sogame/venue/rules/@periods"))
98: #set ($periodLength = $document.valueOf("sogame/venue/rules/@minutes"))
99: #set ($otPeriodLength = $document.valueOf("sogame/venue/rules/@minutesot"))
100: 
101: ## STATUS
102: #set ($status = $document.valueOf("sogame/status/@period"))
103: #set ($clock = $document.valueOf("sogame/status/@clock"))
104: #set ($gameFinished = false)
105: #set ($inProgress = false)
106: 
107: #if ($document.valueOf("sogame/venue/@duration").length() > 0)
108:   #set ($gameFinished = true)
109: #end
110: 
111: #if (!$gameFinished && $document.selectNodes("//currentscore").size() > 0)
112:   #set ($inProgress = true)
113: #end
114: 
115: #if ($clock.length() > 0 && $clock != "90:00")
116:   #if ($periodRule.length() > 0 && $periodLength.length() > 0 && $otPeriodLength.length() > 0)
117:     #set ($normalTime = $tool.math.mul($periodRule, $periodLength))
118: 	#set ($extraTime = $tool.math.mul($otPeriodLength, 2))
119: 	#set ($totalTime = "$tool.math.mul($normalTime, $extraTime):00")
120: 	$totalTime
121:   #end
122: #end
123: 
124: #set ($periodCount = $document.selectNodes("sogame/team[1]/linescore/lineprd").size())
125: #set ($periodRange = [1..$periodCount])
126: #set ($isNeutralGame = $documnt.valueOf("sogame/venue/@neutralgame"))
127: #if ($isNeutralGame.length() > 0 && $isNeutralGame.equals("Y"))
128:   #set ($isNeutralGame = true)
129: #else
130:   #set ($isNeutralGame = false)
131: #end
132: 
133: #set ($hasPlayByPlay = $document.selectNodes("sogame/plays/period").size() > 0)
134: 
135: ## GOALIE SHOTS
136: #macro (shots $ga $saves)
137: #if ($saves.length() > 0)
138:  $tool.math.add($ga, $saves)
139: #else
140: #end
141: #end
142: 
143: <head>
144: <title>$visname #if($isNeutralGame)vs.#else at #end $homename | Boxscore #if($date.length() > 0)| $date #end</title>
145: </head>
146: 
147: 
148: <div class="monostats clearfix">
149: 
150: 
151: ## GAME INFORMATION
152: <div class="align-center bold">
153: 	$visname vs. $homename<br />
154: 	($date at $location)
155: 	#if ($schedNote.length() > 0)<br />$!schedNote #end
156: </div>
157: 
158: <div class="clearfix">
159: 
160: ## TEAM RECORDS
161: <div class="monostats-halfbox-left">
162: <table>
163: 	<tr>
164: 		<td>
165: 			$visname ($document.valueOf("sogame/team[@vh='V']/@record")) vs.
166: 			<br /> $homename ($document.valueOf("sogame/team[@vh='H']/@record"))
167: 		</td>
168: 	</tr>
169: </table>
170: </div>
171: 
172: ## PERIOD SUMMARY
173: <div class="monostats-halfbox-right">
174: <table>
175: 	<tr>
176: 		<th class="align-left">Goals by period</th>
177: 		#printPeriods()
178: 		<th colspan="2">Tot</th>
179: 	</tr>
180: 	
181: 	<tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&nbsp;</td></tr>
182: 
183: 	#foreach ($team in $document.selectNodes("sogame/team"))
184: 	<tr>
185: 		<td>#printName($!team.valueOf("@name"))</td>
186: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
187: 		<td class="align-right">$prd.valueOf("@score")</td>
188: 		#end
189: 		<td class="align-center">-</td>
190: 		<td class="align-right">$team.valueOf("linescore/@score")</td>
191: 	</tr>
192: 	#end
193: </table>
194: </div>
195: ## PERIOD SUMMARY END
196: </div> 
197: 
198: #if ($request.getParameter("view") == "plays" && $hasPlayByPlay)
199: ## PLAY BY PLAY
200: 
201: #macro (printPlays $prd)
202:   #set ($prdCount = $prd.valueOf("@number")) 
203:   <tr><th colspan="2"><span id="prd${prdCount}">#period($prdCount)</span></th></tr>
204:   <tr class="stats-highlight">
205:     <td class="align-center"><span class="bold">Time</span></td>
206:     <td class="align-center"><span class="bold">Play</span></td>
207:   </tr>
208:   #set ($i = 0)
209:   #set ($playNodes = $prd.selectNodes("*"))
210:   #foreach ($play in $playNodes)
211:     #set ($nodeName = $play.getName())
212:     #if ($nodeName == "play" && !$play.valueOf("@action").equalsIgnoreCase("goalmsg"))
213:       #set ($i = $i + 1)
214:       #if ($i % 2 == 0)
215:         #set ($row = "even")
216:       #else
217:         #set ($row = "odd")
218:       #end
219: 	  
220: 	  #if ($play.valueOf("@action").equalsIgnoreCase("goal"))
221: 	  <tr class="${row} highlight bold">
222:         <td class="align-center">$play.valueOf("@clock")</td>
223: 		#set ($printValue = $play.valueOf("@text"))
224: 		#if ($playNodes.get($tool.math.add($velocityCount, 1)))
225: 		  #set ($goalMsg = $playNodes.get($tool.math.add($velocityCount, 1)).valueOf("@text"))
226: 		  #set ($printValue = "${printValue} ${goalMsg}")
227: 		#end
228:         <td>$printValue</td>
229:       </tr>
230: 	  #else
231: 	  <tr class="${row}">
232:         <td class="align-center">$play.valueOf("@clock")</td>
233:         <td>$play.valueOf("@text")</td>
234:       </tr>	  
235: 	  #end
236:     #elseif ($nodeName == "currentscore")
237:       <tr class="stats-highlight">
238:         <td colspan="2" class="align-center bold">Score: $visitor $play.valueOf("@vscore") - $home $play.valueOf("@hscore")</td>
239:       </tr>
240:     #end
241: #end
242: #end ## ends printPlays
243: 
244: <div class="monostats-fullbox clearfix">
245: <table>
246: <tr>
247: <td colspan="2">
248: <span class="bold">Period: </span>
249: #foreach ($p in [1..$document.selectNodes("sogame/plays/period").size()])
250: #if ($velocityCount > 1) | #end
251: <a href="#prd${p}">#period($p)</a>
252: #end
253: </td>
254: </tr>
255: #foreach ($playPeriod in $document.selectNodes("sogame/plays/period"))
256: #printPlays ($playPeriod)
257: #end
258: </table>
259: </div>
260: ## PLAY BY PLAY END
261: 
262: #else
263: ## BOXSCORE
264: 
265: ## TEAM SUMMARY
266: #macro (playerstats $team)
267: <div class="caption">$team.valueOf("@name")</div>
268: <table>
269: 	<tr>
270: 		<th class="align-left">&#35;</th>
271: 		<th class="align-left">Player</th>
272: 		<th>POS</th>
273: 		<th>SH</th>
274: 		#if ($showFieldHockey)
275: 		<th>SO</th>
276: 		#else
277: 		<th>SOG</th>
278: 		#end
279: 		<th>G</th>
280: 		<th>A</th>
281: 		#if ($showFieldHockey)
282: 		<th>DS</th>
283: 		#else
284: 		<th>Min</th>
285: 		#end
286: 	</tr>
287: 	
288: 	<tr><td colspan="8" class="hr">&nbsp;</td></tr>
289: 
290: 	#foreach ($stat in $team.selectNodes("player/shots"))
291: 	<tr>
292: 		<td>$!stat.valueOf("../@uni")</td>
293: 		#if ($stat.valueOf("../@gs") == 1)
294: 		<td class="nowrap">#printName($stat.valueOf("../@name"))*</td>
295: 		#else
296: 		<td class="nowrap">#printName($stat.valueOf("../@name"))</td>
297: 		#end
298: 		<td>$stat.valueOf("../@pos")</td>
299: 		<td class="align-right">#printStatVal($!stat.valueOf("@sh"))</td>
300: 		<td class="align-right">#printStatVal($!stat.valueOf("@sog"))</td>
301: 		<td class="align-right">#printStatVal($!stat.valueOf("@g"))</td>
302: 		<td class="align-right">#printStatVal($!stat.valueOf("@a"))</td>
303: 		#if ($showFieldHockey)
304: 		<td class="align-right">#printStatVal($!stat.valueOf("../misc/@dsave"))</td>
305: 		#else
306: 		<td class="align-right">$!stat.valueOf("../misc/@minutes")</td>
307: 		#end
308: 	</tr>
309: 	#end
310: 	
311: 	<tr>
312: 		<td>&nbsp;</td>
313: 		<td colspan="2">#printName("Totals")</td>
314: 		#set ($statTotals = $team.selectSingleNode("totals/shots"))
315: 		<td class="align-right">$!statTotals.valueOf("@sh")</td>
316: 		<td class="align-right">$!statTotals.valueOf("@sog")</td>
317: 		<td class="align-right">$!statTotals.valueOf("@g")</td>
318: 		<td class="align-right">$!statTotals.valueOf("@a")</td>
319: 		#if ($showFieldHockey)
320: 		<td class="align-right">$!statTotals.valueOf("../misc/@dsave")</td>
321: 		#else
322: 		<td class="align-right">$!statTotals.valueOf("../misc/@minutes")</td>
323: 		#end
324: 	</tr>
325: </table>
326: #end ##macro
327: 
328: #macro (goaliestats $team)
329: <div class="caption">$team.valueOf("@name")</div>
330: <table>
331: 	<tr>
332: 		<th class="align-left">&#35;</th>
333: 		#if ($showFieldHockey)
334: 		<th class="align-left">Goalkeepers</th>
335: 		#else
336: 		<th class="align-left">Player</th>
337: 		#end
338: 		<th>SOG</th>
339: 		<th>GA</th>
340: 		<th>Saves</th>
341: 		<th>Min</th>
342: 	</tr>
343: 
344: 	#foreach ($stat in $team.selectNodes("player/goalie"))
345: 	<tr>
346: 		<td>$!stat.valueOf("../@uni")</td>
347: 		#if ($stat.valueOf("../@gs") == 1)
348: 		<td class="nowrap">#printName($stat.valueOf("../@name"))*</td>
349: 		#else
350: 		<td class="nowrap">#printName($stat.valueOf("../@name"))</td>
351: 		#end
352: 		<td class="align-right">#shots($stat.valueOf("@ga") $stat.valueOf("@saves"))</td>
353: 		<td class="align-right">#printStatVal($!stat.valueOf("@ga"))</td>
354: 		<td class="align-right">#printStatVal($!stat.valueOf("@saves"))</td>
355: 		<td class="align-right">$!stat.valueOf("@minutes")</td>
356: 	</tr>
357: 	#end
358: 	
359: 	#if ($team.selectNodes("player/goalie").size() > 1) ## if more than one goalie appeared show totals
360: 	<tr>
361: 		<td>&nbsp;</td>
362: 		#set ($goalieTotals = $team.selectSingleNode("totals/goalie"))
363: 		<td class="align-center">#printName("Totals")</td>
364: 		<td class="align-right">#shots($goalieTotals.valueOf("@ga") $goalieTotals.valueOf("@saves"))</td>
365: 		<td class="align-right">$!goalieTotals.valueOf("@ga")</td>
366: 		<td class="align-right">$!goalieTotals.valueOf("@saves")</td>
367: 		<td class="align-right">$!goalieTotals.valueOf("@minutes")</td>
368: 	</tr>
369: 	#end
370: </table>
371: #end
372: 
373: 
374: <div class="clearfix">
375: ## VISITOR STATISTICS
376: <div class="monostats-halfbox-left">#playerstats($document.selectSingleNode("sogame/team[@vh='V']"))</div>
377: ## HOME STATISTICS
378: <div class="monostats-halfbox-right">#playerstats($document.selectSingleNode("sogame/team[@vh='H']"))</div>
379: </div>
380: 
381: <div class="clearfix">
382: ## VISITOR STATISTICS
383: <div class="monostats-halfbox-left">#goaliestats($document.selectSingleNode("sogame/team[@vh='V']"))</div>
384: ## HOME STATISTICS
385: <div class="monostats-halfbox-left">#goaliestats($document.selectSingleNode("sogame/team[@vh='H']"))</div>
386: </div>
387: 
388: <div class="clearfix">
389: ## SHOTS BY PERIOD
390: <div class="monostats-halfbox-left">
391: <table>
392: 	<tr>
393: 		<th class="align-left">Shots by period</th>
394: 		#printPeriods()
395: 		<th colspan="2" class="align-right">Tot</th>
396: 	</tr>
397: 	
398: 	<tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&nbsp;</td></tr>
399: 
400: 	#foreach ($team in $document.selectNodes("sogame/team"))
401: 	<tr>
402: 		<td>#printName($!team.valueOf("@name"))</td>
403: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
404: 		<td class="align-right">$prd.valueOf("@shots")</td>
405: 		#end
406: 		<td class="align-center">-</td>
407: 		<td class="align-right">$team.valueOf("linescore/@shots")</td>
408: 	</tr>
409: 	#end
410: </table>
411: </div>
412: ## SHOTS BY PERIOD END
413: 
414: ## SAVES
415: <div class="monostats-halfbox-right">
416: <table>
417: 	<tr>
418: 		<th class="align-left">Saves by period</th>
419: 		#printPeriods()
420: 		<th colspan="2" class="align-right">Tot</th>
421: 	</tr>
422: 	
423: 	<tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&nbsp;</td></tr>
424: 
425: 	#foreach ($team in $document.selectNodes("sogame/team"))
426: 	#set ($runningTotal = 0)
427: 	<tr>
428: 		<td>#printName($!team.valueOf("@name"))</td>
429: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
430: 		<td class="align-right">$prd.valueOf("@saves")</td>
431: 		#set ($runningTotal = $tool.math.add($runningTotal, $prd.valueOf("@saves")))
432: 		#end
433: 		<td class="align-center">-</td>
434: 		<td class="align-right">$runningTotal</td>
435: 	</tr>
436: 	#end
437: </table>
438: </div>
439: ## SAVES END
440: </div>
441: 
442: <div class="clearfix">
443: <div class="monostats-halfbox-left">
444: <table>
445: #if ($showFieldHockey)
446: ## PERIOD SUMMARY - PENALTY CORNERS
447: 	<tr>
448: 		<th class="align-left">Penalty corners</td>
449: 		#printPeriods()
450: 		<th colspan="2" class="align-right">Tot</th>
451: 	</tr>
452: 	
453: 	<tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&nbsp;</td></tr>
454: 
455: 	## team corners, which have to be manually added up
456: 	#foreach ($team in $document.selectNodes("sogame/team"))
457: 	#set ($totalCorners = 0)
458: 	<tr>
459: 		<td>#printName($!team.attributeValue("name"))</td>
460: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
461: 		#set ($totalCorners = $tool.math.add($totalCorners, $prd.valueOf("@corners")))
462: 		<td class="align-right">$prd.valueOf("@corners")</td>
463: 		#end
464: 		<td class="align-right">$totalCorners</td>
465: 	</tr>
466: 	#end
467: #else
468: ## PERIOD SUMMARY - CORNER KICKS
469: 	<tr>
470: 		<th class="align-left">Corner Kicks</th>
471: 		#printPeriods()
472: 		<th colspan="2" class="align-right">Tot</th>
473: 	</tr>
474: 	
475: 	<tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&nbsp;</td></tr>
476: 
477: 	## team corners, which have to be manually added up
478: 	#foreach ($team in $document.selectNodes("sogame/team"))
479: 	#set ($totalCorners = 0)
480: 	<tr>
481: 		<td>#printName($!team.attributeValue("name"))</td>
482: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
483: 		#set ($totalCorners = $tool.math.add($totalCorners, $prd.valueOf("@corners")))
484: 		<td class="align-right">$prd.valueOf("@corners")</td>
485: 		#end
486: 		<td class="align-center">-</td>
487: 		<td class="align-right">$totalCorners</td>
488: 	</tr>
489: 	#end
490: #end
491: </table>
492: </div>
493: 
494: 
495: ## FOULS BY PERIOD
496: <div class="monostats-halfbox-right">
497: <table>
498: 	<tr>
499: 		<th class="align-left">Fouls</th>
500: 		#printPeriods()
501: 		<th colspan="2" class="align-right">Tot</th>
502: 	</tr>
503: 	
504: 	<tr><td colspan="$tool.math.add($periodCount, 3)" class="hr">&nbsp;</td></tr>
505: 
506: 	#foreach ($team in $document.selectNodes("sogame/team"))
507: 	<tr>
508: 		<td>#printName($!team.attributeValue("name"))</td>
509: 		#foreach ($prd in $team.selectNodes("linescore/lineprd"))
510: 		<td class="align-right">$prd.valueOf("@fouls")</td>
511: 		#end
512: 		<td class="align-center">-</td>
513: 		<td class="align-right">$team.valueOf("totals/penalty/@fouls")</td>
514: 	</tr>
515: 	#end
516: </table>
517: </div>
518: </div>
519: 
520: ## SCORING SUMMARY
521: <div class="monostats-fullbox clearfix">
522: <div class="caption">SCORING SUMMARY:</div>
523: <table>
524: 	#if ($document.selectNodes("sogame/scores/score").size() > 0)
525: 	<tr>
526: 		<th class="align-left">GOAL</th>
527: 		<th class="align-left">Time/Team</th>
528: 		<th class="align-left">Goal Scorer</th>
529: 		<th class="align-left">Assists</th>
530: 		<th class="align-left">Description</th>
531: 	</tr>
532: 	#end
533: 	
534: 	<tr><td colspan="5" class="hr">&nbsp;</td></tr>
535: 
536: 	#set ($shownStats = "")
537: 	#foreach ($score in $document.selectNodes("sogame/scores/score"))
538: 	#set ($shownStats = "y")
539: 	<tr>
540: 		<td>${velocityCount}.</td>
541: 		<td>
542: 			$score.valueOf("@time")
543: 			#if($score.valueOf("@vh") == 'H') - #printAbbName($homename) #end
544: 			#if($score.valueOf("@vh") == 'V') - #printAbbName($visname) #end
545: 		</td>
546: 		<td>$score.valueOf("@name")</td>
547: 
548: 		#if($score.valueOf("@assist1").length() > 0)
549: 		#if ($score.valueOf("@assist2").length() > 0)
550: 		<td>$score.valueOf("@assist1") &amp; $score.valueOf("@assist2")</td>
551: 		#else
552: 		<td>$score.valueOf("@assist1")</td>
553: 		#end
554: 		#else
555: 		<td>unassisted</td>
556: 		#end
557: 		<td>$!score.valueOf("@desc")</td>
558: 	</tr>
559: 	#end ## scoring foreach
560: 
561: 	#if ($shownStats == "") 
562: 	<tr><td colspan="5" class="align-center">(no scoring)</td></tr>
563: 	#end
564: </table>
565: </div>
566: ## SCORING SUMMARY END
567: 
568: 
569: ## PENALTY SUMMARY
570: <div class="monostats-fullbox clearfix">
571: <div class="caption">#if ($showFieldHockey)PLAYER CARDS: #else CAUTIONS AND EJECTIONS: #end</div>
572: <table>
573: <tr>
574: 	<td>
575: 	#set ($shownStats = "")
576: 	#foreach ($penalty in $document.selectNodes("sogame/penalties/pen"))
577: 	#if ($velocityCount % 4 == 0)<br />#end
578: 	#set ($shownStats = "y")
579: 		#if ($penalty.valueOf("@type") == 'GREEN')GC #end
580: 		#if ($penalty.valueOf("@type") == 'YELLOW')YC #end
581: 		#if ($penalty.valueOf("@type") == 'RED')RC #end
582: 		#if($penalty.valueOf("@vh") == 'H')- #printAbbName($homename) #end
583: 		#if($penalty.valueOf("@vh") == 'V')- #printAbbName($visname) #end
584: 		#if ($penalty.valueOf("@uni").length() > 0)
585: 		  &#35;$penalty.valueOf("@uni")
586: 		#end
587: 		#if ($velocityCount > 1)
588: 		($penalty.valueOf("@time"));
589: 		#else
590: 		($penalty.valueOf("@time"))
591: 		#end
592: 	#end ## penalty foreach
593: 	
594: 	#if ($shownStats == "")
595: 		(no penalties)
596: 	#end
597: 	</td>
598: </tr>
599: </table>
600: </div>
601: 
602: ## OTHER INFORMATION
603: <div class="monostats-fullbox clearfix">
604: <table>
605: 	<tr>
606: 		<td>
607: 		#if ($document.selectNodes("sogame/team/player/goalie[@win]").size() > 0 && $document.selectNodes("sogame/team/player/goalie[@loss]").size() > 0)
608: 			#set ($winGk = $document.selectNodes("sogame/team/player/goalie[@win]").get(0))
609: 			#set ($lossGk = $document.selectNodes("sogame/team/player/goalie[@loss]").get(0))
610: 			Win-$winGk.valueOf("../@name")#if ($winGk.valueOf("@win").length() > 0)($winGk.valueOf("@win"))#end.
611: 			Loss-$lossGk.valueOf("../@name")#if ($lossGk.valueOf("@loss").length() > 0)($lossGk.valueOf("@loss")) #end <br />
612: 		#elseif ($document.selectNodes("sogame/team/player/goalie[@tie]").size() > 0)
613: 			#set ($tieGk1 = $document.selectNodes("sogame/team/player/goalie[@tie]").get(0))
614: 			#set ($tieGk2 = $document.selectNodes("sogame/team/player/goalie[@tie]").get(1))
615: 			Tie-$tieGk1.valueOf("../@name")#if ($tieGk1.valueOf("@tie").length() > 0)($tieGk1.valueOf("@tie")) #end 
616: 			Tie-$tieGk2.valueOf("../@name")#if ($tieGk2.valueOf("@tie").length() > 0)($tieGk2.valueOf("@tie")) #end <br />
617: 		#end
618: 		
619: 		#if ($stadium.length() > 0)<span class="bold">Stadium:</span> $stadium; #end
620: 		<span class="bold">Game Length:</span> $document.valueOf("sogame/venue/@duration");
621: 		<span class="bold">Attendance:</span> $document.valueOf("sogame/venue/@attend")
622: 		#set ($officials = $document.selectNodes("sogame/venue/officials/official"))
623: 		#if ($officials.size() > 0)
624: 		<br />
625: 		<span class="bold">Officials:</span>
626: 		#foreach ($official in $officials)
627: 			#if ($velocityCount % 2 == 0)<br />#end
628: 			#if ($official.valueOf("@title").length() > 0)$official.valueOf("@title"):#end $official.valueOf("@name");
629: 		#end
630: 		#end
631: 	</td>
632: 	</tr>
633: </table>
634: </div>
635: #end  ## VIEW CHECK
636: </div>
637: 
638: #set ($showWiki = true)
639: #set ($showWiki = $showWikiVar)
640: 
641: #if ($showWiki == true)
642: 	$!wiki.su
643: #else
644:  	$stats.getPrint()	 
645: #end