![]() Server : Apache System : Linux pod-100823:apache2_74:v0.5.9 5.4.0-1138-gcp #147~18.04.1-Ubuntu SMP Mon Oct 7 21:46:26 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33.9 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system Directory : /nas/content/live/attorneyexperi/wp-content/themes/directory2/portal/parts/ |
{* required part parameters: $eventId *} {if !empty($meta->dates)} {var $firstDate = $meta->dates} {var $firstDate = $firstDate[0]} {var $nextDates = AitEventsPro::getEventClosestDate($eventId)} {var $dateFormat = get_option('date_format');} {var $timeFormat = get_option('time_format');} {if !empty($nextDates)} {var $dateFrom_timestamp = strtotime($nextDates['dateFrom'])} {var $dateFrom_formatted = date_i18n($dateFormat, $dateFrom_timestamp)} {var $timeFrom_formatted = date_i18n($timeFormat, $dateFrom_timestamp)} {if $nextDates['dateTo']} {var $dateTo_timestamp = strtotime($nextDates['dateTo'])} {var $dateTo_formatted = date_i18n($dateFormat, $dateTo_timestamp)} {var $timeTo_formatted = date_i18n($timeFormat, $dateTo_timestamp)} {/if} {else} {var $dateFrom_timestamp = strtotime($firstDate['dateFrom'])} {var $dateFrom_formatted = date_i18n($dateFormat, $dateFrom_timestamp)} {var $timeFrom_formatted = date_i18n($timeFormat, $dateFrom_timestamp)} {if $firstDate['dateTo']} {var $dateTo_timestamp = strtotime($firstDate['dateTo'])} {var $dateTo_formatted = date_i18n($dateFormat, $dateTo_timestamp)} {var $timeTo_formatted = date_i18n($timeFormat, $dateTo_timestamp)} {/if} {/if} {if isset($place) and $place == 'header'} {var $day = date_i18n('d', $dateFrom_timestamp)} {var $month = date_i18n('M', $dateFrom_timestamp)} {var $year = date_i18n('Y', $dateFrom_timestamp)} <div class="entry-date updated"> <div class="date"> {if $firstDate['dateFrom']} <span class="link-day">{$day}</span> <span class="link-month">{$month}</span> <span class="link-month">{$year}</span> {/if} </div> </div> {else} <div class="date-container data-container"> <div class="content"> <div class="date data"> <div class="date-text data-content"> {if isset($dateFrom_formatted)} <div class="event-table-row"> <div class="event-cell"> {if isset($dateTo_formatted)}<strong>{__ 'Start:'}</strong>{/if} <span class="date">{$dateFrom_formatted}</span> </div> <div class="event-cell odd"><strong>{$timeFrom_formatted}</strong></div> </div> {/if} {if isset($dateTo_formatted)} <div class="event-table-row"> <div class="event-cell"> <strong>{__ 'End:'}</strong> <span class="date">{$dateTo_formatted} </span> </div> <div class="event-cell odd"><strong>{$timeTo_formatted}</strong></div> </div> {/if} </div> <div class="date-export data-content"> {includePart "parts/ics-export-button"} </div> </div> </div> </div> {/if} {/if}