![]() 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/ |
{block content} {? global $wp_query} {var $query = $wp_query} {if $query->have_posts()} {var $dateFormat = 'j M Y'} <div class="elm-item-organizer-container column-1 layout-list carousel-disabled" data-last="2" data-first="1" data-cols="1"> {customLoop from $query as $item} {var $meta = $item->meta('offer-data')} {if time() <= strtotime($meta->validTo)} <div n:class='item, "item{$iterator->counter}", $item->hasImage ? image-present' data-id="{$iterator->counter}"> <a href="{$item->permalink}"> {if $item->hasImage} <div class="item-thumbnail"> <img src="{imageUrl $item->imageUrl, width => 100, height => 100, crop => 1}" alt="{!$item->title}"> </div> {/if} <div class="item-title"> <h3>{!$item->title}</h3> {if $meta->validTo != ''} <div class="item-duration"> <span class="item-dur-title"><strong>{__ 'Validity:'}</strong></span> <time class="item-from" datetime="{$meta->validFrom|dateI18n:'c'}">{$meta->validFrom|dateI18n: $dateFormat}</time> <span class="item-sep">-</span> <time class="item-to" datetime="{$meta->validTo|dateI18n:'c'}">{$meta->validTo|dateI18n: $dateFormat}</time> </div> {/if} </div> </a> <div class="item-text"> <div class="item-excerpt">{!$item->excerpt(50)}</div> </div> <div class="item-info"> <div class="job-contact"> <span class="job-contact-title"><strong>{__ 'Contact:'}</strong></span> {if $meta->contactName}<span class="job-contact-name">{$meta->contactName}</span>{/if}<!-- -->{if $meta->contactMail}<span class="job-contact-mail"><a href="mailto:{$meta->contactMail}">{$meta->contactMail}</a></span>{/if}<!-- -->{if $meta->contactPhone}<span class="job-contact-phone">{$meta->contactPhone}</span>{/if} </div> </div> </div> {/if} {/customLoop} </div> {else} {includePart parts/none, message => no-posts} {/if}