include_once ( $_SERVER['DOCUMENT_ROOT'] . '/incl/pageInitializer.php'); //get the session singleton reference require_once ISESS .'/FolioSession.php'; $currSession=FolioSession::getInstance(); ?>
|
$orderStep="site_features";
$debug = true; // for debugging
//$debug = false; // for production
//------------------------------------------------------------------
if (empty($siteID)) $siteID = $_POST['siteID'];
if (empty($tranID)) $tranID = $_POST['tranID'];
if (empty($custID)) $custID = $_POST['custID'];
if (empty($domainName)) $domainName = $_POST['domainName'];
if (empty($siteStyle)) $siteStyle = $_POST['siteStyle'];
if (empty($orderStep)) $orderStep = $_POST['orderStep'];
if ($debug) {
echo " --values from POST--"; echo " orderStep=".$orderStep." \n"; echo "customer ID coming in=".$custID." \n"; echo "site ID coming in=".$siteID." \n"; echo "domainName=".$domainName." \n"; echo "site style coming in=".$siteStyle." \n"; echo "tran ID coming in=".$tranID." \n"; } if (empty($siteID)) $siteID = $_GET['siteID']; if (empty($tranID)) $tranID = $_GET['tranID']; if (empty($custID)) $custID = $_GET['custID']; if (empty($domainName)) $domainName = $_GET['domainName']; if (empty($siteStyle)) $siteStyle = $_GET['siteStyle']; if (empty($orderStep)) $orderStep = $_GET['orderStep']; if ($debug) { echo " --values after both GET and POST--"; echo " orderStep=".$orderStep." \n"; echo "customer ID coming in=".$custID." \n"; echo "site ID coming in=".$siteID." \n"; echo "domainName=".$domainName." \n"; echo "site style coming in=".$siteStyle." \n"; echo "tran ID coming in=".$tranID." \n"; } // if they're still not set, get them from the session if (empty($siteID)) $siteID = $currSession->siteID; if (empty($tranID)) $tranID = $currSession->tranID; if (empty($custID)) $custID = $currSession->custID; if (empty($domainName)) $domainName = $currSession->domainName; if (empty($siteStyle)) $siteStyle = $currSession->siteStyle; if (empty($orderStep)) $orderStep = $currSession->orderStep; if ($debug) { echo " --values from the session variable--"; echo " orderStep=".$orderStep." \n"; echo "customer ID coming in=".$custID." \n"; echo "site ID coming in=".$siteID." \n"; echo "domainName=".$domainName." \n"; echo "site style coming in=".$siteStyle." \n"; echo "tran ID coming in=".$tranID." \n"; } $buildStyleDropDown = false; $buildNavDropDown = true; include("getSiteInfo.php");# ?> // set default images and classes for the left nav $instructionsImage=" ![]() "; $instructionsClass="leftnav_inactive"; $instructionsBorderStyle=""; $domainImage=" ![]() "; $domainClass="leftnav_inactive"; $domainBorderStyle=""; $styleImage=" ![]() "; $styleClass="leftnav_inactive"; $styleBorderStyle=""; $featuresImage=" ![]() "; $featuresClass="leftnav_inactive"; $featuresBorderStyle=""; $checkoutImage=" ![]() "; $checkoutClass="leftnav_inactive"; $checkoutBorderStyle=""; // set new images to white images if the related step is the "active" step switch ($orderStep) { case "instructions": $instructionsImage=" ";
$instructionsClass="leftnav_active";
$instructionsBorderStyle = "border: 1px outset";
break;
case "domain_name":
$domainImage=" ";
$domainClass="leftnav_active";
$domainBorderStyle = "border: 1px outset";
break;
case "site_style":
$styleImage=" ";
$styleClass="leftnav_active";
$styleBorderStyle = "border: 1px outset";
break;
case "site_features":
$featuresImage=" ";
$featuresClass="leftnav_active";
$featuresBorderStyle = "border: 1px outset";
break;
case "checkout":
$checkoutImage=" ";
$checkoutClass="leftnav_active";
$checkoutBorderStyle = "border: 1px outset";
break;
default:
}
?>
|
if (!empty($siteID)) {
?>
Step 3: Select Features for your site} else { ?>SorryBefore you choose the design or features of your website, you first must choose the domain you want.Please Read the Instructions or begin the process again. Choose Your Domain. } ?> |
|||||||||||||||||||||
|
||||||||||||||||||||||