<?php require_once('includes/requirecompere.inc.php'); $CMD_TMPL_NAME='classroominfo'; $dataset['MODIFY']=array(0); $DBConn->connect(true); $clsr_id=0+TGET('clsr_id'); $classroom=db_load_classroom($DBConn,$clsr_id); if ($classroom['mb_id_owner']!=current_mb_id()) { redirect("./"); return; } if (TGET('op')=='revise' && $_SESSION['reserv.inputcache.domain']=='classroom') { $dataset+=$_SESSION['reserv.inputcache.data']; $dataset+=$_SESSION['reserv.inputcache.errorareas']; } else $dataset+=$classroom; ?>