<?php require_once('includes/requirecompere.inc.php'); require_once('includes/requirepost.inc.php'); $deletequestion=TPOST('deletequestion'); $deletequestionnaire=TPOST('deletequestionnaire'); $question_select=TPOST('question_select'); $questionnaire_select=TPOST('questionnaire_select'); $mb_id=current_mb_id(); if ($deletequestion) { if ($question_select) redirect("qx-cmd-question.delete.confirm.html?".http_build_query(array('q_id'=>$question_select))); else redirect("qx-cmd-question.manage-focus-question-op-noquestion.selected.html"); } else if ($deletequestionnaire) { if ($questionnaire_select) redirect("qx-cmd-questionnaire.delete.confirm.html?".http_build_query(array('qn_id'=>$questionnaire_select))); else redirect("qx-cmd-question.manage-focus-questionnaire-op-noquestionnaire.selected.html"); } else { redirect("./"); return; } ?>