$request.getAttribute("careerTotals").addGames($events)

Hunter Sherwood Southwestern Oregon Community College

Recent Games
There was a problem with a Velocity script
Page/httpd/prestosports/site-public/WEB-INF/themes/generic/bio-network-template
ErrorInvocation of method 'include' in class com.prestosports.render.ContentEngineInvoker threw exception javax.servlet.ServletException: javax.servlet.ServletException: java.lang.NullPointerException at /httpd/prestosports/site-public/WEB-INF/themes/generic/bio-network-template[line 487, column 38]
Page source:
1: ## PICK UP OPTIONS
2: $website.include("options")
3: #set ($options = $request.getAttribute("options"))
4: #set ($locale = "en_us")
5: #set ($locale = $options.get("locale"))
6: 
7: #set ($showconf = true)
8: #if ($options.get("stats_hide_conference") and $options.get("stats_hide_conference").equalsIgnoreCase("hide"))
9:   #set ($showconf = false)
10: #end
11: 
12: #set ($showCareer = $wiki.valid() && $seasons)
13: #if ("yes" == $options.get("stats_show_career") && $seasons)
14:   #set ($showCareer = "yes")
15: #end
16: 
17: #if ($locale == "en_us")
18:   #set ($defLabel = "Defense")
19: #elseif ($locale == "en_gb")
20:   #set ($defLabel = "Defence")
21: #end
22: 
23: #set ($pos = "")
24: #if($attributes.get("position_stat"))
25:     #set ($pos = $attributes.get("position_stat"))
26: #else
27:     #set ($pos = $attributes.get("position"))
28:     #set ($pos = $statPosition)
29:     #set ($posVec = $pos.split("/"))
30:     #set ($pos = $posVec[0])
31: #end
32: #set ($pos = $pos.toLowerCase())
33: #set ($statPos = $positions.get($pos))
34: #set ($paramPos = $request.getParameter("pos"))
35: 
36: #set ($highlights = $highlights.get($statPos))
37: 
38: #set ($url = ${page.url})
39: #set ($playerId = $attributes.get("playerId"))
40: #set ($stats = $splits.overall)
41: 
42: #set ($hasEvents = $events.size() > 0)
43: #set ($hasSynopsis = $synopsis.length() > 1 && $synopsis.indexOf("<center>") == -1)
44: #set ($htmlStatsURL = "${page.url}-stats")
45: #set ($hasHTMLStats = $website.exists($htmlStatsURL))
46: #set ($bioBriefURL = "${page.url}-brief")
47: #set ($hasBioBrief = $website.exists("$bioBriefURL"))
48: 
49: $request.setAttribute("careerTotals", $career)
50: #if(!$rosterTransactions)
51:     ## We track a map of the careers to see if we are missing any seasons
52:     #set ($careerMap = {})
53:     $request.setAttribute("careerMap", $careerMap)
54:     #foreach ($season in $seasons)
55:         ## We need to include this season stats
56:         #set ($pagePathFolders = $page.url.split("/"))
57:         #set ($sportPath = ${pagePathFolders[2]})
58:         #set ($path = "")
59:         #set ($fixedSportPath = "/sports/${sportPath}/${season.seasonPath}")
60:         #if ($pagePathFolders.size() > 6) ## Default path for players page /sports/sportPath/seasonPath/players/playerPageName
61:             #set ($midPath = "/")
62:             ## Use custom path and custom players page name
63:             #foreach ($folder in $pagePathFolders)
64:                 #if ($foreach.index > 3 && $foreach.index < $pagePathFolders.size() - 1)
65:                     #set ($midPath = "${midPath}${folder}/")
66:                 #end
67:             #end
68:             #set ($path = "${fixedSportPath}${midPath}${season.bioPageName}?tmpl=bio-career-template&name=${season.seasonName}&pos=${statPos}&print=no")
69:         #end
70:         #if (!$website.exists($path))
71:             ## Use default path
72:             #set ($path = "${fixedSportPath}/players/${season.bioPageName}?tmpl=bio-career-template&name=${season.seasonName}&pos=${statPos}&print=no")
73:         #end
74:         $website.includeAgain($path)
75:     #end
76: #end
77: 
78: #set ($view = "profile")
79: #if ($request.getParameter("view"))
80:   #set ($view = $request.getParameter("view"))
81: #end
82: 
83: #macro (printResultAriaLabel $event)
84:     #set ($ariaLabel = "${event.sport} event: ${formatter.formatDate($event.date, 'MMMM d hh:mm a:')}")
85:     #if ($event.neutralSite.length() > 0 || $event.home)
86:     	#set ($ariaLabel = "${ariaLabel} vs.")
87:     #else
88:     	#set ($ariaLabel = "${ariaLabel} at")
89:     #end
90:     #set ($ariaLabel = "${ariaLabel} ${event.opponent.name}:")
91:     #if ($event.neutralSite.length() > 0)
92:     	#set ($ariaLabel = "${ariaLabel} @ ${event.neutralSite}:")
93:     #end
94:     #set ($ariaLabel = "${ariaLabel} Box Score")
95:     aria-label="$ariaLabel"
96: #end
97: 
98: #macro (printHighlights)
99: #if ($highlights)
100:   <div class="highlights highlights-standalone accent-bg">
101:     #foreach ($highlight in $highlights.keySet())
102:       #set ($value = "-")
103:       #set ($value = $formatter.formatNumber($stats.get($highlight), $formats.get($highlight)))
104:       <div class="stat clearfix">
105:         <span class="stat-title">$!highlights.get($highlight)</span>
106:         <span class="stat-value">$value</span>
107:       </div>
108:     #end
109:   </div>
110: #end ## has highlights
111: #end ## macro printHighlights
112: 
113: #macro (splitBioNetwork $statPosBriefs $label $stats)
114:   <tr>
115:     <td class="pinned-col text">${label}</td>
116:      #if($rosterTransactions && $v == "career")
117:         #set($keys =  $stats.names())
118:         #set($array = $keys.toString().replace('"','').split(","))
119:         #foreach ($brief in $statPosBriefs.keySet())
120:             #set ($value = "-")
121:             #if($array.contains($brief))
122:                 #set ($value = $!formatter.formatNumber($tool.math.toDouble($stats.get($brief)), $formats.get($brief)))
123:              #end
124:             <td>#if ($value.length() > 0) $value #else - #end</td>
125:         #end
126:     #else
127:         #foreach ($brief in $statPosBriefs.keySet())
128:           #set ($value = "-")
129:           #set ($value = $!formatter.formatNumber($stats.get($brief), $formats.get($brief)))
130:           <td>#if ($value.length() > 0) $value #else - #end</td>
131:         #end
132:     #end
133:   </tr>
134: #end ## marco split
135: 
136: #macro (printCategories $briefCategoryLabels $v $ariaLabel)
137: 
138: <div class="tab-container secondary clearfix" data-module="stats/tabs" data-type="secondary">
139: <div class="tab-nav" data-module="jscroll" data-momentum="false">
140: <div>
141: <ul class="clearfix">
142: #foreach($briefCat in $briefCategoryLabels.entrySet())
143:   #set ($briefCatLabel = $briefCat.value)
144:   #set ($briefCatKey = $briefCat.key)
145: 
146:   #if ($locale == "en_gb" && $briefCatLabel == "Defense")
147:     #set ($briefCatLabel = "Defence")
148:   #end
149: 
150:   <li #if ($activePos == $briefCatKey) class="active" #end><a href="${page.url}?view=${v}&pos=${briefCatKey}" role="tab" id="stats-tab-${ariaLabel.toLowerCase().replace(" ", "-")}-${briefCatLabel.toLowerCase()}" aria-label="${ariaLabel}: ${briefCatLabel}">$briefCatLabel</a></li>
151: #end
152: </ul>
153: </div>
154: </div>
155: <div class="tab-panels">
156: #foreach ($briefCat in $briefCategoryLabels.entrySet())
157:   #set ($briefCatLabel = $briefCat.value)
158:   #set ($class = "tab-panel clearfix")
159:   #if ($briefCat.key == $activePos)
160:     #set ($class = "tab-panel active clearfix")
161:   #end
162:   <div class="$class" role="tabpanel" aria-labelledby="stats-tab-${ariaLabel.toLowerCase().replace(" ", "-")}-${briefCatLabel.toLowerCase()}">
163:     <div class="stats-wrap clearfix">
164:     #if ($v == "splits")
165:       #splitsBioNetworkData($briefCat.key)
166:     #elseif ($v == "career")
167:       #careerData($briefCat.key)
168:     #end
169:     </div>
170:   </div>
171: #end
172: </div>
173: </div> ## tab-container
174: 
175: #end ## macro printCategories
176: 
177: #macro (splitsBioNetworkData $p)
178: 
179: #set ($p = $positions.get($p))
180: #set ($statPosBriefs = $briefs.get($p))
181: #set ($colspan = $statPosBriefs.size())
182: 
183: <div class="stats-box full clearfix">
184: <div class="scrollable">
185: <div>
186: <table>
187:   <tr class="accent-bg">
188:     <th class="pinned-col">&nbsp;</th>
189:     #foreach ($brief in $statPosBriefs)
190:       <th>$brief</th>
191:     #end
192:   </tr>
193: 
194: #splitBioNetwork($statPosBriefs, "Total", $splits.overall)
195: #if ($showconf)
196:   #splitBioNetwork($statPosBriefs, "Conference", $splits.conference)
197: #end
198: #splitBioNetwork($statPosBriefs, "Exhibition", $splits.exhibition)
199: 
200: <tr class="empty-row">
201: 	<td class="pinned-col">&nbsp;</td>
202: 	<td colspan="$colspan"><div class="empty-cell">-</div></td>
203: </tr>
204: 
205: #splitBioNetwork($statPosBriefs, "Home", $splits.home)
206: #splitBioNetwork($statPosBriefs, "Away", $splits.away)
207: #splitBioNetwork($statPosBriefs, "Neutral", $splits.neutral)
208: 
209: <tr class="empty-row">
210: 	<td class="pinned-col">&nbsp;</td>
211: 	<td colspan="$colspan"><div class="empty-cell">-</div></td>
212: </tr>
213: 
214: #foreach($gameResult in $gamesResults.entrySet())
215:   #if ($gameResult.key == "wins")
216:     #set ($splitGameResult = $splits.inWins)
217:   #elseif ($gameResult.key == "losses")
218:     #set ($splitGameResult = $splits.inLosses)
219:   #elseif ($gameResult.key == "ties")
220:     #set ($splitGameResult = $splits.inTies)
221:   #end
222: 
223:   #splitBioNetwork($statPosBriefs, $gameResult.value, $splitGameResult)
224: #end
225: 
226: <tr class="empty-row">
227: 	<td class="pinned-col">&nbsp;</td>
228: 	<td colspan="$colspan"><div class="empty-cell">-</div></td>
229: </tr>
230: 
231: #if ($monthsPlayed and $monthsPlayed.size() > 0)
232:   #foreach($month in $monthsPlayed)
233:     #if ($month == 'January')
234:       #set ($splitMonth = $splits.january)
235:     #elseif ($month == 'February')
236:       #set ($splitMonth = $splits.february)
237:     #elseif ($month == 'March')
238:       #set($splitMonth = $splits.march)
239:     #elseif ($month == 'April')
240:       #set($splitMonth = $splits.april)
241:     #elseif ($month == 'May')
242:       #set ($splitMonth = $splits.may)
243:     #elseif ($month == 'June')
244:       #set ($splitMonth = $splits.june)
245:     #elseif ($month == 'July')
246:       #set($splitMonth = $splits.july)
247:     #elseif ($month == 'August')
248:       #set ($splitMonth = $splits.august)
249:     #elseif ($month == 'September')
250:       #set($splitMonth = $splits.september)
251:     #elseif ($month == 'October')
252:       #set($splitMonth = $splits.october)
253:     #elseif ($month == 'November')
254:       #set ($splitMonth = $splits.november)
255:     #elseif ($month == 'December')
256:       #set($splitMonth = $splits.december)
257:     #end
258: 
259:     #splitBioNetwork($statPosBriefs, $month, $splitMonth)
260:   #end ## foreach
261: #end
262: </table>
263: </div>
264: </div> ## scrollable
265: </div> ## srollable-table
266: 
267: #end ## macro splitsBioNetworkData
268: 
269: #macro (printRecentGames)
270: <table>
271:     <tr class="thead accent-bg"><th colspan="3" class="text">Recent Games</th></tr>
272: 
273:     #set ($eventEnd = -1)
274:     #foreach ($event in $events)
275:     #if ($event.event.result.resolved)
276:     #set ($eventEnd = $velocityCount)
277:     #end
278:     #end
279: 
280:     #set ($eventStart = $eventEnd - 5)
281:     #if ($eventStart < 0) #set ($eventStart = 0) #end
282: 
283:     #foreach ($event in $events)
284:     #if ($velocityCount >= $eventStart and $velocityCount <= $eventEnd)
285:     <tr>
286:         <td class="text">$formatter.formatDate($event.event.date, "MMM d")</td>
287:         <td class="text">
288:             #if ($event.event.neutralSite.length() > 0) vs.
289:             #elseif (!$event.event.home) at
290:             #else ## nothing for a home game
291:             #end
292:             $event.event.opponent.name
293:         </td>
294:         <td class="text">
295:             #if ($event.event.statusCode >= 0)
296:             #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
297:                 <a #printResultAriaLabel($event.event) href="../boxscores/${formatter.formatBoxScoreLink($event.event)}">${event.event.APResult}</a>
298:             #else
299:             ${event.event.APResult}
300:             #end
301:             #end
302:         </td>
303:     </tr>
304:     #end ## if
305:     #end
306: </table>
307: #end ## macro printRecentGames
308: 
309: #macro (gamelogData $p)
310: 
311: #set ($p = $positions.get($p))
312: #set ($gamelogs = $gamelogs.get($p))
313: #set ($atLeastOneNotOverall = false)
314: 
315: <div class="stats-box full clearfix">
316:     <div class="scrollable">
317:         <div>
318:             <table>
319:               <tr class="thead accent-bg">
320:                   <th class="text">Date</th>
321:                   <th class="pinned-col text">Opponent</th>
322:                   <th>Score</th>
323: 				  #set ($colspan = 3)
324:                   #if ($p == 'goalie' && ($sport.enumCode == 9 || $sport.enumCode == 3)) ## field hockey: 9   soccer:3
325: 					#set ($colspan = $colspan + 1)
326: 					<th>Dec</th>
327:                   #end
328:                   #foreach ($gamelog in $gamelogs)
329: 					#set ($colspan = $colspan + 1)
330: 					<th>$gamelog</th>
331:                   #end
332:               </tr>
333:               #foreach ($event in $events)
334:               <tr>
335:                   <td class="text">$formatter.formatDate($event.event.date, "MMM d") #if (!$event.event.overall) #set ($atLeastOneNotOverall = true) # #end</</td>
336:                   <td class="pinned-col text">
337:                       #if ($event.event.neutralSite.length() > 0) vs. #elseif (!$event.event.home) at #end
338:                       $event.event.opponent.name
339:                   </td>
340:                   <td>
341:                       #if ($event.event.statusCode >= 0)
342:                       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
343:                           <a #printResultAriaLabel($event.event) href="../boxscores/${formatter.formatBoxScoreLink($event.event)}">${event.event.APResult}</a>
344:                       #else
345:                       ${event.event.APResult}
346:                       #end
347:                       #else &nbsp; #end
348:                   </td>
349:                   #if ($p == 'goalie' && ($sport.enumCode == 9 || $sport.enumCode == 3)) ## field hockey: 9   soccer:3
350:                       #if ($event.stats.get('gow') == 1)
351:                           <td>W</td>
352:                       #elseif ($event.stats.get('gol') == 1)
353:                           <td>L</td>
354:                       #elseif ($event.stats.get('got') == 1)
355:                           <td>T</td>
356:                       #else
357:                           <td>-</td>
358:                       #end
359:                   #end
360:                   #foreach ($gamelog in $gamelogs.keySet())
361:                   #set ($value = "-")
362:                   #set ($value = $formatter.formatNumber($event.stats.get($gamelog), $formats.get($gamelog)))
363:                   <td>$value</td>
364:                   #end
365:               </tr>
366:               #end
367:               #if ($atLeastOneNotOverall)
368:                 <tr><td colspan="$colspan"># Stats don't count towards season totals</td></tr>
369:               #end
370:             </table>
371:         </div>
372:     </div> ## scrollable
373: </div> ## stats-box
374: 
375: #end ## macro gamelogData
376: 
377: #macro (careerData $p)
378: #set ($p = $positions.get($p))
379: #set ($statPosBriefs = $briefs.get($p))
380: 
381: <div class="stats-box full clearfix">
382: <div class="scrollable">
383: <div>
384: <table>
385: <tr class="thead accent-bg">
386:   <th class="pinned-col">&nbsp;</th>
387:   #foreach ($brief in $statPosBriefs)
388:     <th>$brief</th>
389:   #end
390: </tr>
391:  #if($rosterTransactions)
392:   #set ($seasonLength = $career.seasons.length())
393:   #foreach ($index in [0..$tool.math.sub($seasonLength, 1)])
394:       #set($season = $career.seasons[$index])
395:       #if($season.seasonStatsURL != "null")
396:           #set ($label = "<a href='${season.seasonStatsURL}?view=profile'>$season.seasonName.replaceAll('^[^0-9-]*','') - $season.team.teamName</a>")
397:       #else
398:           #set ($label = "$season.seasonName.replaceAll('^[^0-9-]*','') - $season.team.teamName")
399:       #end
400:       #splitBioNetwork($statPosBriefs, $label, $season.player.stats)
401:   #end
402:   #splitBioNetwork($statPosBriefs, "Total", $career.totals)
403: #else
404:     #foreach ($season in $seasons)
405:       #if ($careerMap.get($season.seasonName))
406:         #set ($label = "<a href='${season.path}?view=profile'>$season.seasonName</a>")
407:         #splitBioNetwork($statPosBriefs, $label, $careerMap[$season.seasonName])
408:       #elseif ($wiki.valid())
409:         <tr>
410:           <td class="pinned-col text">${season.seasonName}</td>
411:           <td colspan="${briefs.size()}">We could not find the "players" page in the ${season.seasonName} section.</td>
412:         </tr>
413:       #end
414:     #end
415:     #splitBioNetwork($statPosBriefs, "Total", $request.getAttribute("careerTotals").overall)
416: #end
417: 
418: 
419: </table>
420: </div>
421: </div> ## scrollable
422: </div> ## stats-box
423: 
424: #end ## macro careerData
425: 
426: ################################################## END MACROS  #############################################################
427: 
428: <head>
429: <title>
430:     $!attributes.get("first_name") $!attributes.get("last_name") | #if ($attributes.get("number"))#$!attributes.get("number") | #end #if($attributes.get("position_abbr") && !$attributes.get("position_abbr").empty)$!attributes.get("position_abbr") | #elseif ($attributes.get("position"))$!attributes.get("position") | #end  $attributes.get("team")
431: </title>
432: </head>
433: 
434: <div class="bio-wrap bio-wrap-network clearfix" data-module="stats/responsive-container">
435: 
436:     #if ($page.title.length() > 0)
437:     <h1>$page.title</h1>
438:     #end
439: 
440:     <h2 class="player-name">
441:         <span>$!attributes.get("first_name") $!attributes.get("last_name")</span>
442:         #if (!$attributes.get("number").empty)<span>#$!attributes.get("number")</span>#end
443:         #if($attributes.get("position_abbr") && !$attributes.get("position_abbr").empty)
444: 			<span>$!attributes.get("position_abbr")</span>
445: 		#elseif ($attributes.get("position"))
446: 			<span>$!attributes.get("position")</span>
447: 		#end
448:         <a href="../teams?id=$!{attributes.get("teamId")}" aria-label="Team Stats - ${attributes.get("team")}">$attributes.get("team")</a>
449:     </h2>
450: 
451:     #printHighlights
452: 
453:     <div class="body clearfix">
454:         <div class="tab-container primary clearfix" data-module="stats/tabs" data-type="primary">
455:             <div class="tab-nav" data-module="jscroll" data-momentum="false">
456:                 <div>
457:                     <ul class="clearfix">
458:                         <li #if ($view == "profile") class="active" #end><a href="${page.url}?view=profile" role="tab" id="stats-tab-player-profile">Player Profile</a></li>
459:                         <li #if ($view == "gamelog")class="active"#end><a href="${page.url}?view=gamelog" role="tab" id="stats-tab-game-log">Game Log</a></li>
460:                         #if ($showCareer)
461:                         <li #if ($view == "career")class="active"#end><a href="${page.url}?view=career" role="tab" id="stats-tab-career-stats">Career Stats</a></li>
462:                         #end
463:                         <li #if ($view == "splits")class="active"#end><a href="${page.url}?view=splits" role="tab" id="stats-tab-split-stats">Split Stats</a></li>
464:                     </ul>
465:                 </div>
466:             </div> ## tab-nav
467: 
468:             <div class="tab-panels clearfix">
469: 
470:                 ## PROFILE
471:                 #set ($class = "tab-panel clearfix")
472:                 #if ($view == "profile")
473:                 #set ($class = "tab-panel active clearfix")
474:                 #end
475:                 <div class="${class}" role="tabpanel" aria-labelledby="stats-tab-player-profile">
476: 
477:                     ## Player profile
478:                     <div class="clearfix stats-wrap">
479: 
480:                         ## LAST SIX GAMES
481:                         <div class="stats-box half">
482:                             #printRecentGames()
483:                         </div>
484: 
485:                         ## RANKING
486:                         <div class="stats-box half">
487:                             $website.include("../players?tmpl=stats-bios-rank-template&rank=${playerId}&pos=${statPos}")
488:                         </div>
489: 
490:                     </div> ## clearfix
491: 
492:                     #if ($hasSynopsis)
493:                     <div class="clearfix">$!synopsis</div>
494:                     #end
495: 
496:                     #if ($hasBioBrief)
497:                     <div class="clearfix">$website.include($htmlStatsURL)</div>
498:                     #end
499: 
500:                     #if ($htmlStatsURL)
501:                     <div class="clearfix">$website.include($bioBriefURL)</div>
502:                     #end
503: 
504:                 </div>
505:                 ## PROFILE
506: 
507:                 ## GAMELOG
508:                 #set ($class = "tab-panel clearfix")
509:                 #if ($view == "gamelog")
510:                 #set ($class = "tab-panel active clearfix")
511:                 #end
512: 
513:                 #set ($activePos = $statPos)
514:                 #if ($view == "gamelog" && $paramPos.length() > 0)
515:                   #if ($positions.get($paramPos).length() > 0)
516:                     #set ($activePos = $positions.get($paramPos))
517:                   #end
518:                 #end
519: 
520:                 <div class="${class}" role="tabpanel" aria-labelledby="stats-tab-game-log">
521: 
522:                     #if ($gamelogsCategoriesLabels)
523:                     <div class="tab-container secondary clearfix" data-module="stats/tabs" data-type="secondary">
524:                         <div class="tab-nav" data-module="jscroll" data-momentum="false">
525:                             <div>
526:                                 <ul class="clearfix">
527:                                     #foreach($gamelogsCatLabel in $gamelogsCategoriesLabels.entrySet())
528:                                       #set($gamelogsCatLabelVal = $gamelogsCatLabel.value)
529: 
530:                                   #if ($locale == "en_gb" && $gamelogsCatLabelVal == "Defense")
531:                       #set($gamelogsCatLabelVal = "Defence")
532:                     #end
533: 
534:                     <li #if ($activePos == $gamelogsCatLabel.key) class="active" #end>
535:                       <a href="${page.url}?view=gamelog&pos=${gamelogsCatLabel.key}" role="tab" id="stats-tab-game-log-${gamelogsCatLabelVal.toLowerCase()}" aria-label="Game Log: ${gamelogsCatLabelVal}">$gamelogsCatLabelVal</a>
536:                     </li>
537:                                     #end
538:                                 </ul>
539:                             </div>
540:                         </div>
541:                         <div class="tab-panels">
542:                 #foreach($gamelogsCatLabel in $gamelogsCategoriesLabels.entrySet())
543: 					#set($gamelogsCatLabelVal = $gamelogsCatLabel.value)
544:                 #set ($class = "tab-panel clearfix")
545:                 #if ($gamelogsCatLabel.key == $activePos)
546:                   #set ($class = "tab-panel active clearfix")
547:                 #end
548:                 <div class="${class}" role="tabpanel" aria-labelledby="stats-tab-game-log-${gamelogsCatLabelVal.toLowerCase()}">
549:                   <div class="stats-wrap clearfix">#gamelogData($gamelogsCatLabel.key)</div>
550:                 </div>
551:               #end
552:                         </div>
553:                     </div>
554:                     #else
555:                       <div class="stats-wrap clearfix">#gamelogData($pos)</div>
556:                     #end
557: 
558:                 </div> ## tab-panel
559:                 ## GAMELOG
560: 
561:         ## CAREER
562:         #if ($showCareer)
563: 
564:         #set ($activePos = $statPos)
565:         #if ($view == "career" && $paramPos.length() > 0)
566:           #if ($positions.get($paramPos).length() > 0)
567:           #set ($activePos = $positions.get($paramPos))
568:           #end
569:         #end
570: 
571:         #set ($class = "tab-panel clearfix")
572:         #if ($view == "career")
573:           #set ($class = "tab-panel active clearfix")
574:         #end
575: 
576:         <div class="${class}" role="tabpanel" aria-labelledby="stats-tab-career-stats">
577: 
578:         #if ($briefsCategoriesLabels)
579:           #printCategories($briefsCategoriesLabels "career" "Career Stats")
580:         #else
581:           <div class="stats-wrap clearfix">#careerData($activePos)</div>
582:         #end
583: 
584:         </div> ## tab-panel
585:         #end ## CAREER
586: 
587:         ## SPLITS
588:         #set ($class = "tab-panel clearfix")
589:         #if ($view == "splits")
590:           #set ($class = "tab-panel active clearfix")
591:         #end
592: 
593:         #set ($activePos = $statPos)
594:         #if ($view == "splits" && $paramPos.length() > 0)
595:           #if ($positions.get($paramPos).length() > 0)
596:           #set ($activePos = $positions.get($paramPos))
597:           #end
598:         #end
599: 
600:         <div class="${class}" role="tabpanel" aria-labelledby="stats-tab-split-stats">
601: 
602:         #if ($briefsCategoriesLabels)
603:           #printCategories($briefsCategoriesLabels "splits" "Splits Stats")
604:         #else
605:           <div class="stats-wrap clearfix">#splitsBioNetworkData($pos)</div>
606:         #end
607: 
608:         </div> ## tab-panel
609:         ## SPLITS
610: 
611:             </div> ##tab-panels
612: 
613:         </div> ## tab-container
614:     </div> ## body
615: 
616: 
617: </div> ## bio-wrapper
618: $wiki.su