details') details FROM ppl2agenda JOIN ppl2agenda AS anderen USING (agenda_id) JOIN ppl ON ppl.ppl_id = anderen.ppl_id JOIN agenda USING (agenda_id) JOIN notities USING (notitie_id) LEFT JOIN tags2notities AS moretags USING (notitie_id) LEFT JOIN tags ON tags.tag_id = moretags.tag_id JOIN notities AS orig ON orig.notitie_id = notities.parent_id WHERE ppl2agenda.ppl_id = {$_SESSION['ppl_id']} AND anderen.ppl_id != {$_SESSION['ppl_id']} AND notities.text IS NULL GROUP BY notities.notitie_id ORDER BY IF(week < {$lesweken[0]}, 1, 0), week, dag, lesuur EOQ ); $table = sprint_table($result); mysql_free_result($result); break; default: throw new Exception('onmogelijke doelgroep', 2); } gen_html_header('Issues'); status(); ?>