<?php if (!function_exists('cleanTime')) { function cleanTime($str) { $newStr = explode(':00', $str); if (count($newStr)>1) $str = $newStr[0] . $newStr[1]; return $str; } } ?> <template:if $LEAD_IN> ##$LEAD_IN## </template:if> <ul class="events list"> <template:list> <template:item> <?php $hasItem = true; $start = time24To12($item['timeStart'], $doReturnString=true); $end = time24To12($item['timeEnd'], $doReturnString=true); $dateOut = dateOutput('M','d','Y',$item['dateStart'],$item['dateEnd'],$item['dateProvided']); ?> <li class="clearfix"> <template:if $dateOut != 'TBD'><span class="date"><abbr class="dtstamp" title="##dateFormat('c', $item['dateStart'])##">##$dateOut##</abbr></span></template:if> <a href="##$DETAIL_HREF##">##$HEADLINE##</a> <!-- <template:if $LOCATION><h3 class="loc">##$LOCATION##</h3></template:if> --> <template:if $dateOut != 'TBD'> <!-- <strong class="time"><template:if $start != $end> ##cleanTime($start)##-##cleanTime($end)## <template:else> ##cleanTime($start)## </template:if></strong> --> </template:if> </li> </template:item> </template:list> </ul> <template:if $LEAD_OUT> ##$LEAD_OUT## </template:if>
<?php if (!function_exists('cleanTime')) { function cleanTime($str) { $newStr = explode(':00', $str); if (count($newStr)>1) $str = $newStr[0] . $newStr[1]; return $str; } } ?> <template:if $LEAD_IN> ##$LEAD_IN## </template:if> <table> <thead> <tr> <td><strong>Event</strong></td> <td><strong>Date</strong></td> <td><strong>Location</strong></td> </tr> </thead> <tbody> <template:list> <template:item> <?php $hasItem = true; $start = time24To12($item['timeStart'], $doReturnString=true); $end = time24To12($item['timeEnd'], $doReturnString=true); $dateOut = dateOutput('M','d','Y',$item['dateStart'],$item['dateEnd'],$item['dateProvided']); ?> <tr class="vevent"> <td><strong><a href="##$DETAIL_HREF##" class="url summary">##$TITLE##</a></strong></td> <td> <template:if $dateOut != 'TBD'> <abbr class="dtstart" title="##date('c', $DATE_START)##">##date('m/d/Y', $DATE_START)##</abbr> <template:if $DATE_END>- <abbr class="dtend" title="##date('c', $DATE_END)##">##date('m/d/Y', $DATE_END)##</abbr> </template:if> <span class="time"> <template:if $start != $end> ##cleanTime($start)##-##cleanTime($end)## <template:else> ##cleanTime($start)## </template:if> </span> <template:else>TBD</template:if> </td> <td class="location">##$LOCATION##</td> </tr> </template:item> </template:list> <template:if !$hasItem> <tr> <td colspan="3">There are no items in this list.</td> </tr> </template:if> </tbody> </table> <template:if $LEAD_OUT> ##$LEAD_OUT## </template:if>
Comments:
Advanced sorting options:
Upcoming Events ListStep 3: Set Display Options->Start Date:
Floating, 0.000
Advanced Properties->Order By:
content_event.dateStart asc, name asc
2007 Archive Events List
Step 3: Set Display Options->Start Date:
12/31/06
Step 3: Set Display Options->End Date:
12/31/07
Archive Events List
Step 3: Set Display Options->End Date:
Floating, 0.000