Farmingdale State at Mount Saint Mary | Box Score | 10/26/2013
Farmingdale State vs. Mount Saint Mary at Newburgh, NY
10/26/2013 at 1:00 pm

Farmingdale State
0
Mount Saint Mary
2
SCORING 1 2 FINAL
Farmingdale State (11-9-0/7-1-0 Skyline) 0 0 0
Mount Saint Mary (14-4-0/8-0-0 Skyline) 1 1 2
Scoring Summary
-- 1st --
Mount Saint Mary 33:07 Robe, Shanice (Lester, Lauren) in front of goal beat defenders goal to
-- 2nd --
Mount Saint Mary 53:06 Robe, Shanice (Moran, Meghan) front of goal netted to the left

Farmingdale State

# PLAYER POS SH SOG G A
1 Breanna Blair * GK 0 0 0 0
2 Amanda Khare * 0 0 0 0
4 Shannon Murphy * 1 1 0 0
5 Melissa Lijo * 3 2 0 0
6 Samantha Kender * D 0 0 0 0
10 Ashlee Thompson * F 1 0 0 0
11 Alena Gannon * F 0 0 0 0
13 Maria Raimondi 1 0 0 0
16 Ashley Appel * 2 0 0 0
17 Sammy Valentino * D 0 0 0 0
18 Melanie Zeltmann D 0 0 0 0
19 Katlyn Merino 0 0 0 0
21 Gabrielle Kasulke 0 0 0 0
22 Jazlyn Scott D 0 0 0 0
24 Alexa Orlando * D 0 0 0 0
25 Deborah Gilwit 0 0 0 0
28 Bethany Bianco * 0 0 0 0
30 Meghan Cleary 0 0 0 0
47 Christine Campanello D 0 0 0 0
TM TEAM 0 0 0 0
TOTALS 8 3 0 0
# GOALIES   SOG GA SV Min
1 Breanna Blair (L, 8-6-0) 5 2 3 90:00
TM TEAM 1 0 1 0:00
TOTALS 6 2 4 90:00
SHOTS
There was a problem with a Velocity script
Pagestatcrew-soxml-template
ErrorVM #printPeriods: too many arguments to macro. Wanted 0 got 1 at statcrew-soxml-template[line 2012, column 37]
Page source:
1: #if ($stats.view == "pt")
2:     $website.include("options")
3: 
4:     ## This is for testability purposes.
5:     #set ($pregame = $stats.pregame)
6:     #set ($startTime = $document.getRootElement().valueOf("network/@startTime"))
7:     #if ($document.getRootElement().valueOf("network/@tba") == 'Y')
8:         #set ($tba = true)
9:     #else
10:         #set ($tba = false)
11:     #end
12:     #set ($location = $document.getRootElement().valueOf("network/@location"))
13:     #set ($localDate = $document.getRootElement().valueOf("network/@localDate"))
14:     #set ($localTime = $document.getRootElement().valueOf("network/@localTime"))
15: 	#set ($hasVideo = false)
16: 	#if ($document.getRootElement().valueOf("primetime/@videoProvider").length() > 0 && $document.getRootElement().valueOf("primetime/@videoProvider") != "none")
17: 		#set ($hasVideo = true)
18: 	#end
19:     #if ($location != '')
20:         #set ($neutral = true)
21:     #else
22:         #set ($neutral = false)
23:     #end
24: 
25: 
26:     <head>
27: 
28:     <script type="text/javascript">
29:         var conf = new Object();
30:         conf.locale = '${locale}';
31:         conf.videoProvider = '${videoProvider}';
32:         conf.videoId = '${videoId}';
33:         conf.eventId = '$document.valueOf("sogame/network/@eventId")';
34:         conf.eventIdHashCode = '$eventIdHashCode';
35:         conf.visitorTeamLogo = '$stats.visitorTeamLogo';
36:         conf.homeTeamLogo = '$stats.homeTeamLogo';
37:         conf.visitorTeamColor = '$document.getRootElement().valueOf("team[@vh='V']/@color")';
38:         conf.homeTeamColor = '$document.getRootElement().valueOf("team[@vh='H']/@color")';
39:         conf.startTime = '$startTime';
40:         conf.pregame = $pregame;
41:         conf.tba = $tba;
42:         conf.localDate = '$localDate';
43:         conf.localTime = '$localTime';
44:         conf.visitor = '${tool.esc.javascript($document.getRootElement().valueOf("team[@vh='V']/@name"))}';
45:         conf.home = '${tool.esc.javascript($document.getRootElement().valueOf("team[@vh='H']/@name"))}';
46:         conf.currentDate = new Date();
47:         conf.statusFinal = $stats.final;
48:         conf.neutral = $neutral;
49:     </script>
50: 
51:     <script type="text/javascript" src="/info/jquery-2.1.1.js"></script>
52: 	<script type="text/javascript" src="/info/notifications/jquery.noty.packaged.min.js"></script>
53:     <script type="text/javascript" src="/info/dataTables/js/jquery.dataTables.js"></script>
54:     <script type="text/javascript" src="/info/primetime3/js/pt3-embed.js"></script>
55:     <script type="text/javascript" src="/info/primetime3/js/pt3-util.js"></script>
56:     <script type="text/javascript" src="/info/primetime3/js/moment.js"></script>
57:     <script type="text/javascript" src="/info/primetime3/js/pt3-soc-template.js"></script>
58:     <script type="text/javascript" src="/info/primetime3/js/full_screen_api.js"></script>
59:     <script type="text/javascript" src="/info/primetime3/js/ustream-embedapi.js"></script>
60:     <script type="text/javascript" src="/info/primetime3/js/add-ons.js"></script>
61:     <script type="text/javascript" src="/info/primetime3/js/flipclock.min.js"></script>
62: 
63:     $website.addCss("/info/dataTables/css/jquery.dataTables.css")
64:     $website.addCss("/info/primetime3/css/pt3-styles.css")
65:     $website.addCss("/info/primetime3/css/pt3-soccer-icons.css")
66:     $website.addCss("/info/primetime3/css/flipclock.css")
67: 
68:     </head>
69: 
70:     #if ($pregame)
71:         <div id="primetime-wrapper" class="primetime-pre-game primetime-soc primetime-wrapper clearfix">
72:             <div class="primetime-overflow clearfix">
73:                 <div id="primetime-header" class="grid-row">
74:                     <div class="grid-col grid-col-hdr">
75: 
76:                         <div class="pt-header clearfix">
77:                             <div class="pt-team pt-team-away visitor-team-color" style="background: $document.getRootElement().valueOf("team[@vh='V']/@color")">
78:                                 <img src="$stats.visitorTeamLogo" alt="" class="team-logo visitor-team-logo" />
79:                                 <h3 class="team-name visitor-team-name">$document.getRootElement().valueOf("team[@vh='V']/@name")</h3>
80:                             </div>
81: 
82:                             <div class="pt-team pt-team-home home-team-color" style="background: $document.getRootElement().valueOf("team[@vh='H']/@color")">
83:                                 <img src="$stats.homeTeamLogo" alt="" class="team-logo home-team-logo" />
84:                                 <h3 class="team-name home-team-name">$document.getRootElement().valueOf("team[@vh='H']/@name")</h3>
85:                             </div>
86: 
87:                             <div class="pt-match-scoreboard clearfix">
88:                                 <div class="pt-mtach-info pt-pregame">
89:                                     <center>
90:                                         <div>
91:                                             $localDate <br>
92:                                             #if ($tba)
93:                                                 TBA
94:                                             #else
95:                                                 $localTime
96:                                             #end
97:                                         </div>
98:                                     </center>
99:                                 </div>
100:                             </div>
101:                         </div>
102:                     </div>
103:                 </div>
104:                 <div class="grid-row-container clearfix">
105:                     <div class="grid-row">
106:                         <div class="content">
107:                             <div class="pt-last-play clearfix" style="display: none">
108:                                 <span class="pt-label clearfix" style="text-align: center !important; width: 100% ">
109:                                     This event doesn't have a set start time, but PrimeTime will be available once the event begins.
110:                                 </span>
111:                             </div>
112:                             <div class="text">
113:                                 <h3>
114:                                     Live statistics will be available at the start of the event in:
115:                                 </h3>
116:                                 <center>
117:                                     <div class="clock"></div><br/>
118:                                     #if ($tba)
119:                                         Days
120:                                     #end
121:                                 </center>
122:                             </div>
123:                         </div>
124:                     </div>
125:                     <div class="pt-game-info grid-row clearfix">
126:                         <div class="pt-tabs-panes clearfix">
127:                             <div id="stats-tabs" class="pt-tabs-pane clearfix">
128:                                 <div id="divGameInformation" class="grid-row">
129:                                     <div class="grid-col grid-col-gi grid-col1">
130:                                         <h3 class="grid-title">
131:                                             Game Information
132:                                         </h3>
133:                                         <div class="grid-content clearfix">
134:                                             <div class="pt-game-information clearfix">
135:                                                 <div class="pt-row clearfix">
136:                                                     <center>
137:                                                         <div class="game-location pt-col">
138:                                                         <span class="date">
139:                                                             $localDate<br />
140:                                                             #if ($tba)
141:                                                                 TBA
142:                                                             #else
143:                                                                 $localTime
144:                                                             #end
145:                                                         </span>
146:                                                             <h3>Date & Time</h3>
147:                                                         </div>
148:                                                         #if ($location != '')
149:                                                             <div class="game-venue pt-col">
150:                                                         <span class="venue">
151:                                                             $location<br />
152:                                                             (Neutral)
153:                                                         </span>
154:                                                                 <h3>Location</h3>
155:                                                             </div>
156:                                                         #end
157:                                                     </center>
158:                                                 </div>
159:                                             </div>
160:                                         </div>
161:                                     </div>
162:                                 </div>
163:                             </div>
164:                         </div>
165:                     </div>
166:                 </div>
167: 
168:                 <div id="primetime-footer" class="grid-row">
169:                     <div class="grid-col grid-col-ftr">
170:                         <a href="/"></a>
171:                     </div>
172:                 </div>
173:             </div>
174:             ## GENERAL INFORMATION
175:         </div>
176:     #else
177:         #if ($document.getRootElement().valueOf("primetime/@videoProvider") == "boxcastppv")
178:             $website.requireSSL()
179:         #end
180:         <div id="primetime-wrapper" class="primetime-soc primetime-wrapper clearfix">
181: 
182:             <div class="primetime-overflow clearfix">
183:                 ## HEADER
184:                 <div id="primetime-header" class="grid-row">
185:                     <div class="grid-col grid-col-hdr">
186: 
187:                         <div class="primetime-screen-controls clearfix"> 
188:                             <a href="#" class="full-screen-button pt-icon-resize-full"><span class="text">Switch</span></a> 
189:                             <a href="#" class="normal-screen-button pt-icon-resize-small"><span class="text">Switch</span></a> 
190:                             <a href="#" class="expand-button pt-icon-link-ext"><span class="text">Switch</span></a>
191:                         </div>
192: 
193:                         <div class="pt-header clearfix">
194: 
195:                             <div class="pt-team pt-team-away visitor-team-color"><img src="$stats.visitorTeamLogo" alt="" class="team-logo visitor-team-logo" /><span
196:                                     class="team-record visitor-team-record"></span>
197:                                 <h3 class="team-name visitor-team-name"></h3>
198:                             </div>
199: 
200:                             <div class="pt-team pt-team-home home-team-color">
201:                                 <span class="team-record home-team-record"></span>
202:                                 <img src="$stats.homeTeamLogo" alt="" class="team-logo home-team-logo" />
203:                                 <h3 class="team-name home-team-name"></h3>
204:                             </div>
205: 
206:                             <div class="pt-match-scoreboard clearfix">
207:                                 <p class="team-score visitor-team-score"></p>
208:                                 <p class="team-score home-team-score"></p>
209: 
210:                                 <div class="pt-mtach-info">
211:                                     <span class="time scoreboard-time"></span><br />
212:                                     <span class="period scoreboard-period" style="width: 100%"></span>
213:                                 </div>
214: 
215:                             </div>
216: 
217:                             <div id="pt-page-nav" class="pt-page-nav">
218: 								<a href="#" class="pt-menu">Menu</a>
219:                             	<ul class="clearfix">
220:                                     <li><a href="#live-action-title" data-id="#live-action-title">Live Action</a></li>
221:                             		<li><a href="#line-score-title" data-id="#line-score-title">Line Score</a></li>
222:                             		## <li><a href="#social-sharing-title" data-id="social-sharing-title">Social Sharing</a></li>
223:                             		<li><a href="#scoring-plays-title" data-id="#scoring-plays-title" data-tab-id="#stats-tabs">Scoring Plays</a></li>
224:                             		<li><a href="#team-comparison-title" data-id="#team-comparison-title" data-tab-id="#stats-tabs">Team Comparison</a></li>
225:                             		<li><a href="#individual-stats-title" data-id="#individual-stats-title" data-tab-id="#stats-tabs">Individual Stats</a></li>
226:                             		<li><a href="#game-info-title" data-id="#game-info-title" data-tab-id="#stats-tabs">Game Information</a></li>
227:                             		<li><a href="#play-by-play-title" data-id="#play-by-play-title" data-tab-id="#pbp-tabs">Play by Play</a></li>
228:                             	</ul>
229:                             </div>
230: 
231:                         </div>
232: 
233:                     </div>
234:                 </div>
235:                 ## PRIMETIME HEADER 
236: 
237: 				## GRID ROW CONTAINER
238:                 <div class="grid-row-container clearfix">
239: 
240:                 ## GRID ROW
241: 				#set ($gridRowClass = "grid-row no-video")
242: 				#if ($hasVideo)
243: 					#set ($gridRowClass = "grid-row")
244: 				#end
245: 				
246:                 <div id="firstPanelRow" class="$gridRowClass">
247: 
248: 				#set ($gridCounter = 0)
249: 				
250: 				#if ($hasVideo)	
251: 					#set ($gridCounter = $gridCounter + 1)
252:                     <div class="grid-col grid-col-v grid-col${gridCounter}">
253:                         <h3 id="video-field-title" class="grid-title">Video<span class="close">x</span></h3>
254:                         <div class="grid-content clearfix">
255:                             <div class='embed-container'>
256: 
257:                             </div>
258:                         </div>
259:                         ## GRID CONTENT
260:                     </div>
261:                     ## VIDEO COL
262: 				#end
263: 
264: 					#set ($gridCounter = $gridCounter + 1)
265:                     <div class="grid-col grid-col-cd grid-col${gridCounter}">
266:                         <h3 id="live-action-title" class="grid-title">
267:                             Live Action<span class="close">x</span>
268:                         </h3>
269:                         <div class="grid-content clearfix">
270:                             <div class="clearfix">
271:                                 <div class="container clearfix pt-live-action">
272:                                     <table>
273:                                         <thead>
274:                                             <tr>
275:                                                 <th>Time</th>
276:                                                 <th>Action</th>
277:                                                 <th>Plays</th>
278:                                             </tr>
279:                                         </thead>
280:                                         <tbody>
281:                                         </tbody>
282:                                     </table>
283:                                 </div>
284:                             </div>
285:                         </div>
286:                     </div>
287:                 </div>
288: 
289: ## COMMENT THE TIMELINE AND TIMEPLAY CODE
290: #*
291:                 <div class="grid-row">
292:                     <div class="grid-col pt-timeline grid-col-tl grid-col3">
293:                         <h3 id="timeline-title" class="grid-title">
294:                             Timeline<span class="close">x</span>
295:                         </h3>
296:                         <div class="grid-content clearfix ">
297:                             <div class="pt-timeline-logos">
298:                                 <img class="team-logo visitor-team-logo" /><br />
299:                                 <img class="team-logo home-team-logo" />
300:                             </div>
301:                             <div class="pt-timeline-times">
302:                             </div>
303:                         </div>
304:                     </div>
305:                 </div>
306: 
307:                 <div class="grid-row">
308:                     <div class="grid-col pt-timeline-plays grid-col-tp grid-col4">
309: 						<h3 id="timeline-plays-title" class="grid-title">
310:                     		Timeline Plays<span class="close">x</span>
311:                     	</h3>
312:                         <div class="grid-content clearfix">
313:                         </div>
314:                     </div>
315:                 </div>
316: *#
317:                 <div class="grid-row">
318: 					#set ($gridCounter = $gridCounter + 1)
319:                     <div class="grid-col grid-col-bs grid-col${gridCounter}">
320:                         <h3 id="line-score-title" class="grid-title">
321:                             Line Score<span class="close">x</span>
322:                         </h3>
323:                         <div class="grid-content clearfix">
324:                             <div class="pt-line-score clearfix">
325:                                 <table id="scoreByPeriod">
326:                                     <thead>
327:                                         <tr>
328:                                             <th>Line Score</th>
329:                                         </tr>
330:                                     </thead>
331:                                     <tbody>
332:                                         <tr class="visitor">
333:                                             <td><img src="" alt=""
334:                                                 class="team-logo visitor-team-logo" />
335:                                                 <span class="team-name visitor-team-name"></span></td>
336:                                         </tr>
337:                                         <tr class="home">
338:                                             <td><img src="" alt=""
339:                                                 class="team-logo home-team-logo" />
340:                                                 <span class="team-name home-team-name"></span></td>
341:                                         </tr>
342:                                     </tbody>
343:                                 </table>
344: 
345:                             </div>
346:                         </div>
347:                         ## GRID CONTENT
348:                     </div>
349:                     ## LINE SCORE
350: 					
351: 					## SOCIAL
352: 					#*
353: 					#set ($gridCounter = $gridCounter + 1)
354:                     <div class="grid-col grid-col-ls grid-col${gridCounter}">
355:                         <h3 id="social-sharing-title" class="grid-title">
356:                             Social Sharing<span class="close">x</span>
357:                         </h3>
358:                         <div class="grid-content clearfix">
359:                             <div class="pt-last-score clearfix">
360: 
361:                             </div>
362:                         </div>
363:                         ## GRID CONTENT
364:                     </div>
365: 					*#
366:                     ## SOCIAL
367:                 </div>
368:                 ## GRID ROW ## TABS
369:                 <div class="pt-game-info clearfix">
370: 
371:                     <ul class="pt-tabs clearfix">
372:                         <li class="current"><a href="#stats-tabs">Statistics</a></li>
373:                         <li><a href="#pbp-tabs">Play By Play</a></li>
374:                     </ul>
375: 
376:                     <div class="pt-tabs-panes clearfix">
377:                         <div id="stats-tabs" class="pt-tabs-pane clearfix">
378: 
379:                             ## GRID ROW
380:                             <div class="grid-row">
381: 								#set ($gridCounter = $gridCounter + 1)
382:                                 <div class="grid-col grid-col-sp grid-col${gridCounter}">
383:                                     <h3 id="scoring-plays-title" class="grid-title">
384:                                         Scoring Plays<span class="close">x</span>
385:                                     </h3>
386:                                     <div class="grid-content clearfix">
387:                                         <div id="scoringPlayList" class="pt-scoring-plays clearfix">
388:                                         </div>
389:                                     </div>
390:                                     ## GRID CONTENT
391: 
392:                                 </div>
393:                                 ## SCRING PLAY
394:                             </div>
395:                             ## GRID ROW ##GRID ROW
396:                             <div class="grid-row">
397: 								#set ($gridCounter = $gridCounter + 1)
398:                                 <div class="grid-col grid-col-tc grid-col${gridCounter}">
399:                                     <h3 id="team-comparison-title" class="grid-title">
400:                                         Team Comparison<span class="close">x</span>
401:                                     </h3>
402:                                     <div class="grid-content clearfix">
403:                                         <div class="pt-team-compare clearfix">
404:                                             <table id="teamCompare">
405:                                                 <thead>
406:                                                     <tr>
407:                                                         <th><img src="" alt="" class="team-logo visitor-team-logo" /><br />
408:                                                             <span class="team-name visitor-team-name"></span></th>
409:                                                         <th> <span></span></th>
410:                                                         <th><img src="" alt="" class="team-logo home-team-logo" /><br />
411:                                                             <span class="team-name home-team-name"></span></th>
412:                                                     </tr>
413:                                                 </thead>
414: 
415:                                                 <tbody>
416:                                                     <tr class="stats-shots">
417:                                                         <td></td>
418:                                                         <td class="stats-cat">Shots</td>
419:                                                         <td></td>
420:                                                     </tr>
421: 
422:                                                     <tr class="stats-sog">
423:                                                         <td></td>
424:                                                         <td class="stats-cat">SOG</td>
425:                                                         <td></td>
426:                                                     </tr>
427: 
428:                                                     <tr class="stats-saves">
429:                                                         <td></td>
430:                                                         <td class="stats-cat">Saves</td>
431:                                                         <td></td>
432:                                                     </tr>
433: 
434:                                                     <tr class="stats-corners">
435:                                                         <td></td>
436:                                                         <td class="stats-cat">Corners</td>
437:                                                         <td></td>
438:                                                     </tr>
439: 
440:                                                     <tr class="stats-offsides">
441:                                                         <td></td>
442:                                                         <td class="stats-cat">Offsides</td>
443:                                                         <td></td>
444:                                                     </tr>
445: 
446:                                                     <tr class="stats-fouls">
447:                                                         <td></td>
448:                                                         <td class="stats-cat">Fouls</td>
449:                                                         <td></td>
450:                                                     </tr>
451: 
452:                                                     <tr class="stats-yc">
453:                                                         <td></td>
454:                                                         <td class="stats-cat">YC</td>
455:                                                         <td></td>
456:                                                     </tr>
457: 
458:                                                     <tr class="stats-rc">
459:                                                         <td></td>
460:                                                         <td class="stats-cat">RC</td>
461:                                                         <td></td>
462:                                                     </tr>
463:                                                 </tbody>
464: 
465:                                             </table>
466:                                         </div>
467:                                     </div>
468:                                     ## GRID CONTENT
469:                                 </div>
470:                                 ## TEAM COMPARE
471:                             </div>
472:                             ## GRID ROW ## GRID ROW
473:                             <div class="grid-row">
474: 								#set ($gridCounter = $gridCounter + 1)
475:                                 <div class="grid-col grid-col-is grid-col${gridCounter}">
476:                                     <h3 id="individual-stats-title" class="grid-title">
477:                                         Individual Stats<span class="close">x</span>
478:                                     </h3>
479:                                     <div class="grid-content clearfix">
480:                                         <div class="pt-team-stats clearfix">
481: 
482:                                             <div id="visitorTeamIndividualStats"
483:                                                 class="pt-team-col active clearfix">
484: 
485:                                                 <div class="pt-team clearfix">
486:                                                     <img src="" alt=""
487:                                                         class="team-logo visitor-team-logo active" />
488:                                                     <h3 class="team-name visitor-team-name"></h3>
489:                                                 </div>
490: 
491:                                                 <div class="pt-stats-tabs clearfix">
492:                                                     <div class="pt-panes clearfix">
493:                                                         <div id="vOffenseTab" class="pt-pane pt-pane1 clearfix">
494: 
495:                                                             <div class="pt-row">
496:                                                                 <table class="goalieStats display"> <!-- goalies -->
497:                                                                     <thead>
498:                                                                         <tr>
499:                                                                             <th>#</th>
500:                                                                             <th>Goalkeepers</th>
501:                                                                             <th>SOG</th>
502:                                                                             <th>GA</th>
503:                                                                             <th>SV</th>
504:                                                                             <th>MIN</th>
505:                                                                         </tr>
506:                                                                     </thead>
507:                                                                     <tbody>
508: 
509:                                                                     </tbody>
510:                                                                 </table>
511:                                                             </div>
512: 
513:                                                             <div class="pt-row">
514:                                                                 <table class="startersStats display"> <!-- starters -->
515:                                                                     <thead>
516:                                                                         <tr>
517:                                                                             <th>#</th>
518:                                                                             <th>Starters</th>
519:                                                                             <th>Pos</th>
520:                                                                             <th>Sh</th>
521:                                                                             <th>Sog</th>
522:                                                                             <th>G</th>
523:                                                                             <th>A</th>
524:                                                                             <th class="dsCell">DS</th>
525:                                                                         </tr>
526:                                                                     </thead>
527:                                                                     <tbody>
528: 
529:                                                                     </tbody>
530:                                                                 </table>
531:                                                             </div>
532:                                                             <div class="pt-row">
533:                                                                 <table class="substitutesStats display"> <!-- substitutes -->
534:                                                                     <thead>
535:                                                                         <tr>
536:                                                                             <th>#</th>
537:                                                                             <th>Substitutes</th>
538:                                                                             <th>Pos</th>
539:                                                                             <th>Sh</th>
540:                                                                             <th>Sog</th>
541:                                                                             <th>G</th>
542:                                                                             <th>A</th>
543:                                                                             <th class="dsCell">DS</th>
544:                                                                         </tr>
545:                                                                     </thead>
546:                                                                     <tbody>
547: 
548:                                                                     </tbody>
549:                                                                 </table>
550:                                                             </div>
551:                                                         </div>
552:                                                     </div>
553:                                                 </div>
554:                                             </div>
555: 
556:                                             <div id="homeTeamIndividualStats" class="pt-team-col clearfix">
557: 
558:                                                 <div class="pt-team clearfix">
559:                                                     <img src="" alt=""
560:                                                         class="team-logo home-team-logo active" />
561:                                                     <h3 class="team-name home-team-name"></h3>
562:                                                 </div>
563: 
564:                                                 <div class="pt-stats-tabs clearfix">
565: 
566:                                                     <div class="pt-panes clearfix">
567:                                                         <div class="pt-pane clearfix">
568: 
569:                                                             <div class="pt-row">
570:                                                                 <table class="goalieStats display"> <!-- goalies -->
571:                                                                     <thead>
572:                                                                         <tr>
573:                                                                             <th>#</th>
574:                                                                             <th>Goalkeepers</th>
575:                                                                             <th>SOG</th>
576:                                                                             <th>GA</th>
577:                                                                             <th>SV</th>
578:                                                                             <th>MIN</th>
579:                                                                         </tr>
580:                                                                     </thead>
581:                                                                     <tbody>
582: 
583:                                                                     </tbody>
584:                                                                 </table>
585:                                                             </div>
586: 
587:                                                             <div class="pt-row">
588:                                                                 <table class="startersStats display"> <!-- starters -->
589:                                                                     <thead>
590:                                                                         <tr>
591:                                                                             <th>#</th>
592:                                                                             <th>Starters</th>
593:                                                                             <th>Pos</th>
594:                                                                             <th>Sh</th>
595:                                                                             <th>Sog</th>
596:                                                                             <th>G</th>
597:                                                                             <th>A</th>
598:                                                                             <th class="dsCell">DS</th>
599:                                                                         </tr>
600:                                                                     </thead>
601:                                                                     <tbody>
602: 
603:                                                                     </tbody>
604:                                                                 </table>
605:                                                             </div>
606:                                                             <div class="pt-row">
607:                                                                 <table class="substitutesStats display"> <!-- substitutes -->
608:                                                                     <thead>
609:                                                                         <tr>
610:                                                                             <th>#</th>
611:                                                                             <th>Substitutes</th>
612:                                                                             <th>Pos</th>
613:                                                                             <th>Sh</th>
614:                                                                             <th>Sog</th>
615:                                                                             <th>G</th>
616:                                                                             <th>A</th>
617:                                                                             <th class="dsCell">DS</th>
618:                                                                         </tr>
619:                                                                     </thead>
620:                                                                     <tbody>
621:                                                                     </tbody>
622:                                                                 </table>
623:                                                             </div>
624: 
625:                                                         </div>
626:                                                     </div>
627:                                                 </div>
628:                                             </div>
629: 
630:                                         </div>
631:                                     </div>
632:                                     ## GRID CONTENT
633:                                 </div>
634:                                 ## INDIVISUAL STATS
635:                             </div>
636:                             ## GRID ROW ## GRID ROW
637:                             <div class="grid-row">
638: 								#set ($gridCounter = $gridCounter + 1)
639:                                 <div class="grid-col grid-col-gi grid-col${gridCounter}">
640:                                     <h3 id="game-info-title" class="grid-title">
641:                                         Game Information<span class="close">x</span>
642:                                     </h3>
643:                                     <div class="grid-content clearfix">
644:                                         <div class="pt-game-information clearfix">
645: 
646:                                             <div class="pt-row clearfix">
647:                                                 <center>
648:                                                 <div class="date-time pt-col">
649:                                                     <span id="gameInformationDate" class="date"></span>
650:                                                     <span id="gameInformationTime" class="time"></span>
651:                                                     <h3>Date & Time</h3>
652:                                                 </div>
653: 
654:                                                 <div class="game-location pt-col">
655:                                                     <span id="gameInformationLocation" class="location"></span>
656:                                                     <h3>Location</h3>
657:                                                 </div>
658: 
659:                                                 <div class="game-venue pt-col">
660:                                                     <span id="gameInformationVenue" class="venue"></span>
661:                                                     <h3>Venue</h3>
662:                                                 </div>
663: 
664:                                                 <div class="weather pt-col">
665: 
666:                                                     <div class="weather-condition">
667:                                                         <span id="gameInformationTemperature"
668:                                                             class="temp"></span>
669:                                                         <span id="gameInformationCondition" class="condition"></span>
670:                                                     </div>
671:                                                     <h3>Weather</h3>
672:                                                 </div>
673:                                                 </center>
674:                                             </div>
675: 
676:                                         </div>
677:                                     </div>
678:                                     ## GRID CONTENT
679:                                 </div>
680:                                 ## GENERAL INFORMATION
681:                             </div>
682:                             ## GRID ROW
683: 
684:                         </div>
685: 
686:                         ## PLAY BY PLAY TABS
687:                         <div id="pbp-tabs" class="pt-tabs-pane clearfix">
688: 
689:                             ## GRID ROW
690:                             <div class="grid-row">
691: 								#set ($gridCounter = $gridCounter + 1)
692:                                 <div class="grid-col grid-col-ds grid-col${gridCounter}">
693: 								<h3 id="play-by-play-title" class="grid-title">
694: 									Play by Play<span class="close">x</span>
695: 								</h3>                                	
696:                                     <div class="grid-content clearfix">
697:                                         <div id="playByPlay" class="clearfix">
698:                                             <select id="filterPeriod" class="dropdownFilter">
699:                                                 <option value="" selected>ALL PERIODS</option>
700:                                             </select>
701:                                             <select id="filterTeam" class="dropdownFilter">
702:                                                 <option value="" selected>BOTH TEAMS</option>
703:                                                 <option value="" class="team-name visitor-team-name"></option>
704:                                                 <option value="" class="team-name home-team-name"></option>
705:                                             </select>
706:                                             <select id="filterPlayType" class="dropdownFilter">
707:                                                 <option value="" selected>ALL PLAYS</option>
708:                                                 <option value="GOAL">Goal</option>
709:                                                 <option value="SHOT">Shot</option>
710:                                                 <option id="headerOption" value="HEADER">Header</option>
711:                                                 <option id="cornerOption" value="CORNER">Corner</option>
712:                                                 <option value="FOUL">Foul</option>
713:                                                 <option id="offsideOption" value="OFFSIDE">Offside</option>
714:                                                 <option value="YC">Yellow Card</option>
715:                                                 <option value="RC">Red Card</option>
716:                                                 <option id="greenCardOption" value="GC">Green Card</option>
717:                                                 <option value="SUB">Substitution</option>
718:                                             </select>
719:                                         </div>
720:                                         <div class="pt-play-by-play clearfix">
721:                                             <table>
722:                                                 <thead>
723:                                                     <tr>
724:                                                         <th><span class="team-name visitor-team-name"></span><span>&nbsp;PLAYS</span></th>
725:                                                         <th>TIME</th>
726:                                                         <th>ACTION</th>
727:                                                         <th><span class="team-name home-team-name"></span><span>&nbsp;PLAYS</span></th>
728:                                                     </tr>
729:                                                 </thead>
730:                                                 <tbody>
731:                                                 </tbody>
732:                                             </table>
733:                                         </div>
734:                                     </div>
735:                                     ## GRID CONTENT
736:                                 </div>
737:                                 ## DRIVE SUMMARY
738:                             </div>
739:                             ## GRID ROW
740: 
741:                         </div>
742:                         ## PLAY BY PLAY TABS
743:                     </div>
744:                     ## PT TABS PANES
745:                 </div>
746:                 ## PRIME TIME GAME INFO 
747: 
748: 				</div> 
749: 				## GRID ROW CONTAINER
750: 
751:                 ## FOOTER
752:                 <div id="primetime-footer" class="grid-row">
753:                     <div class="grid-col grid-col-ftr">
754:                         <a href="/"></a>
755:                     </div>
756:                 </div>
757: 
758:             </div>
759:             ## PRIMTE TIME OVERFLOW
760:         </div>
761:         ## PRIME TIME WRAPPER
762:     #end
763:     
764:     #set ($showWiki = true)
765:     #set ($showWiki = $showWikiVar)
766:     #if ($showWiki == true)
767:         $wiki.su 
768:     #end
769:     ## END OF PRIMETIME	    
770: 
771: #else
772: ##COMMON FUNCTIONS
773: #macro (changeViewScript)
774: ## CORRECT WRONG VIEW WITH REPLACESTATE
775: <script type="text/javascript">
776:     $(function () {
777:         if (!$('.stats-tabs li.active').length) {
778:             if (history.replaceState) {
779:                 history.replaceState({}, '', '?view=' + $('.stats-tabs li:first').addClass('active').children('a').data('view'));
780:             } else {
781:                 $('.stats-tabs li:first').addClass('active');
782:             }
783:         }
784:     })
785: </script>
786: #end
787: 
788: #macro (printPdfHeader $title)
789: <div class="stats-fullbox clearfix">
790:     <table>
791:         <tr>
792:             <td class="align-center"><h4>$title</h4></td>
793:         </tr>
794:     </table>
795: </div>
796: #end
797: 
798: 
799: ##COMMON SOCCER FUNCTIONS
800: #macro (printPeriods $class)
801:     #foreach ($prd in $document.selectNodes("sogame/team[1]/linescore/lineprd"))
802:     <th $class>
803:         #if ($velocityCount >= 3)
804:             #if ($velocityCount == 3)
805:                 OT
806:             #elseif ($velocityCount == 5)
807:                 SO
808:             #else
809:                 ${tool.math.sub($velocityCount, 2)}OT
810:             #end
811:         #else
812:             $!velocityCount
813:         #end
814:     </th>
815:     #end
816: #end
817: 
818: 
819: 
820: ## DEFAULT VALUES
821: #set ($showPlayerMin = false)
822: 
823: ## PICK UP OPTIONS
824: #if ($website && $stats.view != "pdf")
825:     $website.include("options")
826: #end
827: #set ($options = $request.getAttribute("options"))
828: 
829: ## SET VARIABLES FROM OPTIONS
830: #set ($showPlayerMin = $options.get("boxscore_so_player_min"))
831: #if ($showPlayerMin == "show")#set ($showPlayerMin = true)#end
832: 
833: #set ($showWiki = true)
834: #set ($showWiki = $showWikiVar)
835: 
836: #if ($showWiki == true)
837: 	$!wiki.su 
838: #end
839: 
840: #if ($document.valueOf("sogame/@source") == 'DakStats Soccer')
841: 	#set ($isDakStats = true)
842: #else
843: 	#set ($isDakStats = false)
844: #end
845: 
846: #set ($showGoalDesc = $document.valueOf("sogame/venue/show/@goaldesc") == "1")
847: #set ($showFieldHockey = $document.valueOf("sogame/venue/show/@fhk") == "1")
848: #set ($shootoutScores = {"V" : 0, "H" : 0})
849: 
850: #set ($linkPlayers = $stats.linkPlayers)
851: #set ($linkPlayersBase = $stats.linkPlayersBase)
852: #set ($linkTeams = $stats.linkTeams)
853: #set ($linkTeamsBase = $stats.linkTeamsBase)
854: 
855: #macro (shootout $shootouts $t)
856: 	#set ($printVal = "")
857: 	#foreach ($shot in $shootouts)
858: 		#if ($shot.valueOf("@vh") == $t)
859: 			#set ($player = $shot.valueOf("@name"))
860: 			#set ($shotResult = ${shot.valueOf("@result")})
861: 			#set ($singlePrintVal = "$player - $shotResult")
862: 			#if ($shot.valueOf("@result") == "MADE")
863: 				#set ($score = $shootoutScores.get($t))
864: 				#set ($score = $tool.math.add($score, 1))
865: 				#set ($score = $shootoutScores.put($t, $score))
866: 			#end ## result
867: 			#if ($printVal.length() > 0) #set ($printVal = "${printVal}; ") #end
868: 			#set ($printVal = "${printVal} ${singlePrintVal}")			
869: 		#end ## if
870: 	#end ## foreach
871: 	$printVal
872: #end
873: 
874: #macro (period $p)
875: #if ($p == 1) 1st
876: #elseif ($p == 2) 2nd
877: #elseif ($p == 3) OT
878: #elseif ($p == 4) 2OT
879: #elseif ($p == 5) SO
880: #else $p
881: #end
882: #end
883: 
884: #set ($home = $document.valueOf("sogame/team[@vh='H']/@name"))
885: #set ($visitor = $document.valueOf("sogame/team[@vh='V']/@name"))
886: 
887: #set ($homeNode = $document.selectSingleNode("sogame/team[@vh='H']"))
888: #set ($visitorNode = $document.selectSingleNode("sogame/team[@vh='V']"))
889: 
890: ## RULES
891: #set ($periodRule = $document.valueOf("sogame/venue/rules/@periods"))
892: #set ($periodLength = $document.valueOf("sogame/venue/rules/@minutes"))
893: #set ($otPeriodLength = $document.valueOf("sogame/venue/rules/@minutesot"))
894: 
895: ## STATUS
896: #set ($status = $document.valueOf("sogame/status/@period"))
897: #set ($clock = $document.valueOf("sogame/status/@clock"))
898: 
899: ## FOULS
900: #set ($showFouls = false)
901: #if($showFieldHockey)
902: 	#set ($homeFouls =  $tool.math.toInteger($document.valueOf("sogame/team[@vh='H']/totals/penalty/@fouls")))
903: 	#set ($visitorFouls =  $tool.math.toInteger($document.valueOf("sogame/team[@vh='V']/totals/penalty/@fouls")))
904: 
905: 	#if($homeFouls > 0 || $visitorFouls > 0)
906: 	#set ($showFouls = true)
907: 	#end
908: #else 
909: 	#set ($showFouls = true) ## ALWAYS SHOW FOR SOCCER
910: #end
911: 
912: 
913: #macro (showTeam $team)
914: 
915: 	#if ($team.attributeValue("teamId").length() > 0 and $linkTeams)
916: 		<a href="$!linkTeamsBase?id=${team.attributeValue("teamId")}">
917: 	#end
918: 	$team.attributeValue("name")
919: 	#if ($team.attributeValue("teamId").length() > 0 and $linkTeams)
920: 		</a>
921: 	#end
922: 	 
923: #end
924: 
925: #if ($clock.length() > 0 && $clock != "90:00")
926:   #if ($periodRule.length() > 0 && $periodLength.length() > 0 && $otPeriodLength.length() > 0)
927:     #set ($normalTime = $tool.math.mul($periodRule, $periodLength))
928: 	#set ($extraTime = $tool.math.mul($otPeriodLength, 2))
929: 	#set ($totalTime = "$tool.math.mul($normalTime, $extraTime):00")
930: 	$totalTime
931:   #end
932: #end
933: 
934: #set ($periodRange = [1..$document.selectNodes("sogame/team[1]/linescore/lineprd").size()])
935: #set ($isNeutralGame = $documnt.valueOf("sogame/venue/@neutralgame"))
936: #if ($isNeutralGame.length() > 0 && $isNeutralGame.equals("Y"))
937:   #set ($isNeutralGame = true)
938: #else
939:   #set ($isNeutralGame = false)
940: #end
941: 
942: #set ($hasPlayByPlay = $document.selectNodes("sogame/plays/period").size() > 0)
943: 
944: ## GOALIE SHOTS
945: #macro (shots $ga $saves)
946: #if ($saves.length() > 0)
947:  $tool.math.add($ga, $saves)
948: #else
949: #end
950: #end
951: 
952: #set ($visname = $tool.esc.html($document.valueOf("sogame/venue/@visname")))
953: #set ($homename = $tool.esc.html($document.valueOf("sogame/venue/@homename")))
954: #set ($location = $document.valueOf("sogame/venue/@location"))
955: #set ($stadium = $document.valueOf("sogame/venue/@stadium"))
956: #set ($date = $document.valueOf("sogame/venue/@date"))
957: #set ($duration = $document.valueOf("sogame/venue/@duration"))
958: #set ($schedNote = $document.valueOf("sogame/venue/@schednote"))
959: #set ($attendance = $document.valueOf("sogame/venue/@attend"))
960: 
961: 
962: ##MOBILE VERSION
963: #if ($browser.getIphone() || $browser.getMobile())
964: 
965: #macro(totalCorners $team)
966: 	#set ($totalCorners = 0)
967: 	#foreach ($prd in $team.selectNodes("linescore/lineprd"))
968: 		#set ($totalCorners = $tool.math.add($totalCorners, $prd.valueOf("@corners")))
969: 	#end
970: 	$totalCorners
971: #end
972: 
973: #macro (totalSaves $team)
974: 	#set ($runningTotal = 0)
975: 	#foreach ($prd in $team.selectNodes("linescore/lineprd"))
976: 		#set ($runningTotal = $tool.math.add($runningTotal, $prd.valueOf("@saves")))
977: 	#end
978: 	$runningTotal
979: #end
980: 
981: #macro(penaltyTotals $team)
982: 	$team.valueOf("totals/penalty/@red") red cards, 
983: 	$team.valueOf("totals/penalty/@yellow") yellow cards#if ($showFieldHockey),#end
984: 	#if ($showFieldHockey)
985: 		$team.valueOf("totals/penalty/@green") green cards
986: 	#end
987: #end
988: 
989: #macro (printMobileHeader)
990: <div class="teams">
991: 	<div class="frame clearfix">
992: 		<div class="team">
993: 			$visitorNode.attributeValue("name")
994: 		</div>
995: 		<div class="versus">vs.</div>
996: 		<div class="team right">
997: 			$homeNode.attributeValue("name")
998: 		</div>
999: 	</div>
1000: </div>
1001: 
1002: <div class="board">
1003: 	<div class="frame clearfix">
1004: 		<div class="result">$visitorNode.valueOf("linescore/@score")</div>
1005: 		<div class="timer">
1006: 			#if ($stats.final)
1007: 				<div class="time">Final</div>
1008: 			#else 
1009: 				<div class="time">$clock - #period($status)</div>
1010: 			#end
1011: 		</div>
1012: 		<div class="result">$homeNode.valueOf("linescore/@score")</div>
1013: 	</div>
1014: </div>
1015: #end
1016: 
1017: <script type="text/javascript">
1018: 	mobileConf.page = 'boxscore';
1019: 	mobileConf.pageParams = {
1020: 		deepLinking : true
1021: 		#if ($stats.inProgress)
1022: 			, inprogress : true
1023: 		#end
1024: 	}
1025: </script>
1026: 
1027: <div class="swipe-header">
1028: 	<a href="#" id="swipe-left"></a>
1029: 	<a href="#" id="swipe-right"></a>
1030: 	<ul class="dot-nav">
1031: 		<li class="dot-nav-1 active"></li>
1032: 		<li class="dot-nav-2"></li>
1033: 		<li class="dot-nav-3"></li>
1034: 	</ul>
1035: </div>
1036: <!-- BEGING SCORE BOARD-->
1037: <div id="swipe-wrapper">
1038: <div id="live2" #if ($showFieldHockey) class="fh-stats" #else class="soccer-stats" #end>
1039:     <div class="swipe-screen" data-view="scoring">
1040:         <div class="score_board">
1041: 			
1042: 			#printMobileHeader()
1043: 			
1044:             <div class="table">
1045:                 <div class="frame">
1046:                     <div class="clearfix">
1047:                         <div class="cell cell_s">&#160;</div>
1048:                         <div class="cell cell_m">&#160;</div>
1049:                         <div class="cell cell_l title">SCORING</div>
1050:                         <div class="cell cell_m">&#160;</div>
1051:                         <div class="cell cell_s">&#160;</div>
1052:                     </div>
1053:                     #foreach ($i in $periodRange)
1054:                         <div class="clearfix">
1055:                             <div class="cell cell_s">&#160;</div>
1056:                             <div class="cell cell_m">$visitorNode.valueOf("linescore/lineprd[$i]/@score")</div>
1057:                             <div class="cell cell_l">#period($i)</div>
1058:                             <div class="cell cell_m">$homeNode.valueOf("linescore/lineprd[$i]/@score")</div>
1059:                             <div class="cell cell_s">&#160;</div>
1060:                         </div>
1061:                     #end
1062:                     
1063:                     <div class="clearfix">
1064:                         <div class="cell cell_s">&#160;</div>
1065:                         <div class="cell cell_m">$visitorNode.valueOf("linescore/@score")</div>
1066:                         <div class="cell cell_l">FINAL</div>
1067:                         <div class="cell cell_m">$homeNode.valueOf("linescore/@score")</div>
1068:                         <div class="cell cell_s">&#160;</div>
1069:                     </div>
1070:                 </div>
1071:             </div>
1072: 			#if ($lastPlay)
1073: 			<div class="recent">
1074:                 <div class="frame">
1075:                     <div class="toggle clearfix">
1076:                         <div class="title">LAST PLAY</div>
1077:                         <div class="arrow">
1078:                             <img src="/info/mobile/stats/images/arrow_down2.gif" class="recent_arrow_down" width="13" height="9"/>
1079:                             <img src="/info/mobile/stats/images/arrow_up2.gif" class="recent_arrow_up" style="display: none;" width="13" height="9"/>
1080:                         </div>
1081:                     </div>
1082: 					<div class="plays recent_plays" style="display: none;">
1083: 						<div class="play period">$!lastPlay.attributeValue("text")</div>
1084: 					</div>
1085:                 </div>
1086: 			</div>
1087: 			#end
1088: 			
1089:             <div class="recent">
1090:                 <div class="frame">
1091:                     <div class="toggle clearfix">
1092:                         <div class="title">Scoring Summary</div>
1093:                         <div class="arrow">
1094: 							<img height="9" width="13" class="recent_arrow_down" src="/info/mobile/stats/images/arrow_down2.gif" style="display: inline;">
1095: 							<img height="9" width="13" style="display: none;" class="recent_arrow_up" src="/info/mobile/stats/images/arrow_up2.gif">
1096: 						</div>
1097:                     </div>
1098: 					
1099: 					<div class="plays recent_plays" style="display: none;">
1100: 						## SCORING SUMMARY
1101: 						#foreach ($pd in $periodRange)
1102: 							#set ($shownStats = "")
1103: 							<div class="play period">
1104: 								#period($pd)
1105: 							</div>
1106: 						
1107: 							#foreach ($score in $document.selectNodes("sogame/scores/score"))
1108: 								#if ($pd == $score.valueOf("@prd"))
1109: 									#set ($shownStats = "y")
1110: 									<div class="play clearfix">
1111: 										<div class="time">
1112: 											$score.valueOf("@time")
1113: 										</div>
1114: 										<div class="text">
1115: 											<b>
1116: 											#if
1117: 												($score.valueOf("@vh") == 'H') $homeNode.attributeValue("name")
1118: 											#end
1119: 											#if
1120: 												($score.valueOf("@vh") == 'V') $visitorNode.attributeValue("name")
1121: 											#end
1122: 											</b>&#160; - &#160;
1123: 											#if ($score.valueOf("@type") == 'PP')<i>PP - </i>#end
1124: 											#if ($score.valueOf("@type") == 'SH')<i>SH - </i>#end
1125: 											#if ($score.valueOf("@type") == 'PS')<i>PS - </i>#end
1126: 											#if ($score.valueOf("@engoal") == 'Y')<i>EN - </i>#end
1127: 
1128: 											#if ($score.valueOf("@playerId").length() > 0 and $linkPlayers)
1129: 												<a href="$!linkPlayersBase?id=${score.valueOf("@playerId")}">
1130: 											#end
1131: 											#if($score.valueOf("@name").equalsIgnoreCase("team") && $hasPlayByPlay)
1132: 												#if($score.valueOf("@vh") == 'H') $visitorNode.attributeValue("name")#elseif($score.valueOf("@vh") == 'V') $homeNode.attributeValue("name")#end Own goal
1133: 											#else
1134: 												$score.valueOf("@name")
1135: 											#end
1136: 											#if ($score.valueOf("@playerId").length() > 0 and $linkPlayers)
1137: 												</a>
1138: 											#end
1139: 											
1140: 											#set ($scoreLabel = '')
1141: 											
1142: 											#if ($hasPlayByPlay && $gender == 'F')
1143: 												#set ($scoreTime = $score.valueOf("@time"))
1144: 												#set ($fpsFlag = false)
1145: 												#foreach ($fpsNode in $document.selectNodes("//play[@action='FPS']"))
1146: 													#if ($fpsNode.valueOf("@clock") == $scoreTime)
1147: 														#set ($fpsFlag = true)
1148: 													#end
1149: 												#end
1150: 												#if ($fpsFlag)
1151: 													#set ($scoreLabel = '(Free position shot)')
1152: 												#else
1153: 													#set ($scoreLabel = '(unassisted)')
1154: 												#end
1155: 											#elseif ($score.valueOf("@name") != "Team")
1156: 												#set ($scoreLabel = '(unassisted)')
1157: 											#end
1158:   
1159: 											<i>#if($score.valueOf("@assist1").length() > 0)
1160: 												#if ($score.valueOf("@assist1Id").length() > 0 and $linkPlayers)
1161: 													<a href="$!linkPlayersBase?id=${score.valueOf("@assist1Id")}">
1162: 												#end
1163: 												($score.valueOf("@assist1"))
1164: 												#if ($score.valueOf("@assist1Id").length() > 0 and $linkPlayers)
1165: 													</a>
1166: 												#end
1167: 											#else 
1168: 												$!scoreLabel 
1169: 											#end
1170: 											
1171: 											#if($score.valueOf("@assist2").length() > 0) 
1172: 												&amp; 
1173: 												#if ($score.valueOf("@assist2Id").length() > 0 and $linkPlayers)
1174: 													<a href="$!linkPlayersBase?id=${score.valueOf("@assist2Id")}">
1175: 												#end 
1176: 												($score.valueOf("@assist2"))
1177: 												#if ($score.valueOf("@assist2Id").length() > 0 and $linkPlayers)
1178: 													</a>
1179: 												#end
1180: 											#end</i>
1181: 											
1182: 											## SHOW GOAL DESCRIPTION
1183: 											#if($!score.valueOf("@desc").length() > 0)
1184: 												<br />$!score.valueOf("@desc")
1185: 											#else
1186: 												#set($scoreTime = $score.valueOf("@time"))
1187: 												#foreach ($play in $document.selectNodes("sogame/plays/period/play"))
1188: 													#if(($play.valueOf("@action") == "PENSHOT") && ($play.valueOf("@clock") == $scoreTime))
1189: 														<br />#if ($showFieldHockey)Penalty Stroke #else Penalty Kick #end
1190: 													#end
1191: 												#end
1192: 											#end
1193: 										</div>
1194: 									</div>
1195: 								#end
1196: 							#end
1197: 							#if ($shownStats == "")
1198: 								<div class="play clearfix center">(no scoring)</div>
1199: 							#end
1200: 						#end
1201: 						
1202: 						## SHOOTOUT
1203: 						#set ($shootouts = $document.selectNodes("sogame/shootouts/shootout"))
1204: 						#if ($shootouts.size() > 0)
1205: 						<div class="play period">SHOOTOUT</div>
1206: 							<div class="play clearfix">
1207: 								<div class="time">
1208: 									<strong>${visitor}:</strong>
1209: 								</div>
1210: 								<div class="text">
1211: 									#shootout($shootouts "V")
1212: 								</div>
1213: 							</div>
1214: 							<div class="play clearfix">
1215: 								<div class="time">
1216: 									<strong>${home}:</strong>
1217: 								</div>
1218: 								<div class="text">
1219: 									#shootout($shootouts "H")
1220: 								</div>
1221: 							</div>							
1222: 							<div class="play clearfix center">
1223: 							## SHOOTOUT RESULT
1224: 								#if ($shootoutScores.get("V") > $shootoutScores.get("H"))
1225: 									#set ($shootoutResult = ("$visitor wins shootout ${shootoutScores.get('V')} - ${shootoutScores.get('H')}"))
1226: 								#else
1227: 									#set ($shootoutResult = ("$home wins shootout ${shootoutScores.get('H')} - ${shootoutScores.get('V')}"))
1228: 								#end
1229: 								
1230: 								<strong>$shootoutResult</strong>
1231: 							</div>
1232: 						#end
1233: 					</div>
1234: 				</div>
1235: 			</div>
1236: 		</div>
1237: 	</div>
1238: 
1239: 		<!-- BEGING LINE UP -->
1240: 		<div class="swipe-screen" data-view="boxscore">
1241: 			#printMobileHeader()
1242: 			<div class="team_stats">
1243: 				<div class="teams clearfix"> 
1244: 					<div id="button-1" class="button clearfix active">
1245: 						<div class="team">$visitorNode.attributeValue("name")</div>
1246: 						<div class="end">
1247: 							<div>&#160;</div>
1248: 						</div>
1249: 					</div>
1250: 					<div id="button-2" class="button clearfix">
1251: 						<div class="team">$homeNode.attributeValue("name")</div>
1252: 						<div class="end">
1253: 							<div>&#160;</div>
1254: 						</div>
1255: 					</div>
1256: 	
1257: 					<!-- BEGING STATS -->
1258: 
1259: 					#macro (mobile_playerstats $team)
1260: 						<div class="titles clearfix">
1261: 							<div class="data" class="align-left">#</div>
1262: 							<div class="name">PLAYER</div>
1263: 							<div class="data">POS</div>
1264: 							<div class="data">SH</div>
1265:                             <div class="data">SOG</div>
1266: 							<div class="data">G</div>
1267: 							<div class="data">A</div>
1268: 							#if ($showFieldHockey)
1269: 								<div class="data">DS</div>
1270: 							#end			
1271: 						</div>
1272: 
1273: 						#foreach ($stat in $team.selectNodes("player/shots"))
1274: 
1275: 							<div class="row">
1276: 								<div class="toggle clearfix">
1277: 									<div class="data">$!stat.valueOf("../@uni")</div>
1278: 									<div class="name">
1279: 										#if ($stat.valueOf("../@playerId").length() > 0 and $linkPlayers)
1280: 											## <a href="$!linkPlayersBase?id=${stat.valueOf("../@playerId")}">
1281: 										#end
1282: 										$stat.valueOf("../@name")
1283: 										#if ($stat.valueOf("../@playerId").length() > 0 and $linkPlayers)
1284: 											## </a>
1285: 										#end
1286: 									</div>
1287: 									<div class="data">
1288: 										#if ($stat.valueOf("../@pos").length() > 0)
1289: 											$stat.valueOf("../@pos")
1290: 										#else
1291: 											&#160;
1292: 										#end
1293: 									</div>
1294: 									<div class="data">$!stat.valueOf("@sh")</div>
1295:                                     <div class="data">$!stat.valueOf("@sog")</div>
1296: 									<div class="data">$!stat.valueOf("@g")</div>
1297: 									<div class="data">$!stat.valueOf("@a")</div>
1298:                                     #if ($showFieldHockey)
1299: 										<div class="data">$!stat.valueOf("../misc/@dsave")</div>
1300: 									#end								
1301: 								</div>
1302: 							</div>
1303: 						#end
1304: 
1305: 						<div class="titles clearfix goalies">
1306: 							<div class="data">#</div>
1307: 							<div class="name">GOALIES</div>
1308: 							<div class="data">SOG</div>
1309: 							<div class="data">GA</div>
1310: 							<div class="data">SV</div>
1311: 							<div class="data">Min</div>	
1312: 						</div>
1313: 
1314: 						#foreach ($stat in $team.selectNodes("player/goalie"))
1315: 							<div class="row goalies">
1316: 								<div class="toggle clearfix">
1317: 									<div class="data">$!stat.valueOf("../@uni")</div>
1318: 									<div class="name">
1319: 										#if ($stat.valueOf("../@playerId").length() > 0 and $linkPlayers)
1320: 											## <a href="$!linkPlayersBase?id=${stat.valueOf("../@playerId")}">
1321: 										#end
1322: 										$stat.valueOf("../@name")
1323: 										#if ($stat.valueOf("../@playerId").length() > 0 and $linkPlayers)
1324: 											## </a>
1325: 										#end
1326: 									</div>
1327: 									## #set ($ga = $stat.numberValueOf("@ga") + $stat.numberValueOf("@eng"))
1328: 									<div class="data">#shots($stat.valueOf("@ga") $stat.valueOf("@saves"))</div>
1329: 									<div class="data">$stat.valueOf("@ga")</div>
1330: 									<div class="data">$!stat.valueOf("@saves")</div>
1331: 									<div class="data">$!stat.valueOf("@minutes")</div>
1332: 								</div>
1333: 							</div>
1334: 						#end
1335: 					#end
1336: 
1337: 					## VISITOR STATISTICS
1338: 					<div class="table hockey" id="table_team_stats_1">#mobile_playerstats($document.selectSingleNode("sogame/team[@vh='V']"))</div>
1339: 
1340: 					## HOME STATISTICS
1341: 					<div class="table hockey" id="table_team_stats_2" style="display: none">#mobile_playerstats($document.selectSingleNode("sogame/team[@vh='H']"))</div>
1342: 
1343: 					
1344: 					<!-- END STATS -->
1345: 				</div>
1346: 			</div>
1347: 		</div>
1348: 		<!-- END LINE UP -->
1349: 		<!-- BEGING TEAM STATS -->
1350: 		<div class="swipe-screen" data-view="summary">
1351: 			#printMobileHeader()
1352: 			<div class="line_up">
1353: 				<div class="table">
1354: 					<div class="frame">
1355: 						
1356: 						#if (! $isDakStats)
1357: 						<div class="clearfix">
1358: 							<div class="cell cell_s">&#160;</div>
1359: 							<div class="cell cell_m">&#160;</div>
1360: 							<div class="cell cell_l title">SHOTS</div>
1361: 							<div class="cell cell_m">&#160;</div>
1362: 							<div class="cell cell_s">&#160;</div>
1363: 						</div>
1364:                         #foreach ($i in $periodRange)
1365:                             <div class="clearfix">
1366:                                 <div class="cell cell_s">&#160;</div>
1367:                                 <div class="cell cell_m">$visitorNode.valueOf("linescore/lineprd[$i]/@shots")</div>
1368:                                 <div class="cell cell_l">#period($i)</div>
1369:                                 <div class="cell cell_m">$homeNode.valueOf("linescore/lineprd[$i]/@shots")</div>
1370:                                 <div class="cell cell_s">&#160;</div>
1371:                             </div>
1372:                         #end
1373: 						#end
1374:                         
1375: 						<div class="clearfix">
1376: 							<div class="cell cell_s">&#160;</div>
1377: 							#if ($isDakStats)
1378: 								<div class="cell cell_m">$visitorNode.valueOf('totals/shots/@sh')</div>
1379: 								<div class="cell cell_l title">SHOTS</div>
1380: 								<div class="cell cell_m">$homeNode.valueOf('totals/shots/@sh')</div>
1381: 							#else
1382: 								<div class="cell cell_m">$visitorNode.valueOf("linescore/@shots")</div>
1383: 								<div class="cell cell_l">TOTAL</div>
1384: 								<div class="cell cell_m">$homeNode.valueOf("linescore/@shots")</div>
1385: 							#end
1386: 							<div class="cell cell_s">&#160;</div>
1387: 						</div>
1388:                         
1389: 						##SAVES
1390: 						<div class="clearfix">
1391: 							<div class="cell cell_s">&#160;</div>
1392: 							<div class="cell cell_m">$visitorNode.valueOf("totals/goalie/@saves")</div>
1393: 							<div class="cell cell_l title">SAVES</div>
1394: 							<div class="cell cell_m">$homeNode.valueOf("totals/goalie/@saves")</div>
1395: 							<div class="cell cell_s">&#160;</div>
1396: 						</div>
1397: 						
1398: 						##Corner Kicks
1399: 						<div class="clearfix">
1400: 							<div class="cell cell_s">&#160;</div>
1401: 							<div class="cell cell_m">#totalCorners($visitorNode)</div>
1402: 							<div class="cell cell_l title">
1403: 								#if ($showFieldHockey)
1404: 									PENALTY CORNERS
1405: 								#else
1406: 									CORNER KICKS
1407: 								#end
1408: 							</div>
1409: 							<div class="cell cell_m">#totalCorners($homeNode)</div>
1410: 							<div class="cell cell_s">&#160;</div>
1411: 						</div>
1412: 
1413: 
1414:                         ##Fouls
1415: 					#if ($showFouls)                        
1416: 						<div class="clearfix">
1417: 							<div class="cell cell_s">&#160;</div>
1418: 							<div class="cell cell_m">$visitorNode.valueOf("totals/penalty/@fouls")</div>
1419: 							<div class="cell cell_l title">FOULS</div>
1420: 							<div class="cell cell_m">$homeNode.valueOf("totals/penalty/@fouls")</div>
1421: 							<div class="cell cell_s">&#160;</div>
1422: 						</div>
1423: 					#end
1424: 						
1425: 						 ##PENALTY TOTALS                        
1426: 						<div class="clearfix">
1427: 							<div class="cell cell_s">&#160;</div>
1428: 							<div class="cell cell_m">#penaltyTotals($visitorNode)</div>
1429: 							<div class="cell cell_l title">PENALTY TOTALS</div>
1430: 							<div class="cell cell_m">#penaltyTotals($homeNode)</div>
1431: 							<div class="cell cell_s">&#160;</div>
1432: 						</div>
1433: 					
1434: 					</div>
1435:             
1436:                     <div class="recent">
1437:                         <div class="frame">
1438:                             <div class="toggle clearfix">
1439:                                 <div class="play title">
1440: 									Cautions and Ejections
1441:                                      <div class="arrow">
1442:                                         <img src="/info/mobile/stats/images/arrow_down2.gif" class="recent_arrow_down" width="13" height="9"/>
1443:                                         <img src="/info/mobile/stats/images/arrow_up2.gif" class="recent_arrow_up" style="display: none;" width="13" height="9"/>
1444:                                     </div>
1445:                                 </div>
1446:                             </div>
1447:                                 <div class="recent_plays plays" style="display: none;">
1448:                                     #foreach ($pd in $periodRange)
1449:                                         #set ($shownStats = "")
1450:                                         <div class="play period">#period($pd)</div>
1451:                                         #foreach ($penalty in $document.selectNodes("sogame/penalties/pen"))
1452:                                             #if ($pd == $penalty.valueOf("@prd"))
1453:                                                 #set ($shownStats = "y")
1454:                                                 <div class="play clearfix">
1455:                                                     <div class="time">$penalty.valueOf("@time")</div>
1456:                                                     <div class="text">
1457:                                                         <b>
1458:                                                             #if($penalty.valueOf("@vh") == 'H') $homeNode.attributeValue("name") #end
1459:                                                             #if($penalty.valueOf("@vh") == 'V') $visitorNode.attributeValue("name") #end
1460:                                                         </b> &#160; - &#160; 
1461: 														#if ($penalty.valueOf("@type").length() > 0)
1462: 															#if ($penalty.valueOf("@type").contains('GREEN'))<i>Green card - </i>#end
1463: 															#if ($penalty.valueOf("@type").contains('YELLOW'))<i>Yellow card - </i>#end
1464: 															#if ($penalty.valueOf("@type").contains('RED'))<i>Red card - </i>#end
1465: 														#end
1466:                                                         $penalty.valueOf("@name") $!penalty.valueOf("@desc")
1467:                                                     </div>
1468:                                                 </div>
1469:                                             #end
1470:                                         #end
1471:                                         #if ($shownStats == "")
1472:                                             <div class="row sub_title"><i>No penalties</i></div>
1473:                                         #end
1474:                                     #end
1475:                                 </div>
1476:                         </div>
1477:                     </div>
1478: 
1479:                     <div class="recent">
1480:                         <div class="frame">
1481:                             <div class="other">
1482:                                 <div class="toggle clearfix">
1483:                                     <div class="row title">
1484:                                         Other Information
1485:                                          <div class="arrow">
1486:                                             <img src="/info/mobile/stats/images/arrow_down2.gif" class="recent_arrow_down" width="13" height="9"/>
1487:                                             <img src="/info/mobile/stats/images/arrow_up2.gif" class="recent_arrow_up" style="display: none;" width="13" height="9"/>
1488:                                         </div>
1489:                                     </div>
1490:                                 </div>
1491:                                 
1492:                                 <div class="recent_plays plays" style="display: none;">
1493:                                     <div class="row clearfix">
1494:                                         <div class="data">Stadium</div>
1495:                                         <div class="text">$document.valueOf("sogame/venue/@stadium")</div>
1496:                                     </div>
1497: 									<div class="row clearfix">
1498:                                         <div class="data">Location</div>
1499:                                         <div class="text">$document.valueOf("sogame/venue/@location")</div>
1500:                                     </div>
1501: 									#if($schedNote.length() > 0)
1502: 									<div class="row clearfix">
1503:                                         <div class="data">Note</div>
1504:                                         <div class="text">$schedNote</div>
1505:                                     </div>
1506: 									#end									
1507:                                     <div class="row clearfix">
1508:                                         <div class="data">Game Length</div>
1509:                                         <div class="text">$document.valueOf("sogame/venue/@duration")</div>
1510:                                     </div>
1511:                                     <div class="row clearfix">
1512:                                         <div class="data">Attendance</div>
1513:                                         <div class="text">$document.valueOf("sogame/venue/@attend")</div>
1514:                                     </div>
1515:                                         <div class="row title">Officials and game personnel</div>
1516:                                     #foreach ($official in $document.selectNodes("sogame/venue/officials/official"))
1517:                                         <div class="row clearfix">
1518:                                             <div class="data">$official.valueOf("@title")</div>
1519:                                             <div class="text">$official.valueOf("@name")</div>
1520:                                         </div>
1521:                                     #end
1522:                                 </div>
1523:                             </div>
1524:                         </div>
1525:                     </div>
1526: 				</div>
1527: 			</div>
1528: 		</div>
1529: 	</div>
1530: </div>
1531: 
1532: #set ($showWiki = true)
1533: #set ($showWiki = $showWikiVar)
1534: 
1535: #if ($showWiki == true)
1536: 	$!wiki.su 
1537: #end
1538: 
1539: 
1540: 
1541: #else
1542: ##WEBSITE VERSION
1543: 
1544:     #if ($stats.view != "pdf")
1545:         #set ($showWiki = true)
1546:         #set ($showWiki = $showWikiVar)
1547: 
1548:         #if ($showWiki == true)
1549:             $!wiki.su
1550:         #end
1551:     #end
1552: 
1553:     <html>
1554:         <head>
1555:             <title>$visname #if($isNeutralGame)vs.#else at #end $homename | Box Score #if($date.length() > 0)| $date #end</title>
1556: 
1557:             #if ($stats.inProgress)
1558:                 <meta http-equiv="refresh" content="60"/>
1559:             #end
1560:             #if ($stats.view == "pdf")
1561:                 #include("statcrew-pdf-css-template")
1562:             #end
1563:         </head>
1564:         <body>
1565: 
1566:             #if ($stats.view == "pdf")
1567:                 <div class='footer-left'>$visname vs. $homename</div>
1568:                 <div class='footer-right'><span id="pagenumber"></span> of <span
1569:                         id="pagecount"></span></div>
1570:             #end
1571: 
1572:             <div class="stats-wrapper clearfix">
1573: 
1574: 
1575:             #if ($stats.view != "pdf")
1576:                 ## GAME INFORMATION
1577:                 <div class="align-center">
1578:                     <strong>$visitor vs. $home</strong> at $document.valueOf("sogame/venue/@location")<br />
1579:                     $document.valueOf("sogame/venue/@date") at $document.valueOf("sogame/venue/@start")<br />
1580:                     $document.valueOf("sogame/venue/@schednote")
1581:                 </div>
1582:                 <br />
1583: 
1584:                 ## TEAM SCORES
1585:                 <table class="all-center">
1586:                   <tr>
1587:                     #foreach ($team in $document.selectNodes("sogame/team"))
1588:                      <td>
1589:                      #if ($team.attributeValue("teamId").length() > 0 and $linkTeams)
1590:                      <a href="$!linkTeamsBase?id=${team.attributeValue("teamId")}">
1591:                      #end
1592:                      <span class="stats-header">$team.attributeValue("name")</span>
1593:                      #if ($team.attributeValue("teamId").length() > 0 and $linkTeams)
1594:                      </a>
1595:                      #end
1596:                      <br /><span class="stats-header">$team.valueOf("linescore/@score")</span>
1597:                      </td>
1598:                     #end
1599:                   </tr>
1600:                 </table>
1601: 
1602:                 ## PERIOD SUMMARY
1603:                 <div class="stats-fullbox clearfix">
1604:                 <table>
1605:                     <tr>
1606:                         <th class="align-left">SCORING</th>
1607:                         #printPeriods('style="width:40px"')
1608:                         <th style="width:60px">
1609:                             #if ($stats.final)
1610:                                 FINAL
1611:                             #elseif ($stats.inProgress)
1612:                                 $!clock
1613:                             #end
1614:                         </th>
1615:                     </tr>
1616: 
1617:                     #foreach ($team in $document.selectNodes("sogame/team"))
1618:                     <tr>
1619:                         #if ($team.valueOf("@record").length() > 0)
1620:                         <td>$team.valueOf("@name") ($team.valueOf("@record"))</td>
1621:                         #else
1622:                         <td>$team.valueOf("@name")</td>
1623:                         #end
1624:                         #foreach ($prd in $team.selectNodes("linescore/lineprd"))
1625:                         <td class="align-center">$prd.valueOf("@score")</td>
1626:                         #end
1627:                         <td class="align-center">$team.valueOf("linescore/@score")</td>
1628:                     </tr>
1629:                     #end
1630:                 </table>
1631:                 </div>
1632:                 ## PERIOD SUMMARY END
1633: 
1634:                 #if ($stats.pageUrl.length() > 0 && !$stats.pageUrl.contains("?"))
1635:                     #set ($paramSep = "?")
1636:                 #else
1637:                     #set ($paramSep = "&")
1638:                 #end
1639: 
1640:                 ## TABS
1641:                 <div class="stats-tabs clearfix">
1642:                 <ul class="clearfix">
1643:                     <li #if (!($stats.view.length() > 0) || $stats.view == "boxscore") class="active" #end><a href="${stats.pageUrl}" data-view="boxscore">Box Score</a></li>
1644:                     #if ($hasPlayByPlay)
1645:                       <li #if ($stats.view == "plays") class="active" #end><a href="${stats.pageUrl}${paramSep}view=plays" data-view="plays" id="pbp">Play by Play</a></li>
1646:                     #end
1647:                     <li><a href="$stats.pageUrl${paramSep}tmpl=soxml-monospace-template" target="_blank">Coach's View</a></li>
1648:                     #*
1649:                     #if ($showFieldHockey)
1650:                         <li><a href="$stats.pageUrl${paramSep}tmpl=fhxml-monospace-template" target="_blank">Coach's View</a></li>
1651:                     #else
1652:                         <li><a href="$stats.pageUrl${paramSep}tmpl=soxml-monospace-template" target="_blank">Coach's View</a></li>
1653:                     #end
1654:                     *#
1655:                 </ul>
1656:                 </div>
1657:                 ## TABS END
1658:             #end
1659: 
1660:             #macro (printTabPlayByPlay)
1661:                 ## PLAY BY PLAY
1662: 
1663:                 #macro (printPlays $prd)
1664:                     #set ($prdCount = $prd.valueOf("@number"))
1665:                     <tr><th colspan="2" class="align-left"><span id="prd${prdCount}">
1666:                         #period($prdCount)</span></th></tr>
1667:                     <tr class="stats-highlight">
1668:                         <td class="align-center"><span class="bold">Time</span></td>
1669:                         <td class="align-center"><span class="bold">Play</span></td>
1670:                     </tr>
1671:                     #set ($i = 0)
1672:                     #set ($playNodes = $prd.selectNodes("*"))
1673:                     #foreach ($play in $playNodes)
1674:                         #set ($nodeName = $play.getName())
1675:                         #if ($nodeName == "play" && !$play.valueOf("@action").equalsIgnoreCase("goalmsg"))
1676:                             #set ($i = $i + 1)
1677:                             #if ($i % 2 == 0)
1678:                                 #set ($row = "even")
1679:                             #else
1680:                                 #set ($row = "odd")
1681:                             #end
1682: 
1683:                             #if ($play.valueOf("@action").equalsIgnoreCase("goal"))
1684:                             <tr class="${row} highlight bold">
1685:                                 <td class="align-center">$play.valueOf("@clock")</td>
1686:                                 #set ($printValue = $play.valueOf("@text"))
1687:                                 #if ($playNodes.size() > $tool.math.add($velocityCount, 1) && $playNodes.get($tool.math.add($velocityCount, 1)).valueOf("@action").equalsIgnoreCase("goalmsg"))
1688:                                     #set ($goalMsg = $playNodes.get($tool.math.add($velocityCount, 1)).valueOf("@text"))
1689:                                     #set ($printValue = "${printValue} ${goalMsg}")
1690:                                 #end
1691:                                 <td>$tool.esc.html($printValue)</td>
1692:                             </tr>
1693:                             #elseif ($play.valueOf("@action").equalsIgnoreCase("shootout"))
1694:                                 #if(!$shootoutHeader)<tr><th colspan="2">SHOOTOUT</th></tr>#end
1695:                                 #set($shootoutHeader = "true")
1696:                             <tr class="${row}">
1697:                                 <td class="align-center"></td>
1698:                                 <td>$tool.esc.html($play.valueOf("@text"))</td>
1699:                             </tr>
1700:                             #else
1701:                             <tr class="${row}">
1702:                                 <td class="align-center">$play.valueOf("@clock")</td>
1703:                                 <td>$tool.esc.html($play.valueOf("@text"))</td>
1704:                             </tr>
1705:                             #end
1706:                         #elseif ($nodeName == "currentscore")
1707:                         <tr class="stats-highlight">
1708:                             <td colspan="2" class="align-center bold">Score: $visitor $play.valueOf("@vscore") - $home $play.valueOf("@hscore")</td>
1709:                         </tr>
1710:                         #end
1711:                     #end
1712:                 #end ## ends printPlays
1713: 
1714:                 <div class="stats-fullbox clearfix">
1715:                     <table>
1716:                         #if ($stats.view != "pdf")
1717:                             <tr>
1718:                                 <td colspan="2">
1719:                                     <span class="bold">Period: </span>
1720:                                     #foreach ($p in [1..$document.selectNodes("sogame/plays/period").size()])
1721:                                         #if ($velocityCount > 1) | #end
1722:                                         <a href="#prd${p}">#period($p)</a>
1723:                                     #end
1724:                                 </td>
1725:                             </tr>
1726:                         #end
1727:                         #foreach ($playPeriod in $document.selectNodes("sogame/plays/period"))
1728:                             #printPlays ($playPeriod)
1729:                         #end
1730:                     </table>
1731:                 </div>
1732:             #end
1733: 
1734:             #macro (printTabBoxscore)
1735:                 ## BOX SCORE
1736: 
1737:                 ## SCORING SUMMARY
1738:                 <div class="stats-fullbox clearfix">
1739:                     <table>
1740:                         <tr><th colspan="4" class="align-left">Scoring
1741:                             Summary</th></tr>
1742:                         #foreach ($pd in $periodRange)
1743:                             #set ($shownStats = "")
1744:                             <tr class="stats-highlight"><td colspan="4" class="align-center bold">-- #period($pd) -- </td></tr>
1745: 
1746:                             #foreach ($score in $document.selectNodes("sogame/scores/score"))
1747:                                 #if ($pd == $score.valueOf("@prd"))
1748:                                     #set ($shownStats = "y")
1749:                                     <tr>
1750:                                         <td>
1751:                                             #if($score.valueOf("@vh") == 'H') $home #end
1752:                         #if($score.valueOf("@vh") == 'V') $visitor #end
1753:                                         </td>
1754:                                         <td>$score.valueOf("@time")</td>
1755:                                         <td>
1756:                                             #if ($score.valueOf("@playerId").length() > 0 and $linkPlayers)
1757:                                             <a href="$!linkPlayersBase?id=${score.valueOf("@playerId")}">
1758:                                             #end
1759:                                             #if($score.valueOf("@name").equalsIgnoreCase("team") && $hasPlayByPlay)
1760:                                                 #if($score.valueOf("@vh") == 'H') $visitorNode.attributeValue("name")#elseif($score.valueOf("@vh") == 'V') $homeNode.attributeValue("name")#end Own goal
1761:                                             #else
1762:                                                 $score.valueOf("@name")
1763:                                             #end
1764:                                             #if ($score.valueOf("@playerId").length() > 0 and $linkPlayers)
1765:                                             </a>
1766:                                             #end
1767: 
1768:                                             #if ($score.valueOf("@seasong").length() > 0) (${score.valueOf("@seasong")}) #end
1769: 
1770:                                             #if($score.valueOf("@assist1").length() > 0)
1771:                                                 #if ($score.valueOf("@assist1Id").length() > 0 and $linkPlayers)<a href="$!linkPlayersBase?id=${score.valueOf("@assist1Id")}">#end
1772:                                                 #if ($score.valueOf("@assist2").length() > 0)
1773:                                                     ($score.valueOf("@assist1")
1774:                                                 #else
1775:                                                     ($score.valueOf("@assist1"))
1776:                                                 #end
1777:                                                 #if ($score.valueOf("@assist1Id").length() > 0 and $linkPlayers)</a>#end
1778:                                             #elseif ($score.valueOf("@name") != "Team")
1779:                                                 (unassisted)
1780:                                             #end
1781:                                             #if($score.valueOf("@assist2").length() > 0)
1782:                                                 &amp;
1783:                                                 #if ($score.valueOf("@assist2Id").length() > 0 and $linkPlayers)<a href="$!linkPlayersBase?id=${score.valueOf("@assist2Id")}">#end
1784:                                                 $score.valueOf("@assist2"))
1785:                                                 #if ($score.valueOf("@assist2Id").length() > 0 and $linkPlayers)</a>#end
1786:                                             #end
1787:                                         </td>
1788:                                         #if ($showGoalDesc)
1789:                                             <td>
1790:                                                 #if($!score.valueOf("@desc").length() > 0)
1791:                                                     $!score.valueOf("@desc")
1792:                                                 #else
1793:                                                     #set($scoreTime = $score.valueOf("@time"))
1794:                                                     #foreach ($play in $document.selectNodes("sogame/plays/period/play"))
1795:                                                         #if(($play.valueOf("@action") == "PENSHOT") && ($play.valueOf("@clock") == $scoreTime))
1796:                                                             #if ($showFieldHockey)Penalty Stroke #else Penalty Kick #end
1797:                                                         #end
1798:                                                     #end
1799:                                                 #end
1800:                                             </td>
1801:                                         #end
1802:                                     </tr>
1803:                                 #end ## if
1804:                             #end ## scoring foreach
1805: 
1806:                             #if ($shownStats == "")
1807:                                 <tr><td colspan="4" class="align-center">(no scoring)</td></tr>
1808:                             #end
1809:                         #end ## period range
1810: 
1811:                     ## SHOOTOUT
1812:                         #set ($shootouts = $document.selectNodes("sogame/shootouts/shootout"))
1813:                         #if ($shootouts.size() > 0)
1814:                             <tr>
1815:                                 <th colspan="4">SHOOTOUT</th>
1816:                             </tr>
1817:                             <tr>
1818:                                 <td colspan="4">
1819:                                     <strong>${visitor}:</strong>
1820:                                     #shootout($shootouts "V")
1821:                                     <br />
1822:                                     <strong>${home}:</strong>
1823:                                     #shootout($shootouts "H")
1824:                                     <br />
1825:                                     #if ($shootoutScores.get("V") > $shootoutScores.get("H"))
1826:                                         #set ($shootoutResult = ("$visitor wins shootout ${shootoutScores.get('V')} - ${shootoutScores.get('H')}"))
1827:                                     #else
1828:                                         #set ($shootoutResult = ("$home wins shootout ${shootoutScores.get('H')} - ${shootoutScores.get('V')}"))
1829:                                     #end
1830:                                     <strong>$shootoutResult</strong>
1831:                                 </td>
1832:                             </tr>
1833:                         #end
1834:                     </table>
1835:                 </div>
1836:                 ## SCORING SUMMARY END
1837: 
1838: 
1839:                 ## TEAM SUMMARY
1840:                     #macro (playerstats $team)
1841: 
1842:                         #set ($colspan = 7)
1843:                         #if ($showFieldHockey)
1844:                             #set ($colspan = $colspan +1)
1845:                         #end
1846:                         #if ($showPlayerMin == true)
1847:                             #set ($colspan = $colspan +1)
1848:                         #end
1849: 
1850:                     <table>
1851:                         <tr><td class="align-center" colspan="$colspan"><h4>$team.valueOf("@name")</h4></td></tr>
1852:                         <tr>
1853:                             <th class="align-left">#</th>
1854:                             <th>PLAYER</th>
1855:                             <th>POS</th>
1856:                             <th>SH</th>
1857:                             <th>SOG</th>
1858:                             <th>G</th>
1859:                             <th>A</th>
1860:                             #if ($showFieldHockey)<th>DS</th>#end
1861:                             #if ($showPlayerMin == true)<th>MIN</th>#end
1862:                         </tr>
1863: 
1864:                         #foreach ($stat in $team.selectNodes("player/shots"))
1865: 
1866:                             #if ($velocityCount % 2 == 0)
1867:                                 #set ($row = "even")
1868:                             #else
1869:                                 #set ($row = "odd")
1870:                             #end
1871: 
1872:                             <tr class="$row">
1873:                                 <td>$!stat.valueOf("../@uni")</td>
1874:                                 <td class="nowrap">
1875:                                     #if ($stat.valueOf("../@playerId").length() > 0 and $linkPlayers)
1876:                                     <a href="$!linkPlayersBase?id=${stat.valueOf("../@playerId")}">
1877:                                     #end
1878:                                     $stat.valueOf("../@name")
1879:                                     #if ($stat.valueOf("../@playerId").length() > 0 and $linkPlayers)
1880:                                     </a>
1881:                                     #end
1882:                                     #if ($stat.valueOf("../@gs") == "1")
1883:                                         *
1884:                                     #end
1885:                                 </td>
1886:                                 <td class="align-center">$stat.valueOf("../@pos")</td>
1887:                                 <td class="align-center">$!stat.valueOf("@sh")</td>
1888:                                 <td class="align-center">$!stat.valueOf("@sog")</td>
1889:                                 <td class="align-center">$!stat.valueOf("@g")</td>
1890:                                 <td class="align-center">$!stat.valueOf("@a")</td>
1891:                                 #if ($showFieldHockey)<td class="align-center">$!stat.valueOf("../misc/@dsave")</td>#end
1892:                                 #if ($showPlayerMin == true)<td class="align-center">$!stat.valueOf("../misc/@minutes")</td>#end
1893:                             </tr>
1894:                         #end
1895: 
1896:                         <tr class="stats-highlight totals">
1897:                             <td colspan="3">TOTALS</td>
1898:                             #set ($statTotals = $team.selectSingleNode("totals/shots"))
1899:                             <td class="align-center">$!statTotals.valueOf("@sh")</td>
1900:                             <td class="align-center">$!statTotals.valueOf("@sog")</td>
1901:                             <td class="align-center">$!statTotals.valueOf("@g")</td>
1902:                             <td class="align-center">$!statTotals.valueOf("@a")</td>
1903:                             #if ($showFieldHockey)<td class="align-center">$!statTotals.valueOf("../misc/@dsave")</td>#end
1904:                             #if ($showPlayerMin == true)<td class="align-center">$!statTotals.valueOf("../misc/@minutes")</td>#end
1905:                         </tr>
1906: 
1907:                         <tr>
1908:                             <th class="align-left">#</th>
1909:                             <th>GOALIES</th>
1910:                             <th>&#160;</th>
1911:                             #if ($showPlayerMin == true)<th>&#160;</th>#end
1912:                             <th>SOG</th>
1913:                             <th>GA</th>
1914:                             <th>SV</th>
1915:                             #if ($showFieldHockey)<th>&#160;</th>#end
1916:                             <th>Min</th>
1917:                         </tr>
1918: 
1919:                         #foreach ($stat in $team.selectNodes("player/goalie"))
1920:                             <tr>
1921:                                 <td>$!stat.valueOf("../@uni")</td>
1922:                                 <td class="nowrap">
1923:                                     #if ($stat.valueOf("../@playerId").length() > 0 and $linkPlayers)
1924:                                     <a href="$!linkPlayersBase?id=${stat.valueOf("../@playerId")}">
1925:                                     #end
1926:                                     $stat.valueOf("../@name")
1927:                                     #if ($stat.valueOf("../@playerId").length() > 0 and $linkPlayers)
1928:                                     </a>
1929:                                     #end
1930: 
1931:                                     #if($stat.valueOf("@win").length() > 0)<span>(W, $stat.valueOf("@win"))</span>#end
1932:                                     #if($stat.valueOf("@loss").length() > 0)<span>(L, $stat.valueOf("@loss"))</span>#end
1933:                                     #if($stat.valueOf("@tie").length() > 0)<span>(T, $stat.valueOf("@tie"))</span>#end
1934:                                 </td>
1935:                                 <td class="align-center">$!formatter.formatNumber($ga, "#")</td>
1936:                                 #if ($showPlayerMin == true)<td>&#160;</td>#end
1937:                                 <td class="align-center">#shots($stat.valueOf("@ga") $stat.valueOf("@saves"))</td>
1938:                                 <td class="align-center">$stat.valueOf("@ga")</td>
1939:                                 <td class="align-center">$!stat.valueOf("@saves")</td>
1940:                                 #if ($showFieldHockey)<td>&#160;</td>#end
1941:                                 <td class="align-center">$!stat.valueOf("@minutes")</td>
1942:                             </tr>
1943:                         #end
1944: 
1945:                         #if ($team.selectNodes("player/goalie").size() > 1) ## if more than one goalie appeared show totals
1946:                             <tr class="stats-highlight totals">
1947:                                 <td colspan="2">TOTALS</td>
1948:                                 #set ($goalieTotals = $team.selectSingleNode("totals/goalie"))
1949:                                 <td class="align-center">$!formatter.formatNumber($goalieTotals.valueOf("@ga"), "#")</td>
1950:                                 #if ($showPlayerMin == true)<td>&#160;</td>#end
1951:                                 <td class="align-center">#shots($goalieTotals.valueOf("@ga") $goalieTotals.valueOf("@saves"))</td>
1952:                                 <td class="align-center">$!goalieTotals.valueOf("@ga")</td>
1953:                                 <td class="align-center">$!goalieTotals.valueOf("@saves")</td>
1954:                                 #if ($showFieldHockey)<td>&#160;</td>#end
1955:                                 <td class="align-center">$!goalieTotals.valueOf("@minutes")</td>
1956:                             </tr>
1957:                         #end
1958:                     </table>
1959:                     #end ##macro
1960: 
1961: 
1962:                 <div class="clearfix">
1963:                 ## VISITOR STATISTICS
1964:                     <div class="stats-fullbox">#playerstats($document.selectSingleNode("sogame/team[@vh='V']"))</div>
1965:                 ## HOME STATISTICS
1966:                     <div class="stats-fullbox">#playerstats($document.selectSingleNode("sogame/team[@vh='H']"))</div>
1967:                 </div>
1968: 
1969:                     #if ($isDakStats)
1970: 
1971:                     <div class="stats-fullbox details clearfix">
1972:                         <table class="all-center"><tbody><tr>
1973:                             <th style="width:33%">#showTeam($visitorNode)</th>
1974:                             <th style="width:34%">Team Statistics</th>
1975:                             <th>#showTeam($homeNode)</th>
1976:                         </tr>
1977:                         <tr class="odd">
1978:                             <td >$visitorNode.valueOf('totals/shots/@sh')</td>
1979:                             <td class="totals">SHOTS</td>
1980:                             <td>$homeNode.valueOf('totals/shots/@sh')</td>
1981:                         </tr>
1982:                         <tr class="even">
1983:                         ##<td>#totalSaves($visitorNode)</td>
1984:                             <td>$visitorNode.valueOf("totals/goalie/@saves")</td>
1985:                             <td class="totals">SAVES</td>
1986:                         ##<td>#totalSaves($homeNode)</td>
1987:                             <td>$homeNode.valueOf("totals/goalie/@saves")</td>
1988:                         </tr>
1989:                         <tr class="odd">
1990:                             <td>#totalCorners($visitorNode)</td>
1991:                             <td class="totals">#if ($showFieldHockey) PENALTY CORNERS #else CORNER KICKS #end</td>
1992:                             <td>#totalCorners($homeNode)</td>
1993:                         </tr>
1994:                             #if ($showFouls)
1995:                             <tr class="even">
1996:                                 <td>$visitorNode.valueOf("totals/penalty/@fouls")</td>
1997:                                 <td class="totals">FOULS</td>
1998:                                 <td>$homeNode.valueOf("totals/penalty/@fouls")</td>
1999:                             </tr>
2000:                             #end
2001:                         </tbody></table>
2002:                     </div>
2003: 
2004:                     #else
2005: 
2006:                     <div class="clearfix">
2007:                     ## SHOTS BY PERIOD
2008:                         <div class="stats-halfbox-left">
2009:                             <table>
2010:                                 <tr>
2011:                                     <th class="align-left">SHOTS</th>
2012:                                     #printPeriods('style="width:40px"')
2013:                                     <th style="width:50px">TOTAL</th>
2014:                                 </tr>
2015: 
2016:                                 #foreach ($team in $document.selectNodes("sogame/team"))
2017:                                     <tr>
2018:                                         <td>$team.valueOf("@name")</td>
2019:                                         #foreach ($prd in $team.selectNodes("linescore/lineprd"))
2020:                                             <td class="align-center">$prd.valueOf("@shots")</td>
2021:                                         #end
2022:                                         <td class="align-center">$team.valueOf("linescore/@shots")</td>
2023:                                     </tr>
2024:                                 #end
2025:                             </table>
2026:                         </div>
2027:                     ## SHOTS BY PERIOD END
2028: 
2029:                     ## SAVES
2030:                         <div class="stats-halfbox-right">
2031:                             <table>
2032:                                 <tr>
2033:                                     <th class="align-left">SAVES</th>
2034:                                     #printPeriods('style="width:40px"')
2035:                                     <th style="width:50px">TOTAL</th>
2036:                                 </tr>
2037: 
2038:                                 #foreach ($team in $document.selectNodes("sogame/team"))
2039:                                     #set ($runningTotal = 0)
2040:                                     <tr>
2041:                                         <td>$team.valueOf("@name")</td>
2042:                                         #foreach ($prd in $team.selectNodes("linescore/lineprd"))
2043:                                             <td class="align-center">$prd.valueOf("@saves")</td>
2044:                                             #set ($runningTotal = $tool.math.add($runningTotal, $prd.valueOf("@saves")))
2045:                                         #end
2046:                                         <td class="align-center">$runningTotal</td>
2047:                                     </tr>
2048:                                 #end
2049:                             </table>
2050:                         </div>
2051:                     ## SAVES END
2052:                     </div>
2053: 
2054:                     <div class="clearfix">
2055:                         <div class="stats-halfbox-left">
2056:                             <table>
2057:                                 #if ($showFieldHockey)
2058:                                 ## PERIOD SUMMARY - PENALTY CORNERS
2059:                                     <tr>
2060:                                         <th class="align-left">PENALTY CORNERS</th>
2061:                                         #printPeriods('style="width:40px"')
2062:                                         <th style="width:50px">TOTAL</th>
2063:                                     </tr>
2064: 
2065:                                 ## team corners, which have to be manually added up
2066:                                     #foreach ($team in $document.selectNodes("sogame/team"))
2067:                                         #set ($totalCorners = 0)
2068:                                         <tr>
2069:                                             <td>$team.attributeValue("name")</td>
2070:                                             #foreach ($prd in $team.selectNodes("linescore/lineprd"))
2071:                                                 #set ($totalCorners = $tool.math.add($totalCorners, $prd.valueOf("@corners")))
2072:                                                 <td class="align-center">$prd.valueOf("@corners")</td>
2073:                                             #end
2074:                                             <td class="align-center">$totalCorners</td>
2075:                                         </tr>
2076:                                     #end
2077:                                 #else
2078:                                 ## PERIOD SUMMARY - CORNER KICKS
2079:                                     <tr>
2080:                                         <th class="align-left">CORNER KICKS</th>
2081:                                         #printPeriods('style="width:40px"')
2082:                                         <th style="width:50px">TOTAL</th>
2083:                                     </tr>
2084: 
2085:                                 ## team corners, which have to be manually added up
2086:                                     #foreach ($team in $document.selectNodes("sogame/team"))
2087:                                         #set ($totalCorners = 0)
2088:                                         <tr>
2089:                                             <td>$team.attributeValue("name")</td>
2090:                                             #foreach ($prd in $team.selectNodes("linescore/lineprd"))
2091:                                                 #set ($totalCorners = $tool.math.add($totalCorners, $prd.valueOf("@corners")))
2092:                                                 <td class="align-center">$prd.valueOf("@corners")</td>
2093:                                             #end
2094:                                             <td class="align-center">$totalCorners</td>
2095:                                         </tr>
2096:                                     #end
2097:                                 #end
2098:                             </table>
2099:                         </div>
2100: 
2101:                         #if ($showFouls)
2102:                         ## FOULS BY PERIOD
2103:                             <div class="stats-halfbox-right">
2104:                                 <table>
2105:                                     <tr>
2106:                                         <th>FOULS</th>
2107:                                         #printPeriods('style="width:40px"')
2108:                                         <th>TOTAL</th>
2109:                                     </tr>
2110: 
2111:                                     #foreach ($team in $document.selectNodes("sogame/team"))
2112:                                         <tr>
2113:                                             <td>$team.attributeValue("name")</td>
2114:                                             #foreach ($prd in $team.selectNodes("linescore/lineprd"))
2115:                                                 <td class="align-center">$prd.valueOf("@fouls")</td>
2116:                                             #end
2117:                                             <td class="align-center">$team.valueOf("totals/penalty/@fouls")</td>
2118:                                         </tr>
2119:                                     #end
2120:                                 </table>
2121:                             </div>
2122:                         #end
2123:                         <div class="clear"></div>
2124:                     </div>
2125: 
2126: 
2127:                     #end
2128: 
2129:                 ## PENALTY SUMMARY
2130:                 <div class="stats-fullbox clearfix">
2131:                     <table>
2132:                         <tr><th colspan="3" class="align-left">#if ($showFieldHockey)Player
2133:                             Cards #else Cautions and Ejections Summary #end</th></tr>
2134:                         #foreach ($pd in $periodRange)
2135:                             #set ($shownStats = "")
2136:                             <tr class="stats-highlight"><td colspan="3" class="align-center bold">-- #period($pd) -- </td></tr>
2137:                             #foreach ($penalty in $document.selectNodes("sogame/penalties/pen"))
2138:                                 #if ($pd == $penalty.valueOf("@prd"))
2139:                                     #set ($shownStats = "y")
2140:                                     <tr>
2141:                                         <td>
2142:                                             #if($penalty.valueOf("@vh") == 'H') $home #end
2143:                         #if($penalty.valueOf("@vh") == 'V') $visitor #end
2144:                                         </td>
2145:                                         <td>$penalty.valueOf("@time")</td>
2146:                                         <td>
2147: 
2148:                                             #if ($penalty.valueOf("@type").length() > 0)
2149: 
2150:                                                 #if ($penalty.valueOf("@type").contains('GREEN'))<span class="italic">Green card - </span>#end
2151:                                                 #if ($penalty.valueOf("@type").contains('YELLOW'))<span class="italic">Yellow card - </span>#end
2152:                                                 #if ($penalty.valueOf("@type").contains('RED'))<span class="italic">Red card - </span>#end
2153: 
2154:                                             #end
2155: 
2156: 
2157:                                             $penalty.valueOf("@name")#if ($!penalty.valueOf("@desc").length() > 0): $!penalty.valueOf("@desc")#end
2158: 
2159:                                         </td>
2160:                                     </tr>
2161:                                 #end ## if
2162:                             #end ## penalty foreach
2163: 
2164:                             #if ($shownStats == "")
2165:                                 <tr><td colspan="3" class="align-center">(no penalties)</td></tr>
2166:                             #end
2167:                         #end ## period range
2168: 
2169:                     ## penalty minutes
2170:                         <tr><th colspan="3" class="align-left">Penalty Totals</th></tr>
2171:                         <tr>
2172:                             <td colspan="3">
2173:                                 <table width="100%">
2174:                                     <tr>
2175:                                         #foreach ($team in $document.selectNodes("sogame/team"))
2176:                                             <td><span class="bold">$team.attributeValue("name")</span>: $team.valueOf("totals/penalty/@red") red cards, $team.valueOf("totals/penalty/@yellow") yellow cards,
2177:                                                 #if ($showFieldHockey)
2178:                                                     $team.valueOf("totals/penalty/@green") green cards,
2179:                                                 #end
2180:                                                 #if($showFouls)
2181:                                                     and  $team.valueOf("totals/penalty/@fouls") fouls.
2182:                                                 #end
2183:                                             </td>
2184:                                         #end
2185:                                     </tr>
2186:                                 </table>
2187:                             </td>
2188:                         </tr>
2189:                     </table>
2190:                 </div>
2191: 
2192: 
2193:                 ## OTHER INFORMATION
2194:                 <div class="stats-fullbox summary clearfix">
2195:                     <table>
2196:                         <tr><th class="align-left">Other Information</th></tr>
2197:                         <tr>
2198:                             <td>
2199:                                 <strong>Stadium:</strong> $document.valueOf("sogame/venue/@stadium")<br />
2200:                                 <strong>Game Length:</strong> $document.valueOf("sogame/venue/@duration")<br />
2201:                                 <strong>Attendance:</strong> $document.valueOf("sogame/venue/@attend")<br />
2202:                                 #foreach ($official in $document.selectNodes("sogame/venue/officials/official"))
2203:                                     <strong>$official.valueOf("@title"):</strong> $official.valueOf("@name")<br />
2204:                                 #end
2205:                             </td>
2206:                         </tr>
2207:                     </table>
2208:                 </div>
2209: 
2210:                 <div class="legend">* Starter</div>
2211:             #end
2212: 
2213:             #if ($stats.view == "plays" && $hasPlayByPlay)
2214:                 #printTabPlayByPlay()
2215:             #elseif ($stats.view == "pdf")
2216:                 #printPdfHeader("Box score")
2217:                 #parse("soxml-monospace-template")
2218:                 #if ($hasPlayByPlay)
2219:                 <p class="pagebreak"/>
2220:                     #printPdfHeader("Play by Play")
2221:                     #printTabPlayByPlay()
2222:                 #end
2223:             #else
2224:                 #printTabBoxscore()
2225:             #end  ## VIEW CHECK
2226:             </div>
2227: 
2228:             #if ($stats.view != "pdf")
2229:                 #set ($showWiki = true)
2230:                 #set ($showWiki = $showWikiVar)
2231: 
2232:                 #if ($showWiki == true)
2233:                     $!wiki.su
2234:                 #end
2235: 
2236:                 #changeViewScript()
2237:             #end
2238:         </body>
2239:     </html>
2240: #end
2241: #end