get_results( "select palettes from ".$wpdb->prefix."dc_mv_configuration where id=1" , ARRAY_A); $row = $handle[0]; $palettes = unserialize($row["palettes"]); if (count($palettes) > $_GET["palette"]) $palette = $palettes[$_GET["palette"]]; else $palette = $palettes[0]; function rquote_field($str) { return $str; } function getCalendarByRange($id){ global $wpdb; try{ $sql = "select * from `".$wpdb->prefix."dc_mv_events` where `id` = " . $id; $handle = $wpdb->get_results($sql, ARRAY_A); $row = $handle[0]; }catch(Exception $e){ } return $row; } function fomartTimeAMPM($h,$m) { if ($_GET["mt"]!="false") $tmp = (($h < 10) ? "0" : "") . $h . ":" . (($m < 10)?"0":"") . $m ; else { $tmp = (($h%12) < 10) && $h!=12 ? "0" . ($h%12) : ($h==12?"12":($h%12)) ; $tmp .= ":" . (($m < 10)?"0":"") . $m . (($h>=12)?"pm":"am"); } return $tmp ; } if($_GET["id"]){ $event = getCalendarByRange($_GET["id"]); } $path = plugins_url('/', __FILE__)."../DC_MultiViewCal/"; ?>
Would you like to change only this event, all events in the series, or this and all following events in the series?
Would you like to delete only this event, all events in the series, or this and all future events in the series?