Skip to content

Event Details

Event Details

<?php
if (!function_exists('cleanTime')) {
 function cleanTime($str) { 
    $newStr = explode(':00', $str);
    if (count($newStr)>1) $str = $newStr[0] . $newStr[1];
    return $str;
 }
}

$start = time24To12($data['timeStart'], $doReturnString=true); 
$end = time24To12($data['timeEnd'], $doReturnString=true); 
$dateOut = dateOutput('F','d','Y',$data['dateStart'],$data['dateEnd'],$data['dateProvided']); 
?>
<h3>##$HEADLINE##</h3>
<template:if $LOCATION><p class="loc">##$LOCATION##</p></template:if>
<template:if $dateOut != 'TBD'><p class="date"><abbr class="dtstamp" title="##dateFormat('c', $data['dateStart'])##">##$dateOut##</abbr></p></template:if>

<template:if $dateOut != 'TBD'>
<p class="time">
    <template:if $start != $end>
        ##cleanTime($start)##-##cleanTime($end)##
    <template:else>
        <template:if cleanTime($start) != '1am'>##cleanTime($start)##</template:if>
    </template:if>
</p>
</template:if>

##$BODY##
Also see: Events List
Author
D. Butler
Date Written:
Apr 29, 2008
Version:
1
Time:
1 hours
Department(s):
Production

Sites using this template:

Comments: