} if($do_upload) { $message = '<p>' . $upload->upload_success() . '</p>'; print("$message"); } else { $message = $upload->show_errors(); print("$message"); } } } **/ } else { if (isset($_GET['ui'])) { if (isset($_GET['tpid'])) { $tp->setValue('planid', $_GET['tpid']); } $tp->showTrainingPlanUI(); } if (isset($_GET['view'])) { $tp->ShowGeneralInformation(); } if (isset($_GET['qlist'])) { $tp->setValue('planid', $_GET['tpid']); $tp->showAddedQuestions(); } }