{$seminar['title']} ({$seminar['startdate']})\n"; } # EVENTS variables for the editing/deleting/adding forms $events_options = ''; $events = xml_parse_file($_CONFIG['events_file']); $events = xml_force_array($events['events']['event']); # create the select options html for the events # used twice, for the edit drop-down and the delete drop-down foreach($events as $event) { $events_options .= "\n"; } $all_seminars = array(); # adds allcourse names with their internal link # to a list to display for the administrator to pick from # when selecting acourse to schedule on the schedule sort($_SEMINAR_FILES); foreach($_SEMINAR_FILES as $seminar) { $data = xml_parse_file($_DOC_ROOT.'/data/pages/'.$seminar); $name = $data['page'][$_LANG]['name']; if(empty($name)) { if($_LANG == 'en') { $name = $data['page']['de']['name']; } else if($_LANG == 'de') { $name = $data['page']['en']['name']; } } array_push($all_seminars, array('file'=>$seminar, 'name'=>$name)); } # gets all the days options for day of month $monthday_options = ''; for($c = 1; $c < 32; $c++) { $monthday_options .= "\n"; } # gets all the month options $month_options = ''; for($c = 1; $c < 13; $c++) { $value_mon = str_pad($c , 2, '0', STR_PAD_LEFT); $month_options .= "\n"; } # gets all the year options $year_options = ''; $cur_year = date("Y"); $cur_shortyear = date("y"); for($c = 0; $c < 10; $c++) { $option_year = $cur_year + $c; $value_year = str_pad($cur_shortyear + $c , 2, '0', STR_PAD_LEFT); $year_options .= "\n"; } if($_SESSION['_usertype'] == 'admin') { ?>
:
' />

:
' />

:
Course:
Start date:
Select multiple days by holding down the 'CTRL' key while clicking.
If thecourse lasts several non-consecutive days or thecourse is just one day long, make the end date exactly the same as the start date.
End date:
Select multiple days by holding down the 'CTRL' key while clicking.
Level:
Date:
Duration:
(the words 'day' and 'days' will automatically be translated)
Venue:
(recognized venues will automatically be linked)
Participants:
(the word 'people' will be stripped out)
Registration Deadline:
Price:
' />

:
' />

:
' />

:
Event Name:
Event :
Event : : :
Event :
Event Photo:
  ' />
There is nothing for you to do here. Muahahah!