Mount Olive
King
In Progress - th Score
Mount Olive
There was a problem with a Velocity script
Pagestatcrew-vbxml-template
ErrorInvocation of method 'selectNodes' in class org.dom4j.tree.DefaultElement threw exception org.dom4j.InvalidXPathException: Invalid XPath expression: linescore/${linegameSel} Expected one of '.', '..', '@', '*', <QName> at statcrew-vbxml-template[line 1395, column 48]
Page source:
1: #if ($stats.view == 'pt')
2: ##    #set ($pregame = true)
3: ##    #set ($startTime = '2014-11-25 07:00:00.000000 PM')
4: 
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:     #if ($location != '')
16:         #set ($neutral = true)
17:     #else
18:         #set ($neutral = false)
19:     #end
20:     #if ($document.getRootElement().valueOf("primetime/@videoProvider").length() > 0 && $document.getRootElement().valueOf("primetime/@videoProvider") != "none")
21:         #set ($hasVideo = true)
22:     #end
23: 
24:     <head>
25:         <script type="text/javascript">
26:             var conf = new Object();
27:             conf.locale = '${locale}';
28:             conf.videoProvider = '${videoProvider}';
29:             conf.videoId = '${videoId}';
30:             conf.eventId = '$document.getRootElement().valueOf("network/@eventId")';
31:             conf.eventIdHashCode = '$eventIdHashCode';
32:             conf.visitorTeamLogo = '$stats.visitorTeamLogo';
33:             conf.homeTeamLogo = '$stats.homeTeamLogo';
34:             conf.visitorTeamColor = '$document.getRootElement().valueOf("team[@vh='V']/@color")';
35:             conf.homeTeamColor = '$document.getRootElement().valueOf("team[@vh='H']/@color")';
36:             conf.startTime = '$startTime';
37:             conf.pregame = $pregame;
38:             conf.tba = $tba;
39:             conf.localDate = '$localDate';
40:             conf.localTime = '$localTime';
41:             conf.visitor = '${tool.esc.javascript($document.getRootElement().valueOf("team[@vh='V']/@name"))}';
42:             conf.home = '${tool.esc.javascript($document.getRootElement().valueOf("team[@vh='H']/@name"))}';
43:             conf.currentDate = new Date();
44:             conf.statusFinal = $stats.final;
45:             conf.neutral = $neutral;
46:         </script>
47: 
48:         <script type="text/javascript" src="/info/jquery-2.1.1.js"></script>
49:         <script type="text/javascript" src="/info/dataTables/js/jquery.dataTables.js"></script>
50:         <script type="text/javascript" src="/info/primetime3/js/pt3-embed.js"></script>
51:         <script type="text/javascript" src="/info/primetime3/js/pt3-util.js"></script>
52:         <script type="text/javascript" src="/info/primetime3/js/moment.js"></script>
53:         <script type="text/javascript" src="/info/primetime3/js/pt3-volleyball-template.js"></script>
54:         <script type="text/javascript" src="/info/primetime3/js/full_screen_api.js"></script>
55:         <script type="text/javascript" src="/info/primetime3/js/ustream-embedapi.js"></script>
56:         <script type="text/javascript" src="/info/primetime3/js/add-ons.js"></script>
57:         <script type="text/javascript" src="/info/primetime3/js/flipclock.min.js"></script>
58: 
59: 
60:         $website.addCss("/info/dataTables/css/jquery.dataTables.css")
61:         $website.addCss("/info/primetime3/css/pt3-styles.css")
62:         $website.addCss("/info/primetime3/css/flipclock.css")
63:     </head>
64: 
65:     #if ($pregame)
66:         <div id="primetime-wrapper" class="primetime-pre-game clearfix">
67:             <div class="primetime-overflow clearfix">
68:                 <div id="primetime-header" class="grid-row">
69:                     <div class="grid-col grid-col-hdr">
70: 
71:                         <div class="pt-header clearfix">
72:                             <div class="pt-team pt-team-away visitor-team-color" style="background: $document.getRootElement().valueOf("team[@vh='V']/@color")">
73:                                 <img src="$stats.visitorTeamLogo" alt="" class="team-logo visitor-team-logo" />
74:                                 <h3 class="team-name visitor-team-name">$document.getRootElement().valueOf("team[@vh='V']/@name")</h3>
75:                             </div>
76: 
77:                             <div class="pt-team pt-team-home home-team-color" style="background: $document.getRootElement().valueOf("team[@vh='H']/@color")">
78:                                 <img src="$stats.homeTeamLogo" alt="" class="team-logo home-team-logo" />
79:                                 <h3 class="team-name home-team-name">$document.getRootElement().valueOf("team[@vh='H']/@name")</h3>
80:                             </div>
81: 
82:                             <div class="pt-match-scoreboard clearfix">
83:                                 <div class="pt-mtach-info pt-pregame">
84:                                     <center>
85:                                         <div>
86:                                             $localDate <br>
87:                                             #if ($tba)
88:                                                 TBA
89:                                             #else
90:                                                 $localTime
91:                                             #end
92:                                         </div>
93:                                     </center>
94:                                 </div>
95:                             </div>
96:                         </div>
97:                     </div>
98:                 </div>
99:                 <div class="grid-row-container clearfix">
100:                     <div class="grid-row">
101:                         <div class="content">
102:                             <div class="pt-last-play clearfix" style="display: none">
103:                                     <span class="pt-label clearfix" style="text-align: center !important; width: 100% ">
104:                                         This event doesn't have a set start time, but PrimeTime will be available once the event begins.
105:                                     </span>
106:                             </div>
107:                             <div class="text">
108:                                 <h3>
109:                                     Live statistics will be available at the start of the event in:
110:                                 </h3>
111:                                 <center>
112:                                     <div class="clock"></div><br/>
113:                                     #if ($tba)
114:                                         Days
115:                                     #end
116:                                 </center>
117:                             </div>
118:                         </div>
119:                     </div>
120:                     <div class="pt-game-info grid-row clearfix">
121:                         <div class="pt-tabs-panes clearfix">
122:                             <div id="stats-tabs" class="pt-tabs-pane clearfix">
123:                                 <div id="divGameInformation" class="grid-row">
124:                                     <div class="grid-col grid-col-gi grid-col1">
125:                                         <h3 class="grid-title">
126:                                             Game Information
127:                                         </h3>
128:                                         <div class="grid-content clearfix">
129:                                             <div class="pt-game-information clearfix">
130:                                                 <div class="pt-row clearfix">
131:                                                     <center>
132:                                                         <div class="game-location pt-col">
133:                                                             <span class="date">
134:                                                                 $localDate<br />
135:                                                                 #if ($tba)
136:                                                                     TBA
137:                                                                 #else
138:                                                                     $localTime
139:                                                                 #end
140:                                                             </span>
141:                                                             <h3>Date & Time</h3>
142:                                                         </div>
143:                                                         #if ($location != '')
144:                                                             <div class="game-venue pt-col">
145:                                                             <span class="venue">
146:                                                                 $location<br />
147:                                                                 (Neutral)
148:                                                             </span>
149:                                                                 <h3>Location</h3>
150:                                                             </div>
151:                                                         #end
152:                                                     </center>
153:                                                 </div>
154:                                             </div>
155:                                         </div>
156:                                     </div>
157:                                 </div>
158:                             </div>
159:                         </div>
160:                     </div>
161:                 </div>
162: 
163:                 <div id="primetime-footer" class="grid-row">
164:                     <div class="grid-col grid-col-ftr">
165:                         <a href="/"></a>
166:                     </div>
167:                 </div>
168:             </div>
169:         ## GENERAL INFORMATION
170:         </div>
171:     #else
172:         #if ($document.getRootElement().valueOf("primetime/@videoProvider") == "boxcastppv")
173:             $website.requireSSL()
174:         #end
175:         <div id="primetime-wrapper">
176:             <div class="primetime-overflow clearfix">
177: 
178:                 ## HEADER
179:                 <div id="primetime-header" class="grid-row">
180:                     <div class="grid-col grid-col-hdr">
181: 
182:                         <div class="primetime-screen-controls clearfix">
183:                             <a href="#" class="full-screen-button pt-icon-resize-full"><span class="text">Switch</span></a>
184:                             <a href="#" class="normal-screen-button pt-icon-resize-small"><span class="text">Switch</span></a>
185:                             <a href="#" class="expand-button pt-icon-link-ext"><span class="text">Switch</span></a>
186:                         </div>
187: 
188:                         <div class="pt-header clearfix">
189: 
190:                             <div class="pt-team pt-team-away visitor-team-color"><img src="$stats.visitorTeamLogo" alt="" class="team-logo visitor-team-logo" /><span
191:                                     class="team-record visitor-team-record"></span>
192:                                 <h3 class="team-name visitor-team-name"></h3>
193:                             </div>
194: 
195:                             <div class="pt-team pt-team-home home-team-color">
196:                                 <span class="team-record home-team-record"></span>
197:                                 <img src="$stats.homeTeamLogo" alt="" class="team-logo home-team-logo" />
198:                                 <h3 class="team-name home-team-name"></h3>
199:                             </div>
200: 
201:                             <div class="pt-match-scoreboard clearfix">
202:                                 <p class="team-score visitor-team-score"></p>
203:                                 <p class="team-score home-team-score"></p>
204: 
205:                                 <div class="pt-mtach-info">
206:                                     <span class="time scoreboard-time"></span><br />
207:                                     <span class="period scoreboard-period" style="width: 100%"></span>
208:                                 </div>
209: 
210:                             </div>
211: 
212:                             <div id="pt-page-nav" class="pt-page-nav">
213:                                 <a href="#" class="pt-menu">Menu</a>
214:                                 <ul class="clearfix">
215:                                     <li><a href="#live-action-title" data-id="#live-action-title">Live Action</a></li>
216:                                     <li><a href="#box-score-title" data-id="#box-score-title">Line Score</a></li>
217:                                     <li><a href="#set-summary" data-id="#set-summary" data-tab-id="#stats-tabs">Set summary</a></li>
218:                                     <li><a href="#team-comparison-title" data-id="#team-comparison-title" data-tab-id="#stats-tabs">Team Comparison</a></li>
219:                                     <li><a href="#individual-stats-title" data-id="#individual-stats-title" data-tab-id="#stats-tabs">Individual Stats</a></li>
220:                                     <li><a href="#game-info-title" data-id="#game-info-title" data-tab-id="#stats-tabs">Game Information</a></li>
221:                                     <li><a href="#play-by-play-title" data-id="#play-by-play-title" data-tab-id="#pbp-tabs">Play by Play</a></li>
222:                                 </ul>
223:                             </div>
224:                         </div>
225:                     </div>
226:                 </div>
227: 
228:                 <div class="grid-row-container clearfix">
229:                     #set ($gridRowClass = "grid-row no-video")
230:                     #if ($hasVideo)
231:                         #set ($gridRowClass = "grid-row")
232:                     #end
233: 
234:                     <div class="$gridRowClass">
235:                         #set ($gridCounter = 0)
236: 
237:                         #if ($hasVideo)
238:                             #set ($gridCounter = $gridCounter + 1)
239:                             <div class="grid-col grid-col-v grid-col${gridCounter}">
240:                                 <h3 id="video-field-title" class="grid-title">Video<span class="close">x</span></h3>
241:                                 <div class="grid-content clearfix">
242:                                     <div class='embed-container'>
243: 
244:                                     </div>
245:                                 </div>
246:                             ## GRID CONTENT
247:                             </div>
248:                         ## VIDEO COL
249:                         #end
250: 
251:                         #set ($gridCounter = $gridCounter + 1)
252: 
253:                         <div class="grid-col grid-col-cd grid-col${gridCounter}">
254:                             <h3 id="live-action-title" class="grid-title">
255:                                 Live Action<span class="close">x</span>
256:                             </h3>
257:                             <div class="grid-content clearfix">
258:                                 <div class="clearfix">
259:                                     <div class="container clearfix pt-live-action">
260:                                         <table>
261:                                             <thead>
262:                                             <tr>
263:                                                 <th><span class="team-name visitor-team-name"></span></th>
264:                                                 <th><span class="team-name home-team-name"></span></th>
265:                                                 <th style="text-align: left">Plays</th>
266:                                             </tr>
267:                                             </thead>
268:                                             <tbody>
269:                                             </tbody>
270:                                         </table>
271:                                     </div>
272:                                 </div>
273:                             </div>
274:                         </div>
275:                     </div>
276: 
277:                     <div class="grid-row">
278:                         #set ($gridCounter = $gridCounter + 1)
279:                         <div class="grid-col grid-col${gridCounter}">
280:                             <h3 id="box-score-title" class="grid-title">
281:                                 Line Score<span class="close">x</span>
282:                             </h3>
283:                             <div class="grid-content clearfix">
284:                                 <div class="pt-line-score clearfix">
285:                                     <table id="scoreByPeriod">
286:                                         <thead>
287:                                         <tr>
288:                                             <th>&nbsp;</th>
289:                                         </tr>
290:                                         </thead>
291:                                         <tbody>
292:                                         <tr class="visitor">
293:                                             <td><img src="" alt=""
294:                                                      class="team-logo visitor-team-logo" />
295:                                                 <span class="team-name visitor-team-name"></span></td>
296:                                         </tr>
297:                                         <tr class="home">
298:                                             <td><img src="" alt=""
299:                                                      class="team-logo home-team-logo" />
300:                                                 <span class="team-name home-team-name"></span></td>
301:                                         </tr>
302:                                         </tbody>
303:                                     </table>
304:                                 </div>
305:                             </div>
306:                         ## GRID CONTENT
307:                         </div>
308:                     </div>
309: 
310:                     <div class="pt-game-info grid-row clearfix">
311:                         <ul class="pt-tabs clearfix">
312:                             <li id="statisticsTab" class="current"><a href="#stats-tabs">Statistics</a></li>
313:                             <li id="playByPlayTab"><a href="#pbp-tabs">Play By Play</a></li>
314:                         </ul>
315: 
316:                         <div class="pt-tabs-panes clearfix">
317:                             <div id="stats-tabs" class="pt-tabs-pane clearfix">
318:                                 ## GRID ROW
319: 
320:                                 #set ($gridCounter = $gridCounter + 1)
321:                                 <div class="grid-row">
322:                                     <div id="set-summary" class="grid-col grid-col-is grid-col8">
323:                                         <h3 class="grid-title">
324:                                             Set summary<span class="close">x</span>
325:                                         </h3>
326:                                         <div class="grid-content clearfix">
327:                                             <div class="pt-team-stats clearfix">
328:                                                 <div class="pt-team-col active clearfix">
329:                                                     <div class="pt-team clearfix">
330:                                                         <img src="" alt=""
331:                                                              class="team-logo visitor-team-logo active" />
332:                                                         <h3 class="team-name visitor-team-name"></h3>
333:                                                     </div>
334: 
335:                                                     <div class="pt-stats-tabs clearfix">
336:                                                         <div class="pt-panes clearfix">
337:                                                             <div class="pt-row">
338:                                                                 <table class="visitorSet display">
339:                                                                     <thead>
340:                                                                     <tr>
341:                                                                         <th>Set</th>
342:                                                                         <th>K</th>
343:                                                                         <th>E</th>
344:                                                                         <th>TA</th>
345:                                                                         <th>PCT</th>
346:                                                                         <th>PTS</th>
347:                                                                     </tr>
348:                                                                     </thead>
349:                                                                     <tbody>
350: 
351:                                                                     </tbody>
352:                                                                 </table>
353:                                                             </div>
354:                                                         </div>
355:                                                     </div>
356:                                                 </div>
357: 
358:                                                 <div class="pt-team-col clearfix">
359: 
360:                                                     <div class="pt-team clearfix">
361:                                                         <img src="" alt=""
362:                                                              class="team-logo home-team-logo active" />
363:                                                         <h3 class="team-name home-team-name"></h3>
364:                                                     </div>
365: 
366:                                                     <div class="pt-stats-tabs clearfix">
367: 
368:                                                         <div class="pt-panes clearfix">
369: 
370:                                                             <div class="pt-row">
371:                                                                 <table class="homeSet display">
372:                                                                     <thead>
373:                                                                         <tr>
374:                                                                             <th>Set</th>
375:                                                                             <th>K</th>
376:                                                                             <th>E</th>
377:                                                                             <th>TA</th>
378:                                                                             <th>PCT</th>
379:                                                                             <th>PTS</th>
380:                                                                         </tr>
381:                                                                     </thead>
382:                                                                     <tbody>
383: 
384:                                                                     </tbody>
385:                                                                 </table>
386:                                                             </div>
387:                                                         </div>
388:                                                     </div>
389:                                                 </div>
390:                                             </div>
391:                                         </div>
392:                                     ## GRID CONTENT
393:                                     </div>
394:                                 ## INDIVISUAL STATS
395:                                 </div>
396: 
397:                                 <div id="divTeamComparison" class="grid-row">
398:                                     <div class="grid-col grid-col-tc grid-col7">
399:                                         <h3 id="team-comparison-title" class="grid-title">
400:                                             Team Comparison<span class="close">x</span>
401:                                         </h3>
402:                                         <div class="grid-content clearfix">
403:                                             <div class="pt-team-compare clearfix">
404:                                                 <table id="teamCompare">
405: 
406:                                                     <thead>
407:                                                         <tr>
408:                                                             <th><img src="" alt=""
409:                                                                      class="team-logo visitor-team-logo" /><br /> <span
410:                                                                     class="team-name visitor-team-name">Team 1</span></th>
411:                                                             <th>Team Comparison</th>
412:                                                             <th><img src="" alt=""
413:                                                                      class="team-logo home-team-logo" /><br /> <span
414:                                                                     class="team-name home-team-name">Team 2</span></th>
415:                                                         </tr>
416:                                                     </thead>
417: 
418:                                                     <tbody>
419:                                                         <tr class="stats-attacks">
420:                                                             <td></td>
421:                                                             <td class="stats-cat">Attacks</td>
422:                                                             <td></td>
423:                                                         </tr>
424: 
425:                                                         <tr class="stats-kills">
426:                                                             <td></td>
427:                                                             <td class="stats-cat">Kills</td>
428:                                                             <td></td>
429:                                                         </tr>
430: 
431:                                                         <tr class="stats-attack-errors">
432:                                                             <td></td>
433:                                                             <td class="stats-cat">Attack Errors</td>
434:                                                             <td></td>
435:                                                         </tr>
436: 
437:                                                         <tr class="stats-hit">
438:                                                             <td></td>
439:                                                             <td class="stats-cat">Hit Pct</td>
440:                                                             <td></td>
441:                                                         </tr>
442: 
443:                                                         <tr class="stats-assists">
444:                                                             <td></td>
445:                                                             <td class="stats-cat">Assists</td>
446:                                                             <td></td>
447:                                                         </tr>
448: 
449:                                                         <tr class="stats-aces">
450:                                                             <td></td>
451:                                                             <td class="stats-cat">Serve Aces</td>
452:                                                             <td></td>
453:                                                         </tr>
454: 
455:                                                         <tr class="stats-serve-errors">
456:                                                             <td></td>
457:                                                             <td class="stats-cat">Serve Errors</td>
458:                                                             <td></td>
459:                                                         </tr>
460: 
461:                                                         <tr class="stats-digs">
462:                                                             <td></td>
463:                                                             <td class="stats-cat">Digs.</td>
464:                                                             <td></td>
465:                                                         </tr>
466: 
467: 
468:                                                         <tr class="stats-reception-errors">
469:                                                             <td></td>
470:                                                             <td class="stats-cat">Reception Errors</td>
471:                                                             <td></td>
472:                                                         </tr>
473: 
474:                                                         <tr class="stats-total-blocks">
475:                                                             <td></td>
476:                                                             <td class="stats-cat">Total Blocks</td>
477:                                                             <td></td>
478:                                                         </tr>
479: 
480:                                                         <tr class="stats-block-solo">
481:                                                             <td></td>
482:                                                             <td class="stats-cat">Block Solo</td>
483:                                                             <td></td>
484:                                                         </tr>
485: 
486:                                                         <tr class="stats-block-assists">
487:                                                             <td></td>
488:                                                             <td class="stats-cat">Block Assists</td>
489:                                                             <td></td>
490:                                                         </tr>
491: 
492:                                                         <tr class="stats-block-errors">
493:                                                             <td></td>
494:                                                             <td class="stats-cat">Blocking Errors</td>
495:                                                             <td></td>
496:                                                         </tr>
497: 
498:                                                     </tbody>
499: 
500:                                                 </table>
501:                                             </div>
502:                                         </div>
503:                                     ## GRID CONTENT
504:                                     </div>
505:                                 ## TEAM COMOARE
506:                                 </div>
507:                                 <div id="divIndividualStats" class="grid-row">
508:                                     <div class="grid-col grid-col-is grid-col8">
509:                                         <h3 id="individual-stats-title" class="grid-title">
510:                                             Individual Stats &nbsp;&nbsp;
511:                                                 <span>
512:                                                     <img class="switchStats horizontal active" src="/info/primetime3/images/horizontal_view.png" />
513:                                                     &nbsp;
514:                                                     <img class="switchStats vertical" src="/info/primetime3/images/vertical_view.png" />
515:                                                 </span>
516:                                                 <span class="close">x</span>
517:                                         </h3>
518:                                         <div class="grid-content clearfix">
519:                                             <div class="pt-team-stats clearfix">
520: 
521:                                                 <div id="visitorTeamIndividualStats" class="clearfix active pt-vb-team">
522: 
523:                                                     <div class="pt-team clearfix">
524:                                                         <img src="" alt=""
525:                                                              class="team-logo visitor-team-logo active" />
526:                                                         <h3 class="team-name visitor-team-name"></h3>
527:                                                     </div>
528:                                                     <div class="pt-row">
529:                                                         <table class="visitorPlayerStats display">
530:                                                             <thead>
531:                                                                 <tr>
532:                                                                     <th>#</th>
533:                                                                     <th>Player</th>
534:                                                                     <th>K</th>
535:                                                                     <th>E</th>
536:                                                                     <th class="toHide">TA</th>
537:                                                                     <th>Hit%</th>
538:                                                                     <th>A</th>
539:                                                                     <th>SA</th>
540:                                                                     <th class="toHide">SE</th>
541:                                                                     <th class="toHide">RE</th>
542:                                                                     <th>D</th>
543:                                                                     <th class="toHide">BS</th>
544:                                                                     <th class="toHide">BA</th>
545:                                                                     <th>TB</th>
546:                                                                     <th class="toHide">BE</th>
547:                                                                     <th class="toHide">BHE</th>
548:                                                                     <th class="toHide">PTS</th>
549:                                                                 </tr>
550:                                                             </thead>
551:                                                             <tbody>
552: 
553:                                                             </tbody>
554:                                                         </table>
555:                                                         <br />
556:                                                     </div>
557:                                                 </div>
558:                                                 <div id="homeTeamIndividualStats" class="clearfix pt-vb-team">
559:                                                     <div class="pt-team clearfix">
560:                                                         <img src="" alt=""
561:                                                              class="team-logo home-team-logo" />
562:                                                         <h3 class="team-name home-team-name"></h3>
563:                                                     </div>
564:                                                     <div class="pt-row">
565:                                                         <table class="homePlayerStats display">
566:                                                             <thead>
567:                                                                 <tr>
568:                                                                     <th>#</th>
569:                                                                     <th>Player</th>
570:                                                                     <th>K</th>
571:                                                                     <th>E</th>
572:                                                                     <th class="toHide">TA</th>
573:                                                                     <th>Hit%</th>
574:                                                                     <th>A</th>
575:                                                                     <th>SA</th>
576:                                                                     <th class="toHide">SE</th>
577:                                                                     <th class="toHide">RE</th>
578:                                                                     <th>D</th>
579:                                                                     <th class="toHide">BS</th>
580:                                                                     <th class="toHide">BA</th>
581:                                                                     <th>TB</th>
582:                                                                     <th class="toHide">BE</th>
583:                                                                     <th class="toHide">BHE</th>
584:                                                                     <th class="toHide">PTS</th>
585:                                                                 </tr>
586:                                                             </thead>
587:                                                             <tbody>
588: 
589:                                                             </tbody>
590:                                                         </table>
591:                                                     </div>
592:                                                 </div>
593: 
594:                                             </div>
595:                                         </div>
596:                                         ## GRID CONTENT
597:                                     </div>
598:                                     ## INDIVISUAL STATS
599:                                 </div>
600:                                 <div id="divGameInformation" class="grid-row">
601:                                     <div class="grid-col grid-col-gi grid-col9">
602:                                         <h3 id="game-info-title" class="grid-title">
603:                                             Game Information<span class="close">x</span>
604:                                         </h3>
605:                                         <div class="grid-content clearfix">
606:                                             <div class="pt-game-information clearfix">
607: 
608:                                                 <div class="pt-row clearfix">
609:                                                     <center>
610:                                                     <div class="date-time pt-col">
611:                                                         <span id="gameInformationDate" class="date"></span>
612:                                                         <span id="gameInformationTime" class="time"></span>
613:                                                         <h3>Date & Time</h3>
614:                                                     </div>
615: 
616:                                                     <div class="game-location pt-col">
617:                                                         <span id="gameInformationLocation" class="location"></span>
618:                                                         <h3>Location</h3>
619:                                                     </div>
620: 
621:                                                     <div class="game-venue pt-col">
622:                                                         <span id="gameInformationVenue" class="venue"></span>
623:                                                         <h3>Venue</h3>
624:                                                     </div>
625: 
626:                                                     <div class="weather pt-col">
627: 
628:                                                         <div class="weather-condition">
629: 													<span id="gameInformationTemperature"
630:                                                           class="temp"></span>
631:                                                             <span id="gameInformationCondition" class="condition"></span>
632:                                                         </div>
633:                                                         <h3>Weather</h3>
634:                                                     </div>
635:                                                     </center>
636:                                                 </div>
637: 
638:                                             </div>
639:                                         </div>
640:                                     ## GRID CONTENT
641:                                     </div>
642:                                 ## GENERAL INFORMATION
643:                                 </div>
644:                             </div> <!-- Game information -->
645:                             <div id="pbp-tabs" class="pt-tabs-pane clearfix">
646:                                 <div class="grid-row">
647:                                     #set ($gridCounter = $gridCounter + 1)
648:                                     <div class="grid-col grid-col-ds grid-col${gridCounter}">
649:                                         <h3 id="play-by-play-title" class="grid-title">
650:                                             Play by Play<span class="close">x</span>
651:                                         </h3>
652:                                         <div class="grid-content clearfix">
653:                                             <div id="playByPlay" class="clearfix">
654:                                                 <select id="filterPeriod" class="dropdownFilter">
655:                                                     <option value="" selected>ALL SETS</option>
656:                                                     <option value="1">1 Set</option>
657:                                                     <option value="2">2 Set</option>
658:                                                     <option value="3">3 Set</option>
659:                                                     <option value="4">4 Set</option>
660:                                                     <option value="5">5 Set</option>
661:                                                 </select>
662:                                                 <select id="filterTeam" class="dropdownFilter">
663:                                                     <option value="" selected>BOTH TEAMS</option>
664:                                                     <option value="" class="team-name visitor-team-name"></option>
665:                                                     <option value="" class="team-name home-team-name"></option>
666:                                                 </select>
667:                                             </div>
668:                                             <div class="pt-play-by-play volley clearfix">
669:                                                 <table>
670:                                                     <thead>
671:                                                     <tr>
672:                                                         <th><span class="team-name visitor-team-name"></span><span>&nbsp;Score</span></th>
673:                                                         <th>Play</th>
674:                                                         <th><span class="team-name home-team-name"></span><span>&nbsp;Score</span></th>
675:                                                     </tr>
676:                                                     </thead>
677:                                                     <tbody>
678:                                                     </tbody>
679:                                                 </table>
680:                                             </div>
681:                                         </div>
682:                                     ## GRID CONTENT
683:                                     </div>
684:                                 ## DRIVE SUMMARY
685:                                 </div>
686:                             </div>
687:                         </div> <!-- Tab Panes -->
688:                     </div> <!-- Game Info -->
689:                 </div> <!-- Row container -->
690: 
691:                 <div id="primetime-footer" class="grid-row">
692:                     <div class="grid-col grid-col-ftr">
693:                         <a href="/"></a>
694:                     </div>
695:                 </div>
696:             </div> <!-- Primetime Overflow -->
697:         </div><!-- Primetime Wrapper -->
698:     #end
699:     
700:     #set ($showWiki = true)
701:     #set ($showWiki = $showWikiVar)
702:     #if ($showWiki == true)
703:         $wiki.su 
704:     #end
705:     ## END OF PRIMETIME	    
706: 
707: #else
708: ##COMMON FUNCTIONS
709: #macro (changeViewScript)
710: ## CORRECT WRONG VIEW WITH REPLACESTATE
711: <script type="text/javascript">
712:     $(function () {
713:         if (!$('.stats-tabs li.active').length) {
714:             if (history.replaceState) {
715:                 history.replaceState({}, '', '?view=' + $('.stats-tabs li:first').addClass('active').children('a').data('view'));
716:             } else {
717:                 $('.stats-tabs li:first').addClass('active');
718:             }
719:         }
720:     })
721: </script>
722: #end
723: 
724: #macro (printPdfHeader $title)
725: <div class="stats-fullbox clearfix">
726:     <table>
727:         <tr>
728:             <td class="align-center"><h4>$title</h4></td>
729:         </tr>
730:     </table>
731: </div>
732: #end
733: 
734: ##COMMON FUNCTIONS VOLLEYBALL
735: 
736: ## ATTACKS
737: #macro (attackgameHeader $column $name)
738: <tr>
739:     <td colspan="5">$name</td>
740: </tr>
741: <tr>
742:     <th $column >Set</th>
743:     <th $column >K</th>
744:     <th $column >E</th>
745:     <th $column >TA</th>
746:     <th $column >PCT</th>
747: </tr>
748: #end
749: #macro (attackgameBody $row $column $stat)
750: <tr class="$row">
751:     <td $column>$!stat.valueOf("@game")</td>
752:     <td $column>$!stat.valueOf("@k")</td>
753:     <td $column>$!stat.valueOf("@e")</td>
754:     <td $column>$!stat.valueOf("@ta")</td>
755:     <td $column>$!stat.valueOf("@pct")</td>
756: </tr>
757: #end
758: 
759: #macro (attackgame $team)
760: <table class="all-center">
761:     #attackgameHeader('class="align-right"',"TEAM ATTACK PER SET")
762:     #foreach ($stat in $team.selectNodes("attackbygame/attackgame"))
763:     #attackgameBody($row,'class="align-right"',$stat)
764: #end
765: </table>
766: #end ##macro
767: 
768: ##
769: #set ($home = $document.selectSingleNode("vbgame/team[@vh='H']"))
770: #set ($visitor = $document.selectSingleNode("vbgame/team[@vh='V']"))
771: #set ($homeTeam = $tool.esc.html($home.valueOf("@name")))
772: #set ($visitorTeam = $tool.esc.html($visitor.valueOf("@name")))
773: #set ($homeid = $document.valueOf("vbgame/venue/@homeid"))
774: #set ($visitorid = $document.valueOf("vbgame/venue/@visid"))
775: 
776: #set ($linkPlayers = $stats.linkPlayers)
777: #set ($linkPlayersBase = $stats.linkPlayersBase)
778: #set ($linkTeams = $stats.linkTeams)
779: #set ($linkTeamsBase = $stats.linkTeamsBase)
780: 
781: #set ($setsPlayed = $document.valueOf("vbgame/status/@game"))
782: #set ($setsPlayed = $tool.math.toInteger($setsPlayed))
783: #set ($hasPlayByPlay = $document.selectNodes("vbgame/plays/game").size() > 0)
784: #set ($isNeutralGame = $document.valueOf("vbgame/venue/@neutralgame"))
785: #if ($isNeutralGame.length() > 0 && $isNeutralGame.equals("Y"))
786:   #set ($isNeutralGame = true)
787: #else
788:   #set ($isNeutralGame = false)
789: #end
790: 
791: #if ($stats.pageUrl.length() > 0 && !$stats.pageUrl.contains("?"))
792: 	#set ($paramSep = "?")
793: #else
794: 	#set ($paramSep = "&")
795: #end
796: 
797: ## Dak Stats or Stat Crew PS-6428
798: #if ($!visitor.selectNodes("linescore/linegame").size() > 0)
799: 	
800: 	#set ($linegameSel = 'linegame')
801: 	#set ($attgameSel = 'attackgame')
802: 	
803: #elseif ($!visitor.selectNodes("linescore/lineprd").size() > 0)
804: 
805: 	#set ($linegameSel = 'lineprd')
806: 	#set ($attgameSel = 'attackbygame')
807: 
808: #end
809: 
810: #macro (attackgameBoxscore $team)
811: <table class="all-center">
812:     #attackgameHeader("","<h4>$team.valueOf('@name')</h4>")
813:     #foreach ($stat in $team.selectNodes("attackbygame/${attgameSel}"))
814:         #if ($velocityCount % 2 == 0)
815:             #set ($row = "even")
816:         #else
817:             #set ($row = "odd")
818:         #end
819:         #attackgameBody($row,"",$stat)
820:     #end
821: </table>
822: #end ##macro
823: 
824: #macro (printSetName $s)
825: #if ($s == 1)
826:   <span>1st</span>
827: #elseif ($s == 2)
828:   <span>2nd</span>
829: #elseif ($s == 3)
830:   <span>3rd</span>
831: #else
832:   <span>${s}th</span>
833: #end
834: #end
835: 
836: 
837: #set ($visname = $tool.esc.html($document.valueOf("vbgame/venue/@visname")))
838: #set ($homename = $tool.esc.html($document.valueOf("vbgame/venue/@homename")))
839: #set ($location = $tool.esc.html($document.valueOf("vbgame/venue/@location").trim()))
840: #set ($arena = $tool.esc.html($document.valueOf("vbgame/venue/@arena").trim()))
841: #set ($date = $document.valueOf("vbgame/venue/@date"))
842: #set ($time = $document.valueOf("vbgame/venue/@start"))
843: #set ($schedNote = $document.valueOf("vbgame/venue/@schednote"))
844: 
845: #if ($browser.getIphone() || $browser.getMobile()) ##MOBILE VERSION
846: 
847: ## TEAM LINK 
848: #macro (mobile_showTeam $team)
849: 
850:     #if ($team.attributeValue("teamId").length() > 0 and $linkTeams)
851:        ##<a href="$!linkTeamsBase?id=${team.attributeValue("teamId")}">
852:     #end
853: 	#if($!team.attributeValue("rank").length() > 0)($!team.attributeValue("rank")) #end
854:     $team.attributeValue("name")
855:     #if ($team.attributeValue("teamId").length() > 0 and $linkTeams)
856:         ##</a>
857:     #end
858: #end
859: 
860: #macro (printMobileHeader)
861: 
862: <div class="teams">
863: 	<div class="frame clearfix">
864: 		<div class="team">
865: 			#mobile_showTeam($visitor)
866: 		</div>
867: 		<div class="versus">
868: 			#if ($isNeutralGame)
869: 				vs.
870: 			#else
871: 				at
872: 			#end
873: 		</div>
874: 		<div class="team right">
875: 			#mobile_showTeam($home)
876: 		</div>
877: 	</div>
878: </div>
879: <div class="board">
880: 	<div class="frame clearfix">
881: 		<div class="result">
882: 			$visitor.valueOf("linescore/@score")
883: 		</div>
884: 		
885: 		<div class="timer">
886: 			#if($stats.final)
887: 				<div class="time">Final</div>
888: 			#else
889: 				<div class="time">#printSetName($setsPlayed)</div>
890: 			#end
891: 		</div>
892: 		
893: 		<div class="result">
894: 			$home.valueOf("linescore/@score")
895: 		</div>
896: 	</div>
897: </div>
898: 
899: #end
900: 
901: <script type="text/javascript"> 
902: 	mobileConf.page = 'boxscore';
903: 	mobileConf.pageParams = {
904: 		deepLinking : true
905: 		#if ($stats.inProgress)
906: 			, inprogress : true
907: 		#end
908: 	}
909: </script>
910: 
911: <div class="swipe-header">
912: 	<a href="#" id="swipe-left"></a>
913: 	<a href="#" id="swipe-right"></a>
914: 	<ul class="dot-nav">
915: 		<li class="dot-nav-1 active"></li>
916: 		<li class="dot-nav-2"></li>
917: 		<li class="dot-nav-3"></li>
918: 	</ul>
919: </div>
920: <div id="swipe-wrapper">
921: <div id="live2">
922:     <div class="swipe-screen" data-view="scoring">
923:         <div class="score_board">
924: 			
925: 			#printMobileHeader()
926:             					
927: 				<div class="table">
928: 					<div class="frame">
929: 						<div class="clearfix">
930: 							<div class="cell cell_s">&#160;</div>
931: 							<div class="cell cell_m">&#160;</div>
932: 							<div class="cell cell_l">SCORE BY SET</div>
933: 							<div class="cell cell_m">&#160;</div>
934: 							<div class="cell cell_s">&#160;</div>
935: 						</div>
936: 
937: 						#foreach ($set in [1..$setsPlayed])
938: 						## #foreach ($set in $sets)
939: 							## #set ($s = $set.valueOf("@number"))
940: 							<div class="clearfix">
941: 								<div class="cell cell_s">&#160;</div>
942: 								<div class="cell cell_m">
943: 									$!visitor.valueOf("linescore/${linegameSel}[$set]/@points")
944: 								</div>
945: 								<div class="cell cell_l">
946: 									#printSetName($set)
947: 								</div>
948: 								<div class="cell cell_m">
949: 									$!home.valueOf("linescore/${linegameSel}[$set]/@points")
950: 								</div>
951: 								<div class="cell cell_s">&#160;</div>
952: 							</div>			
953: 						#end
954: 
955: 						
956: 						<div class="clearfix">
957: 							<div class="cell cell_s">&#160;</div>
958: 							<div class="cell cell_m">$visitor.valueOf("linescore/@score")</div>
959: 							<div class="cell cell_l">Score</div>
960: 							<div class="cell cell_m">$home.valueOf("linescore/@score")</div>
961: 							<div class="cell cell_s">&#160;</div>
962: 						</div>
963: 					</div>
964: 				</div>	
965: 
966: 	#if ($hasPlayByPlay)			
967:             <div class="recent">
968: 		<div class="frame">
969:                     <div class="toggle clearfix">
970:                         <div class="title">Recent Plays</div>
971:                         <div class="arrow">
972:                             <img src="/info/mobile/stats/images/arrow_down2.gif" class="recent_arrow_down" width="13" height="9"/>
973:                             <img src="/info/mobile/stats/images/arrow_up2.gif" class="recent_arrow_up" style="display: none;" width="13" height="9"/>
974:                         </div>
975:                     </div>
976: 
977: 
978: 
979: 					<div class="plays recent_plays reverse" style="display:none">	
980:                     #set ($toShowCounter = 0)
981:                     #set ($sets = $document.selectNodes("vbgame/plays/game"))
982: 					#foreach ($set in $sets)
983: 						#foreach ($play in $set.selectNodes("play"))
984:                             #set ($toShowCounter = $toShowCounter + 1)
985: 							<div class="clearfix #if ($toShowCounter > 5) hidden #end">
986: 								<div class="cell cell_s">
987: 									#if($play.valueOf('@point') == "$visitorid")
988: 										$play.valueOf("@vscore")-$play.valueOf("@hscore")
989: 									#end
990: 								</div>
991: 								<div class="cell cell_l2">$play.valueOf("@text") #if($play.valueOf("@point").length() > 0)Point $play.valueOf("@point")#end</div>
992: 								<div class="cell cell_s">
993: 									#if($play.valueOf('@point') == "$homeid")
994: 										$play.valueOf("@vscore")-$play.valueOf("@hscore")
995: 									#end
996: 								</div>
997: 							</div>
998: 						#end
999: 					#end
1000: 					</div>
1001:                 </div>
1002: 		<div class="button active hidden" id="load-more-plays">
1003: 			<div class="team">More Plays</div>
1004: 		</div>
1005: 
1006:             </div>
1007: 		#end
1008:         </div>
1009:     </div>
1010:     <!-- END SCORE BOARD-->
1011:     
1012:     <!-- BEGING LINE UP -->
1013:     <div class="swipe-screen" data-view="boxscore">
1014: 		#printMobileHeader()
1015:         <div class="team_stats">
1016:             <div class="teams clearfix"> 
1017: 				<div class="button active clearfix" id="button-1">
1018:                     <div class="team">#mobile_showTeam($visitor)</div>
1019:                     <div class="end">
1020:                         <div>&#160;</div>
1021:                     </div>
1022:                 </div>
1023:                 <div class="button clearfix" id="button-2">
1024:                     <div class="team">#mobile_showTeam($home)</div>
1025:                     <div class="end">
1026:                         <div>&#160;</div>
1027:                     </div>
1028:                 </div> 
1029:                 <!-- BEGING STATS -->
1030:                 #macro (mobile_printStat $stat)
1031:                     <div class="row">
1032:                         <div class="toggle clearfix">
1033:                             <div class="data">$!stat.valueOf("@uni")</div>
1034:                             <div class="name">
1035:                                 #if ($stat.valueOf("@playerId").length() > 0 and $linkPlayers)
1036:                                    ##<a href="$!linkPlayersBase?id=${stat.valueOf("../@playerId")}">
1037:                                 #end
1038:                                 $stat.valueOf("@name")
1039: 				#if ($stat.valueOf("@playerId").length() > 0 and $linkPlayers)
1040: 				   ##</a>
1041:                                 #end
1042: 				#if ($stat.valueOf("@pos").length() > 0 && $stat.valueOf("@ms").length() > 0)
1043: 					- $!stat.valueOf("@pos")
1044: 				#end
1045:                             </div>
1046:                             <div class="data">$!stat.valueOf("attack/@k")</div>
1047:                             <div class="data">$!stat.valueOf("attack/@pct")</div>
1048:                             <div class="data">$!stat.valueOf("set/@a")</div>
1049:                             <div class="data arrow">&#160;</div>
1050:                         </div>
1051: 
1052:                         <div class="more" style="display: none">
1053:                             <div class="group clearfix">
1054:                                 <div class="data">
1055:                                     <div class="name">#</div>
1056:                                     <div class="value">$!stat.valueOf("@uni")</div>
1057:                                 </div>
1058:                                 <div class="data">
1059:                                     <div class="name">SP</div>
1060:                                     <div class="value">$!stat.valueOf("@gp")</div>
1061:                                 </div>
1062:                                 <div class="data">
1063:                                     <div class="name">K</div>
1064:                                     <div class="value">$!stat.valueOf("attack/@k")</div>
1065:                                 </div>
1066:                                 <div class="data">
1067:                                     <div class="name">E</div>
1068:                                     <div class="value">$!stat.valueOf("attack/@e")</div>
1069:                                 </div>
1070:                                 <div class="data">
1071:                                     <div class="name">TA</div>
1072:                                     <div class="value">$!stat.valueOf("attack/@ta")</div>
1073:                                 </div>
1074:                                 <div class="data">
1075:                                     <div class="name">PCT</div>
1076:                                     <div class="value">$!stat.valueOf("attack/@pct")</div>
1077:                                 </div>
1078:                                 <div class="data">
1079:                                     <div class="name">A</div>
1080:                                     <div class="value">$!stat.valueOf("set/@a")</div>
1081:                                 </div>
1082:                             </div>
1083:                             <div class="group clearfix">
1084:                                 <div class="data">
1085:                                     <div class="name">SA</div>
1086:                                     <div class="value">$!stat.valueOf("serve/@sa")</div>
1087:                                 </div>
1088:                                 <div class="data">
1089:                                     <div class="name">SE</div>
1090:                                     <div class="value">$!stat.valueOf("serve/@se")</div>
1091:                                 </div>
1092:                                 <div class="data">
1093:                                     <div class="name">RE</div>
1094:                                     <div class="value">$!stat.valueOf("defense/@re")</div>
1095:                                 </div>
1096:                                 <div class="data">
1097:                                     <div class="name">D</div>
1098:                                     <div class="value">$!stat.valueOf("defense/@dig")</div>
1099:                                 </div>
1100:                                 <div class="data">
1101:                                     <div class="name">BS-BA</div>
1102:                                     <div class="value">$!stat.valueOf("block/@bs")-$!stat.valueOf("block/@ba")</div>
1103:                                 </div>
1104:                                 <div class="data">
1105:                                     <div class="name">BE</div>
1106:                                     <div class="value">$!stat.valueOf("block/@be")</div>
1107:                                 </div>
1108:                                 <div class="data">
1109:                                     <div class="name">PTS</div>
1110:                                     <div class="value">$!stat.valueOf("misc/@pts")</div>
1111:                                 </div>
1112:                             </div>
1113:                         </div>
1114:                     </div>
1115:                 #end
1116:                 
1117:                 
1118:                 #macro (mobile_playerstats $team)
1119:                     <div class="titles clearfix">
1120:                         <div class="data">#</div>
1121:                         <div class="name">PLAYERS</div>
1122:                         <div class="data">K</div>
1123:                         <div class="data">PCT</div>
1124:                        <div class="data">AST</div>
1125:                         <div class="data">&#160;</div>
1126:                     </div>
1127:                     
1128:                     #foreach ($stat in $team.selectNodes("player"))
1129: 			#if ($stat.selectNodes("attack").size() > 0)
1130:                         #if ($stat.valueOf("@gp").length() > 0)
1131:                             #if ($stat.valueOf("@name") == 'TEAM')
1132:                                 #set ($teamStat = $stat)
1133:                             #else
1134:                                 #mobile_printStat($stat)
1135:                             #end
1136:                         #end
1137: 			#end
1138:                     #end
1139:                     
1140:                     ##TEAM STAT
1141:                     #if ($teamStat)
1142:                         #mobile_printStat($teamStat)
1143:                     #end
1144:                 #end
1145: 
1146:                 ## VISITOR STATISTICS
1147:                 <div class="table" id="table_team_stats_1">#mobile_playerstats($document.selectSingleNode("vbgame/team[@vh='V']"))</div>
1148: 
1149:                 ## HOME STATISTICS
1150:                 <div class="table" id="table_team_stats_2" style="display: none">#mobile_playerstats($document.selectSingleNode("vbgame/team[@vh='H']"))</div>
1151: 
1152:                 
1153:                 <!-- END STATS -->
1154:             </div>
1155:         </div>
1156:     </div>
1157:     <!-- END LINE UP -->
1158:     
1159:     <!-- BEGING TEAM STATS -->
1160:     <div class="swipe-screen" data-view="summary">
1161: 		#printMobileHeader()
1162:         <div class="line_up">			
1163:             <div class="table">
1164:                 <div class="row clearfix">
1165:                     <div class="data">$!visitor.valueOf("totals/attack/@k")</div>
1166:                     <div class="text">KILLS</div>
1167:                     <div class="data">$!home.valueOf("totals/attack/@k")</div>
1168:                 </div>
1169:                 <div class="row clearfix">
1170:                     <div class="data">$!visitor.valueOf("totals/attack/@e")</div>
1171:                     <div class="text">HIT ERRORS</div>
1172:                     <div class="data">$!home.valueOf("totals/attack/@e")</div>
1173:                 </div>
1174:                 <div class="row clearfix">
1175:                     <div class="data">$!visitor.valueOf("totals/attack/@ta")</div>
1176:                     <div class="text">ATTACKS</div>
1177:                     <div class="data">$!home.valueOf("totals/attack/@ta")</div>
1178:                 </div>
1179:                 <div class="row clearfix">
1180:                     <div class="data">$!visitor.valueOf("totals/attack/@pct")</div>
1181:                     <div class="text">HIT %</div>
1182:                     <div class="data">$!home.valueOf("totals/attack/@pct")</div>
1183:                 </div>
1184:                 <div class="row clearfix">
1185:                     <div class="data">$!visitor.valueOf("totals/set/@a")</div>
1186:                     <div class="text">ASSISTS</div>
1187:                     <div class="data">$!home.valueOf("totals/set/@a")</div>
1188:                 </div>
1189:                 <div class="row clearfix">
1190:                     <div class="data">$!visitor.valueOf("totals/serve/@sa")</div>
1191:                     <div class="text">SERVICE ACES</div>
1192:                     <div class="data">$!home.valueOf("totals/serve/@sa")</div>
1193:                 </div>
1194:                 <div class="row clearfix">
1195:                     <div class="data">$!visitor.valueOf("totals/serve/@se")</div>
1196:                     <div class="text">SERVICE ERRORS</div>
1197:                     <div class="data">$!home.valueOf("totals/serve/@se")</div>
1198:                 </div>
1199:                 <div class="row clearfix">
1200:                     <div class="data">$!visitor.valueOf("totals/defense/@dig")</div>
1201:                     <div class="text">DIGS</div>
1202:                     <div class="data">$!home.valueOf("totals/defense/@dig")</div>
1203:                 </div>
1204:                 <div class="row clearfix">
1205:                     <div class="data">$!visitor.valueOf("totals/defense/@re")</div>
1206:                     <div class="text">RECEIVE ERRORS</div>
1207:                     <div class="data">$!home.valueOf("totals/defense/@re")</div>
1208:                 </div>
1209:                 <div class="row clearfix">
1210:                     <div class="data">$!visitor.valueOf("totals/block/@bs")</div>
1211:                     <div class="text">SOLO  BLOCKS</div>
1212:                     <div class="data">$!home.valueOf("totals/block/@bs")</div>
1213:                 </div>
1214:                 <div class="row clearfix">
1215:                     <div class="data">$!visitor.valueOf("totals/block/@ba")</div>
1216:                     <div class="text">BLOCK ASSISTS</div>
1217:                     <div class="data">$!home.valueOf("totals/block/@ba")</div>
1218:                 </div>
1219:                 <div class="row clearfix">
1220:                     <div class="data">$!visitor.valueOf("totals/block/@be")</div>
1221:                     <div class="text">BLOCK ERRORS</div>
1222:                     <div class="data">$!home.valueOf("totals/block/@be")</div>
1223:                 </div>
1224:                 <div class="row clearfix">
1225:                     <div class="data">$!visitor.valueOf("totals/block/@tb")</div>
1226:                     <div class="text">BLOCKS</div>
1227:                     <div class="data">$!home.valueOf("totals/block/@tb")</div>
1228:                 </div>
1229:                 <div class="row clearfix">
1230:                     <div class="data">$!visitor.valueOf("totals/misc/@bhe")</div>
1231:                     <div class="text">BHE</div>
1232:                     <div class="data">$!home.valueOf("totals/misc/@bhe")</div>
1233:                 </div>
1234:                 <div class="row clearfix">
1235:                     <div class="data">$!visitor.valueOf("totals/misc/@pts")</div>
1236:                     <div class="text">POINTS</div>
1237:                     <div class="data">$!home.valueOf("totals/misc/@pts")</div>
1238:                 </div>
1239:             </div>
1240:             
1241:              <div class="recent">
1242:                 <div class="frame">
1243:                     <div class="other">
1244:                         <div class="toggle clearfix">
1245:                             <div class="row title">
1246:                                 Other Information
1247:                                  <div class="arrow">
1248:                                     <img src="/info/mobile/stats/images/arrow_down2.gif" class="recent_arrow_down" width="13" height="9"/>
1249:                                     <img src="/info/mobile/stats/images/arrow_up2.gif" class="recent_arrow_up" style="display: none;" width="13" height="9"/>
1250:                                 </div>
1251:                             </div>
1252:                         </div>
1253:                         
1254:                         <div class="recent_plays plays" style="display: none;">
1255:                             #if($location.length() > 0)
1256:                             <div class="row clearfix">
1257:                                 <div class="data">Location</div>
1258:                                 <div class="text">$document.valueOf("vbgame/venue/@location") </div>
1259:                             #end 
1260:                             </div>
1261: 							#if($arena.length() > 0 && $arena != ' ')
1262: 								<div class="row clearfix">
1263: 									<div class="data">Arena</div>
1264: 									<div class="text">$arena</div>
1265: 								</div>
1266: 							#end
1267: 
1268:                             <div class="row clearfix">
1269:                                 <div class="data">Game Length</div>
1270:                                 <div class="text">$document.valueOf("vbgame/venue/@duration")</div>
1271:                             </div>
1272:                             <div class="row clearfix">
1273:                                 <div class="data">Attendance</div>
1274:                                 <div class="text">$document.valueOf("vbgame/venue/@attend")</div>
1275:                             </div>
1276:                             #foreach ($official in $document.selectNodes("vbgame/venue/officials"))
1277:                                 <div class="row clearfix">
1278:                                     <div class="data">$official.valueOf("@title")</div>
1279:                                     <div class="text">$official.valueOf("@name")</div>
1280:                                 </div>
1281:                             #end
1282:                         </div>
1283:                     </div>
1284:                 </div>
1285:             </div>
1286:         </div>
1287:     </div>
1288: </div>
1289: </div>
1290: 
1291: #set ($showWiki = true)
1292: #set ($showWiki = $showWikiVar)
1293: 
1294: #if ($showWiki == true)
1295: 	$!wiki.su 
1296: #end
1297: 
1298: 
1299: #else
1300: 
1301:     ##WEBSITE VERSION
1302: 
1303:     #if ($stats.view != "pdf")
1304:         #set ($showWiki = true)
1305:         #set ($showWiki = $showWikiVar)
1306: 
1307:         #if ($showWiki == true)
1308:             $!wiki.su
1309:         #end
1310:     #end
1311: 
1312:     <html>
1313:     <head>
1314:         <title>$visname #if($isNeutralGame)vs.#else at #end $homename | Box Score | $date</title>
1315:         #if ($stats.inProgress)
1316:             <meta http-equiv="refresh" content="60"/>
1317:         #end
1318:         #if ($stats.view == "pdf")
1319:             #include("statcrew-pdf-css-template")
1320:         #end
1321:     </head>
1322:     <body>
1323: 
1324:         #if ($stats.view == "pdf")
1325:             <div class='footer-left'>$visname vs. $homename</div>
1326:             <div class='footer-right'><span id="pagenumber"></span> of <span
1327:                     id="pagecount"></span></div>
1328:         #end
1329:             <div class="stats-wrapper clearfix">
1330:             #if ($stats.view != "pdf")
1331:                 #if ($visname.length() > 0 && $homename.length() > 0)
1332:                     <div class="align-center">
1333:                         <strong>$visname #if($isNeutralGame)vs.#else at #end $homename</strong>
1334:                         #if($location.length() > 0 && $location != ',')
1335:                             <br />@ $!location
1336:                         #end
1337:                         #if($arena.length() > 0)
1338:                             ($!arena)
1339:                         #end
1340:                         <br />$!date
1341:                         #if($time.length() > 0)
1342:                             at $!time
1343:                         #end
1344:                         #if($schedNote.length() > 0)
1345:                             $!schedNote
1346:                         #end
1347:                     </div><br />
1348:                 #end
1349: 
1350:                 #macro (showTeam $team)
1351:                   #if ($team.attributeValue("teamId").length() > 0 and $linkTeams)
1352:                     <a href="$!linkTeamsBase?id=${team.attributeValue("teamId")}">
1353:                   #end
1354:                   $team.attributeValue("name")
1355:                   #if ($team.attributeValue("teamId").length() > 0 and $linkTeams)
1356:                   </a>
1357:                   #end
1358:                 #end
1359: 
1360: 
1361:                 ## BOX SCORE
1362:                 <table class="all-center">
1363:                  <tr>
1364:                   <td style="width:50%">
1365:                    <span class="stats-header">#if($!visitor.valueOf("@rank").length() > 0)($!visitor.valueOf("@rank")) #end#showTeam($visitor)<br />$visitor.valueOf("linescore/@score")</span>
1366:                   </td>
1367:                   <td>
1368:                    <span class="stats-header">#if($home.valueOf("@rank").length() > 0)($!home.valueOf("@rank")) #end#showTeam($home)<br />$home.valueOf("linescore/@score")</span>
1369:                   </td>
1370:                  </tr>
1371:                 </table>
1372: 
1373:                 ## GAME SCORES
1374:                 <div class="stats-fullbox clearfix">
1375:                 <table>
1376:                  <tr>
1377:                   <th class="align-left">
1378:                   #if($stats.final)
1379:                     Final
1380:                   #else
1381:                     In Progress - #printSetName($setsPlayed)
1382:                   #end
1383:                   </th>
1384:                   #foreach ($set in [1..$setsPlayed])
1385:                   <th style="width:60px;">$set</th>
1386:                   #end
1387:                   <th style="width:80px;">Score</th>
1388:                  </tr>
1389: 
1390:                 ## team scores
1391:                 #foreach ($team in $document.selectNodes("vbgame/team"))
1392:                  <tr>
1393:                   #set ($teamRecord = $team.valueOf("@record"))
1394:                   <td class="nowrap">$tool.esc.html($team.valueOf("@name")) #if($teamRecord.length() > 0)($teamRecord)#end</td>
1395:                   #foreach ($linegame in $team.selectNodes("linescore/${linegameSel}"))
1396:                   <td class="align-center">$linegame.valueOf("@points")</td>
1397:                   #end
1398:                   <td class="align-center">$team.valueOf("linescore/@score")</td>
1399:                  </tr>
1400:                 #end
1401:                 </table>
1402:                 </div>
1403: 
1404: 
1405:                 ## TABS
1406:                 <div class="stats-tabs clearfix">
1407:                 <ul class="clearfix">
1408:                   <li #if (!($stats.view.length() > 0) || $stats.view == "boxscore") class="active" #end><a data-view="boxscore" href="${stats.pageUrl}">Box Score</a></li>
1409:                 #if ($hasPlayByPlay)
1410:                   <li #if ($stats.view == "plays") class="active" #end><a data-view="plays" href="${stats.pageUrl}${paramSep}view=plays" id="pbp">Play by Play</a></li>
1411:                 #end
1412:                 <li><a target="_blank" href="$stats.pageUrl?tmpl=vbxml-monospace-template" target="_blank">Coach's View</a></li>
1413:                 </ul>
1414:                 </div>
1415:             #end
1416: 
1417:             #macro (printTabPlayByPlay)
1418:                 ## PLAY BY PLAY
1419: 
1420:                 #set ($sets = $document.selectNodes("vbgame/plays/game"))
1421:                 <div class="stats-fullbox clearfix">
1422:                     <table>
1423: 
1424:                         #if ($stats.view != "pdf")
1425:                             <tr>
1426:                                 <td colspan="3">
1427:                                     <strong>Set: </strong>
1428:                                     #foreach ($set in $sets)
1429:                                         #if ($velocityCount > 1)&#160;|&#160;#end
1430:                                         #set ($s = $set.valueOf("@number"))
1431:                                         <a href="#set${s}">#printSetName($s)</a>
1432:                                     #end
1433:                                 </td>
1434:                             </tr>
1435:                         #end
1436:                         #foreach ($set in $sets)
1437:                             #set ($s = $set.valueOf("@number"))
1438:                             <tr>
1439:                                 <th>$tool.esc.html($visitorid)</th>
1440:                                 <th id="set${s}">-- #printSetName($s) --</th>
1441:                                 <th>$tool.esc.html($homeid)</th>
1442:                             </tr>
1443:                             #foreach ($play in $set.selectNodes("play"))
1444:                                 #if ($velocityCount % 2 == 0)
1445:                                     #set ($row = "even")
1446:                                 #else
1447:                                     #set ($row = "odd")
1448:                                 #end
1449:                                 <tr class="$row">
1450:                                     #if ($play.valueOf("@point").length() > 0)
1451:                                         <td class="align-center bold nowrap" >#if($play.valueOf("@point") == $visitorid)$play.valueOf("@vscore")-$play.valueOf("@hscore")#end</td>
1452:                                         <td>$tool.esc.html($play.valueOf("@text")) Point $tool.esc.html($play.valueOf("@point"))</td>
1453:                                         <td class="align-center bold nowrap" >#if($play.valueOf("@point") == $homeid)$play.valueOf("@vscore")-$play.valueOf("@hscore")#end</td>
1454:                                     #else
1455:                                         <td>&#160;</td>
1456:                                         <td>
1457:                                             $tool.esc.html($play.valueOf("@text"))
1458:                                         </td>
1459:                                         <td>&#160;</td>
1460:                                     #end
1461:                                 </tr>
1462:                             #end
1463:                             #if ($stats.view != "pdf")
1464:                                 <tr><td colspan="3" class="align-center"><a href="#pbp">back to top</a></td></tr>
1465:                             #end
1466:                         #end
1467:                     </table>
1468:                 </div>
1469:             #end
1470: 
1471:             #macro (printTabBoxscore)
1472:                 ## DEFAULT VIEW
1473: 
1474:                 #set ($showLiberoLegend = false)
1475:                 #set ($showStartersLegend = false)
1476:                 #if ($document.selectNodes("//player[@ms='1']").size() > 0)
1477:                     #set ($showStartersLegend = true)
1478:                 #end
1479:                 #if ($document.selectNodes("//player[@pos='LB']").size() > 0)
1480:                     #set ($showLiberoLegend = true)
1481:                 #end
1482: 
1483:                 <div class="clearfix">
1484:                     ## VISITOR STATISTICS
1485:                     <div class="stats-halfbox-left">#attackgameBoxscore($document.selectSingleNode("vbgame/team[@vh='V']"))</div>
1486:                     ## HOME STATISTICS
1487:                     <div class="stats-halfbox-right">#attackgameBoxscore($document.selectSingleNode("vbgame/team[@vh='H']"))</div>
1488:                     <div class="clear"></div>
1489:                 </div>
1490: 
1491: 
1492:                 #macro (playerstats $team)
1493:                 <table>
1494:                     <tr>
1495:                         <td colspan="17" class="align-center">
1496:                             <h4>
1497:                                 $team.valueOf("@name")
1498:                             </h4>
1499:                         </td>
1500:                     </tr>
1501:                     <tr>
1502:                         <th colspan="3">&#160;</th>
1503:                         <th colspan="4">-- Attack --</th>
1504:                         <th>&#160;</th>
1505:                         <th colspan="3">-- Serve --</th>
1506:                         <th>&#160;</th>
1507:                         <th colspan="3">-- Block --</th>
1508:                         <th>&#160;</th>
1509:                         <th>&#160;</th>
1510:                     </tr>
1511:                     <tr>
1512:                         <th>#</th>
1513:                         <th>Player</th>
1514:                         <th>SP</th>
1515:                         <th>K</th>
1516:                         <th>E</th>
1517:                         <th>TA</th>
1518:                         <th>K%</th>
1519:                         <th>A</th>
1520:                         <th>SA</th>
1521:                         <th>SE</th>
1522:                         <th>RE</th>
1523:                         <th>DIGS</th>
1524:                         <th>BS</th>
1525:                         <th>BA</th>
1526:                         <th>BE</th>
1527:                         <th>BHE</th>
1528:                         <th>PTS</th>
1529:                     </tr>
1530:                     #set ($counter = 0)
1531:                     #foreach ($stat in $team.selectNodes("player"))
1532:                         #set ($setsplayed  =  $stat.numberValueOf("@gp"))
1533:                         #if ($setsplayed > 0)
1534:                             #set ($counter = $counter + 1)
1535:                             #if ($counter % 2 == 0)
1536:                                 #set ($row = "even")
1537:                             #else
1538:                                 #set ($row = "odd")
1539:                             #end
1540:                             <tr class="$row">
1541:                                 <td class="align-center">$!stat.valueOf("@uni")</td>
1542:                                 <td class="nowrap">
1543:                                     #if ($stat.valueOf("@playerId").length() > 0 and $linkPlayers)
1544:                                     <a href="$!linkPlayersBase?id=${stat.valueOf("@playerId")}">
1545:                                     #end
1546:                                     $stat.valueOf("@name")
1547:                                     #if ($stat.valueOf("@playerId").length() > 0 and $linkPlayers)
1548:                                     </a>
1549:                                     #end
1550:                                     #if ($stat.valueOf("@pos") == "LB")^#end
1551:                                     #if ($stat.valueOf("@ms") == "1")*#end
1552:                                 </td>
1553:                                 <td class="align-center">$!stat.valueOf("@gp")</td>
1554:                                 <td class="align-center">$!stat.valueOf("attack/@k")</td>
1555:                                 <td class="align-center">$!stat.valueOf("attack/@e")</td>
1556:                                 <td class="align-center">$!stat.valueOf("attack/@ta")</td>
1557:                                 <td class="align-center">$!stat.valueOf("attack/@pct")</td>
1558:                                 <td class="align-center">$!stat.valueOf("set/@a")</td>
1559:                                 <td class="align-center">$!stat.valueOf("serve/@sa")</td>
1560:                                 <td class="align-center">$!stat.valueOf("serve/@se")</td>
1561:                                 <td class="align-center">$!stat.valueOf("defense/@re")</td>
1562:                                 <td class="align-center">$!stat.valueOf("defense/@dig")</td>
1563:                                 <td class="align-center">$!stat.valueOf("block/@bs")</td>
1564:                                 <td class="align-center">$!stat.valueOf("block/@ba")</td>
1565:                                 <td class="align-center">$!stat.valueOf("block/@be")</td>
1566:                                 <td class="align-center">$!stat.valueOf("misc/@bhe")</td>
1567:                                 <td class="align-center">$!stat.valueOf("misc/@pts")</td>
1568:                             </tr>
1569:                         #end ## end $setsplayed
1570:                     #end
1571:                     <tr class="stats-highlight totals">
1572:                         <td colspan="3">Totals</td>
1573:                         <td class="align-center">$!team.valueOf("totals/attack/@k")</td>
1574:                         <td class="align-center">$!team.valueOf("totals/attack/@e")</td>
1575:                         <td class="align-center">$!team.valueOf("totals/attack/@ta")</td>
1576:                         <td class="align-center">$!team.valueOf("totals/attack/@pct")</td>
1577:                         <td class="align-center">$!team.valueOf("totals/set/@a")</td>
1578:                         <td class="align-center">$!team.valueOf("totals/serve/@sa")</td>
1579:                         <td class="align-center">$!team.valueOf("totals/serve/@se")</td>
1580:                         <td class="align-center">$!team.valueOf("totals/defense/@re")</td>
1581:                         <td class="align-center">$!team.valueOf("totals/defense/@dig")</td>
1582:                         <td class="align-center">$!team.valueOf("totals/block/@bs")</td>
1583:                         <td class="align-center">$!team.valueOf("totals/block/@ba")</td>
1584:                         <td class="align-center">$!team.valueOf("totals/block/@be")</td>
1585:                         <td class="align-center">$!team.valueOf("totals/misc/@bhe")</td>
1586:                         <td class="align-center">$!team.valueOf("totals/misc/@pts")</td>
1587:                     </tr>
1588:                 </table>
1589: 
1590:                 #end ##macro
1591: 
1592: 
1593:                 ## VISITOR STATISTICS
1594:                 <div class="stats-fullbox clearfix">#playerstats($document.selectSingleNode("vbgame/team[@vh='V']"))</div>
1595:                 ## HOME STATISTICS
1596:                 <div class="stats-fullbox clearfix">#playerstats($document.selectSingleNode("vbgame/team[@vh='H']"))</div>
1597: 
1598: 
1599:                 ## OTHER INFORMATION
1600:                 <div class="stats-fullbox summary clearfix">
1601:                     <table>
1602:                         <tr><th class="align-left">Other Information</th></tr>
1603:                         <tr>
1604:                             <td>
1605:                                 #if ($document.valueOf("vbgame/venue/@arena").length() > 0)
1606:                                     <span class="bold">Arena: </span>$document.valueOf("vbgame/venue/@arena")<br />
1607:                                 #end
1608:                                 <span class="bold">Attendance: </span>$document.valueOf("vbgame/venue/@attend")<br />
1609:                                 <span class="bold">Time: </span>$document.valueOf("vbgame/venue/@duration")
1610:                                 #foreach ($official in $document.selectNodes("vbgame/venue/officials/official"))
1611:                                     <br />
1612:                                     <span class="bold">$official.valueOf("@title"): </span>$tool.esc.html($official.valueOf("@name"))
1613:                                 #end
1614:                             </td>
1615:                         </tr>
1616:                     </table>
1617:                 </div>
1618: 
1619:                 #if ($showStartersLegend)<div class="legend">* = Starter</div>#end
1620:                 #if ($showLiberoLegend)<div class="legend">^ = Libero</div>#end
1621:             #end
1622: 
1623:             #if ($stats.view == "plays" && $hasPlayByPlay)
1624:                 #printTabPlayByPlay()
1625:             #elseif ($stats.view == "pdf")
1626:                 #printPdfHeader("Box score")
1627:                 #parse("vbxml-monospace-template")
1628:                 #if ($hasPlayByPlay)
1629:                     <p class="pagebreak"/>
1630:                     #printPdfHeader("Play by Play")
1631:                     #printTabPlayByPlay()
1632:                 #end
1633:             #else
1634:                 #printTabBoxscore()
1635:             #end ## ENDS VIEW CHECK
1636: 
1637:             </div>
1638: 
1639:             #if ($stats.view != "pdf")
1640:                 #set ($showWiki = true)
1641:                 #set ($showWiki = $showWikiVar)
1642: 
1643:                 #if ($showWiki == true)
1644:                     $!wiki.su
1645:                 #end
1646: 
1647:                 #changeViewScript()
1648:             #end
1649:         </body>
1650:     </html>
1651: 
1652: #end ## mobile
1653: #end