X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=surfbar.php;h=35b10ffa3e83508cc1926c70c1d7c94c44c6b8fa;hp=e0163e4ea5c1478d3c4a69d0025f8fe2c729c90f;hb=01f61fde8c4a4e040dc089ccb274441859487e1d;hpb=7fabfadce30a7bea7ce3ad1f1e2e7e5e616f2669 diff --git a/surfbar.php b/surfbar.php index e0163e4ea5..35b10ffa3e 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