[-*Smarty*-] [-* we want to include out stylesheet for this view*-] [-include file="$TPL_NAME/views/header.html"-] [-fetch file="$TPL_STYLE_PATH/search.css" assign="css"-] [-eval var=$css-] [-*Load the Language Definitions*-] [-config_load file="lang.$USER_LANG"-] [-*Main Navigation*-] [-if $SEARCH_PERFORMED-]
[-foreach name=apps key=date item=appday from=$appointments-] [-if count($appointments[$date]) gt 0 -]
[-if $USE_INT_DATES eq true-] [-pc_date_format date=$date format="%A, %d %B %Y"-] [-else-] [-pc_date_format date=$date format="%A, %B %d %Y"-] [-/if-]
[-foreach name=eventlist item=event from=$appday-]
[-if $24HOUR_TIME-] [-assign var="timestamp" value=$event.startTime|date_format:"%H:%M"-] [-else-] [-assign var="timestamp" value=$event.startTime|date_format:"%I:%M %p"-] [-/if-] [-if $event.alldayevent != true-] [-$timestamp-] [-/if-] [-$event.title|strip_tags-] [-if $event.alldayevent != true-] ([-$event.duration_hours-]:[-$event.duration_minutes-]) [-/if-] [-include file="$TPL_NAME/user/patient_line.html" event=$event show_patient=true show_icons=true show_provider=true-]
[-/foreach-]

[-/if-] [-/foreach-]
[-if count($appointments) == 0-] [-#_PC_SEARCH_NO_RESULTS#-] [-/if-] [-/if-] [-include file="$TPL_NAME/views/footer.html"-]