From 2af4ffce19df7cdb34d4b509a66bc916ffcb88d1 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 3 Feb 2020 09:47:21 +0100 Subject: Initial commit --- list.php | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 list.php (limited to 'list.php') diff --git a/list.php b/list.php new file mode 100644 index 0000000..b942fa6 --- /dev/null +++ b/list.php @@ -0,0 +1,91 @@ + + + + Events + + + +

HebrewTools Events List

+Select all / no filters. +
+'; + echo ''; + echo ' '.$keyword.' ('.$record['count'].')
'; +} + +$ical_url='https://'.$_SERVER['HTTP_HOST'].'/ical.php'; +if (isset ($_GET['keywords']) && count ($_GET['keywords']) != count ($keywords)) + $ical_url.='?keywords='.$_GET['keywords']; +?> +
+
+
+ + +
+

Export this calendar in iCal format.

+ + + + + + + +'; + echo ''; + echo ''; + echo ''; + foreach ($event['keywords'] as $i => $kw){ + if (!is_null ($selected_keywords) && !in_array ($kw,$selected_keywords)) + $event['keywords'][$i]=''.htmlspecialchars ($kw).''; + else + $event['keywords'][$i]=htmlspecialchars ($kw); + } + echo ''; + echo ''; +} +?> +
Date(s)LocationTitleKeywords
'.date ('D j M Y',strtotime ($event['start_date'])); + if ($event['end_date']!=$event['start_date']) + echo ' to '.date ('j M',strtotime ($event['end_date'])); + echo ''.htmlspecialchars ($event['location']).''.htmlspecialchars ($event['title']).''.implode (', ',$event['keywords']).'
+ + + -- cgit v1.2.3