���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/clients.dominiquerickard.com/app/Views/events/event_time.php
���ѧ٧ѧ�
<?php $today = get_today_date(); $tomorrow = get_tomorrow_date(); if ($model_info->start_date == $model_info->end_date) { if ($model_info->start_date === $today) { echo app_lang("today"); } else if ($model_info->start_date === $tomorrow) { echo app_lang("tomorrow"); } else { $day_name = app_lang("short_" . strtolower(date("l", strtotime($model_info->start_date)))); //get short day name from language $month_name = app_lang(strtolower(date("F", strtotime($model_info->start_date)))); //get month name from language echo $day_name . ", " . $month_name . " " . date("d", strtotime($model_info->start_date)); } if (is_date_exists($model_info->start_time)) { echo ", " . format_to_time($model_info->start_date . " " . $model_info->start_time, false); echo " – " . format_to_time($model_info->end_date . " " . $model_info->end_time, false); } } else { $day_name = app_lang("short_" . strtolower(date("l", strtotime($model_info->start_date)))); //get short day name from language $month_name = app_lang(strtolower(date("F", strtotime($model_info->start_date)))); //get month name from language echo $day_name . ", " . $month_name . " " . date("d", strtotime($model_info->start_date)); if (is_date_exists($model_info->start_time)) { echo ", " . format_to_time($model_info->start_date . " " . $model_info->start_time, false); } $end_day_name = app_lang("short_" . strtolower(date("l", strtotime($model_info->end_date)))); //get short day name from language $end_month_name = app_lang(strtolower(date("F", strtotime($model_info->end_date)))); //get month name from language echo " – " . $end_day_name . ", " . $end_month_name . " " . date("d", strtotime($model_info->end_date)); if (is_date_exists($model_info->end_time)) { echo ", " . format_to_time($model_info->end_date . " " . $model_info->end_time, false); } } ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.1 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�