2012 Men's Cross Country Schedule/Results

Date Teams Event Status Results Links
 
August
Fri. 31 Bucknell   5:30 p.m.  
  Bison Open
 
September
Sat. 15 Juniata   10:00 a.m. 2nd
Sat. 22 Lock Haven   10:30 a.m. 6th
Sat. 29
There was a problem with a Velocity script
Pageschedule-template
ErrorInvocation of method 'get' in class java.util.Collections$CheckedRandomAccessList threw exception java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 at schedule-template[line 449, column 36]
Page source:
1: #if ($browser.getIphone() || $browser.getMobile())
2: ## MOBILE
3: 	#set ($includeURL = "${page.url}?tmpl=mobile-schedule-template&$!request.getQueryString()")
4: 	$website.includeAgain($includeURL)
5: 	#stop
6: #else
7: ## DESKTOP
8: 
9: $website.addCss("/info/schedule-styles.css")
10: 
11: ## PICK UP OPTIONS
12: $website.include("options")
13: #set ($options = $request.getAttribute("options"))
14: 
15: ## CONFERENCE TEAM LINKING
16: #set ($confmemberIDs = $page.teamIDs)
17: 
18: ## DEFAULT SETTINGS
19: #set ($linkTarget = "_self")
20: #set ($restrictLinks = true)
21: 
22: #if ($options.get("schedule_restrict_links") == false)
23: 	#set ($restrictLinks = false)
24: #end
25: 
26: #set ($showVsAt = true)
27: #if ($options.get("schedule_hide_vs_at") == true)
28: 	#set ($showVsAt = false) 
29: #end
30: 
31: #set ($showTeamStats = true)
32: #if ($options.get("schedule_hide_team_stats") == true)
33: 	#set ($showTeamStats = false)
34: #end
35: 
36: #set ($showExhibitionGames = true)
37: #if ($options.get("schedule_hide_exhibition_events") == true)
38: 	#set ($showExhibitionGames = false)
39: #end
40: 
41: #set ($showRegularGames = true)
42: #if ($request.getParameter("confonly").equals("1"))
43: 	#set ($showRegularGames = false)
44: #end
45: 
46: #set ($confNotation = "*")
47: #set ($divisionNotation = "^")
48: #set ($exhibitionNotation = "#")
49: 
50: ## MACROS
51: 
52: #macro (renderEventLinks $event)
53:   #set ($linksCounter = 0)
54:   #foreach ($link in $event.links)
55:     #if ($restrictLinks && $event.statusCode >= 0 && (
56:       $link.name.equalsIgnoreCase("live stats") || 
57:       $link.name.equalsIgnoreCase("preview") || 
58:       $link.name.equalsIgnoreCase("directions") || 
59:       $link.name.equalsIgnoreCase("tickets") || 
60:       $link.name.equalsIgnoreCase("audio")))
61:     #else
62:       #set ($linksCounter = $linksCounter + 1)
63: 								
64:       #if ($linksCounter > 1)<span class="sep">&nbsp;|&nbsp;</span>#end
65: 								
66:       <a href="$link.url" class="e_link e_link_${link.getMapType().toLowerCase()}" #if ($website.isExternalLink($link.url)) target="_blank" #else target="${linkTarget}" #end>$link.name</a>
67:     #end
68:   #end
69: #end
70: 
71: #macro (displayNotation $type)
72:   #if ($type == "exhibition")
73:     <span class="notation" title="Exhibition">$exhibitionNotation</span>
74:   #elseif ($type == "conference")
75:     <span class="notation" title="Conference">$confNotation</span>
76:   #elseif ($type == "division")
77:     <span class="notation" title="Division">$divisionNotation</span>
78:   #end
79: #end
80: 
81: ## END MACROS
82: 
83: <div id="schedule-list" class="schedule-list clearfix">
84: 
85: $wiki
86: 
87: #set ($scheduleLayout = 1)
88: #if ($tool.math.toInteger($options.get("schedule_default_layout")) > 1)
89:   #set ($scheduleLayout = $tool.math.toInteger($options.get("schedule_default_layout")))
90: #end
91: 
92: ## SET DEFAULT LABELS AND FIELDS FOR NUMERIC vs. NON-NUMERIC SCHEDULES
93: #if ($schedule.team.length() > 0)
94: ## TEAM VIEW
95:   #if($schedule.numericResults) ## team h2h
96:     #if ($scheduleLayout == 1)
97:       #set ($scheduleFields = ["date", "opponent+neutralsite", "notes", "result", "status", "links"])
98:       #set ($scheduleLabels = ["Date", "Opponent", "Notes", "Result", "Status", "Links"])
99:     #elseif ($scheduleLayout == 2)	
100:       #set ($scheduleFields = ["date", "opponent+neutralsite", "result", "status", "links", "_notes"])
101:       #set ($scheduleLabels = ["Date", "Opponent", "Result", "Status", "Links", "Notes"])
102: 	#elseif ($scheduleLayout == 3)
103: 	  #set ($scheduleFields = ["date", "opponent", "notes+neutralsite", "result", "status", "links"])
104:       #set ($scheduleLabels = ["Date", "Opponent", "Notes", "Result", "Status", "Links"])
105:     #end
106:   #else
107:     #if ($scheduleLayout == 1)
108:       #set ($scheduleFields = ["date", "opponent+neutralsite", "notes", "status", "team_away_result", "links"])
109:       #set ($scheduleLabels = ["Date", "Event", "Notes", "Status", "Result", "Links"])
110:     #elseif ($scheduleLayout == 2)
111:       #set ($scheduleFields = ["date", "opponent", "status", "team_away_result", "links", "_notes+neutralsite"])
112:       #set ($scheduleLabels = ["Date", "Event", "Status", "Result", "Links", "Notes"])
113:     #elseif ($scheduleLayout == 3)
114:       #set ($scheduleFields = ["date", "opponent+neutralsite",  "status", "team_away_result", "links", "_notes"])
115:       #set ($scheduleLabels = ["Date", "Event", "Status", "Result", "Links", "Notes"])
116:     #end
117:   #end
118: #else
119: ## CONFERENCE VIEW
120:   #if($schedule.numericResults) ## conf h2h
121:     #if ($scheduleLayout == 1)
122:       #set ($scheduleFields = ["date", "team_away", "team_away_result", "team_home", "team_home_result", "status", "links", "_notes+neutralsite"])
123:       #set ($scheduleLabels = ["Date", "Away", "", "Home", "", "Status", "Links", "Notes"])
124:     #elseif ($scheduleLayout == 2)
125:       #set ($scheduleFields = ["_date", "team_away+team_away_result", "team_home+team_home_result", "notes+neutralsite", "status", "links"])
126:       #set ($scheduleLabels = ["Date", "Away", "Home", "Notes", "Status", "Links"])
127: 	#elseif ($scheduleLayout == 3)
128: 	  #set ($scheduleFields = ["date", "team_away", "team_away_result", "team_home", "team_home_result", "notes+neutralsite", "status", "links"])
129:       #set ($scheduleLabels = ["Date", "Away", "", "Home", "", "Notes", "Status", "Links"])
130:     #end
131:   #else
132:     #if ($scheduleLayout == 1)
133:       #set ($scheduleFields = ["date", "team_away", "neutralsite", "status", "team_away_result", "links", "_notes"])
134:       #set ($scheduleLabels = ["Date", "Teams", "Event", "Status", "Results", "Links", "Notes"])
135:     #elseif ($scheduleLayout == 2)
136:       #set ($scheduleFields = ["date", "team_away", "neutralsite", "team_away_result", "links", "_notes"])
137:       #set ($scheduleLabels = ["Date", "Teams", "Event", "Results", "Links", "Notes"])
138: 	#elseif ($scheduleLayout == 3)
139: 	  #set ($scheduleFields = ["date", "team_away", "neutralsite", "team_away_result", "links", "notes"])
140:       #set ($scheduleLabels = ["Date", "Teams", "Event", "Results", "Links", "Notes"])
141:     #end
142:   #end
143: #end
144: 
145: ## SET FIELDS AND LABELS FROM OPTIONS IF AVAILABLE AND SANITIZE THEM
146: #if ($options.get("schedule_fields") && $options.get("schedule_labels"))
147:   #set ($scheduleFields = $options.get("schedule_fields"))
148:   #set ($scheduleFields = $scheduleFields.split(","))
149:   #foreach ($field in $scheduleFields)
150:     #set ($field = $field.trim())
151:     $tool.list.set($scheduleFields, $tool.math.sub($velocityCount, 1), $field)
152:   #end
153: 
154:   #set ($scheduleLabels = $options.get("schedule_labels"))
155:   #set ($scheduleLabels = $scheduleLabels.split(","))
156:   #foreach ($label in $scheduleLabels)
157:     #set ($label = $label.trim())
158:     #if ($label.equals("-"))
159:       #set ($label = "&nbsp;")
160:     #end
161:     $tool.list.set($scheduleLabels, $tool.math.sub($velocityCount, 1), $label)
162:   #end
163:   
164:   #if ($tool.list.size($scheduleFields) != $tool.list.size($scheduleLabels))
165: 	<h2 style="color:#FF0000">Error: Size of the fields and labels must match in options</h2>
166: 	#stop
167:   #end
168:   
169: #end
170: 
171: #set ($dateFormat = "EEE. d")
172: #set ($groupByMonths = true)
173: 
174: #if ($options.get("schedule_date_format").equals("Thu. 3"))
175:   #set ($dateFormat = "EEE. d")
176: #elseif ($options.get("schedule_date_format").equals("Mar. 15"))
177:   #set ($dateFormat = "MMM. dd")
178: #elseif ($options.get("schedule_date_format").equals("Mar. 15, 2013"))
179:   #set ($dateFormat = "MMM. dd, yyyy")
180: #elseif ($options.get("schedule_date_format").equals("March 15, 2013"))
181:   #set ($dateFormat = "MMMM dd, yyyy")
182: #elseif ($options.get("schedule_date_format").equals("March 15"))
183:   #set ($dateFormat = "MMMM dd")
184: #elseif ($options.get("schedule_date_format").equals("03/15/2013"))
185:   #set ($dateFormat = "MM/dd/yyyy")
186: #elseif ($options.get("schedule_date_format").equals("03/15"))
187:   #set ($dateFormat = "MM/dd")
188: #elseif ($options.get("schedule_date_format").equals("Thursday, March 15, 2013"))
189:   #set ($dateFormat = "EEEE, MMMM dd, yyyy")
190: #elseif ($options.get("schedule_date_format").equals("Thursday, Mar. 15, 2013"))
191:   #set ($dateFormat = "EEEE, MMM. dd, yyyy")
192: #elseif ($options.get("schedule_date_format").equals("Thursday, March 15"))
193:   #set ($dateFormat = "EEEE, MMMM dd")
194: #elseif ($options.get("schedule_date_format").equals("Thursday, Mar. 15"))
195:   #set ($dateFormat = "EEEE, MMM. dd")
196: #elseif ($options.get("schedule_date_format").equals("Thu., March 15"))
197:   #set ($dateFormat = "EEE., MMMM dd")
198: #elseif ($options.get("schedule_date_format").equals("Thu., Mar. 15"))
199:   #set ($dateFormat = "EEE., MMM. dd")
200: #end
201: 
202: #if ($options.get("schedule_group_by_months") == false)
203:   #set ($groupByMonths = false)
204: #end
205: 
206: #set ($resultFormat = "AP1")
207: #if ($options.get("schedule_result_format").equals("L, 2-1"))
208:   #set ($resultFormat = "AP1")
209: #elseif ($options.get("schedule_result_format").equals("L, 1-2"))
210:   #set ($resultFormat = "AP2")
211: #end
212: 
213: ## LOOK TO INCLUDE ARCHIVE SCHEDULES DROPDOWN
214: $website.include("navbar-schedule-archive?tmpl=schedule-archive-list-template&selected=${tool.esc.url($page.url)}")
215: 
216: ## LOOK TO INCLUDE SCHEDULE NOTE
217: #set ($scheduleNoteURL = "${page.url}-note")
218: #if ($website.exists($scheduleNoteURL))
219:   $website.include($scheduleNoteURL)
220: #end
221: 
222: #if ($page.title.length() > 0)
223:   #if ($schedule.team.length() > 0 && $request.getParameter("teamId"))
224:     <h1>$page.title : $schedule.team</h1>
225:   #else
226:     <h1>$page.title</h1>
227:   #end
228: #end
229: 
230: #if ($schedule.team.length() > 0 && $schedule.numericResults)
231: <div class="schedule-record clearfix">
232: <table>
233: <tr>
234:   <th>Overall</th>
235:   <th>Pct.</th>
236:   <th>Conf.</th>
237:   <th>Pct.</th>
238:   <th>Streak</th>
239:   <th>Home</th>
240:   <th>Away</th>
241:   <th>Neutral</th>
242: </tr>
243: <tr>
244:   <td>$schedule.Record</td>
245:   #set ($number = $schedule.Record.winPercentage)
246:   <td>$formatter.formatNumber($number, "#.000")</td>
247:   <td>$schedule.ConferenceRecord</td>
248:   #set ($confnumber = $schedule.conferenceRecord.winPercentage)
249:   <td>$formatter.formatNumber($confnumber, "#.000")</td>
250:   <td>$schedule.streak</td>
251:   <td>$schedule.homeRecord</td>
252:   <td>$schedule.awayRecord</td>
253:   <td>$schedule.neutralRecord</td>
254: </tr>
255: </table>
256: </div>
257: #end
258: 
259: ## SHOW SPLITS DATA FOR TEAM VIEW H2H SCHEDULES
260: #if ($showTeamStats && $schedule.teamId.length() > 0 && $schedule.numericResults)
261:   #set ($sectionPath = $page.sectionPage.url)
262:   #set ($teamStatsPath = "${sectionPath}/teams")
263:     
264:   #if ($website.exists($teamStatsPath))
265: 	$website.includeAgain("${teamStatsPath}?teamId=${schedule.teamId}&tmpl=team-highlight-stats-template")
266:   #end
267: #end
268: 
269: ## FILTER LINKS FOR CONFERENCE SCHEDULES (don't print on team view)
270: #if ($schedule.team.length() == 0 && $schedule.numericResults) ## ONLY H2H SCHEDULES
271: <div class="conf-links">
272: 	
273:   #if ($showRegularGames)
274:     <a href="${page.url}?confonly=1">Conference Schedule</a>
275:   #else 
276:     <a href="${page.url}">Composite Schedule</a>
277:   #end
278: 	
279:   ## LINK TO STANDINGS IF PRESENT
280:   #if($website.exists("standings")) | <a href="standings">Standings</a>#end
281: 
282: </div>
283: #end ## numeric
284: 
285: <div class="schedule-content clearfix">
286: <table>
287: 	
288: <tr>
289: #set ($colCount = 0)
290: #foreach ($label in $scheduleLabels)
291:   #if (!$tool.list.get($scheduleFields, $tool.math.sub($velocityCount, 1)).startsWith("_"))
292:     <th>$label</th>
293: 	#set ($colCount = $colCount + 1)
294:   #end
295: #end
296: </tr>
297: 	
298: #set ($lastdate = "")
299: #set ($lastMonth = "")
300: #set ($counter = 0)
301: #set ($showConfNotation = false)
302: #set ($showExhibitionNotation = false)
303: #set ($showHomeNotation = false)
304: #set ($showDivisionNotation = false)
305: 	
306: #foreach ($event in $schedule.events)
307: #if ($event.overall || $showExhibitionGames)
308: #if ($event.conference || $showRegularGames)
309:         				
310:   #set ($theDate = $formatter.formatDate($event.date, $dateFormat))
311:   #set ($theMonth = $formatter.formatDate($event.date, "MMMM"))
312:         	
313:   #if ($groupByMonths && !$lastMonth.equals($theMonth))
314:     <tr class="month-sep"><td colspan="${colCount}">&nbsp;</td></tr> ## show empty row
315:     <tr class="month-title"><td colspan="${colCount}">$theMonth</td></tr>
316: 					
317:     ## EVENTS ARE GROUPED WHEN HERE SO RESET COUNTER BACK TO 0
318:     #set ($counter = 0)
319:   #end
320: 				
321:   #if ($scheduleFields.contains("_date") && !$lastDate.equals($theDate))
322:     <tr class="date-sep"><td colspan="${colCount}">&nbsp;</td></tr> ## show empty row
323:     <tr class="date-title"><td colspan="${colCount}">$theDate</td></tr>
324: 					
325:     ## EVENTS ARE GROUPED WHEN HERE SO RESET COUNTER BACK TO 0
326:     #set ($counter = 0)
327:   #end
328: 				
329:   #set ($counter = $counter + 1)
330:   #if ($counter % 2 == 0)
331:     #set ($rowClass = "even")
332:   #else
333:     #set ($rowClass = "odd")
334:   #end
335: 				
336:   #if ($event.inProgress)
337:     #set ($rowClass = "${rowClass} in-progress")
338:   #end
339: 				
340:   <tr class="${rowClass}" #if ($event.inProgress) title="In Progress" #end>
341: 					
342:   #foreach ($field in $scheduleFields)
343:         				
344:   ## DATE
345:   #if ($field.equals("date"))
346:     <td class="e_date">#if (!$lastDate.equals($theDate)) $theDate #else &nbsp; #end</td>
347:   #end
348:         				
349:   ## OPPONENT
350:   #if ($field.equals("opponent") || $field.equals("opponent+neutralsite"))
351:     <td class="e_team e_opponent">					
352:       #if ($showVsAt)
353:         #if ($event.neutralSite.length() > 0) 
354:           <span class="e_va">vs. </span> 
355:         #else 
356:           #if (!$event.home)<span class="e_va">at </span>#end 
357:         #end
358:       #end
359: 									
360:       #set ($opponentName = "")
361:       #if ($event.opponent.name.length() > 0)
362:         #set ($opponentName = $event.opponent.name)
363:       #elseif ($event.teams.size() > 0)
364:         #set ($opponentName = $event.teams.get(0).name)
365:       #end
366: 								
367:       #set ($class = "e_teamname e_opponent_name")
368:       #if ($event.home && $event.neutralSite.length() == 0)
369:         #set ($class = "${class} e_home")
370:         #set ($showHomeNotation = true)
371:       #end
372:         						
373:       #if ($confmemberIDs.contains($event.opponent.teamId))
374: 		<a href="${page.url}?teamId=${event.opponent.teamId}" class="${class}" title="${opponentName}">$opponentName</a>
375:       #else
376: 		<span class="${class}" title="${opponentName}">$opponentName</span>
377: 	  #end
378: 	  
379: 	  #if ($event.conference)
380:         #displayNotation("conference")
381:         #set ($showConfNotation = true)
382:       #end
383: 							
384:       #if ($event.division)
385:         #displayNotation("division")
386:         #set ($showDivisionNotation = true)
387:       #end
388: 								
389:       #if (!$event.overall)
390:         #displayNotation("exhibition")
391:         #set ($showExhibitionNotation = true)
392:       #end
393:         						
394:       #if ($field.equals("opponent+neutralsite") && $event.neutralSite.length() > 0)
395:         <span class="e_neutralsite">@ $event.neutralSite</span>
396:       #end
397:     </td>
398:   #end
399:         				
400:   ## RESULT
401:   #if ($field.equals("result") || $field.equals("result+status"))
402:     <td class="e_result">
403: 							
404:     #set ($result = "")
405:     #if ($resultFormat.equals("AP1"))
406:       #set ($APResult = $event.APResult)
407:     #elseif ($resultFormat.equals("AP2"))
408:       #set ($APResult = $event.AP2Result)
409:     #end
410: 
411:     #if ($event.inProgress) 
412:       #set ($result = $event.result)
413:     #elseif ($APResult.length() > 0)
414:       #set ($result = $APResult)
415:     #else
416:       #set ($result = $event.result)
417:     #end
418: 								
419:     #if ($field.equals("result+status"))
420:       #set ($status = $formatter.formatStatus($event))
421:       #if ($status.length() > 0)
422:         #set ($result = "${result} (${status})")
423:       #end
424:     #end
425: 								
426:     $!result
427: 							
428:     </td>
429:   #end
430: 						
431:   ## TEAM AWAY
432:   #if ($field.equals("team_away") || $field.equals("team_away+team_away_result"))
433:     #set ($class = "e_team e_awayteam")
434:     #if ($field.equals("team_away+team_away_result"))
435:       #set ($class = "e_team_result e_awayteam")
436:     #end
437:     <td class="$class">
438: 	
439: 	#set ($class = "e_teamname")
440: 	## FOR FLEXIBLE RESULTS LOOK TO DISPLAY THE TEAMNAME AS BOLD IF MARKED AS A HOME EVENT
441: 	#if (!$schedule.numericResults)
442:       #if ($event.home && $event.neutralSite.length() == 0)
443:         #set ($class = "${class} e_home")
444:         #set ($showHomeNotation = true)
445: 	  #end
446:     #end
447: 						
448:     #set ($teamName = "")
449:     #set ($teamName = $event.teams.get(0).name)
450:     #if ($teamName.length() > 0)
451:       #if ($confmemberIDs.contains($event.teams.get(0).teamId))
452: 		<a href="${page.url}?teamId=${event.teams.get(0).teamId}" class="${class}" title="${teamName}">$teamName</a>
453:       #else
454:         <span class="${class}" title="${teamName}">$teamName</span>
455:       #end
456: 							
457:       #if ($field.equals("team_away+team_away_result"))
458:         #set ($teamResult = "")
459:         #set ($teamResult = $event.teams.get(0).result)
460:         #if ($teamResult.length() > 0) <span class="e_result">$teamResult</span> #end
461:       #end							
462:     #else
463:       &nbsp;
464: 	#end
465: 	
466: 	#if (!$schedule.numericResults)
467:       #if ($event.conference)
468:         #displayNotation("conference")
469:         #set ($showConfNotation = true)
470:       #end
471: 						
472:       #if ($event.division)
473:         #displayNotation("division")
474:         #set ($showDivisionNotation = true)
475:       #end
476: 								
477:       #if (!$event.overall)
478:         #displayNotation("exhibition")
479:         #set ($showExhibitionNotation = true)
480: 	  #end
481: 	#end
482: 	
483:     </td>
484:   #end
485: 						
486:   ## TEAM AWAY RESULT
487:   #if ($field.equals("team_away_result"))
488:     <td class="e_result e_awayresult">
489:     #set ($teamResult = "")
490:     #set ($teamResult = $event.teams.get(0).result)
491:     #if ($teamResult.length() > 0) $teamResult #else &nbsp; #end
492:     </td>
493:   #end
494: 						
495:   ## TEAM HOME
496:   #if ($field.equals("team_home") || $field.equals("team_home+team_home_result"))
497:     #set ($class = "e_team e_hometeam")
498:     #if ($field.equals("team_home+team_home_result"))
499:       #set ($class = "e_team_result e_hometeam")
500:     #end
501:     <td class="$class">
502:     						
503:     #set ($teamName = "")
504:     #if ($event.teams.size() > 1)
505:       #set ($teamName = $event.teams.get(1).name)
506: 	#end
507: 	
508: 	#set ($class = "e_teamname")
509: 	## FOR FLEXIBLE RESULTS LOOK TO DISPLAY THE TEAMNAME AS BOLD IF MARKED AS A HOME EVENT
510: 	#if (!$schedule.numericResults)
511:       #if ($event.home && $event.neutralSite.length() == 0)
512:         #set ($class = "${class} e_home")
513:         #set ($showHomeNotation = true)
514: 	  #end
515:     #end
516:     							
517:     #if ($teamName.length() > 0)
518:       #if ($confmemberIDs.contains($event.teams.get(1).teamId))
519:         <a href="${page.url}?teamId=${event.teams.get(1).teamId}" class="${class}" title="${teamName}">$teamName</a>
520:       #else
521:         <span class="${class}" title="${teamName}">$teamName</span>
522:       #end
523: 							
524:       #if ($field.equals("team_home+team_home_result"))
525:         #set ($teamResult = "")
526:         #set ($teamResult = $event.teams.get(1).result)
527:         #if ($teamResult.length() > 0) <span class="e_result">$teamResult</span> #end
528:       #end
529: 							
530:     #else
531:       &nbsp;
532:     #end
533:     </td>
534:   #end
535: 						
536:   ## TEAM HOME RESULT
537:   #if ($field.equals("team_home_result") && $event.teams.size() > 1)
538:     <td class="e_result e_homeresult">
539:     #set ($teamResult = "")
540:     #set ($teamResult = $event.teams.get(1).result)
541:     #if ($teamResult.length() > 0) $teamResult #else &nbsp; #end
542:     </td>					
543:   #end
544:         				
545:   ## BOTH TEAMS AND THEIR RESULT
546:   #if ($field.equals("teams+result"))
547:     <td class="e_teams_result">    					
548:     #foreach ($team in $event.teams)					
549:       #if ($velocityCount == 1)
550:         #if ($event.conference)
551:           #displayNotation("conference")
552:           #set ($showConfNotation = true)
553:         #end
554: 								
555:         #if ($event.division)
556:           #displayNotation("division")
557:           #set ($showDivisionNotation = true)
558:         #end
559: 								
560:         #if (!$event.overall)
561:           #displayNotation("exhibition")
562:           #set ($showExhibitionNotation = true)
563:         #end
564: 	  #end
565: 	  
566: 	  #if ($velocityCount > 1) &nbsp;&nbsp; #end
567: 								
568:       #if ($confmemberIDs.contains($team.teamId))
569:         <a href="${page.url}?teamId=${team.teamId}" class="e_teamname" title="${team.name}">$team.name</a>
570:       #else 
571:         <span class="e_teamname" title="${team.name}">$team.name</span>
572: 	  #end
573: 	  
574: 	  &nbsp;
575: 								
576:       #if ($team.result.length() > 0) $team.result #end
577:     #end						
578:     </td>
579:   #end
580:         				
581:   ## STATUS
582:   #if ($field.equals("status") || $field.equals("status+neutralsite"))
583:     <td class="e_status">
584: 						
585:     #set ($status = $formatter.formatStatus($event))
586:     #if ($field.equals("status+neutralsite") && $event.neutralSite.length() > 0)
587:       #set ($status = "${status} @ ${event.neutralSite}")
588:     #end
589: 						
590:     #if ($status.length() > 0) $status #else &nbsp; #end
591:         					
592:     </td>
593:   #end
594:         				
595:   ## LINKS (SAME ROW)
596:   #if ($field.equals("links"))
597:     <td class="e_links">					
598:       #renderEventLinks($event)			
599:       $wiki.event($event)			
600:     </td>
601:   #end
602: 						
603:   ## NOTES (SAME ROW)
604:   #if ($field.equals("notes") || $field.equals("notes+neutralsite"))
605:     <td class="e_notes">$!event.notes #if ($field.equals("notes+neutralsite") && $event.neutralSite.length() > 0) @ $event.neutralSite #end</td>
606:   #end
607: 						
608:   ## NEUTRALSITE
609:   #if ($field.equals("neutralsite"))
610:     <td class="e_neutralsite">						
611:     #if ($event.neutralSite.length() > 0)
612:       ## DISPLAY THE @ CHARACTER ONLY FOR HEAD-TO-HEAD SCHEDULES (non numeric schedules sometimes use neutralSite field for event name)
613:       #if ($schedule.numericResults) @ #end $event.neutralSite 
614:     #else 
615:       &nbsp;
616: 	#end
617:     </td>
618:   #end
619: 
620:   #end ## fields loop
621:   </tr>
622: 				
623:   #foreach ($field in $scheduleFields)
624: 					
625:   ## NOTES (NEW ROW)
626:   #if (($field.equals("_notes") && $event.notes.length() > 0) || ($field.equals("_notes+neutralsite") && ($event.notes.length() > 0 || $event.neutralSite.length() > 0)))
627:     <tr class="${rowClass}" #if ($event.inProgress) title="In Progress" #end>
628:       <td>&nbsp;</td>					
629:       <td colspan="${tool.math.sub($colCount, 1)}" class="e_notes">$!event.notes #if ($field.equals("_notes+neutralsite") && $event.neutralSite.length() > 0) @ $event.neutralSite #end</td>
630:     </tr>
631:   #end
632: 					
633:   ## LINKS (NEW ROW)
634:   #if ($field.equals("_links") && $event.links.size() > 0)
635:     <tr class="${rowClass}" #if ($event.inProgress) title="In Progress" #end>
636:       <td>&nbsp;</td>
637:       <td colspan="${tool.math.sub($colCount, 1)}" class="e_links">						
638:         #renderEventLinks($event)
639:         $wiki.event($event)				
640:       </td>
641:     </tr>
642:   #end
643: 					
644:   ## NEUTRAL SITE (NEW ROW)
645:   #if ($field.equals("_neutralsite") && $event.neutralSite.length() > 0)
646:     <tr class="${rowClass}" #if ($event.inProgress) title="In Progress" #end>
647:       <td>&nbsp;</td>
648:       <td colspan="${tool.math.sub($colCount, 1)}" class="e_neutralsite">#if ($schedule.numericResults) @ #end $event.neutralSite</td>
649:     </tr>
650:   #end
651: 					
652:   #end ## fields loop
653:         		
654:   #set ($lastDate = $theDate)
655:   #set ($lastMonth = $theMonth)
656: 		
657: #end ## SHOW CONF ONLY EVENTS?
658: #end ## SHOW EXHIBITION GAMES?
659: #end ## EVENTS LOOP
660: 	
661: </table>
662: </div>
663: 
664: ## LOOK TO INCLUDE SCHEDULE POST FILE
665: #set ($schedulePostURL = "${page.url}-post")
666: #if ($website.exists($schedulePostURL))
667:   $website.include($schedulePostURL)
668: #end
669: 
670: #if ($showExhibitionNotation || $showConfNotation || $showHomeNotation)
671: <div class="notations">
672:   #if ($showExhibitionNotation)
673:     <div class="exhibition_notation"><span><b>$exhibitionNotation</b> Exhibition</span></div>
674:   #end
675:   #if ($showConfNotation)
676:     <div class="conf_notation"><span><b>$confNotation</b> Conference</span></div>
677:   #end
678:   #if ($showDivisionNotation)
679:     <div class="div_notation"><span><b>$divisionNotation</b> Division</span></div>
680:   #end
681:   #if ($showHomeNotation)
682:     <div class="home_notation"><span><b>Bold:</b> Home event</span></div>
683:   #end
684: </div>
685: #end
686: 
687: <div class="subscribe_links">
688:   <a href="$icalURL"><img src="/info/images/icon_schedule.gif" alt="iCalendar" /> <b>iCalendar</b></a> ## iCalendar
689:   <a href="$rssURL"><img src="/info/images/icon_rss.gif" alt="rss feed" /> <b>RSS Feed</b></a> ## RSS
690: </div>
691: 
692: ## LOOK TO INCLUDE SCHEDULE FOOTER FILE
693: #set ($scheduleFooterURL = "${page.url}-footer")
694: #if ($website.exists($scheduleFooterURL))
695: 	$website.include($scheduleFooterURL)
696: #end
697: 
698: 
699: $sfs
700: $wiki
701: $rss
702: 
703: </div> ## schedule-list
704: 
705: #if ($request.getParameter("ajax").equals("true"))
706:   $!request.setAttribute("decorator", "")
707: #end
708: 
709: #end ## MOBILE CHECK