|
name); ?> |
repeat == 'N') echo date("F jS Y", strtotime($Event->start_date)) ; else echo date("M. jS", strtotime($Event->start_date))." To ".date("M. jS Y", strtotime($Event->end_date)); ?> |
start_time))." To ".date("g:ia", strtotime($Event->end_time)); ?> |
repeat == 'N' && !$Event->allday) {
echo _e("None", "appointzilla");
}
if($Event->repeat == 'PD') {
echo _e("Particular Date(s)", "appointzilla");
}
if($Event->repeat == 'D') {
echo _e("Daily", "appointzilla");
}
if($Event->repeat == 'W') {
echo _e("Weekly", "appointzilla");
}
if($Event->repeat == 'BW') {
echo _e("Bi-Weekly", "appointzilla");
}
if($Event->repeat == 'M') {
$diff = ( strtotime($Event->end_date) - strtotime($Event->start_date) ) /60/60/24/31;
echo _e("Monthly", "appointzilla");
}
if($Event->allday) {
echo " ";
echo _e("All Day", "appointzilla");
}
?>
|
repeat != 'N') {
if(strtotime("$Event->end_date") < strtotime(date('Y-m-d'))) {
echo _e("Gone", "appointzilla");
}
if( strtotime("$Event->start_date") <= strtotime(date('Y-m-d')) && strtotime("$Event->end_date") >= strtotime(date('Y-m-d'))) {
echo _e("Running", "appointzilla");
}
if(strtotime("$Event->start_date") > strtotime(date('Y-m-d')))
{
echo _e("Up Coming", "appointzilla");
}
} else if($Event->repeat == 'N') {
if(strtotime("$Event->end_date") < strtotime(date('Y-m-d'))) {
echo _e("Gone", "appointzilla");
}
if( strtotime("$Event->start_date") <= strtotime(date('Y-m-d')) && strtotime("$Event->end_date") >= strtotime(date('Y-m-d'))) {
echo _e("Running", "appointzilla");
}
if(strtotime("$Event->start_date") > strtotime(date('Y-m-d'))) {
echo _e("Up Coming", "appointzilla");
}
}
?>
|
|
|