X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=surfbar.php;h=ccec32bb02fc723e781783281d2aee9a2f1f57b9;hp=14e27b6559daa1e6e9d3e003eb7c16d047e753f8;hb=744a2d99cf8759ecd219214bc98f0d32ae038ec1;hpb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b diff --git a/surfbar.php b/surfbar.php index 14e27b6559..ccec32bb02 100644 --- a/surfbar.php +++ b/surfbar.php @@ -1,7 +1,7 @@ SURFBAR_DETERMINE_TOTAL_ONLINE(), @@ -150,7 +150,6 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestElementSet('frame')) && (in_a } else { // Prepare content $content = array( - 'restart' => getConfig('surfbar_restart_time'), 'start' => str_repeat('X', strlen(getConfig('surfbar_restart_time'))), 'autostart' => (getConfig('surfbar_autostart') == 'Y') ? 'true' : 'false' ); @@ -158,14 +157,14 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestElementSet('frame')) && (in_a // Load template for stopped surfbar loadTemplate('surfbar_stopped', false, $content); } -} elseif ((isGetRequestElementSet('check')) && (isGetRequestElementSet('id')) && (isGetRequestElementSet('salt'))) { +} elseif ((isGetRequestParameterSet('check')) && (isGetRequestParameterSet('id')) && (isGetRequestParameterSet('salt'))) { // Dummy next id get - SURFBAR_DETERMINE_NEXT_ID(getRequestElement('id')); + SURFBAR_DETERMINE_NEXT_ID(getRequestParameter('id')); // Check reload lock and validation code - if ((!SURFBAR_CHECK_RELOAD_LOCK(getRequestElement('id'))) && (SURFBAR_CHECK_VALIDATION_CODE(getRequestElement('id'), getRequestElement('check'), getRequestElement('salt')))) { + if ((!SURFBAR_CHECK_RELOAD_LOCK(getRequestParameter('id'))) && (SURFBAR_CHECK_VALIDATION_CODE(getRequestParameter('id'), getRequestParameter('check'), getRequestParameter('salt')))) { // Lock the URL (id) down - SURFBAR_LOCKDOWN_ID(getRequestElement('id')); + SURFBAR_LOCKDOWN_ID(getRequestParameter('id')); // Code is valid so pay points here SURFBAR_PAY_POINTS(); @@ -193,7 +192,7 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestElementSet('frame')) && (in_a $isFrameset = true; // Frame "top" set? - if ((isGetRequestElementSet('frame')) && (getRequestElement('frame') == 'top')) { + if ((isGetRequestParameterSet('frame')) && (getRequestParameter('frame') == 'top')) { // Determine next id $nextId = SURFBAR_DETERMINE_NEXT_ID(); @@ -216,11 +215,11 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestElementSet('frame')) && (in_a SURFBAR_UPDATE_SALT_STATS(); } else { // Load new URL - SURFBAR_RELOAD_TO_STOP_PAGE('stop2'); + SURFBAR_RELOAD_TO_STOP_PAGE('stop'); } - } elseif ((isGetRequestElementSet('frame')) && (getRequestElement('frame') == 'start')) { + } elseif ((isGetRequestParameterSet('frame')) && (getRequestParameter('frame') == 'start')) { // Starter frame found so let the footer display - unsetGetRequestElement('frame'); + unsetGetRequestParameter('frame'); } // Load header