<?php /* This script and site designed and built by Mark O'Russa, Mark Pro Audio Inc. Copyright 2008-2013. */ $fileInfo = array('fileName' => 'includes/myAccountMethods.php'); $debug->newFile($fileInfo['fileName']); $success = false; if (MODE == 'addCredits') { addCredits(); } elseif (MODE == 'buildBilling') { buildBilling(); } elseif (MODE == 'buildBillingHistory') { buildBillingHistory(); } elseif (MODE == 'buildBillingOffers') { buildBillingOffers(); } elseif (MODE == 'changePlan') { changePlan(); } elseif (MODE == 'parseReturnUrl') { parseReturnUrl(); } elseif (MODE == 'purchasePlanAmazon') { purchasePlanAmazon(); } elseif (MODE == 'saveMyInformation') { saveMyInformation(); } elseif (MODE == 'saveSettings') { saveSettings(); } else { $debug->add('No matching mode in ' . $fileInfo['fileName'] . '.'); } function addCredits() {
<?php require_once '../../includes/auth.php'; $fileInfo = array('title' => 'My Account', 'fileName' => 'myAccount/index.php'); $debug->newFile($fileInfo['fileName']); $buildPage = new Adrlist_BuildPage(); $buildPage->addIncludes(array('Classes/Amazon/.config.inc.php', 'myAccountMethods.php')); $buildPage->addCss('plans.css'); $buildPage->addJs(array('myAccount.js')); echo $buildPage->output(), ' <div class="myAccountSection" id="buildBillingHolder"> ', buildBilling(), ' </div> <div class="myAccountSection"> ', buildMyInformation(), ' </div> <div class="myAccountSection"> ', buildSettings(), ' </div> ', $buildPage->buildFooter();