Dennis Ogbe | #33 | F | Tennessee Tech

gp pts/g fg % 3pt % ft % reb/g a/g
29 10.8 61.3 40.6 70.0 5.4 0.8
  gp gs mpg off/g def/g reb/g pf/g dq/g ast/g to/g a/to stl/g blk/g
Total 29 28 25.5 2.5 2.9 5.4 3.2 0.1 0.8 1.4 0.5 0.5 1.0
Conference 16 16 26.8 2.8 3.1 5.9 3.5 0.2 0.6 1.4 0.4 0.5 1.3
Exhibition - - - - - - - - - - - - -

Home 14 14 25.4 2.3 3.0 5.3 3.1 0.1 1.1 1.6 0.7 0.4 1.2
Away 15 14 25.7 2.7 2.9 5.6 3.3 0.2 0.5 1.3 0.4 0.6 0.7
Neutral - - - - - - - - - - - - -

Total 29 28 25.5 2.5 2.9 5.4 3.2 0.1 0.8 1.4 0.5 0.5 1.0
Conference 16 16 26.8 2.8 3.1 5.9 3.5 0.2 0.6 1.4 0.4 0.5 1.3
Exhibition - - - - - - - - - - - - -

Home 14 14 25.4 2.3 3.0 5.3 3.1 0.1 1.1 1.6 0.7 0.4 1.2
Away 15 14 25.7 2.7 2.9 5.6 3.3 0.2 0.5 1.3 0.4 0.6 0.7
Neutral - - - - - - - - - - - - -

Wins 12 12 26.8 2.2 3.0 5.2 3.1 0.1 0.9 1.4 0.6 0.6 1.2
Losses 17 16 24.6 2.7 2.9 5.6 3.2 0.2 0.6 1.5 0.4 0.5 0.8

November 6 5 21.7 1.5 2.2 3.7 3.5 0.0 1.5 1.7 0.9 0.5 0.5
December 7 7 24.9 2.9 2.6 5.4 2.0 0.0 0.4 1.3 0.3 0.1 0.4
January 8 8 27.0 3.2 3.6 6.9 3.6 0.2 0.5 1.8 0.3 0.8 1.6
February 7 7 26.6 2.1 3.1 5.3 3.6 0.3 0.9 1.3 0.7 0.7 0.9
There was a problem with a Velocity script
Page/bio-network-template
ErrorVM #split: too many arguments to macro. Wanted 2 got 3 at bio-network-template[line 659, column 2]
Page source:
1: ## MOBILE CHECK
2: #if ($browser.getIphone() || $browser.getMobile())
3: 	#set ($isMobile = true)
4: #else
5: 	#set ($isMobile = false)
6: #end
7: 
8: #set ($mobileNS = 'mobile-stats-')
9: #set ($mobileNSP = "#${mobileNS}")
10: 
11: ## PICK UP OPTIONS
12: $website.include("options")
13: #set ($options = $request.getAttribute("options"))
14: #set ($locale = "en_us")
15: #set ($locale = $options.get("locale"))
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: #set ($pos = $attributes.get("position"))
25: #set ($pos = $pos.toLowerCase())
26: #set ($pos = $positions.get($pos))
27: #set ($highlights = $highlights.get($pos))
28: #if ($request.getParameter("pos"))
29:   #set ($pos = $request.getParameter("pos"))
30:   #set ($pos = $pos.toLowerCase())
31:   #set ($pos = $positions.get($pos))
32: #end
33: #set ($labels = $labels.get($pos))
34: #set ($briefs = $briefs.get($pos))
35: #set ($gamelogs = $gamelogs.get($pos))
36: #set ($view = $!request.getParameter("view"))
37: #set ($url = ${page.url})
38: 
39: #set ($playerId = $attributes.get("playerId"))
40: 
41: #set ($stats = $splits.overall)
42: 
43: 
44: #macro (printHighlights)
45: 	#set ($cellWidth = $tool.math.toInteger($tool.math.div(100, $highlights.size())))
46: 	<table style="width:100%">
47: 	 <tr>
48: 		#foreach ($highlight in $highlights.keySet())
49: 		  <th #if ($isMobile) style="width:${cellWidth}%" #end><b>$!highlights.get($highlight)</b></th>
50: 		#end
51: 	 </tr>
52: 	 <tr>
53: 		#foreach ($highlight in $highlights.keySet())
54: 		  #set ($value = "-")
55: 		  ## #set ($format = $formats.get($highlight))
56: 		  ## #set ($value = $!formatter.formatNumber($stats.get($highlight), $format))
57: 		  #set ($value = $formatter.formatNumber($stats.get($highlight), $formats.get($highlight)))
58: 		  <td align="center">
59: 		  #if ($value.length() > 0)$value#else - #end
60: 		  </td>
61: 		#end
62: 	 </tr>
63: 	</table>
64: #end
65: 
66: #macro (printPosLink $posKey $label $tablePosition)
67: 	#if ($isMobile)
68: 		
69: 		#if ($tablePosition == 'first')
70: 			<select class="${mobileNS}tab-select" style="visibility:visible">
71: 		#end
72: 		
73: 		<option data-pos="${posKey}" value="${url}?view=${view}&pos=${posKey}" #if ($pos == $posKey) selected="selected" #end>${label}</option>
74: 		
75: 		#if ($tablePosition == 'last')
76: 			</select>
77: 		#end
78: 	#else
79: 		<li #if ($pos == $posKey) class="active" #end>	
80: 			<a href="${url}?view=${view}&pos=${posKey}">${label}</a>
81: 		</li>
82: 	#end
83: #end
84: 
85: #macro(split $label $stats $class)
86:     <tr class="$!{class}">
87:     <td class="${mobileNS}fixed-column">${label}</td>
88:     #foreach ($brief in $briefs.keySet())
89:       #set ($value = "-")
90:       #set ($value = $!formatter.formatNumber($stats.get($brief), $formats.get($brief)))
91:       <td align="center">
92:       #if ($value.length() > 0)$value#else - #end
93:       </td>
94:     #end
95:   </tr>
96: #end
97: 
98: #set ($colspan = $briefs.size() + 1)
99: 
100: #macro (printHr)
101: #if (! $isMobile)
102: <tr><td colspan="${colspan}"><hr></td></tr>
103: #else
104: <tr>
105: 	<td class="${mobileNS}fixed-column">&nbsp;</td>
106: 	<td colspan="${colspan}">&nbsp;</td>
107: </tr>
108: #end
109: #end
110: 
111: 
112: ## MOBILE
113: #if ($isMobile)
114: 
115: 
116: <div class="stats-wrapper mobile-stats">
117:     <h1>$!attributes.get("first_name") $!attributes.get("last_name")</h1>
118: 	<h2 class="page-subtitle">
119: 		<a href="../teams?id=$!{attributes.get("teamId")}">$!attributes.get("team")</a>
120: 		#if ($attributes.get("number")) | #$!attributes.get("number") #end 
121: 		#if ($attributes.get("position")) | $!attributes.get("position")#end
122: 		
123: 	</h2>
124: 	<img src="/info/mobile/mobile-js/photoswipe/loader.gif" alt="" id="mobile-stats-tabs-spinner" />
125: 	<div class="stats-tabs mobile-tabs">
126: 	<ul>
127: 		<li><a data-url="${page.url}" #if (!($view.length() > 0)) class="active" href="#Player_Profile" #else href="${page.url}" #end title="Player Profile">Player Profile</a></li>
128: 		<li><a data-url="${page.url}?view=gamelog" #if ($view == "gamelog") class="active" href="#Gamelog" #else href="${page.url}?view=gamelog" #end title="Gamelog">Game Log</a></li>
129: 		<li><a data-url="${page.url}?view=splits" #if ($view == "splits") class="active" href="#Split_Stats" #else href="${page.url}?view=splits" #end title="Split Stats">Split Stats</a></li>
130: 	</ul>	
131: 
132: 
133: #if ($view == "gamelog" and $events) ## GAMELOG
134: 	
135: <div id="Gamelog">
136: <div class="${mobileNS}panel-wrapper" data-pos="${pos}">
137: 	
138: #if ($sport.enumCode == 0) ## Football
139: 
140: 	#printPosLink('qb', 'Passing', 'first')
141: 	#printPosLink('rb', 'Rushing', '')
142: 	#printPosLink('wr', 'Receiving', '')
143: 	#printPosLink('k', 'Kicking', '')
144: 	#printPosLink('p', 'Punting', '')
145: 	#printPosLink('kr', 'Returns', '')		
146: 	#printPosLink('d', $defLabel, 'last')
147: 
148: #elseif ($sport.enumCode == 1) ## Baseball
149: 
150: 	#printPosLink('h', 'Hitting', 'first')
151: 	#printPosLink('p', 'Pitching', '')		
152: 	#printPosLink('f', 'Fielding', 'last')
153: 
154: #elseif ($sport.enumCode == 2) ## Basketball
155: 
156: 	#printPosLink('sh', 'Shooting', 'first')
157: 	#printPosLink('bc', 'Ball control', 'last')
158: 
159: #end
160: 
161: <div class="${mobileNS}panel-container">
162: <table><thead>
163: 	
164:   <tr>
165:     <th><b>Date</b></th>
166:     <th class="${mobileNS}fixed-column"><b>Opponent</b></th>
167:     <th><b>Score</b></th>
168:     #foreach ($gamelog in $gamelogs)
169:       <th><b>$gamelog</b></th>
170:     #end
171:   </tr>
172:   
173: </thead>
174: <tbody>
175: #foreach ($event in $events)
176:   <tr>
177:     <td>$formatter.formatDate($event.event.date, "MMM d")</td>
178:     <td class="${mobileNS}fixed-column ${mobileNS}no-wrap">
179:     #if ($event.event.neutralSite.length() > 0) vs.
180:     #elseif (!$event.event.home) at
181:     #else ## nothing for a home game
182:     #end
183:     $event.event.opponent.name</td>
184:     <td>
185:     #if ($event.event.statusCode >= 0)
186:       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
187:       <a href="../boxscores/${formatter.formatDate($event.event.date, "yyyyMMdd")}_${event.event.eventId.substring(0, 4)}.xml">${event.event.APResult}</a>
188:       #else
189:       ${event.event.APResult}
190:       #end
191:     #else &nbsp; #end
192:     </td>
193:     #foreach ($gamelog in $gamelogs.keySet())
194:       #set ($value = "-")
195:       #set ($value = $formatter.formatNumber($event.stats.get($gamelog), $formats.get($gamelog)))
196:       <td align="center">
197:       #if ($value.length() > 0)$value#else - #end
198:       </td>
199:     #end
200:   </tr>
201: #end
202: </tbody></table>
203: $wiki.su
204: 
205: </div> <!-- ${mobileNS}panel-container -->
206: </div> <!-- ${mobileNS}panel-wrapper -->
207: 
208: </div> <!-- Gamelog -->
209: 
210: 
211: #elseif ($view == "splits" and $events)
212: 
213: <div id="Split_Stats">
214: <div class="${mobileNS}panel-wrapper" data-pos="${pos}">
215: 
216: 
217: #if ($sport.enumCode == 0) ## Football
218: 
219: 	#printPosLink('qb', 'Passing', 'first')
220: 	#printPosLink('rb', 'Rushing', '')
221: 	#printPosLink('wr', 'Receiving', '')
222: 	#printPosLink('k', 'Kicking', '')
223: 	#printPosLink('p', 'Punting', '')
224: 	#printPosLink('kr', 'Returns', '')
225: 	#printPosLink('d', $defLabel, 'last')
226: 	
227: #elseif ($sport.enumCode == 1) ## Baseball
228: 
229: 	#printPosLink('h', 'Hitting', 'first')
230: 	#printPosLink('p', 'Pitching', '')
231: 	#printPosLink('f', 'Fielding', '')
232:     #printPosLink('f', 'Fielding', 'last')
233: 	
234: #elseif ($sport.enumCode == 2) ## Basketball
235: 
236: 	#printPosLink('sh', 'Shooting per game', 'first')
237: 	#printPosLink('st', 'Shooting', '')
238: 	#printPosLink('bc', 'Ball control per game', '')
239: 	#printPosLink('bt', 'Ball control', 'last')
240: 	
241: #end
242: 
243: 
244: <div class="${mobileNS}panel-container">
245: <table><tbody>
246:   <tr>
247:     <th class="${mobileNS}fixed-column">&nbsp;</th>
248:     #foreach ($brief in $briefs)
249:       <th><b>$brief</b></th>
250:     #end
251:   </tr>
252: 
253: #split("Total", $splits.overall, '')
254: #split("Conference", $splits.conference, '')
255: #split("Exhibition", $splits.exhibition, '')
256: 
257: #printHr()
258: 
259: #split("Home", $splits.home, '')
260: #split("Away", $splits.away, '')
261: #split("Neutral", $splits.neutral, '')
262: 
263: #printHr()
264: 
265: #split("Wins", $splits.inWins, '')
266: #split("Losses", $splits.inLosses, '')
267: #if ($sport.enumCode == 5) ## Ice hockey
268: #split("Ties", $splits.inTies, '')
269: #end
270: 
271: #printHr()
272: 
273: ## Going to need to replace this with sound logic that does not use the sport to determine dates
274: #if ($sport.enumCode == 5) ## Ice hockey
275:  #split("September", $splits.september, '')
276:  #split("October", $splits.october, '')
277:  #split("November", $splits.november, '')
278:  #split("December", $splits.december, '')
279:  #split("January", $splits.january, '')
280:  #split("February", $splits.february, '')
281:  #split("March", $splits.march, '')
282:  #split("April", $splits.april, '')
283: #elseif ($sport.enumCode == 2) ## Basketball
284:  #split("November", $splits.november, '')
285:  #split("December", $splits.december, '')
286:  #split("January", $splits.january, '')
287:  #split("February", $splits.february, '')
288:  #split("March", $splits.march, '')
289: #elseif ($sport.enumCode == 3 or $sport.enumCode == 9) ## Soccer or field hockey
290:  #split("September", $splits.september, '')
291:  #split("October", $splits.october, '')
292:  #split("November", $splits.november, '')
293:  #split("December", $splits.december, '')
294: #elseif ($sport.enumCode == 0) ## Football
295:  #split("August", $splits.august, '')
296:  #split("September", $splits.september, '')
297:  #split("October", $splits.october, '')
298:  #split("November", $splits.november, '')
299:  #split("December", $splits.december, '')
300: #elseif ($sport.enumCode == 6 or $sport.enumCode == 10) ## Men's or women's lacrosse
301:  #split("January", $splits.january, '')
302:  #split("February", $splits.february, '')
303:  #split("March", $splits.march, '')
304:  #split("April", $splits.april, '')
305:  #split("May", $splits.may, '')
306: #end
307: </thead>
308: </table>
309: $wiki.su
310: </div> <!-- ${mobileNS}panel-container -->
311: </div> <!-- ${mobileNS}panel-wrapper -->
312: </div>
313: 
314: 
315: #else ## Player profile
316: 
317: <div id="Player_Profile">
318: 
319: #printHighlights()
320: 
321: ## LAST SIX GAMES
322: <table>
323:   <tr><th colspan="3">Recent Games</th></tr>
324: #set ($eventEnd = -1)
325: #foreach ($event in $events)
326:   #if ($event.event.result.resolved)
327:     #set ($eventEnd = $velocityCount)
328:   #end
329: #end
330: #set ($eventStart = $eventEnd - 5)
331: #if ($eventStart < 0) #set ($eventStart = 0) #end
332: #foreach ($event in $events)
333: #if ($velocityCount >= $eventStart and $velocityCount <= $eventEnd)
334:   <tr>
335:     <td>$formatter.formatDate($event.event.date, "MMM d")</td>
336:     <td>
337:     #if ($event.event.neutralSite.length() > 0) vs.
338:     #elseif (!$event.event.home) at
339:     #else ## nothing for a home game
340:     #end
341:     $event.event.opponent.name</td>
342:     <td>
343:     #if ($event.event.statusCode >= 0)
344:       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
345:       <a href="../boxscores/${formatter.formatDate($event.event.date, "yyyyMMdd")}_${event.event.eventId.substring(0, 4)}.xml">${event.event.APResult}</a>
346:       #else
347:       ${event.event.APResult}
348:       #end
349:     #end
350: 	</td>
351:   </tr>
352: #end ## if
353: #end
354: </table>
355: 
356: ## RANKING
357: $website.include("../players?tmpl=stats-bios-rank-template&rank=${playerId}&pos=${pos}")
358: 
359: $wiki.su
360: $!synopsis
361: <br>
362: #set ($briefbio = "${page.url}-brief")
363: #set ($stats = "${page.url}-stats")
364: $website.include($briefbio)
365: $website.include($stats)
366: <br>
367: 
368: </div> <!-- player profile -->
369: 
370: #end
371: 
372: </div> <!-- mobile-tabs -->
373: </div> <!-- mobile-stats -->
374: 
375: <script type="text/javascript">
376: 	mobileConf = {
377: 		page : 'stats',
378: 		pageParams : {
379: 		#if (!($view.length() > 0))
380: 			activeStatTab : $('#Player_Profile')
381: 		#elseif ($view == "gamelog")
382: 			activeStatTab : $('#Gamelog')
383: 		#elseif ($view == "splits")
384: 			activeStatTab : $('#Split_Stats')
385: 		#end
386: 		}
387: 	}
388: </script>
389: 
390: 
391: 
392: #else ## DESKTOP
393: 
394: <html>
395: <head>
396: <title>
397: $!attributes.get("first_name") $!attributes.get("last_name") | #if ($attributes.get("number"))#$!attributes.get("number") | #end#if ($attributes.get("position"))$attributes.get("position") | #end $attributes.get("team")
398: </title>
399: </head>
400: <body>
401: 
402: <div class="stats-wrapper clearfix">
403: 
404: <h2 class="stats-header">
405: $!attributes.get("first_name") $!attributes.get("last_name")&nbsp;<span style="color: #ccc; font-weight: normal;">|</span>&nbsp;#if ($attributes.get("number"))#$!attributes.get("number")&nbsp;<span style="color: #ccc; font-weight: normal;">|</span>&nbsp;#end#if ($attributes.get("position"))$attributes.get("position")&nbsp;<span style="color: #ccc; font-weight: normal;">|</span>&nbsp;#end<a href="../teams?id=$!{attributes.get("teamId")}">$attributes.get("team")</a>
406: </h2>
407: 
408: <div class="clearfix"> #printHighlights() </div>
409: 
410: ## TABS
411: <div class="stats-tabs clearfix">
412: <ul class="clearfix">
413:   <li #if (!($view.length() > 0))class="active"#end><a href="${page.url}">Player Profile</a></li>
414: ## <li #if ($view == "lineup")class="active"#end"><a href="${page.url}?view=lineup">Lineup</a></li>
415:   <li #if ($view == "gamelog")class="active"#end><a href="${page.url}?view=gamelog">Game Log</a></li>
416:   <li #if ($view == "splits")class="active"#end><a href="${page.url}?view=splits">Split Stats</a></li>
417: </ul>
418: </div>
419: 
420: ## BIO-PHOTOS
421: ## DO NOT EDIT STYLE OR TEMPLATE BELOW
422: #*
423: <div class="bio-photo">
424: #if ($headshot.url)
425:   <img src="$headshot.url?max_height=200&max_width=150" alt="" />
426: #else
427:   <img src="/images/setup/headshot_default.jpg" alt="" />
428: #end
429: </div>
430: 
431: 
432: <div class="bio-data">
433: 
434: ## COACHES
435:    #if ($attributes.get("title"))
436:     <div><span>Title:</span>  $!attributes.get("title")</div>
437:    #end
438:    #if ($attributes.get("email_address"))
439:     <div><span>Email:</span>  <a href="mailto:$!attributes.get("email_address")">$!attributes.get("email_address")</a></div>
440:    #end
441:    #if ($attributes.get("phone1"))
442:     <div><span>Phone:</span>  $!attributes.get("phone1")</div>
443:    #end
444: 
445: 
446: ## ATHLETES
447: 
448:    #set ($year = $!attributes.get("year"))
449:    #if ($attributes.get("year"))
450:     <div><span>Year:</span> $attributes.get("year")</div>
451:    #end
452:    #if ($attributes.get("position"))
453: 
454:     <div><span>Position:</span> $attributes.get("position")</div>
455:    #end
456:    #if ($attributes.get("hometown"))
457:     <div><span>Hometown:</span> $attributes.get("hometown")</div>
458:    #end
459:    #if ($attributes.get("highschool"))
460:     <div><span>High School:</span> $attributes.get("highschool")</div>
461:    #end
462:    #if ($attributes.get("college"))
463:     <div><span>College:</span> $attributes.get("college")</div>
464:    #end
465:    #if ($attributes.get("height"))
466:     <div><span>Height:</span> $attributes.get("height")</div>
467:    #end
468:    #if ($attributes.get("weight"))
469:     <div><span>Weight:</span> $attributes.get("weight")</div>
470:    #end
471:    #if ($attributes.get("major"))
472:     <div><span>Major:</span> $attributes.get("major")</div>
473:    #end
474:    #if ($attributes.get("custom1"))
475:     <div><span>Bat/Throw:</span> $attributes.get("custom1")</div>
476:    #end
477: </div>
478: 
479: ## DO NOT EDIT STYLE OR TEMPLATE ABOVE
480: *#
481: 
482: 
483: #if ($view == "gamelog" and $events)
484: <div class="stats-fullbox clearfix">
485: 
486: ## SECONDARY TABS FOR ONLY FOOTBALL,  BASEBALL AND BASKETBALL
487: #if ($sport.enumCode == 0 || $sport.enumCode == 1 || $sport.enumCode == 2)
488: <div class="stats-tabs-secondary clearfix">
489: <ul class="clearfix">
490: 
491: #if ($sport.enumCode == 0) ## Football
492: 
493: 	#printPosLink('qb', 'Passing', 'first')
494: 	#printPosLink('rb', 'Rushing', '')
495: 	#printPosLink('wr', 'Receiving', '')
496: 	#printPosLink('k', 'Kicking', '')
497: 	#printPosLink('p', 'Punting', '')
498: 	#printPosLink('kr', 'Returns', '')		
499: 	#printPosLink('d', $defLabel, 'last')
500: 
501: #elseif ($sport.enumCode == 1) ## Baseball
502: 
503: 	#printPosLink('h', 'Hitting', 'first')
504: 	#printPosLink('p', 'Pitching', '')		
505: 	#printPosLink('f', 'Fielding', 'last')
506: 
507: #elseif ($sport.enumCode == 2) ## Basketball
508: 
509: 	#printPosLink('sh', 'Shooting', 'first')
510: 	#printPosLink('bc', 'Ball control', 'last')
511: 
512: #end
513: 
514: </ul>
515: </div> ## stats-tabs-secondary
516: 
517: #end ## sport check for secondary tabs
518: 
519: <table>
520:   <tr>
521:     <th>Date</th>
522:     <th>Opponent</th>
523:     <th>Score</th>
524:     #foreach ($gamelog in $gamelogs)
525:       <th>$gamelog</th>
526:     #end
527:   </tr>
528: 
529: #set ($counter = 0)
530: #foreach ($event in $events)
531:  #set ($counter = $counter + 1)
532:  #if ($counter % 2 == 0)
533:   #set ($row = "even")
534:  #else
535:   #set ($row = "odd")
536:  #end
537:   <tr class="${row}">
538:     <td>$formatter.formatDate($event.event.date, "MMM d")</td>
539:     <td>
540:     #if ($event.event.neutralSite.length() > 0) vs.
541:     #elseif (!$event.event.home) at
542:     #else ## nothing for a home game
543:     #end
544:     $event.event.opponent.name</td>
545:     <td align="center">
546:     #if ($event.event.statusCode >= 0)
547:       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
548:       <a href="../boxscores/${formatter.formatDate($event.event.date, "yyyyMMdd")}_${event.event.eventId.substring(0, 4)}.xml">${event.event.APResult}</a>
549:       #else
550:       ${event.event.APResult}
551:       #end
552:     #else &nbsp; #end
553:     </td>
554:     #foreach ($gamelog in $gamelogs.keySet())
555:       #set ($value = "-")
556:       #set ($value = $formatter.formatNumber($event.stats.get($gamelog), $formats.get($gamelog)))
557:       <td align="center">
558:       #if ($value.length() > 0)$value#else - #end
559:       </td>
560:     #end
561:   </tr>
562: #end
563: </table>
564: </div>
565: 
566: $wiki.su
567: 
568: 
569: #elseif ($view == "splits" and $events)
570: 
571: <div class="stats-fullbox clearfix">
572: 
573: ## SECONDARY TABS FOR ONLY FOOTBALL,  BASEBALL AND BASKETBALL
574: #if ($sport.enumCode == 0 || $sport.enumCode == 1 || $sport.enumCode == 2)
575: <div class="stats-tabs-secondary clearfix">
576: <ul class="clearfix">
577: 
578: #if ($sport.enumCode == 0) ## Football
579: 
580: 	#printPosLink('qb', 'Passing', 'first')
581: 	#printPosLink('rb', 'Rushing', '')
582: 	#printPosLink('wr', 'Receiving', '')
583: 	#printPosLink('k', 'Kicking', '')
584: 	#printPosLink('p', 'Punting', '')
585: 	#printPosLink('kr', 'Returns', '')
586: 	#printPosLink('d', $defLabel, 'last')
587: 
588: #elseif ($sport.enumCode == 1) ## Baseball
589: 
590: 	#printPosLink('h', 'Hitting', 'first')
591: 	#printPosLink('p', 'Pitching', '')
592: 	#printPosLink('f', 'Fielding', '')
593:     #printPosLink('f', 'Fielding', 'last')
594: 
595: #elseif ($sport.enumCode == 2) ## Basketball
596: 
597: 	#printPosLink('sh', 'Shooting per game', 'first')
598: 	#printPosLink('st', 'Shooting', '')
599: 	#printPosLink('bc', 'Ball control per game', '')
600: 	#printPosLink('bt', 'Ball control', 'last')
601: 
602: #end
603: 
604: </ul>
605: </div> ## stats-tabs-secondary
606: #end ## sport check for secondary tabs
607: 
608: <table>
609:   <tr>
610:     <th>&nbsp;</th>
611:     #foreach ($brief in $briefs)
612:       <th>$brief</th>
613:     #end
614:   </tr>
615: 
616: #split("Total", $splits.overall, '')
617: #split("Conference", $splits.conference, '')
618: #split("Exhibition", $splits.exhibition, '')
619: 
620: #printHr()
621: 
622: #split("Home", $splits.home, '')
623: #split("Away", $splits.away, '')
624: #split("Neutral", $splits.neutral, '')
625: 
626: #printHr()
627: 
628: #split("Total", $splits.overall, "odd")
629: #split("Conference", $splits.conference, "even")
630: #split("Exhibition", $splits.exhibition, "odd")
631: <tr><td colspan="${colspan}"><hr /></td></tr>
632: #split("Home", $splits.home, "odd")
633: #split("Away", $splits.away, "even")
634: #split("Neutral", $splits.neutral, "odd")
635: <tr><td colspan="${colspan}"><hr /></td></tr>
636: #split("Wins", $splits.inWins, "odd")
637: #split("Losses", $splits.inLosses, "even")
638: #if ($sport.enumCode == 5) ## Ice hockey
639:   #split("Ties", $splits.inTies, "odd")
640: #end
641: 
642: #printHr()
643: 
644: ## Going to need to replace this with sound logic that does not use the sport to determine dates
645: #if ($sport.enumCode == 5) ## Ice hockey
646:  #split("September", $splits.september, "odd")
647:  #split("October", $splits.october, "even")
648:  #split("November", $splits.november, "odd")
649:  #split("December", $splits.december, "even")
650:  #split("January", $splits.january, "odd")
651:  #split("February", $splits.february, "even")
652:  #split("March", $splits.march, "odd")
653:  #split("April", $splits.april, "even")
654: #elseif ($sport.enumCode == 2) ## Basketball
655:  #split("November", $splits.november, "odd")
656:  #split("December", $splits.december, "even")
657:  #split("January", $splits.january, "odd")
658:  #split("February", $splits.february, "even")
659:  #split("March", $splits.march, "odd")
660: #elseif ($sport.enumCode == 3 or $sport.enumCode == 9) ## Soccer or field hockey
661:  #split("September", $splits.september, "odd")
662:  #split("October", $splits.october, "even")
663:  #split("November", $splits.november, "odd")
664:  #split("December", $splits.december, "even")
665: #elseif ($sport.enumCode == 0) ## Football
666:  #split("August", $splits.august, "odd")
667:  #split("September", $splits.september, "even")
668:  #split("October", $splits.october, "odd")
669:  #split("November", $splits.november, "even")
670:  #split("December", $splits.december, "odd")
671: #elseif ($sport.enumCode == 6 or $sport.enumCode == 10) ## Men's or women's lacrosse
672:  #split("January", $splits.january, "odd")
673:  #split("February", $splits.february, "even")
674:  #split("March", $splits.march, "odd")
675:  #split("April", $splits.april, "even")
676:  #split("May", $splits.may, "odd")
677: #end
678: 
679: </table>
680: $wiki.su
681: </div>
682: 
683: 
684: #else
685: ## Player profile
686: 
687: <div class="clearfix">
688: 
689: ## LAST SIX GAMES
690: <div class="stats-halfbox-left">
691: <table>
692:   <tr><th colspan="3">Recent Games</th></tr>
693: #set ($eventEnd = -1)
694: #foreach ($event in $events)
695:   #if ($event.event.result.resolved)
696:     #set ($eventEnd = $velocityCount)
697:   #end
698: #end
699: #set ($eventStart = $eventEnd - 5)
700: #if ($eventStart < 0) #set ($eventStart = 0) #end
701: 
702: #set ($counter = 0)
703: #foreach ($event in $events)
704: #if ($velocityCount >= $eventStart and $velocityCount <= $eventEnd)
705: 
706:  #set ($counter = $counter + 1)
707:  #if ($counter % 2 == 0)
708:   #set ($row = "even")
709:  #else
710:   #set ($row = "odd")
711:  #end
712: 
713:   <tr class="${row}">
714:     <td>$formatter.formatDate($event.event.date, "MMM d")</td>
715:     <td>
716:     #if ($event.event.neutralSite.length() > 0) vs.
717:     #elseif (!$event.event.home) at
718:     #else ## nothing for a home game
719:     #end
720:     $event.event.opponent.name</td>
721:     <td>
722:     #if ($event.event.statusCode >= 0)
723:       #if ($event.event.eventId.length() > 0 && $event.stats.size() > 0)
724:       <a href="../boxscores/${formatter.formatDate($event.event.date, "yyyyMMdd")}_${event.event.eventId.substring(0, 4)}.xml">${event.event.APResult}</a>
725:       #else
726:       ${event.event.APResult}
727:       #end
728:     #end
729:   </tr>
730: #end ## if
731: #end
732: </table>
733: </div>
734: 
735: ## RANKING
736: $website.include("../players?tmpl=stats-bios-rank-template&rank=${playerId}&pos=${pos}")
737: 
738: </div> ## clearfix
739: 
740: #if ($synopsis.length() > 0)
741: <div class="clearfix">
742:  $!synopsis
743: </div>
744: #end
745: 
746: #set ($briefbio = "${page.url}-brief")
747: #set ($stats = "${page.url}-stats")
748: 
749: #if ($website.exists($briefbio))
750: <div class="clearfix">
751:   $website.include($briefbio)
752: </div>
753: #end
754: 
755: #if ($website.exists($stats))
756: <div class="clearfix">
757:   $website.include($stats)
758: </div>
759: #end
760: 
761: #end
762: 
763: </div> ## stats-wrapper
764: $wiki.su
765: 
766: </body>
767: </html>
768: 
769: #end