Alberta

Mount Royal

Sat, Jan. 20, 2018
6:00 PM MST

Live statistics will be available in:



Overview

Alberta

Team Record Conf. Record Last Game
14-1 14-1 W, 67-55 at Mount Royal

Mount Royal

Team Record Conf. Record Last Game
7-8 7-8 L, 67-55 vs. Alberta

Team Comparison

Points

85.3
80.7

Points Allowed

64.5
78.9

Field Goal %

45.6
41.4

3-point %

33.7
30.0

Free Throw %

68.0
65.8

Rebounds

45.5
42.2

Assists

15.7
16.3

Steals

7.3
7.8

Blocks

3.8
3.1

Turnovers

14.0
14.6
Alberta (based on 15 games)
Mount Royal (based on 15 games)

Key Contributors

Lyndon Annetts

LJ Hegwood

6.7 Points 17.3
4.1 Rebounds 6.3
1.5 Assists 1.5

Austin Waddoups

Kristian Zjak

15.1 Points 3.7
3.0 Rebounds 4.6
4.1 Assists 0.5

Mamadou Gueye

Sean Petrone

15.3 Points 1.0
8.4 Rebounds 0.3
2.1 Assists 0.0

Brody Clarke

Ben Kapinga

14.4 Points 1.0
7.4 Rebounds 0.0
1.3 Assists 0.0

Geoff Pippus

There was a problem with a Velocity script
Pagestatcrew-bbxml-template
ErrorError invoking method 'get(java.lang.Integer)' in [Ljava.lang.Object; at statcrew-bbxml-template[line 379, column 60]
Page source:
1: #if ($stats.view == 'pt')
2:     ## CONFIGURATION
3:     $website.include("options")
4:     #set ($options = $request.getAttribute("options"))
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:     #else
19:         #set ($hasVideo = false)
20:     #end
21:     #if ($location != '')
22:         #set ($neutral = true)
23:     #else
24:         #set ($neutral = false)
25:     #end
26:     #if ($request.getParameter("paused") == 'y')
27:         #set ($paused = true)
28:     #else
29:         #set ($paused = false)
30:     #end
31: 
32:     #if ($pregame)
33:         #set ($visitorTeamId = $document.getRootElement().valueOf("team[@vh='V']/@teamId"))
34:         #set ($homeTeamId = $document.getRootElement().valueOf("team[@vh='H']/@teamId"))
35: 
36:         #if ($!options.get("primetime_preview_hide").equalsIgnoreCase("hide"))
37:             #set ($shouldStatsShow = false)
38:         #else
39:             #set ($shouldStatsShow = $preview.shouldStatsShow($homeTeamId,$visitorTeamId))
40:         #end
41:     #end
42: 
43:     <head>
44: 
45:         <script type="text/javascript" src='$website.cdn("/info/jquery-2.1.1.js")'></script>
46:         <script type="text/javascript" src='$website.cdn("/info/notifications/jquery.noty.packaged.min.js")'></script>
47:         <script type="text/javascript" src='$website.cdn("/info/dataTables/js/jquery.dataTables.js")'></script>
48:         <script type="text/javascript" src='$website.cdn("/info/momentjs/moment.js")'></script>
49:         <script type="text/javascript" src='$website.cdn("/info/primetime3/js/full_screen_api.js")'></script>
50:         <script type="text/javascript" src='$website.cdn("/info/primetime3/js/flipclock.min.js")'></script>
51: 
52:         $website.addCss($website.cdn("/info/dataTables/css/jquery.dataTables.css"))
53:         $website.addCss($website.cdn("/info/primetime3/css/flipclock.css"))
54: 
55:         <script type="text/javascript" src="/info/primetime3/js/pt3-embed.js"></script>
56: 
57:         <script type="text/javascript">var jQuery_2_1 = $.noConflict(true);</script>
58:         <script type="text/javascript" src="/info/primetime3/js/add-ons.js"></script>
59:         <script type="text/javascript" src="/info/primetime3/js/pt3-util.js"></script>
60:         <script type="text/javascript" src="/info/primetime3/js/pt3-basketball-template.js"></script>
61: 
62:         <script src="/info/primetime3/js/highcharts.js"></script>
63:         <script src="/info/primetime3/js/highcharts-more.js"></script>
64:         <script src="/info/primetime3/js/solid-gauge.js"></script>
65: 
66:         <script type="text/javascript" src="/info/primetime3/js/pt3-preview-charts.js"></script>
67: 
68:         $website.addCss("/info/primetime3/css/pt3-styles.css")
69:         $website.addCss("/info/primetime3/css/pt3-responsive.css")
70: 
71:         <script type="text/javascript" src="/info/primetime3/js/restive.js"></script>
72:         <script type="text/javascript" src="/info/primetime3/js/pt3-restive.js"></script>
73: 
74:         <script type="text/javascript">
75:             var conf = new Object();
76:             conf.locale = '${locale}';
77:             conf.videoProvider = '${videoProvider}';
78:             conf.videoId = '${videoId}';
79:             conf.eventId = '$document.getRootElement().valueOf("network/@eventId")';
80:             conf.eventIdHashCode = '$eventIdHashCode';
81:             conf.visitorTeamLogo = '$stats.visitorTeamLogo';
82:             conf.homeTeamLogo = '$stats.homeTeamLogo';
83:             conf.visitorTeamColor = '#121212';
84:             conf.homeTeamColor = '#6D6D6D';
85:             conf.startTime = '$startTime';
86:             conf.pregame = $pregame;
87:             conf.tba = $tba;
88:             conf.localDate = '$localDate';
89:             conf.localTime = '$localTime';
90:             conf.visitor = '${tool.esc.javascript($document.getRootElement().valueOf("team[@vh='V']/@name"))}';
91:             conf.home = '${tool.esc.javascript($document.getRootElement().valueOf("team[@vh='H']/@name"))}';
92:             conf.currentDate = new Date();
93:             conf.statusFinal = $stats.final;
94:             conf.neutral = $neutral;
95:             conf.paused = $paused;
96: 
97:             conf.visitorTeamLighterColor = $.fn.increase_brightness(conf.visitorTeamColor, 30);
98:             conf.homeTeamLighterColor = $.fn.increase_brightness(conf.homeTeamColor, 30);
99:         </script>
100:     </head>
101: 
102:     #if ($pregame && !$shouldStatsShow)
103:         <div id="primetime-wrapper" class="primetime-pre-game primetime-basketball clearfix">
104:             <div class="primetime-overflow clearfix">
105:                 <div id="primetime-header" class="grid-row">
106:                     <div class="grid-col grid-col-hdr">
107: 
108:                         <div class="pt-header clearfix">
109:                             <div class="pt-team pt-team-away visitor-team-color" style="background: $document.getRootElement().valueOf("team[@vh='V']/@color")">
110:                                 <img src="$stats.visitorTeamLogo" alt="" class="team-logo visitor-team-logo" />
111:                                 <h3 class="team-name visitor-team-name">$document.getRootElement().valueOf("team[@vh='V']/@name")</h3>
112:                             </div>
113: 
114:                             <div class="pt-team pt-team-home home-team-color" style="background: $document.getRootElement().valueOf("team[@vh='H']/@color")">
115:                                 <img src="$stats.homeTeamLogo" alt="" class="team-logo home-team-logo" />
116:                                 <h3 class="team-name home-team-name">$document.getRootElement().valueOf("team[@vh='H']/@name")</h3>
117:                             </div>
118: 
119:                             <div class="pt-match-scoreboard clearfix">
120:                                 <div class="pt-mtach-info pt-pregame">
121:                                     <center>
122:                                         <div>
123:                                             $localDate <br>
124:                                             #if ($tba)
125:                                                 TBA
126:                                             #else
127:                                                 $localTime
128:                                             #end
129:                                         </div>
130:                                     </center>
131:                                 </div>
132:                             </div>
133:                         </div>
134:                     </div>
135:                 </div>
136:                 <div class="grid-row-container clearfix">
137:                     <div class="grid-row">
138:                         <div class="content">
139:                             <div class="pt-last-play clearfix" style="display: none">
140:                                         <span class="pt-label clearfix" style="text-align: center !important; width: 100% ">
141:                                             This event doesn't have a set start time, but PrimeTime will be available once the event begins.
142:                                         </span>
143:                             </div>
144:                             <div class="text">
145:                                 <h3>
146:                                     Live statistics will be available at the start of the event in:
147:                                 </h3>
148:                                 <center>
149:                                     <div class="clock"></div><br/>
150:                                     #if ($tba)
151:                                         Days
152:                                     #end
153:                                 </center>
154:                             </div>
155:                         </div>
156:                     </div>
157:                     <div class="pt-game-info grid-row clearfix">
158:                         <div class="pt-tabs-panes clearfix">
159:                             <div id="stats-tabs" class="pt-tabs-pane clearfix">
160:                                 <div id="divGameInformation" class="grid-row">
161:                                     <div class="grid-col grid-col-gi grid-col1">
162:                                         <h2 class="grid-title">
163:                                             Game Information
164:                                         </h2>
165:                                         <div class="grid-content clearfix">
166:                                             <div class="pt-game-information clearfix">
167:                                                 <div class="pt-row clearfix">
168:                                                     <center>
169:                                                         <div class="game-location pt-col">
170:                                                                 <span class="date">
171:                                                                     $localDate<br />
172:                                                                     #if ($tba)
173:                                                                         TBA
174:                                                                     #else
175:                                                                         $localTime
176:                                                                     #end
177:                                                                 </span>
178:                                                             <h3>Date & Time</h3>
179:                                                         </div>
180:                                                         #if ($location != '')
181:                                                             <div class="game-venue pt-col">
182:                                                                 <span class="venue">
183:                                                                     $location<br />
184:                                                                     (Neutral)
185:                                                                 </span>
186:                                                                 <h3>Location</h3>
187:                                                             </div>
188:                                                         #end
189:                                                     </center>
190:                                                 </div>
191:                                             </div>
192:                                         </div>
193:                                     </div>
194:                                 </div>
195:                             </div>
196:                         </div>
197:                     </div>
198:                 </div>
199: 
200:                 <div id="primetime-footer" class="grid-row">
201:                     <div class="grid-col grid-col-ftr">
202:                         <a href="/"><img src="/info/primetime3/images/presto-logo.png" alt="prestosports website" /></a>
203:                     </div>
204:                 </div>
205:             </div>
206:         ## GENERAL INFORMATION
207:         </div>
208:     #elseif ($pregame && $shouldStatsShow)
209:         #set ($visitorTeamId = $document.getRootElement().valueOf("team[@vh='V']/@teamId"))
210:         #set ($homeTeamId = $document.getRootElement().valueOf("team[@vh='H']/@teamId"))
211: 
212:         #set ($teamStats = ["ptspg", "ptspgopp", "fgpt", "fgpt3", "ftpt", "trebpg", "astpg", "stlpg", "blkpg", "topg"])
213:         #set ($teamStatsLabels = {"ptspg": "Points", "ptspgopp": "Points Allowed", "fgpt": "Field Goal %", "fgpt3": "3-point %", "ftpt": "Free Throw %", "trebpg": "Rebounds", "astpg": "Assists", "stlpg": "Steals", "blkpg": "Blocks", "topg": "Turnovers"})
214:         #set ($topStats = ["ptspg", "trebpg", "astpg"])
215: 
216:         #set ($visitorStats = $preview.getTeam($visitorTeamId).setTeamStats($teamStats).setTopStats($topStats).calculate())
217:         #set ($homeStats = $preview.getTeam($homeTeamId).setTeamStats($teamStats).setTopStats($topStats).calculate())
218: 
219:         <div id="primetime-wrapper" class="primetime-pre-game primetime-basketball clearfix">
220:             <div class="primetime-overflow clearfix">
221:                 <div id="primetime-header" class="grid-row">
222:                     <div class="grid-col grid-col-hdr">
223: 
224:                         <div class="pt-header clearfix">
225:                             <div class="pt-team pt-team-away visitor-team-color" style="background: $document.getRootElement().valueOf("team[@vh='V']/@color")">
226:                                 <img src="$stats.visitorTeamLogo" alt="" class="team-logo visitor-team-logo" />
227:                                 <h3 class="team-name visitor-team-name">$document.getRootElement().valueOf("team[@vh='V']/@name")</h3>
228:                             </div>
229: 
230:                             <div class="pt-team pt-team-home home-team-color" style="background: $document.getRootElement().valueOf("team[@vh='H']/@color")">
231:                                 <img src="$stats.homeTeamLogo" alt="" class="team-logo home-team-logo" />
232:                                 <h3 class="team-name home-team-name">$document.getRootElement().valueOf("team[@vh='H']/@name")</h3>
233:                             </div>
234: 
235:                             <div class="pt-match-scoreboard clearfix">
236:                                 <div class="pt-mtach-info pt-pregame">
237:                                     <center>
238:                                         <div>
239:                                             $localDate <br>
240:                                             #if ($tba)
241:                                                 TBA
242:                                             #else
243:                                                 $localTime
244:                                             #end
245:                                         </div>
246:                                     </center>
247:                                 </div>
248:                             </div>
249:                         </div>
250:                     </div>
251:                 </div>
252:                 <div class="grid-row-container clearfix">
253:                     <div class="grid-row preview">
254:                         <div class="content grid-col grid-col-e">
255:                             <h3>
256:                                 Live statistics will be available in:
257:                             </h3>
258:                             <div class="pt-last-play clearfix" style="display: none">
259:                                     <span class="pt-label clearfix" style="text-align: center !important; width: 100% ">
260:                                         This event doesn't have a set start time, but PrimeTime will be available once the event begins.
261:                                     </span>
262:                             </div>
263:                             <div class="text">
264:                                 <br>
265:                                 <center>
266:                                     <div class="clock"></div><br/>
267:                                     #if ($tba)
268:                                         Days
269:                                     #end
270:                                 </center>
271:                             </div>
272:                         </div>
273:                     </div>
274:                     <div class="grid-row pt-overview">
275:                         <h2>Overview</h2>
276:                         <div class="grid-col grid-col-e grid-col2 background-black">
277:                             <h3>$document.getRootElement().valueOf("team[@vh='V']/@name")</h3>
278:                             <div class="container clearfix pt-live-action">
279:                                 <table>
280:                                     <thead>
281:                                     <tr>
282:                                         <th>Team Record</th>
283:                                         <th>Conf. Record</th>
284:                                         <th>Last Game</th>
285:                                     </tr>
286:                                     </thead>
287:                                     <tbody>
288:                                     <tr>
289:                                         <td>${visitorStats.overallRecord}</td>
290:                                         <td>${visitorStats.conferenceRecord}</td>
291:                                         <td style="text-align: center">
292:                                             ${visitorStats.lastGame.APResult}
293:                                             <span>
294:                                                 #if ($visitorStats.lastGame.neutralSite.length() > 0 || $visitorStats.lastGame.home)
295:                                                     vs.
296:                                                 #else
297:                                                     at
298:                                                 #end
299:                                             ${visitorStats.lastGame.opponent.name}
300:                                             </span>
301:                                         </td>
302:                                     </tr>
303:                                     </tbody>
304:                                 </table>
305:                             </div>
306:                             <br />
307:                         </div>
308:                         <div class="grid-col grid-col-e grid-col2 background-gray">
309:                             <h3>$document.getRootElement().valueOf("team[@vh='H']/@name")</h3>
310:                             <div class="pt-live-action">
311:                                 <table>
312:                                     <thead>
313:                                     <tr>
314:                                         <th>Team Record</th>
315:                                         <th>Conf. Record</th>
316:                                         <th>Last Game</th>
317:                                     </tr>
318:                                     </thead>
319:                                     <tbody>
320:                                     <tr>
321:                                         <td>${homeStats.overallRecord}</td>
322:                                         <td>${homeStats.conferenceRecord}</td>
323:                                         <td style="text-align: center">
324:                                             ${homeStats.lastGame.APResult}
325:                                             <span>
326:                                                 #if ($homeStats.lastGame.neutralSite.length() > 0 || $homeStats.lastGame.home)
327:                                                     vs.
328:                                                 #else
329:                                                     at
330:                                                 #end
331:                                                 ${homeStats.lastGame.opponent.name}
332:                                             </span>
333:                                         </td>
334:                                     </tr>
335:                                     </tbody>
336:                                 </table>
337:                             </div>
338:                             <br />
339:                         </div>
340:                     </div>
341:                     <div class="grid-row">
342:                         <div class="grid-col team-compare">
343:                             <h2>Team Comparison</h2>
344:                             <div class="charts-line">
345:                                 <div class="charts-inner">
346:                                     #foreach ($statsKey in $teamStats)
347:                                         #if ($visitorStats.teamStats[$statsKey] && $homeStats.teamStats[$statsKey])
348:                                             <div class="chart-container">
349:                                                 <h3>${teamStatsLabels[$statsKey]}</h3>
350:                                                 <div class="stats-chart ts-${statsKey}"></div>
351:                                                 <div class="stats-values">
352:                                                     <div class="stats-value visitor">${formatter.formatNumber($visitorStats.teamStats[$statsKey], $formats.get($statsKey))}</div>
353:                                                     <div class="stats-value home">${formatter.formatNumber($homeStats.teamStats[$statsKey], $formats.get($statsKey))}</div>
354:                                                 </div>
355:                                             </div>
356:                                         #end
357:                                     #end
358:                                 </div>
359:                             </div>
360: 
361:                             <div class="legend grid-col clearfix">
362:                                 <div class="stats-value visitor">$document.getRootElement().valueOf("team[@vh='V']/@name") (based on ${visitorStats.gamesPlayed} games)</div>
363:                                 <div class="stats-value home">$document.getRootElement().valueOf("team[@vh='H']/@name") (based on ${homeStats.gamesPlayed} games)</div>
364:                             </div>
365:                         </div>
366:                     </div>
367:                     <div class="grid-row">
368:                         <div class="grid-col grid-col1 game-leaders grid-col">
369:                             <h2>Key Contributors</h2>
370:                             #set ($homeNames = $homeStats.topStatsTotalMinutesPerPlayer.keySet().toArray())
371:                             #set ($visitorNames = $visitorStats.topStatsTotalMinutesPerPlayer.keySet().toArray())
372:                             #foreach ($topVisitorPlayer in $visitorStats.topStatsTotalMinutesPerPlayer)
373:                                 <div class="grid-col top${foreach.count}">
374:                                     <div class="grid-col clearfix names">
375:                                         <div class="visitor-name">
376:                                             <h3>${visitorNames[$foreach.index]}</h3>
377:                                         </div>
378:                                         <div class="home-name">
379:                                             <h3>${homeNames[$foreach.index]}</h3>
380:                                         </div>
381:                                     </div>
382:                                     <div class="grid-col charts">
383:                                         <div class="grid-col chart">
384:                                             <div class="stats-chart visitor points"></div>
385:                                             <div class="label">
386:                                                 <span class="color-black">${formatter.formatNumber(${topVisitorPlayer[$topStats[0]]}, $formats.get($topStats[0]))}</span>
387:                                                 <span class="title">Points</span>
388:                                                 <span class="color-gray">${formatter.formatNumber(${homeStats.topStatsTotalMinutesPerPlayer.get(${homeNames[$foreach.index]})[$topStats[0]]}, $formats.get($topStats[0]))}</span>
389:                                             </div>
390:                                             <div class="stats-chart home points"></div>
391:                                         </div>
392:                                         <div class="grid-col chart">
393:                                             <div class="stats-chart visitor rebounds"></div>
394:                                             <div class="label">
395:                                                 <span class="color-black">${formatter.formatNumber(${topVisitorPlayer[$topStats[1]]}, $formats.get($topStats[1]))}</span>
396:                                                 <span class="title">Rebounds</span>
397:                                                 <span class="color-gray">${formatter.formatNumber(${homeStats.topStatsTotalMinutesPerPlayer.get(${homeNames[$foreach.index]})[$topStats[1]]}, $formats.get($topStats[1]))}</span>
398:                                             </div>
399:                                             <div class="stats-chart home rebounds"></div>
400:                                         </div>
401:                                         <div class="grid-col chart">
402:                                             <div class="stats-chart visitor assists"></div>
403:                                             <div class="label">
404:                                                 <span class="color-black">${formatter.formatNumber(${topVisitorPlayer[$topStats[2]]}, $formats.get($topStats[2]))}</span>
405:                                                 <span class="title">Assists</span>
406:                                                 <span class="color-gray">${formatter.formatNumber(${homeStats.topStatsTotalMinutesPerPlayer.get(${homeNames[$foreach.index]})[$topStats[2]]}, $formats.get($topStats[2]))}</span>
407:                                             </div>
408:                                             <div class="stats-chart home assists"></div>
409:                                         </div>
410:                                     </div>
411:                                 </div>
412:                             #end
413:                             <div class="legend grid-col clearfix">
414:                                 <div class="stats-value visitor">$document.getRootElement().valueOf("team[@vh='V']/@name") (based on ${visitorStats.gamesPlayed} games)</div>
415:                                 <div class="stats-value home">$document.getRootElement().valueOf("team[@vh='H']/@name") (based on ${homeStats.gamesPlayed} games)</div>
416:                             </div>
417:                         </div>
418:                     </div>
419:                     <div class="grid-row">
420:                         <div class="grid-col grid-col1 recent-games-chart">
421:                             <h2>Recent Scoring</h2>
422:                             <div class="recent-games"></div>
423:                             <br /><br />
424:                         </div>
425:                     </div>
426:                     <div class="grid-row">
427:                         <div class="grid-col grid-col-is grid-col1">
428:                             <h2>Rosters</h2>
429:                             <div class="clearfix">
430:                                 <br />
431:                                 <div class="pt-team-stats clearfix">
432:                                     <div id="visitorTeamIndividualStats" class="active clearfix pt-stats-team pt-team-col">
433:                                         <div class="pt-team clearfix">
434:                                             <img src="$stats.visitorTeamLogo" alt="" class="team-logo visitor-team-logo" />
435:                                             <h3 class="team-name visitor-team-name active">$document.getRootElement().valueOf("team[@vh='V']/@name")</h3>
436:                                         </div>
437: 
438:                                         <div class="pt-stats-tabs clearfix">
439:                                             <div class="pt-panes clearfix">
440:                                                 <div id="vOffenseTab" class="pt-pane pt-pane1 clearfix">
441:                                                     <div class="pt-row">
442:                                                         <table>
443:                                                             <thead>
444:                                                                 <tr>
445:                                                                     <th>#</th>
446:                                                                     <th style="text-align: left">Name</th>
447:                                                                     <th>Yr</th>
448:                                                                     <th>Pos</th>
449:                                                                 </tr>
450:                                                             </thead>
451:                                                             <tbody>
452:                                                             #foreach ($player in $visitorStats.players)
453:                                                                 <tr>
454:                                                                     <td>$player.uniform</td>
455:                                                                     <td style="text-align: left">$player.firstName $player.lastName</td>
456:                                                                     <td>$player.year</td>
457:                                                                     <td>#if($player.positionAbbreviation)$!player.positionAbbreviation#else $!player.position#end</td>
458:                                                                 </tr>
459:                                                             #end
460:                                                             </tbody>
461:                                                         </table>
462:                                                     </div>
463:                                                 </div>
464:                                             </div>
465:                                         </div>
466:                                     </div>
467: 
468:                                     <div id="homeTeamIndividualStats" class="clearfix pt-stats-team pt-team-col asd">
469:                                         <div class="pt-team clearfix">
470:                                             <img src="$stats.homeTeamLogo" alt="" class="team-logo home-team-logo" />
471:                                             <h3 class="team-name home-team-name">$document.getRootElement().valueOf("team[@vh='H']/@name")</h3>
472:                                         </div>
473: 
474:                                         <div class="pt-stats-tabs clearfix">
475:                                             <div class="pt-panes clearfix">
476:                                                 <div class="pt-pane clearfix">
477:                                                     <div class="pt-row">
478:                                                         <table>
479:                                                             <thead>
480:                                                             <tr>
481:                                                                 <th>#</th>
482:                                                                 <th style="text-align: left">Name</th>
483:                                                                 <th>Yr</th>
484:                                                                 <th>Pos</th>
485:                                                             </tr>
486:                                                             </thead>
487:                                                             <tbody>
488:                                                             #foreach ($player in $homeStats.players)
489:                                                                 <tr>
490:                                                                     <td>$player.uniform</td>
491:                                                                     <td style="text-align: left">$player.firstName $player.lastName</td>
492:                                                                     <td>$player.year</td>
493:                                                                     <td>#if($player.positionAbbreviation)$!player.positionAbbreviation#else $!player.position#end</td>
494:                                                                 </tr>
495:                                                             #end
496:                                                             </tbody>
497:                                                         </table>
498:                                                     </div>
499:                                                 </div>
500:                                             </div>
501:                                         </div>
502:                                     </div>
503:                                 </div>
504:                             </div>
505:                         </div>
506:                     </div>
507: 
508:                     <div class="pt-game-info grid-row clearfix">
509:                         <div class="pt-tabs-panes clearfix">
510:                             <div id="stats-tabs" class="pt-tabs-pane clearfix">
511:                                 <div id="divGameInformation" class="grid-row">
512:                                     <div class="grid-col grid-col-gi grid-col1">
513:                                         <h2 class="grid-title">
514:                                             Game Information
515:                                         </h2>
516:                                         <div class="grid-content clearfix">
517:                                             <div class="pt-game-information clearfix">
518:                                                 <div class="pt-row clearfix">
519:                                                     <center>
520:                                                         <div class="game-location pt-col">
521:                                                             <span class="date">
522:                                                                 $localDate<br />
523:                                                                 #if ($tba)
524:                                                                     TBA
525:                                                                 #else
526:                                                                     $localTime
527:                                                                 #end
528:                                                             </span>
529:                                                             <h3>Date & Time</h3>
530:                                                         </div>
531:                                                         #if ($location != '')
532:                                                             <div class="game-venue pt-col">
533:                                                             <span class="venue">
534:                                                                 $location<br />
535:                                                                 (Neutral)
536:                                                             </span>
537:                                                                 <h3>Location</h3>
538:                                                             </div>
539:                                                         #end
540:                                                     </center>
541:                                                 </div>
542:                                             </div>
543:                                         </div>
544:                                     </div>
545:                                 </div>
546:                             </div>
547:                         </div>
548:                     </div>
549:                 </div>
550: 
551:                 <div id="primetime-footer" class="grid-row">
552:                     <div class="grid-col grid-col-ftr">
553:                         <a href="/"><img src="/info/primetime3/images/presto-logo.png" alt="prestosports website" /></a>
554:                     </div>
555:                 </div>
556:             </div>
557:             <script type="text/javascript">
558:                 $(document).ready(function() {
559:                     // Radialize the colors
560:                     Highcharts.setOptions({
561:                         colors: [conf.homeTeamColor, conf.visitorTeamColor]
562:                     });
563: 
564:                     $.fn.buildRecentGamesChart(conf.visitor, ${visitorStats.recentScoresJson}, conf.home, ${homeStats.recentScoresJson});
565: 
566:                     #foreach ($stats in $visitorStats.teamStats.entrySet())
567:                         #if ($stats.value && $homeStats.teamStats[$stats.key])
568:                             $.fn.buildDonutChart('.stats-chart.ts-${stats.key}', ${stats.value}, ${homeStats.teamStats[$stats.key]});
569:                         #end
570:                     #end
571: 
572:                     #foreach ($topPlayer in $visitorStats.topStatsTotalMinutesPerPlayer)
573:                         $.fn.buildVisitorBarChart('.top${foreach.count} .visitor.points', ${topPlayer[$topStats[0]]}, 30.0, conf.visitorTeamLighterColor);
574:                         $.fn.buildVisitorBarChart('.top${foreach.count} .visitor.rebounds', ${topPlayer[$topStats[1]]}, 30.0, conf.visitorTeamLighterColor);
575:                         $.fn.buildVisitorBarChart('.top${foreach.count} .visitor.assists', ${topPlayer[$topStats[2]]}, 30.0, conf.visitorTeamLighterColor);
576: 
577:                         $.fn.buildHomeBarChart('.top${foreach.count} .home.points', ${homeStats.topStatsTotalMinutesPerPlayer.get(${homeNames[$foreach.index]})[$topStats[0]]}, 30.0, conf.homeTeamLighterColor);
578:                         $.fn.buildHomeBarChart('.top${foreach.count} .home.rebounds', ${homeStats.topStatsTotalMinutesPerPlayer.get(${homeNames[$foreach.index]})[$topStats[1]]}, 30.0, conf.homeTeamLighterColor);
579:                         $.fn.buildHomeBarChart('.top${foreach.count} .home.assists', ${homeStats.topStatsTotalMinutesPerPlayer.get(${homeNames[$foreach.index]})[$topStats[2]]}, 30.0, conf.homeTeamLighterColor);
580:                     #end
581: 
582:                     $('.stats-value.visitor').css("background-color", conf.visitorTeamColor);
583:                     $('.stats-value.visitor.light').css("background-color", conf.visitorTeamLighterColor);
584:                     $('.stats-value.home').css("background-color", conf.homeTeamColor);
585:                     $('.stats-value.home.light').css("background-color", conf.homeTeamLighterColor);
586:                 });
587:             </script>
588:         ## GENERAL INFORMATION
589:         </div>
590:     #else
591:         <div id="primetime-wrapper" class="primetime-basketball primetime-wrapper clearfix">
592: 
593:             <div class="primetime-overflow clearfix">
594:                 ## HEADER
595:                 <div id="primetime-header" class="grid-row">
596:                     <div class="grid-col grid-col-hdr">
597: 
598:                         <div class="primetime-screen-controls clearfix">
599:                             <a href="#" class="full-screen-button pt-icon-resize-full"><span class="text">Switch</span></a>
600:                             <a href="#" class="normal-screen-button pt-icon-resize-small"><span class="text">Switch</span></a>
601:                             <a href="#" class="expand-button pt-icon-link-ext"><span class="text">Switch</span></a>
602:                         </div>
603: 
604:                         <div class="pt-header clearfix">
605: 
606:                             <div class="pt-team pt-team-away visitor-team-color"><img src="$stats.visitorTeamLogo" alt="" class="team-logo visitor-team-logo" /><span
607:                                     class="team-record visitor-team-record"></span>
608:                                 <h3 class="team-name visitor-team-name"></h3>
609:                             </div>
610: 
611:                             <div class="pt-team pt-team-home home-team-color">
612:                                 <span class="team-record home-team-record"></span>
613:                                 <img src="$stats.homeTeamLogo" alt="" class="team-logo home-team-logo" />
614:                                 <h3 class="team-name home-team-name"></h3>
615:                             </div>
616: 
617:                             <div class="pt-match-scoreboard clearfix">
618:                                 <p class="team-score visitor-team-score"></p>
619:                                 <p class="team-score home-team-score"></p>
620: 
621:                                 <div class="pt-mtach-info">
622:                                     <span class="time scoreboard-time"></span><br />
623:                                         <span class="period scoreboard-period" style="width: 100%"></span>
624:                                 </div>
625: 
626:                                 <div class="pt-team-fouls">
627:                                     <span class="visitor-team-fouls"></span>
628:                                     <span>TEAM FOULS</span>
629:                                     <span class="home-team-fouls"></span>
630:                                     <div class="pt-timeout clearfix" style="display: none">
631:                                         <div class="timeout-qtr visitor-timeout-qtr">
632:                                             <h3 class="timeout-label">Timeout</h3>
633: 
634:                                         </div>
635:                                         <div class="timeout-qtr home-timeout-qtr">
636:                                             <h3 class="timeout-label">Timeout</h3>
637: 
638:                                         </div>
639:                                     </div>
640:                                 </div>
641: 
642:                             </div>
643: 
644:                             <div id="pt-page-nav" class="pt-page-nav">
645:                                 <a href="#" class="pt-menu">Menu</a>
646:                                 <ul class="clearfix">
647:                                     <li><a href="#live-action-title" data-stroke="1" data-id="#live-action-title">Live Action</a></li>
648:                                     <li><a href="#line-score-title" data-stroke="2" data-id="#line-score-title">Line Score</a></li>
649:                                     <li><a href="#team-comparison-title" data-stroke="3" data-id="#team-comparison-title" data-tab-id="#stats-tabs">Team Comparison</a></li>
650:                                     <li><a href="#individual-stats-title" data-stroke="4" data-id="#individual-stats-title" data-tab-id="#stats-tabs">Individual Stats</a></li>
651:                                     <li><a href="#game-info-title" data-stroke="5" data-id="#game-info-title" data-tab-id="#stats-tabs">Game Information</a></li>
652:                                     <li><a href="#play-by-play-title" data-stroke="6" data-id="#play-by-play-title" data-tab-id="#pbp-tabs">Play by Play</a></li>
653:                                 </ul>
654:                             </div>
655: 
656:                         </div>
657: 
658:                     </div>
659:                 </div>
660:                 ## PRIMETIME HEADER
661: 
662:                 ## GRID ROW CONTAINER
663:                 <div class="grid-row-container clearfix">
664:                 ## GRID ROW
665:                     #set ($gridRowClass = "grid-row no-video")
666:                     #if ($hasVideo)
667:                         #set ($gridRowClass = "grid-row")
668:                     #end
669: 
670:                     <div id="firstPanelRow" class="$gridRowClass">
671: 
672:                         #set ($gridCounter = 0)
673: 
674:                         #set ($gridCounter = $gridCounter + 1)
675:                         <div class="grid-col grid-col-v grid-video grid-col${gridCounter}">
676:                             <h3 id="live-action-title" class="grid-title">Broadcast<span class="close">x</span></h3>
677:                             <div class="grid-content clearfix">
678:                                 <div class='embed-container'>
679: 
680:                                 </div>
681:                             </div>
682:                         ## GRID CONTENT
683:                         </div>
684:                         ## VIDEO COL
685: 
686:                         #set ($gridCounter = $gridCounter + 1)
687:                         <div id="pt-live-action-container" class="grid-col grid-col-v grid-liveaction grid-col${gridCounter}">
688:                             <h3 id="live-action-title" class="grid-title">
689:                                 Live Action<span class="close">x</span>
690:                             </h3>
691:                             <div class="grid-content clearfix">
692:                                 <div class="clearfix">
693:                                     <div class="container clearfix pt-live-action">
694:                                         <table>
695:                                             <thead>
696:                                             <tr>
697:                                                 <th>Time</th>
698:                                                 <th>Team</th>
699:                                                 <th></th>
700:                                                 <th>Play</th>
701:                                             </tr>
702:                                             </thead>
703:                                             <tbody>
704:                                             </tbody>
705:                                         </table>
706:                                     </div>
707:                                 </div>
708:                             </div>
709:                         </div>
710: 
711:                         #set ($gridCounter = $gridCounter + 1)
712:                         <div class="grid-col grid-col-cd grid-col${gridCounter}">
713:                             <h3 id="on-court-title" class="grid-title">ON COURT<span class="close">x</span></h3>
714:                             <div class="grid-content clearfix pt-on-court">
715:                                 <div class="team">
716:                                     <table class="visitor-players">
717:                                         <thead>
718:                                             <tr>
719:                                                 <th class="visitor-team-color">
720:                                                     <img src="" alt="" class="team-logo visitor-team-logo" />
721:                                                 </th>
722:                                             </tr>
723:                                         </thead>
724:                                         <tbody>
725: 
726:                                         </tbody>
727:                                     </table>
728:                                 </div>
729:                                 <div class="team">
730:                                     <table class="home-players">
731:                                         <thead>
732:                                         <tr>
733:                                             <th class="home-team-color">
734:                                                 <img src="" alt="" class="team-logo home-team-logo" />
735:                                             </th>
736:                                         </tr>
737:                                         </thead>
738:                                         <tbody>
739: 
740:                                         </tbody>
741:                                     </table>
742:                                 </div>
743:                                 <br /><br />
744:                                 <div class="on-court-stats" style="display: none;">
745:                                     <table>
746:                                         <tbody></tbody>
747:                                     </table>
748:                                 </div>
749:                             </div>
750:                         ## GRID CONTENT
751:                         </div>
752:                     </div>
753: 
754:                     <div class="grid-row">
755:                         #set ($gridCounter = $gridCounter + 1)
756:                         <div class="grid-col grid-col${gridCounter}">
757:                             <h3 id="line-score-title" class="grid-title">
758:                                 Line Score<span class="close">x</span>
759:                             </h3>
760:                             <div class="grid-content clearfix">
761:                                 <div class="pt-line-score clearfix">
762:                                     <table id="scoreByPeriod">
763:                                         <thead>
764:                                         <tr>
765:                                             <th>&nbsp;</th>
766:                                         </tr>
767:                                         </thead>
768:                                         <tbody>
769:                                         <tr class="visitor">
770:                                             <td><img src="" alt=""
771:                                                      class="team-logo visitor-team-logo" />
772:                                                 <span class="team-name visitor-team-name"></span></td>
773:                                         </tr>
774:                                         <tr class="home">
775:                                             <td><img src="" alt=""
776:                                                      class="team-logo home-team-logo" />
777:                                                 <span class="team-name home-team-name"></span></td>
778:                                         </tr>
779:                                         </tbody>
780:                                     </table>
781: 
782:                                 </div>
783:                             </div>
784:                         ## GRID CONTENT
785:                         </div>
786:                     ## LINE SCORE
787:                     </div>
788: 
789:                     ## GRID ROW ## TABS
790:                     <div class="pt-game-info clearfix">
791: 
792:                         <ul class="pt-tabs clearfix">
793:                             <li class="current"><a href="#stats-tabs">Statistics</a></li>
794:                             <li><a href="#pbp-tabs">Play By Play</a></li>
795:                         </ul>
796: 
797:                         <div class="pt-tabs-panes clearfix">
798:                             <div id="stats-tabs" class="pt-tabs-pane clearfix">
799:                                 ## GRID ROW ##GRID ROW
800:                                 <div class="grid-row">
801:                                     #set ($gridCounter = $gridCounter + 1)
802:                                     <div class="grid-col grid-col-tc grid-col${gridCounter}">
803:                                         <h3 id="team-comparison-title" class="grid-title">
804:                                             Team Comparison<span class="close">x</span>
805:                                         </h3>
806:                                         <div class="grid-content clearfix">
807:                                             <div class="pt-team-compare clearfix">
808:                                                 <table id="teamCompare">
809:                                                     <thead>
810:                                                     <tr>
811:                                                         <th><img src="" alt="" class="team-logo visitor-team-logo" /><br />
812:                                                             <span class="team-name visitor-team-name"></span></th>
813:                                                         <th> <span></span></th>
814:                                                         <th><img src="" alt="" class="team-logo home-team-logo" /><br />
815:                                                             <span class="team-name home-team-name"></span></th>
816:                                                     </tr>
817:                                                     </thead>
818: 
819:                                                     <tbody>
820:                                                     <tr class="stats-points">
821:                                                         <td></td>
822:                                                         <td class="stats-cat">Points</td>
823:                                                         <td></td>
824:                                                     </tr>
825: 
826:                                                     <tr class="stats-fg">
827:                                                         <td></td>
828:                                                         <td class="stats-cat">Field Goals (%)</td>
829:                                                         <td></td>
830:                                                     </tr>
831: 
832:                                                     <tr class="stats-3ptrs">
833:                                                         <td></td>
834:                                                         <td class="stats-cat">3-point FGS (%)</td>
835:                                                         <td></td>
836:                                                     </tr>
837: 
838:                                                     <tr class="stats-ft">
839:                                                         <td></td>
840:                                                         <td class="stats-cat">Free Throws (%)</td>
841:                                                         <td></td>
842:                                                     </tr>
843: 
844:                                                     <tr class="stats-turnovers">
845:                                                         <td></td>
846:                                                         <td class="stats-cat">Turnovers</td>
847:                                                         <td></td>
848:                                                     </tr>
849: 
850:                                                     <tr class="stats-ptsoffto">
851:                                                         <td></td>
852:                                                         <td class="stats-cat">Pts off TO</td>
853:                                                         <td></td>
854:                                                     </tr>
855: 
856:                                                     <tr class="stats-totalreb">
857:                                                         <td></td>
858:                                                         <td class="stats-cat">Total Reb</td>
859:                                                         <td></td>
860:                                                     </tr>
861: 
862:                                                     <tr class="stats-offreb">
863:                                                         <td></td>
864:                                                         <td class="stats-cat">Off. Reb</td>
865:                                                         <td></td>
866:                                                     </tr>
867: 
868:                                                     <tr class="stats-defreb">
869:                                                         <td></td>
870:                                                         <td class="stats-cat">Def. Reb</td>
871:                                                         <td></td>
872:                                                     </tr>
873: 
874:                                                     <tr class="stats-assists">
875:                                                         <td></td>
876:                                                         <td class="stats-cat">Assists</td>
877:                                                         <td></td>
878:                                                     </tr>
879: 
880:                                                     <tr class="stats-blocks">
881:                                                         <td></td>
882:                                                         <td class="stats-cat">Blocks</td>
883:                                                         <td></td>
884:                                                     </tr>
885: 
886:                                                     <tr class="stats-steals">
887:                                                         <td></td>
888:                                                         <td class="stats-cat">Steals</td>
889:                                                         <td></td>
890:                                                     </tr>
891: 
892:                                                     <tr class="stats-fouls">
893:                                                         <td></td>
894:                                                         <td class="stats-cat">Fouls</td>
895:                                                         <td></td>
896:                                                     </tr>
897: 
898:                                                     <tr class="stats-pts-bench">
899:                                                         <td></td>
900:                                                         <td class="stats-cat">Bench points</td>
901:                                                         <td></td>
902:                                                     </tr>
903: 
904:                                                     <tr class="stats-pts-ch2">
905:                                                         <td></td>
906:                                                         <td class="stats-cat">Second chance points</td>
907:                                                         <td></td>
908:                                                     </tr>
909: 
910:                                                     <tr class="stats-pts-paint">
911:                                                         <td></td>
912:                                                         <td class="stats-cat">Points in the paint</td>
913:                                                         <td></td>
914:                                                     </tr>
915: 
916:                                                     <tr class="stats-pts-fastb">
917:                                                         <td></td>
918:                                                         <td class="stats-cat">Fast break points</td>
919:                                                         <td></td>
920:                                                     </tr>
921: 
922: 
923:                                                     </tbody>
924: 
925:                                                 </table>
926:                                             </div>
927:                                         </div>
928:                                     ## GRID CONTENT
929:                                     </div>
930:                                 ## TEAM COMPARE
931:                                 </div>
932:                                 ## GRID ROW ## GRID ROW
933:                                 <div class="grid-row">
934:                                     #set ($gridCounter = $gridCounter + 1)
935:                                     <div class="grid-col grid-col-is grid-col${gridCounter}">
936:                                         <h3 id="individual-stats-title" class="grid-title">
937:                                             Individual Stats<span class="close">x</span>
938:                                                                     <span>
939:                                                                         <img class="switchStats horizontal" src="/info/primetime3/images/horizontal_view.png" />
940:                                                                         &nbsp;
941:                                                                         <img class="switchStats vertical active" src="/info/primetime3/images/vertical_view.png" />
942:                                                                     </span>
943:                                         </h3>
944:                                         <div class="grid-content clearfix">
945:                                             <div class="pt-team-stats clearfix">
946: 
947:                                                 <div id="visitorTeamIndividualStats" class="active clearfix pt-stats-team">
948: 
949:                                                     <div class="pt-team clearfix">
950:                                                         <img src="" alt=""
951:                                                              class="team-logo visitor-team-logo active" />
952:                                                         <h3 class="team-name visitor-team-name"></h3>
953:                                                     </div>
954: 
955:                                                     <div class="pt-stats-tabs clearfix">
956:                                                         <div class="pt-panes clearfix">
957:                                                             <div id="vOffenseTab" class="pt-pane pt-pane1 clearfix">
958:                                                                 <div class="pt-row">
959:                                                                     <table class="playerStats display"> <!-- starters -->
960:                                                                         <thead>
961:                                                                         <tr>
962:                                                                             <th>#</th>
963:                                                                             <th>Player</th>
964:                                                                             <th class="toHide">Min</th>
965:                                                                             <th>FG</th>
966:                                                                             <th class="toHide">FG%</th>
967:                                                                             <th>3PT</th>
968:                                                                             <th class="toHide">3PT%</th>
969:                                                                             <th>FT</th>
970:                                                                             <th class="toHide">FT%</th>
971:                                                                             <th>R</th>
972:                                                                             <th class="toHide">OR</th>
973:                                                                             <th class="toHide">DR</th>
974:                                                                             <th>A</th>
975:                                                                             <th class="toHide">TO</th>
976:                                                                             <th class="toHide">Blk</th>
977:                                                                             <th class="toHide">Stl</th>
978:                                                                             <th>F</th>
979:                                                                             <th>Pts</th>
980:                                                                         </tr>
981:                                                                         </thead>
982:                                                                         <tbody>
983: 
984:                                                                         </tbody>
985:                                                                     </table>
986:                                                                 </div>
987:                                                             </div>
988:                                                         </div>
989:                                                     </div>
990:                                                 </div>
991: 
992:                                                 <div id="homeTeamIndividualStats" class="clearfix pt-stats-team">
993: 
994:                                                     <div class="pt-team clearfix">
995:                                                         <img src="" alt=""
996:                                                              class="team-logo home-team-logo active" />
997:                                                         <h3 class="team-name home-team-name"></h3>
998:                                                     </div>
999: 
1000:                                                     <div class="pt-stats-tabs clearfix">
1001:                                                         <div class="pt-panes clearfix">
1002:                                                             <div class="pt-pane clearfix">
1003:                                                                 <div class="pt-row">
1004:                                                                     <table class="playerStats display"> <!-- starters -->
1005:                                                                         <thead>
1006:                                                                         <tr>
1007:                                                                             <th>#</th>
1008:                                                                             <th>Player</th>
1009:                                                                             <th class="toHide">Min</th>
1010:                                                                             <th>FG</th>
1011:                                                                             <th class="toHide">FG%</th>
1012:                                                                             <th>3PT</th>
1013:                                                                             <th class="toHide">3PT%</th>
1014:                                                                             <th>FT</th>
1015:                                                                             <th class="toHide">FT%</th>
1016:                                                                             <th>R</th>
1017:                                                                             <th class="toHide">OR</th>
1018:                                                                             <th class="toHide">DR</th>
1019:                                                                             <th>A</th>
1020:                                                                             <th class="toHide">TO</th>
1021:                                                                             <th class="toHide">Blk</th>
1022:                                                                             <th class="toHide">Stl</th>
1023:                                                                             <th>F</th>
1024:                                                                             <th>Pts</th>
1025:                                                                         </tr>
1026:                                                                         </thead>
1027:                                                                         <tbody>
1028: 
1029:                                                                         </tbody>
1030:                                                                     </table>
1031:                                                                 </div>
1032: 
1033:                                                             </div>
1034:                                                         </div>
1035:                                                     </div>
1036:                                                 </div>
1037: 
1038:                                             </div>
1039:                                         </div>
1040:                                     ## GRID CONTENT
1041:                                     </div>
1042:                                 ## INDIVISUAL STATS
1043:                                 </div>
1044:                                 ## GRID ROW ## GRID ROW
1045:                                 <div class="grid-row">
1046:                                     #set ($gridCounter = $gridCounter + 1)
1047:                                     <div class="grid-col grid-col-gi grid-col${gridCounter}">
1048:                                         <h3 id="game-info-title" class="grid-title">
1049:                                             Game Information<span class="close">x</span>
1050:                                         </h3>
1051:                                         <div class="grid-content clearfix">
1052:                                             <div class="pt-game-information clearfix">
1053: 
1054:                                                 <div class="pt-row clearfix">
1055:                                                     <center>
1056:                                                         <div class="date-time pt-col">
1057:                                                             <span id="gameInformationDate" class="date"></span>
1058:                                                             <span id="gameInformationTime" class="time"></span>
1059:                                                             <h3>Date & Time</h3>
1060:                                                         </div>
1061: 
1062:                                                         <div class="game-officials pt-col">
1063:                                                             <span id="gameInformationOfficials" class="officials"></span>
1064:                                                             <h3>Officials</h3>
1065:                                                         </div>
1066: 
1067:                                                         <div class="game-location pt-col">
1068:                                                             <span id="gameInformationLocation" class="location"></span>
1069:                                                             <h3>Location</h3>
1070:                                                         </div>
1071: 
1072:                                                         <div class="game-venue pt-col">
1073:                                                             <span id="gameInformationVenue" class="venue"></span>
1074:                                                             <h3>Venue</h3>
1075:                                                         </div>
1076: 
1077:                                                         <div class="weather pt-col">
1078: 
1079:                                                             <div class="weather-condition">
1080:                                                                 <span id="gameInformationTemperature" class="temp"></span>
1081:                                                                 <span id="gameInformationCondition" class="condition"></span>
1082:                                                             </div>
1083:                                                             <h3>Weather</h3>
1084:                                                         </div>
1085:                                                     </center>
1086:                                                 </div>
1087: 
1088:                                             </div>
1089:                                         </div>
1090:                                     ## GRID CONTENT
1091:                                     </div>
1092:                                 ## GENERAL INFORMATION
1093:                                 </div>
1094:                                 ## GRID ROW
1095: 
1096:                             </div>
1097: 
1098:                             ## PLAY BY PLAY TABS
1099:                             <div id="pbp-tabs" class="pt-tabs-pane clearfix">
1100:                                 ## GRID ROW
1101:                                 <div class="grid-row">
1102:                                     #set ($gridCounter = $gridCounter + 1)
1103:                                     <div class="grid-col grid-col-ds grid-col${gridCounter}">
1104:                                         <h3 id="play-by-play-title" class="grid-title">
1105:                                             Play by Play<span class="close">x</span>
1106:                                         </h3>
1107:                                         <div class="grid-content clearfix">
1108:                                             <div id="playByPlay" class="clearfix">
1109:                                                 <select id="filterPeriod" class="dropdownFilter">
1110:                                                 </select>
1111:                                                 <select id="filterTeam" class="dropdownFilter">
1112:                                                     <option value="" selected>Both Teams</option>
1113:                                                     <option value="V" class="visitor-team-name team-name"></option>
1114:                                                     <option value="H" class="home-team-name team-name"></option>
1115:                                                 </select>
1116: ##                                                <select id="filterPlayType" class="dropdownFilter">
1117: ##                                                    <option value="" selected>ALL PLAYS</option>
1118: ##                                                    <option value="scoring">Scoring</option>
1119: ##                                                    <option value="substitutions">Substitutions</option>
1120: ##                                                </select>
1121:                                             </div>
1122:                                             <div class="pt-play-by-play clearfix">
1123:                                                 <table>
1124:                                                     <thead>
1125:                                                     <tr>
1126:                                                         <th><span class="visitor-team-name team-name" /></th>
1127:                                                         <th>Diff</th>
1128:                                                         <th>Clock</th>
1129:                                                         <th>Score</th>
1130:                                                         <th>Diff</th>
1131:                                                         <th><span class="home-team-name team-name" /></th>
1132:                                                     </tr>
1133:                                                     </thead>
1134:                                                     <tbody>
1135:                                                     </tbody>
1136:                                                 </table>
1137:                                             </div>
1138:                                         </div>
1139:                                     ## GRID CONTENT
1140:                                     </div>
1141:                                 ## DRIVE SUMMARY
1142:                                 </div>
1143:                             ## GRID ROW
1144:                             </div>
1145:                         ## PLAY BY PLAY TABS
1146:                         </div>
1147:                     ## PT TABS PANES
1148:                     </div>
1149:                 ## PRIME TIME GAME INFO
1150:                 </div>
1151:                 ## GRID ROW CONTAINER
1152: 
1153:                 ## FOOTER
1154:                 <div id="primetime-footer" class="grid-row">
1155:                     <div class="grid-col grid-col-ftr">
1156:                         <a href="/"><img src="/info/primetime3/images/presto-logo.png" alt="prestosports website" /></a>
1157:                     </div>
1158:                 </div>
1159: 
1160:                 </div>
1161:         ## PRIMTE TIME OVERFLOW
1162:         </div>
1163:         ## PRIME TIME WRAPPER
1164: 	#end
1165: 
1166:     #set ($showWiki = true)
1167:     #set ($showWiki = $showWikiVar)
1168:     #if ($showWiki == true)
1169:         $wiki.su
1170:     #end
1171:     ## END OF PRIMETIME
1172: #else
1173: ## BASKETBALL BOX SCORE
1174: 
1175: #set ($home = $document.selectSingleNode("bbgame/team[@vh='H']"))
1176: #set ($visitor = $document.selectSingleNode("bbgame/team[@vh='V']"))
1177: #set ($inProgressClock = $document.valueOf("bbgame/status/@clock"))
1178: #set ($inProgressPrd = $document.valueOf("bbgame/status/@period"))
1179: 
1180: #set ($periodRule = $document.numberValueOf("bbgame/venue/rules/@prds"))
1181: #set ($periodRule = $tool.math.toInteger($periodRule))
1182: #set ($tabPeriodRule = $tool.math.toInteger($periodRule))
1183: #set ($qh = $document.valueOf("bbgame/venue/rules/@qh"))
1184: 
1185: #if ($document.valueOf("bbgame/@source") == 'STAT CREW Basketball')
1186:     #set ($tabPeriodRule = 2)
1187: #end
1188: 
1189: #set ($linkPlayers = $stats.linkPlayers)
1190: #set ($linkPlayersBase = $stats.linkPlayersBase)
1191: #set ($linkTeams = $stats.linkTeams)
1192: #set ($linkTeamsBase = $stats.linkTeamsBase)
1193: 
1194: #if ($document.valueOf("bbgame/@source") == "DakStats Basketball")
1195:     #set ($isDakStats = true)
1196: #else
1197:     #set ($isDakStats = false)
1198: #end
1199: 
1200: #set ($periods = $tool.math.toInteger($home.selectNodes("linescore/lineprd").size()))
1201: #set ($periodRange = [1..$periods])
1202: 
1203: #set ($homeTeam = $home.valueOf("@name"))
1204: #set ($homeScore = $tool.math.toInteger($home.valueOf("linescore/@score")))
1205: #set ($homename = $document.valueOf("bbgame/venue/@homename"))
1206: #set ($visitorTeam = $visitor.valueOf("@name"))
1207: #set ($visScore = $tool.math.toInteger($visitor.valueOf("linescore/@score")))
1208: #set ($visname = $document.valueOf("bbgame/venue/@visname"))
1209: #set ($homeTotals = $home.selectSingleNode("totals"))
1210: #set ($visitorTotals = $visitor.selectSingleNode("totals"))
1211: 
1212: #set ($hasPeriods = $document.selectNodes("bbgame/plays/period").size() > 0)
1213: #set ($hasTotals = $homeTotals.selectNodes("*").size() > 0)
1214: #set ($hasStatsByPeriod = $document.selectNodes("//statsbyprd").size() > 0)
1215: #set ($isNeutralGame = $document.valueOf("bbgame/venue/@neutralgame"))
1216: #if ($isNeutralGame.length() > 0 && $isNeutralGame.equals("Y"))
1217:     #set ($isNeutralGame = true)
1218: #else
1219:     #set ($isNeutralGame = false)
1220: #end
1221: #set ($location = $document.valueOf("bbgame/venue/@location"))
1222: #set ($dateVal = $document.valueOf("bbgame/venue/@date"))
1223: #set ($date = $tool.date.toDate("MM/dd/yyyy", $dateVal))
1224: #set ($time = $document.valueOf("bbgame/venue/@time"))
1225: 
1226: #if ($stats.pageUrl.length() > 0 && !$stats.pageUrl.contains("?"))
1227:     #set ($paramSep = "?")
1228: #else
1229:     #set ($paramSep = "&")
1230: #end
1231: 
1232: #set ($showWiki = true)
1233: #set ($showWiki = $showWikiVar)
1234:     
1235: ## MACROS
1236: #macro (printPdfHeader $title)
1237: <div class="stats-fullbox">
1238:     <table>
1239:         <tr>
1240:             <td class="align-center"><h4>$title</h4></td>
1241:         </tr>
1242:     </table>
1243: </div>
1244: #end
1245: 
1246: ## SHOOTING STATS
1247: #macro (shooting $attempts $made)
1248:     #if ($attempts.length() > 0)
1249:         ${attempts}-${made}
1250:     #end
1251: #end
1252: 
1253: ## SHOOTING PERCENTAGE
1254: #macro (shotpercent $attempts $totalShots)
1255:     #if (($attempts.length() > 0 && $totalShots.length() > 0) && ($tool.number.toNumber($attempts) > 0 && $tool.number.toNumber($totalShots) > 0))
1256:         #set ($percent = $tool.math.div($attempts, $totalShots))
1257:         #set ($percent = $tool.math.mul($percent, 100))
1258:         $formatter.formatNumber($percent, 1)%
1259:     #else
1260:     0%
1261:     #end
1262: #end
1263: 
1264: ## PRINT PLAYER NAMES PER STAT - USED FOR TECHNICAL FOULS
1265: #macro (printPlayerStat $team $path $att)
1266:     #set ($printVal = "")
1267:     #foreach ($playerSubnode in $team.selectNodes($path))
1268:         #set ($attributeVal = $playerSubnode.valueOf($att))
1269:         #set ($playerName = $playerSubnode.valueOf("../@name"))
1270:         #if ($attributeVal.length() > 0 && $tool.math.toInteger($attributeVal) > 0)
1271:             #if ($tool.math.toInteger($attributeVal) > 1)
1272:                 #set ($singlePrintVal = "${playerName} ${attributeVal}")
1273:             #else
1274:                 #set ($singlePrintVal = "${playerName}")
1275:             #end
1276:             #if ($printVal.length() > 0) #set ($printVal = "${printVal}; ") #end
1277:             #set ($printVal = "${printVal} ${singlePrintVal}")
1278:         #end
1279:     #end
1280:     #if ($printVal.length() > 0)
1281:     ($printVal)
1282:     #end
1283: #end
1284: 
1285: ## POINTS
1286: #macro (totalpoints $fgm $fgm3 $ftm)
1287:     #if ($fgm.length() > 0)
1288:         $tool.math.add($tool.math.mul($fgm, 2), $tool.math.add($fgm3, $ftm))
1289:     #end
1290: #end
1291: 
1292: ## PERIOD NAME
1293: #macro (printPeriodName $c $printQuarterHalf $small $pRule)
1294:     #if ($tool.math.toInteger($c) <= $pRule)
1295:         #if ($c  == 1)
1296:             #set ($prdText = "1st")
1297:         #elseif ($c == 2)
1298:             #set ($prdText = "2nd")
1299:         #elseif ($c == 3)
1300:             #set ($prdText = "3rd")
1301:         #elseif ($c == 4)
1302:             #set ($prdText = "4th")
1303:         #end
1304:         #if ($printQuarterHalf)
1305:             #if ($pRule > 2)
1306:                 #if($small)
1307:                     #set ($prdText = "${prdText} Qtr")
1308:                 #else
1309:                     #set ($prdText = "${prdText} Quarter")
1310:                 #end
1311:             #else
1312:                 #set ($prdText = "${prdText} Half")
1313:             #end
1314:         #end
1315:     #else
1316:         #set ($overtimePeriod = $tool.math.sub($c, $pRule))
1317:         #if ($overtimePeriod > 1)
1318:             #set ($prdText = "${overtimePeriod}OT")
1319:         #else
1320:             #set ($prdText = "OT")
1321:         #end
1322:     #end
1323:     $prdText
1324: #end
1325: 
1326: #macro (showTeam $team)
1327:     #if ($team.attributeValue("link").length() > 0 &&  $linkTeams && $stats.view != "pdf")
1328:         <a href="$!linkTeamsBase?id=${team.attributeValue('teamId')}">$team.attributeValue("name")</a>
1329:     #else
1330:     	$team.attributeValue("name")
1331:     #end
1332: #end
1333: 
1334: ## PRINT PLAYER
1335: #macro (printPlayerNodes $playerNodes $period)
1336:     #foreach ($player in $playerNodes)
1337:         #if ($period > 0)
1338:             #set ($statNode = $player.selectSingleNode("statsbyprd[@prd='${period}']"))
1339:         #else
1340:             #set ($statNode = $player.selectSingleNode("stats"))                		
1341:         #end	
1342:         #set ($position = "")
1343:         #set ($pos = $player.valueOf("@pos").trim())
1344:         #if ($pos.length() > 0 && ($pos.equalsIgnoreCase("F") || $pos.equalsIgnoreCase("G") || $pos.equalsIgnoreCase("C")))
1345:             #set ($position = $pos)
1346:         #end
1347:         <tr>
1348:             <th scope="row" class="row-head pinned-col text">
1349: 				#if ($player.valueOf("@uni").length() > 0)
1350: 					<span class="uniform">$player.valueOf("@uni") - </span>
1351: 				#end
1352: 				#if ($player.valueOf("@playerId").length() > 0 && $linkPlayers && $player.valueOf("../@link").length() > 0)
1353: 					<a href="../players?id=${player.valueOf("@playerId")}" class="player-name">$player.valueOf("@name")</a>
1354: 				#else
1355: 					<span class="player-name">$player.valueOf("@name")</span>
1356:                 #end
1357: 				#if ($position.length() > 0)<span class="position" style="text-transform:lowercase"> - $position</span>#end
1358:             </th>
1359:             <td>$statNode.valueOf("@min")</td>
1360:             <td>#shooting($statNode.valueOf("@fgm") $statNode.valueOf("@fga"))</td>
1361:             <td>#shooting($statNode.valueOf("@fgm3") $statNode.valueOf("@fga3"))</td>
1362:             <td>#shooting($statNode.valueOf("@ftm") $statNode.valueOf("@fta"))</td>
1363:             <td>$statNode.valueOf("@oreb")</td>
1364:             <td>$statNode.valueOf("@dreb")</td>
1365:             <td>$statNode.valueOf("@treb")</td>
1366:             <td>$statNode.valueOf("@ast")</td>
1367:             <td>$statNode.valueOf("@stl")</td>
1368:             <td>$statNode.valueOf("@blk")</td>
1369:             <td>$statNode.valueOf("@to")</td>
1370:             <td>$statNode.valueOf("@pf")</td>
1371:             <td>#totalpoints($statNode.valueOf("@fgm") $statNode.valueOf("@fgm3") $statNode.valueOf("@ftm"))</td>
1372:         </tr>
1373: 	#end
1374: #end ## print player
1375: 
1376: ## PRINT PLAYER STATS
1377: #macro (printPlayerStats $team $type $period)   
1378:     
1379:     #if ($type == 1) ## STARTERS
1380:    		#set ($starterNodes = $team.selectNodes("player[@gs='1'][@gp='1']"))
1381:    		#set ($startingPlayers = [])
1382:         #foreach ($i in [1..4])
1383:             #foreach ($node in $starterNodes)
1384:             	#set ($pos = $node.valueOf("@pos").trim())
1385:             	#if ($i == 1 && $pos.length() > 0 && $pos.equalsIgnoreCase("F"))
1386:              		#set ($bool = $startingPlayers.add($node))                            
1387:                 #elseif ($i == 2 && $pos.length() > 0 && $pos.equalsIgnoreCase("C"))
1388:                 	#set ($bool = $startingPlayers.add($node))                           
1389:                 #elseif ($i == 3 && $pos.length() > 0 && $pos.equalsIgnoreCase("G"))
1390:                 	#set ($bool = $startingPlayers.add($node))                            
1391:                 #elseif ($i == 4 && !$pos.equalsIgnoreCase("F") && !$pos.equalsIgnoreCase("C") && !$pos.equalsIgnoreCase("G"))
1392:                 	#set ($bool = $startingPlayers.add($node))
1393:                 #end
1394:             #end
1395: 		#end
1396: 		
1397: 		#printPlayerNodes($startingPlayers, $period)
1398:     #end ## starters
1399:     
1400:     #if ($type == 2) ## RESERVES
1401:    		#set ($gamePlayedNodes = $team.selectNodes("player[@gp='1']"))
1402: 		#set ($teamNodes = [])                    	 
1403:    		#set ($reservePlayers = [])    
1404: 	                 	                
1405: 		#foreach ($node in $gamePlayedNodes)
1406: 			#if ($node.valueOf("@name") == 'TEAM')
1407: 				#set ($bool = $teamNodes.add($node))
1408: 			#elseif ($node.valueOf("@gs") != '1')
1409: 				#set ($bool = $reservePlayers.add($node))
1410: 			#end
1411: 		#end
1412: 		
1413: 		#set ($bool = $reservePlayers.addAll($teamNodes))
1414: 		#printPlayerNodes($reservePlayers, $period)
1415: 	#end ## reserves
1416: #end ## print player stats
1417: 
1418: ## PRINT STATS TOTALS
1419: #macro (printStatTotals $team $period)
1420: 	#if ($period == 0)
1421: 		#set ($totalsNode = $teamNode.selectSingleNode("totals/stats"))
1422: 	#else
1423:         #if ($document.valueOf("bbgame/@source") == 'STAT CREW Basketball' && ${period} == 2 && ${periodRule} == 4)
1424:             #set ($pStat = 3)
1425:         #else
1426:             #set ($pStat = $period)
1427:         #end
1428: 		#set ($totalsNode = $document.selectSingleNode("bbgame/plays/period[@number='${pStat}']/summary[@vh='${vh}']"))
1429: 	#end
1430:     <tr class="totals">
1431:         <th scope="rowgroup" class="row-head pinned-col text">TOTALS</th>
1432:         <td>&nbsp;</td>
1433:         <td>#shooting($totalsNode.valueOf("@fgm") $totalsNode.valueOf("@fga"))</td>
1434:         <td>#shooting($totalsNode.valueOf("@fgm3") $totalsNode.valueOf("@fga3"))</td>
1435:         <td>#shooting($totalsNode.valueOf("@ftm") $totalsNode.valueOf("@fta"))</td>
1436:         <td>$totalsNode.valueOf("@oreb")</td>
1437:         <td>$totalsNode.valueOf("@dreb")</td>
1438:         <td>$totalsNode.valueOf("@treb")</td>
1439:         <td>$totalsNode.valueOf("@ast")</td>
1440:         <td>$totalsNode.valueOf("@stl")</td>
1441:         <td>$totalsNode.valueOf("@blk")</td>
1442:         <td>$totalsNode.valueOf("@to")</td>
1443:         <td>$totalsNode.valueOf("@pf")</td>
1444:         <td>#totalpoints($totalsNode.valueOf("@fgm") $totalsNode.valueOf("@fgm3") $totalsNode.valueOf("@ftm"))</td>
1445:     </tr>
1446:     <tr class="totals">
1447:         <td class="pinned-col">&nbsp;</td>
1448:         <td>&nbsp;</td>
1449:     	<td>#shotpercent($totalsNode.valueOf("@fgm") $totalsNode.valueOf("@fga"))</td>
1450:     	<td>#shotpercent($totalsNode.valueOf("@fgm3") $totalsNode.valueOf("@fga3"))</td>
1451:     	<td>#shotpercent($totalsNode.valueOf("@ftm") $totalsNode.valueOf("@fta"))</td>
1452:     	<td colspan="9">&nbsp;</td>
1453:     </tr>
1454: #end ## print stats totals
1455: 
1456: ## PRINT BOX SCORE
1457: #macro (printBoxScore $teamNode $period)
1458: 	#set ($teamName = $teamNode.valueOf("@name"))
1459: 	#set ($vh = $teamNode.valueOf("@vh"))
1460: 	#if ($vh == "V")
1461: 		#set ($teamClass = "visitor")
1462: 		#set ($teamLogo = $stats.visitorTeamLogo) 
1463: 	#else
1464: 		#set ($teamClass = "home")
1465:         #set ($teamLogo = $stats.homeTeamLogo) 		
1466: 	#end
1467: 	                
1468: 	## STATS BY PERIOD
1469: 	<div class="stats-wrap clearfix">
1470: 		#if ($stats.view != "pdf")
1471: 			<input class="radio" type="radio" id="${teamClass}-lineup-period${period}" name="team-lineup-period${period}" #if ($vh == "V") checked="checked" #end>
1472: 			<label class="label ${teamClass}" for="${teamClass}-lineup-period${period}">$teamName</label>
1473: 		#end
1474:         <div class="stats-box full lineup ${teamClass} clearfix">
1475:             <div class="scrollable">
1476:                 <div class="clearfix">
1477:                     <table>
1478:                         <caption class="caption">
1479:                     		<h2><span class="team-name">$teamName</span></h2>
1480:                         </caption>
1481: 						<thead>
1482:     						<tr>
1483:                                 <th scope="col" class="col-head pinned-col text">Player</th>
1484:                                 <th scope="col" class="col-head">MIN</th>
1485:                                 <th scope="col" class="col-head">FGM-A</th>
1486:                                 <th scope="col" class="col-head">3PM-A</th>
1487:                                 <th scope="col" class="col-head">FTM-A</th>
1488:                                 <th scope="col" class="col-head">OREB</th>
1489:                                 <th scope="col" class="col-head">DREB</th>
1490:                                 <th scope="col" class="col-head">REB</th>
1491:                                 <th scope="col" class="col-head">AST</th>
1492:                                 <th scope="col" class="col-head">STL</th>
1493:                                 <th scope="col" class="col-head">BLK</th>
1494:                                 <th scope="col" class="col-head">TO</th>
1495:                                 <th scope="col" class="col-head">PF</th>
1496:                                 <th scope="col" class="col-head">PTS</th>
1497:                             </tr>
1498: 						</thead>
1499: 						<tbody>
1500: 							<tr class="group-head">
1501: 								<th scope="rowgroup" class="row-head pinned-col text"><strong>STARTERS</strong></th>
1502: 								<td colspan="13">&nbsp;</td>
1503: 							</tr>
1504: 							#printPlayerStats($teamNode, 1, $period)
1505: 						</tbody>
1506: 						<tbody>
1507: 							<tr class="group-head">
1508: 								<th scope="rowgroup" class="row-head pinned-col text"><strong>RESERVES</strong></th>
1509: 								<td colspan="13">&nbsp;</td>
1510: 							</tr>
1511: 							#printPlayerStats($teamNode, 2, $period)           
1512: 						</tbody>
1513:                         <tbody>
1514:                             #printStatTotals($teamNode, $period)
1515:                         </tbody>
1516:                     </table>
1517:                 </div>
1518:             </div>
1519:         </div>
1520: 	</div> ## stats-wrap
1521: #end ## print box score
1522: 
1523: ## PLAY BY PLAY
1524: #macro (printTabPlayByPlay)
1525:     <div class="stats-wrap clearfix">
1526:     #set ($vscore = 0)
1527:     #set ($hscore = 0)
1528:     #set ($score = "")
1529:     <div class="stats-box full">
1530: 		#if ($stats.view != "pdf")
1531: 		<div class="periods-links clearfix">
1532: 			<span class="label">Periods:</span>
1533: 			<ul>
1534: 			#foreach ($prd in $document.selectNodes("bbgame/plays/period"))
1535: 				<li><a href="#prd${prd.valueOf('@number')}">#printPeriodName($velocityCount, false, false, $periodRule)</a></li>
1536: 			#end
1537: 			</ul>
1538: 		</div>
1539: 		#end        
1540:         #foreach ($prd in $document.selectNodes("bbgame/plays/period"))
1541:         <table role="presentation">
1542:             <caption class="caption">
1543:                 <h2><span id="prd${prd.valueOf('@number')}">#printPeriodName($velocityCount, true, false, $periodRule)</span></h2>
1544:             </caption>	
1545:             #foreach ($play in $prd.selectNodes("play")) 
1546:             
1547:                 #set ($actionsMap = {
1548:                     "REBOUND": {    
1549:                         "DEF": "defensive rebound",
1550:                         "OFF": "offensive rebound",
1551:                         "DEADB": "deadball rebound"
1552:                     },
1553:                     
1554:                     "MISS": {
1555:                         "JUMPER": "missed jump shot",
1556:                         "3PTR": "missed 3-pt. jump shot",
1557:                         "2PTR": "missed 2-pt. field goal",
1558:                         "LAYUP": "missed layup",
1559:                         "FT": "missed free throw",
1560:                         "DUNK": "missed dunk",
1561:                         "TIPIN": "missed tip-in"
1562:                     },
1563:                     
1564:                     "GOOD": {
1565:                         "JUMPER": {"score": 2, "text": "made jump shot"},
1566:                         "3PTR": {"score": 3, "text": "made 3-pt. jump shot"},
1567:                         "2PTR": {"score": 2, "text": "made 2-pt. field goal"},
1568:                         "LAYUP": {"score": 2, "text": "made layup"},
1569:                         "FT": {"score": 1, "text": "made free throw"},
1570:                         "DUNK": {"score": 2, "text": "made dunk"},
1571:                         "TIPIN": {"score": 2, "text": "made tip-in"}
1572:                     },  
1573:                     
1574:                     "TURNOVER": "Turnover by",
1575:                     "STEAL": "Steal by",
1576:                     "ASSIST": "Assist by",
1577:                     "BLOCK": "Block by",
1578:                     "DEF PTS": "points (wrong basket by defense)",
1579:                 
1580:                     "FOUL": { 
1581:                         "TECH": "Technical Foul by", 
1582:                         "NONTECH": "Foul by" 
1583:                     }   
1584:                 })
1585:                 
1586:                 #set ($rowClass = "row")
1587:                 #set ($teamName = "")                
1588:                 #set ($playText = "")
1589:                 #set ($isVisitorPlay = $play.attributeValue('vh') == "V")
1590:                 #set ($isHomePlay = $play.attributeValue('vh') == "H")
1591:                 #set ($playerVal = $!play.attributeValue("checkname"))
1592:                 #set ($playAction = $play.attributeValue("action"))
1593:                 #set ($playType = $play.attributeValue("type"))
1594: 				
1595:                 #if($isVisitorPlay)
1596:                     #set ($rowClass = "row visitor")
1597:                     #set ($teamName = $visitorTeam)
1598:                 #else
1599:                     #set ($rowClass = "row home")
1600:                     #set ($teamName = $homeTeam)                                        
1601:                 #end
1602:                 
1603:                 #if ($actionsMap.containsKey($playAction))
1604:                     #set ($actionVal = $actionsMap.get($playAction))
1605:                     #if ($playAction.equals("FOUL"))
1606:                         #if ($playType && $actionVal.get($playType))
1607:                             #set ($playText = $actionVal.get($playType))
1608:                         #else
1609:                             #set ($playText = $actionVal.get("NONTECH"))
1610:                         #end
1611:                     #elseif ($playType && $actionVal.get($playType))
1612:                         #set ($actionVal = $actionVal.get($playType))
1613:                         #if ($actionVal.get("score"))
1614:                             #set ($playText = $actionVal.get("text"))
1615:                             #if ($isVisitorPlay)
1616:                                 #set ($vscore = $tool.math.add($vscore, $actionVal.get("score")))
1617:                             #else
1618:                                 #set ($hscore = $tool.math.add($hscore, $actionVal.get("score")))
1619:                             #end
1620:                         #else
1621:                             #set ($playText = $actionVal)
1622:                         #end
1623:                     #else
1624:                         #set ($playText = $actionVal)                
1625:                     #end
1626:                 #end
1627:                
1628:                 
1629:                 #if($!play.attributeValue('vscore') || $!play.attributeValue('hscore'))
1630:                 	#set ($rowClass = "${rowClass} score-changed")
1631:                     #if($isDakStats) ## keep running score for dakstats
1632:                         #set ($score = "<span class='v-score'>${vscore}</span><span class='sep'> - </span><span class='h-score'>${hscore}</span>") 
1633:                     #else
1634:                         #set ($score = "<span class='v-score'>$!play.attributeValue('vscore')</span><span class='sep'> - </span><span class='h-score'>$!play.attributeValue('hscore')</span>")
1635:                     #end                	
1636:                 #end
1637: 
1638:                 <tr class="$rowClass">
1639:                     <td class="time">$!play.attributeValue("time")</td>
1640:                     #if($isHomePlay) 
1641:                         <td class="play blank-cell">&nbsp;</td>
1642:                         <td class="score">$score</td>                         
1643:                     #end
1644:                     <td class="play">
1645:                         #if($isVisitorPlay && $stats.view != "pdf")   
1646:                         	<img src="$stats.visitorTeamLogo" alt="$visitorTeam" class="team-logo visitor" />                                          
1647:                         #end             
1648:                         <span class="text">                                                                        
1649:                             #if($!play.attributeValue("action") == "TIMEOUT")
1650:                                 <strong>$!play.attributeValue("type") $!play.attributeValue("action") by $teamName</strong>
1651: 
1652:                             #elseif ($!play.attributeValue("action") == "SUB") 
1653:                                 $playerVal
1654:                                 #if ($!play.attributeValue("type") == "IN") enters the game
1655:                                 #elseif ($!play.attributeValue("type") == "OUT") goes to the bench
1656:                                 #elseif ($!play.attributeValue("type") == "STARTER") will be starting
1657:                                 #end
1658: 
1659:                             #elseif ($!play.attributeValue("action") == "TURNOVER" ||
1660:                                 $!play.attributeValue("action") == "STEAL" ||
1661:                                 $!play.attributeValue("action") == "ASSIST" ||
1662:                                 $!play.attributeValue("action") == "FOUL" ||
1663:                                 $!play.attributeValue("action") == "BLOCK")
1664:                                 $playText $playerVal
1665:                             #else
1666:                                 ## PLAIN TEXT DESCRIPTIONS
1667:                                 $playerVal $playText
1668:                             #end 
1669:                          </span>  
1670:                         #if($isHomePlay && $stats.view != "pdf")   
1671:                             <img src="$stats.homeTeamLogo" alt="$homeTeam" class="team-logo home" />                                            
1672:                         #end                            
1673:                     </td>                      
1674:                     #if($isVisitorPlay) 
1675:                         <td class="score">$score</td>                         
1676:                         <td class="play blank-cell">&nbsp;</td>
1677:                     #end                        
1678:                 </tr> ## row
1679:             #end
1680:             #if ($stats.view != "pdf")
1681:                 <tr class="back-to-top"><td colspan="4"><a href="#pbp">back to top <span class="gicon-up"></span></a></td></tr>
1682:             #end
1683:             </table>
1684:         #end
1685:     </div>
1686: </div> ## stats-wrap
1687: #end ## print play by play
1688: 
1689: ## PRINT % GRAPH
1690: #macro (printPctGraph $made $attempts $label)
1691:     #set ($visMade = $visitorTotals.valueOf($made))
1692:     #set ($visAttempts = $visitorTotals.valueOf($attempts))  
1693:     #set ($homeMade = $homeTotals.valueOf($made))
1694:     #set ($homeAttempts = $homeTotals.valueOf($attempts))     
1695:     #set ($visBarVal = $tool.math.roundTo(1, $tool.math.mul($tool.math.div($visMade, $visAttempts), 100)))
1696:     #set ($homeBarVal = $tool.math.roundTo(1, $tool.math.mul($tool.math.div($homeMade, $homeAttempts), 100)))
1697:     
1698:     #if ($visBarVal && $homeBarVal)
1699:         <div class="stat-graph">
1700:             <div class="graph-label">$label</div>
1701:             <div class="team">$visitorTeam</div>                
1702:             <div class="stat-bar vis">
1703:                 <div class="stat">$visBarVal%</div>
1704:                 <div class="bar"><div style="max-width:${visBarVal}%"></div></div>
1705:             </div>
1706:             <div class="stat-bar home">
1707:                 <div class="stat">$homeBarVal%</div>
1708:                 <div class="bar"><div style="max-width:${homeBarVal}%"></div></div>                   
1709:             </div>      
1710:             <div class="team">$homeTeam</div>                 
1711:         </div>  
1712:     #end
1713: #end
1714: 
1715: #macro (printPointsGraph $cat $label) 
1716:     #set ($visVal = $tool.math.toInteger($visitorTotals.valueOf($cat)))
1717:     #set ($homeVal = $tool.math.toInteger($homeTotals.valueOf($cat)))
1718:     
1719:     #if ($visVal > $homeVal)
1720:         #set ($visBarVal = 100)
1721:         #set ($homeBarVal = $tool.math.mul($tool.math.div($homeVal, $visVal), 100))
1722:     #elseif ($homeVal > $visVal) 
1723:         #set ($visBarVal = $tool.math.mul($tool.math.div($visVal, $homeVal), 100))
1724:         #set ($homeBarVal = 100)
1725:     #end   
1726:     
1727:     #if ($visBarVal && $homeBarVal)
1728:         <div class="stat-graph">
1729:             <div class="graph-label">$label</div>
1730:             <div class="team">$visitorTeam</div>                
1731:             <div class="stat-bar vis">
1732:                 <div class="stat">$visVal</div>
1733:                 <div class="bar"><div style="max-width:${visBarVal}%"></div></div>
1734:             </div>
1735:             <div class="stat-bar home">
1736:                 <div class="stat">$homeVal</div>
1737:                 <div class="bar"><div style="max-width:${homeBarVal}%"></div></div>                   
1738:             </div>      
1739:             <div class="team">$homeTeam</div>                 
1740:         </div>
1741:     #end
1742: #end ## print graph
1743: 
1744: ## TEAM SUMMARY STATISTICS
1745: #macro (printTeamStats)
1746:     #macro (printSpecials $l $a)
1747:         #set ($hv = $homeTotals.valueOf($a))
1748:         #set ($vv = $visitorTotals.valueOf($a))
1749:         #if ($hv.length() > 0 && $vv.length() > 0)
1750:         <tr>
1751:             <th class="row-head text" scope="row">$l</th>                        
1752:             <td>$vv</td>
1753:             <td>$hv</td>
1754:         </tr>
1755:         #end
1756:     #end
1757:     <div class="stats-wrap clearfix">
1758:         <div class="stats-box half">
1759:             <table>
1760:             	<caption class="caption offscreen"><h2>Team Statistics</h2></caption>
1761:                 <tr>
1762:                     <th class="col-head" scope="col"><span class="offscreen">Stat</span></th>                            
1763:                     <th class="col-head" scope="col">$visitorTeam</th>
1764:                     <th class="col-head" scope="col">$homeTeam</th>
1765:                 </tr>
1766: 
1767:                 <tr>
1768:                     <th class="row-head text" scope="row">Field Goal</th>                            
1769:                     <td>#shooting($visitorTotals.valueOf("stats/@fgm") $visitorTotals.valueOf("stats/@fga"))</td>
1770:                     <td>#shooting($homeTotals.valueOf("stats/@fgm") $homeTotals.valueOf("stats/@fga"))</td>
1771:                 </tr>
1772:                 
1773:                 <tr>
1774:                     <th class="row-head text" scope="row">Field Goal %</th>                            
1775:                     <td>#shotpercent($visitorTotals.valueOf("stats/@fgm") $visitorTotals.valueOf("stats/@fga"))</td>
1776:                     <td>#shotpercent($homeTotals.valueOf("stats/@fgm") $homeTotals.valueOf("stats/@fga"))</td>
1777:                 </tr>
1778: 
1779: 
1780:                 <tr>
1781:                     <th class="row-head text" scope="row">3 Point</th>                            
1782:                     <td>#shooting($visitorTotals.valueOf("stats/@fgm3") $visitorTotals.valueOf("stats/@fga3"))</td>
1783:                     <td>#shooting($homeTotals.valueOf("stats/@fgm3") $homeTotals.valueOf("stats/@fga3"))</td>
1784:                 </tr>
1785: 
1786:                 <tr>
1787:                     <th class="row-head text" scope="row">3 Point %</th>                            
1788:                     <td>#shotpercent($visitorTotals.valueOf("stats/@fgm3") $visitorTotals.valueOf("stats/@fga3"))</td>
1789:                     <td>#shotpercent($homeTotals.valueOf("stats/@fgm3") $homeTotals.valueOf("stats/@fga3"))</td>
1790:                 </tr>
1791: 
1792:                 <tr>
1793:                     <th class="row-head text" scope="row">Free Throw</th>                            
1794:                     <td>#shooting($visitorTotals.valueOf("stats/@ftm") $visitorTotals.valueOf("stats/@fta"))</td>
1795:                     <td>#shooting($homeTotals.valueOf("stats/@ftm") $homeTotals.valueOf("stats/@fta"))</td>
1796:                 </tr>
1797: 
1798:                 <tr>
1799:                     <th class="row-head text" scope="row">Free Throw %</th>                            
1800:                     <td>#shotpercent($visitorTotals.valueOf("stats/@ftm") $visitorTotals.valueOf("stats/@fta"))</td>
1801:                     <td>#shotpercent($homeTotals.valueOf("stats/@ftm") $homeTotals.valueOf("stats/@fta"))</td>
1802:                 </tr>
1803: 
1804: 
1805:                 <tr>
1806:                     <th class="row-head text" scope="row">Rebounds</th>                            
1807:                     <td>$visitorTotals.valueOf("stats/@treb")</td>
1808:                     <td>$homeTotals.valueOf("stats/@treb")</td>
1809:                 </tr>
1810: 
1811:                 <tr>
1812:                     <th class="row-head text" scope="row">Assists</th>                            
1813:                     <td>$visitorTotals.valueOf("stats/@ast")</td>
1814:                     <td>$homeTotals.valueOf("stats/@ast")</td>
1815:                 </tr>
1816: 
1817:                 <tr>
1818:                     <th class="row-head text" scope="row">Turnovers</th>                            
1819:                     <td>$!visitorTotals.valueOf("stats/@to")</td>
1820:                     <td>$!homeTotals.valueOf("stats/@to")</td>
1821:                 </tr>
1822: 
1823:                 #printSpecials("Points off Turnovers", "special/@pts_to")
1824:                 #printSpecials("2nd Chance Points", "special/@pts_ch2")
1825:                 #printSpecials("Points in the Paint", "special/@pts_paint")
1826:                 #printSpecials("Fastbreak Points", "special/@pts_fastb")
1827:                 #printSpecials("Bench Points", "special/@pts_bench")
1828:                 #printSpecials("Largest Lead", "special/@large_lead")
1829:                 #printSpecials("Time of Largest Lead", "special/@large_lead_t")
1830: 
1831:                 #if ($hasPeriods)
1832:                     <tr>
1833:                     	<th class="row-head text" scope="row">Trends</th> 
1834:                         <td colspan="2">
1835:                             Ties: $tool.math.add($!visitorTotals.valueOf("special/@ties"),$!homeTotals.valueOf("special/@ties"));
1836:                             Lead Changes: $tool.math.add($!visitorTotals.valueOf("special/@leads"),$!homeTotals.valueOf("special/@leads"))
1837:                         </td>
1838:                     </tr>
1839:                 #end
1840:             </table>
1841:         </div>
1842:         
1843:         #if ($stats.view != "pdf")
1844:             ## TEAM STATS BAR GRAPHS
1845:             <div class="stats-box half">
1846:                 <div class="stat-graphs">
1847:                     #printPctGraph("stats/@fgm", "stats/@fga", "Field Goals %")
1848:                     #printPctGraph("stats/@fgm3", "stats/@fga3", "3 Point %")            
1849:                     #printPointsGraph("stats/@treb", "Rebounds")
1850:                     #printPointsGraph("stats/@to", "Turnovers")                
1851:                 </div>
1852:             </div>
1853:         #end
1854:     </div> ## stats-wrap
1855: #end ## print team stats
1856: 
1857: ## Game Information
1858: #macro (printGameInfo)
1859:     #set ($officials = $document.valueOf("bbgame/venue/officials/@text"))
1860:     #set ($attendance = $document.valueOf("bbgame/venue/@attend"))
1861:     #set ($time = $document.valueOf("bbgame/venue/@time"))
1862:     #set ($foulsV = $visitorTotals.valueOf("stats/@tf"))
1863:     #set ($foulsH = $homeTotals.valueOf("stats/@tf"))
1864:     #if ($tool.math.toInteger($foulsV) == 0)
1865:     	#set ($foulsV = "None")
1866:     #end
1867: 	#if ($tool.math.toInteger($foulsH) == 0)
1868: 		#set ($foulsH = "None")
1869: 	#end           
1870: 		          
1871:     <div class="stats-wrap clearfix">
1872:         <div class="stats-box half">                   
1873:         	<table>
1874:         		<caption class="caption"><h2>Game Information</h2></caption>
1875:         		#if ($date)<tr><th class="row-head text" scope="row">Date/Time: </th><td class="text">$formatter.formatLongDate($date) #if ($time.length() > 0) - $!time #end</td></tr>#end
1876:                 #if ($location.length() > 0)<tr><th class="row-head text" scope="row">Location: </th><td class="text">$location</td></tr>#end
1877:             	<tr><th class="row-head text" scope="row">Technical fouls: </th><td class="text">${visitorTeam}-${foulsV} #printPlayerStat (${visitor}, "player/stats", "@tf"); ${homeTeam}-${foulsH} #printPlayerStat (${home}, "player/stats", "@tf").</td></tr>
1878:             	#if ($officials.length() > 0)<tr><th class="row-head text" scope="row">Officials: </th><td class="text">$officials</td></tr>#end 
1879:             	#if ($tool.math.toInteger($attendance) > 0)<tr><th class="row-head text" scope="row">Attendance: </th><td class="text">$attendance</td></tr>#end
1880:             </table>
1881:         </div>
1882:     </div>                
1883: #end ## print game info
1884: 
1885: <head>
1886:     <title>$visname #if ($isNeutralGame) vs. #else at #end $homename | Box Score #if ($date.length() > 0) | $date #end</title>
1887:     #if ($stats.inProgress)
1888:         <meta http-equiv="refresh" content="60" />
1889:     #end
1890:     #if ($stats.view == "pdf")
1891:         #include("statcrew-pdf-css-template")
1892:     #end
1893: </head>
1894: 
1895: #if ($stats.view == "pdf")
1896:     
1897: <div class='footer-left'>$visname vs. $homename</div>
1898: <div class='footer-right'><span id="pagenumber"></span> of <span id="pagecount"></span></div>		    
1899: <div class="stats-wrapper">
1900: 	#printPdfHeader("Box score")
1901: 	#parse("bbxml-monospace-template")
1902: 	#if ($hasPeriods)
1903: 		<p class="pagebreak">&nbsp;</p>
1904: 		#printPdfHeader("Play by Play")
1905: 		<div class="stats-fullbox">#printTabPlayByPlay()</div>
1906: 	#end
1907: 	#if ($hasTotals)
1908: 		<p class="pagebreak">&nbsp;</p>
1909: 		#printPdfHeader("Team Summary")
1910: 		<div class="stats-fullbox">#printTeamStats</div>
1911: 	#end
1912: 	#foreach ($p in [1..$tabPeriodRule])
1913: 		<p class="pagebreak">&nbsp;</p>
1914: 		#set ($title = "#printPeriodName($p, true, true, $tabPeriodRule) Box")
1915: 		#printPdfHeader($title)
1916: 		<div class="stats-fullbox">#printBoxScore($visitor $p)</div>
1917: 		<div class="stats-fullbox">#printBoxScore($home $p)</div>
1918: 	#end                
1919: </div> ## stats-wrapper               
1920: 
1921: #else
1922: ## FULL BOXSCORE
1923: 
1924: #if ($showWiki == true)
1925: 	$!wiki.su
1926: #end
1927: 
1928: <article class="game-boxscore bkb clearfix">	
1929: 	
1930: 	## BOX SCORE HEADER
1931: 	<div class="head">
1932: 	    <h1>$visitorTeam #if ($isNeutralGame) vs. #else at #end $homeTeam #if ($dateVal.length() > 0)<span>$formatter.formatLongDate($date)</span>#end</h1>
1933: 
1934:         #set ($visClass = "")
1935:         #set ($homeClass = "")	    
1936: 	    #if ($visScore && $homeScore)
1937:             #if ($visScore > $homeScore)
1938:                 #set ($visClass = "winner")
1939:                 #set ($homeClass = "loser")
1940:             #elseif ($homeScore > $visScore)
1941:                 #set ($visClass = "loser")
1942:                 #set ($homeClass = "winner")
1943:             #end
1944: 	    #end
1945: 	    
1946: 	    <div class="teams clearfix">
1947:     		<div class="team visitor ${visClass} clearfix">                		        		
1948:     			<div class="team-logo"><img src="$stats.visitorTeamLogo" alt="" /></div>
1949:     			#if ($visitor.valueOf("@record").length() > 0)<span class="team-record">($visitor.valueOf("@record"))</span>#end
1950:     			#if ($visScore)<div class="team-score visitor">$visScore</div>#end
1951:     		</div>
1952:     		<div class="team home ${homeClass} clearfix">                                
1953:     			<div class="team-logo"><img src="$stats.homeTeamLogo" alt="" /></div>
1954:     			#if ($home.valueOf("@record").length() > 0)<span class="team-record">($home.valueOf("@record"))</span>#end
1955:                 #if ($homeScore)<div class="team-score home">$homeScore</div>#end    			    
1956:     		</div>  
1957:     	
1958:     		## Mini boxscore
1959:     		<div class="linescore">
1960:     		<table>
1961:     			<tr>
1962:     				<th scope="col" class="col-head text">
1963:     					#if ($stats.final)
1964:     						Final
1965:     					#else
1966:     						#if ($inProgressPrd.length() > 0 && $inProgressClock.length() > 0)
1967:     							#printPeriodName($inProgressPrd, true, false, $tabPeriodRule) - $inProgressClock
1968:     						#end
1969:     					#end
1970:     				</th>
1971:     				#foreach ($period in $periodRange)
1972:     				#set ($overtimePeriod = 0)
1973:     					#if ($velocityCount > $periodRule)
1974:     						<th scope="col" class="col-head score">#printPeriodName($velocityCount, true, false, $tabPeriodRule)</th>
1975:     					#else
1976:     						<th scope="col" class="col-head score">$period</th>
1977:     					#end
1978:     				#end
1979:     				<th scope="col" class="col-head score total" aria-label="Total">T</th>
1980:     			</tr>
1981:     
1982:     			## TEAM SCORES
1983:     			#foreach ($team in $document.selectNodes("bbgame/team"))
1984:     			<tr #if($velocityCount == 1) class="$visClass" #else class="$homeClass" #end>
1985:     				<th scope="row" class="name row-head text">#showTeam($team)</th>
1986:     				#foreach ($period in $periodRange)
1987:     					<td class="score">$team.valueOf("linescore/lineprd[$period]/@score")</td>
1988:     				#end
1989:     				<td class="score total">$team.valueOf("linescore/@score")</td>
1990:     			</tr>
1991:     			#end
1992:     		</table>
1993:     		</div> ## mini boxscore   
1994: 		</div> ## teams 
1995: 	</div> ## head
1996: 
1997: 	## TABS
1998: 	#if ($hasPeriods || $hasTotals)
1999: 		<div class="tab-container primary clearfix" data-module="stats/tabs" data-type="primary">
2000: 			<div class="tab-nav" data-module="jscroll" data-momentum="false">
2001: 			<div class="clearfix">
2002: 				<ul class="clearfix">
2003: 					<li #if (!($stats.view.length() > 0) || $stats.view == "boxscore")class="active"#end><a href="${stats.pageUrl}${paramSep}view=boxscore" data-view="boxscore">Box Score</a></li>
2004: 					#if ($hasPeriods)
2005: 						<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>
2006: 					#end
2007: 					<li #if ($stats.view == "teamstats")class="active"#end><a href="${stats.pageUrl}${paramSep}view=teamstats" data-view="teamstats">Team Stats</a></li>
2008: 					
2009: 					#foreach ($p in [1..$tabPeriodRule])
2010: 					    #if ($home.selectNodes("player/statsbyprd[@prd='${p}']").size() > 0)
2011: 					        <li #if ($stats.view == "period${p}")class="active"#end><a href="${stats.pageUrl}${paramSep}view=period${p}" data-view="period${p}">#printPeriodName($p, true, true, $tabPeriodRule)</a></li>
2012: 						#end
2013: 					#end
2014: 					
2015: 					<li data-skip="true"><a href="${stats.pageUrl}${paramSep}tmpl=bbxml-monospace-template" target="_blank">Coach's View</a></li>
2016: 				</ul>
2017: 			</div>
2018: 			</div>
2019: 			<div class="tab-panels">
2020: 
2021: 			## FULL BOX SCORE
2022: 			#set ($class = "tab-panel clearfix")
2023: 			#if (!($stats.view.length() > 0) || $stats.view == "boxscore")
2024: 				#set ($class = "tab-panel active clearfix")
2025: 			#end
2026: 			<section class="${class}">
2027: 				<h1 class="offscreen">Box Score</h1>
2028: 				<div class="player-stats">
2029: 					#printBoxScore($visitor 0)
2030: 					#printBoxScore($home 0)	
2031: 				</div>		
2032: 				<div class="game-info">
2033: 					#printGameInfo		
2034: 				</div>				
2035: 			</section>
2036: 
2037: 			## PAY BY PLAY
2038: 			#if ($hasPeriods)
2039: 				#set ($class = "tab-panel clearfix")
2040: 				#if ($stats.view == "plays")
2041: 					#set ($class = "tab-panel active clearfix")
2042: 				#end
2043: 				<section class="${class}">
2044: 				<h1 class="offscreen">Play By Play</h1>
2045: 					<div class="plays">
2046: 						#printTabPlayByPlay
2047: 					</div>
2048: 				</section>
2049: 			#end
2050: 
2051: 			## TEAM STATS
2052:             #set ($class = "tab-panel clearfix")
2053:             #if ($stats.view == "teamstats")
2054:                 #set ($class = "tab-panel active clearfix")
2055:             #end
2056:             <section class="${class}">
2057:             <h1 class="offscreen">Team Stats</h1>
2058:                 <div class="team-stats">
2059:                     #printTeamStats
2060:                 </div>
2061:             </section>			
2062: 
2063: 			## PERIODS BOXSCORE
2064: 			#foreach ($period in [1..$periodRule])
2065: 			    #if ($home.selectNodes("player/statsbyprd[@prd='${period}']").size() > 0)
2066:     				#set ($class = "tab-panel clearfix")
2067:     				#if ($stats.view == "period${period}")
2068:     					#set ($class = "tab-panel active clearfix")
2069:     				#end
2070:     				<section class="${class}">
2071:     					<h1 class="offscreen">Period${period} Box Score</h1>
2072:     					<div class="player-stats">
2073:     						#printBoxScore($visitor $period)
2074:     						#printBoxScore($home $period)
2075:     					</div>
2076:     				</section>
2077: 				#end 
2078: 			#end
2079: 			</div>
2080: 		</div>
2081: 	#end
2082: </article> ## game-boxscore
2083: #end ## pdf check 
2084: 
2085: #set ($showWiki = true)
2086: #set ($showWiki = $showWikiVar)
2087: 
2088: #if ($showWiki == true)
2089:     $!wiki.su
2090: #end
2091: #end ## pt check

45 Vogell Road, suite 701 | Richmond Hill, Ontario, Canada | L4B 3P6 | TEL: 905-508-3000 | FAX: 905-508-4221

E-MAIL US | Privacy Policy