")) { $highlighted = '' . nl2br(htmlentities($code, ENT_HTML5), false) . ""; } // Fix output to use CSS classes and wrap well $highlighted = '
", date("F j, Y", $sday), "\n"; } // Print link in case we have one if ($event['url']) { echo ''; } // Print event description echo "", stripslashes(htmlentities($event['sdesc'], ENT_QUOTES | ENT_IGNORE, 'UTF-8')), ""; // End link if ($event['url']) { echo ""; } // Print extra date info for recurring and multiday events switch ($event['type']) { case 2: case 'multi': $dtend = date("Y-m-d", strtotime("+1 day", $eday)); echo " (", date("Y-m-d",$sday), " to ", date("Y-m-d",$eday), ")"; break; case 3: case 'recur': $days = $re[$event['recur']] . " " . $days[$event['recur_day']]; if (!$cm || $cy) { $cm = date("m"); $cy = date("Y"); } $month = date("M", mktime(0, 0, 0, $cm, 1, $cy)); $dtstart = date("Y-m-d", strtotime($days . ' 0st' . $month . ' ' . $cy)); echo ' (Every ', $days, " of the month)"; break; } // Event category if (isset($event['category']) && $event['category']) { $cat = ["unknown", "User Group Event", "Conference", "Training"]; echo ' [' . $cat[$event['category']] . '] '; } // Print out country information echo ' (' , $COUNTRIES[$event['country']] , ')'; ?> |
", trim(htmlentities($event['ldesc'],ENT_QUOTES | ENT_IGNORE, 'UTF-8'))); // If we have an URL, print it out if ($event['url']) { echo ' URL: ', '', htmlentities($event['url'], ENT_QUOTES | ENT_IGNORE, 'UTF-8'), ''; } ?> |