include_once("include.html"); checksession($id); if($Nid) { $event = parsecalendarresult(calendarfunctioncall("geteventlist", $groupsessid, "EVN_ID='".$Nid."' AND EVNCLASS='N'", "EVNTITLE,EVNSTARTDATE,EVNSTARTTIME,EVNFOLDER,EVNSHARETYPE,EVNTYPE")); $event=$event[0]; $datainnote2=htmlspecialchars(calendarfunctioncall("GetEventNoteText",$groupsessid, $Nid)); $folder=$event['EVNFOLDER']; calendardatestrtodate($event[EVNSTARTDATE], $year, $month, $day); calendartimestrtotime($event[EVNSTARTTIME], $hour, $minute); $nshare=$event['EVNSHARETYPE']; } else $nshare=$calsettings['notesharing']; $createdata.='
'; ?>