Welcome back, " . $username . "";ELSE : $logintype = $_POST["logintype"]; $iname = $_POST["iname"]; $ipass = $_POST["ipass"]; print $iname;// INCLUDE("/home/primo4/primo_staff_authenticate.php"); $greeting = "Welcome back, " . $username . "";ENDIF;// END USER AUTHENTICATION// DECLARATIONS$askedfor = $_SERVER["REQUEST_URI"];/* added by joe */if($_GET['askedfor']!="") $askedfor = $_GET['askedfor'];IF (isset($_GET["panel"]) && strlen($_GET["panel"])) : $itemtype = $_GET["panel"]; // $panel = "cms_" . $itemtype . ".php"; $itemid = $_GET["record"];ELSEIF (isset($_POST["panel"]) && strlen($_POST["panel"])) : $itemtype = $_POST["panel"]; // $panel = "cms_" . $itemtype . ".php"; $itemid = $_POST["record"];ELSE : $panel = "menu.php";ENDIF;// END DECLARATIONSINCLUDE("functions.php");$dirarray = explode ("/", $askedfor);// $handle_1 = stripslashes($dirarray[1]);$objecttype = stripslashes($dirarray[2]);$objecthandle = stripslashes($dirarray[3]);IF ($blurb) : $panel = "cms_blurb.php";ENDIF;IF ($language) : $panel = "cms_language.php";ENDIF;IF ($page) : $panel = "cms_page.php";ENDIF;IF ($participant) : $panel = "cms_participant.php";ENDIF;IF ($participant_response) : $panel = "cms_participant_response.php";ENDIF;IF ($poll) : $panel = "cms_poll.php";ENDIF;IF ($poll_answer) : $panel = "cms_poll_answer.php";ENDIF;IF ($poll_question) : $panel = "cms_poll_question.php";ENDIF;IF ($poll_section) : $panel = "cms_poll_section.php";ENDIF;IF ($image) : $panel = "cms_image.php";ENDIF;IF ($invite) : $panel = "cms_invite.php";ENDIF;IF ($reqfields_question_id) : $panel = "cms_reqfields.php";ENDIF;SWITCH($action) : CASE "add" : $panel = "cms_added.php"; BREAK; CASE "save" : $panel = "cms_saved.php"; BREAK; DEFAULT : // continueENDSWITCH;?>
| ||||||