<?php require_once('includes/requirecompere.inc.php'); $cs_id=TGET('cs_id'); $op=TGET('op'); $DBConn->connect(true); $dataset+=db_load_course_by_id($DBConn,$cs_id); $dataset+=prepare_wizard_dataset(); $dataset['ADDNEW']=$op=='addnew'?array(0):array(); $dataset['MODIFY']=$op=='modify'?array(0):array(); ?>