X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=surfbar.php;h=d65986193579c31409ff9397d53c0c4cabba1839;hb=c2f2d0e0c53b6b4878f5966cf954f2f4cf1dff86;hp=ccec32bb02fc723e781783281d2aee9a2f1f57b9;hpb=57227d33e870ec5cd271209c4a978a52b45c2dd6;p=mailer.git diff --git a/surfbar.php b/surfbar.php index ccec32bb02..d659861935 100644 --- a/surfbar.php +++ b/surfbar.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -94,7 +95,7 @@ if (!isMember()) { } } else { // Redirect - redirectToUrl('index.php'); + redirectToUrl('modules.php?module=index'); } } // END - if @@ -126,14 +127,8 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestParameterSet('frame')) && (in // Prepare content $content = array( - 'points' => translateComma($points), - 'online' => SURFBAR_DETERMINE_TOTAL_ONLINE(), - 'reload' => (getConfig('surfbar_stats_reload') * 1000), - 'c_total' => translateComma(getConfig('surfbar_total_counter')), - 'c_today' => translateComma(getConfig('surfbar_daily_counter')), - 'c_yester' => translateComma(getConfig('surfbar_yester_counter')), - 'c_week' => translateComma(getConfig('surfbar_weekly_counter')), - 'c_month' => translateComma(getConfig('surfbar_monthly_counter')), + 'points' => $points, + 'reload' => (getConfig('surfbar_stats_reload') * 1000) ); // Load template for "stats" page @@ -141,8 +136,7 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestParameterSet('frame')) && (in } elseif ((isGetRequestParameterSet('frame')) && (getRequestParameter('frame') == 'textlinks')) { // Prepare content $content = array( - 'online' => SURFBAR_DETERMINE_TOTAL_ONLINE(), - 'reload' => (getConfig('surfbar_stats_reload') * 1000) + 'reload' => (getConfig('surfbar_stats_reload') * 1000) ); // Load template for "stats" page @@ -200,14 +194,7 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestParameterSet('frame')) && (in if ($nextId > 0) { // Then prepare other content $content = array( - 'id' => $nextId, - 'check' => SURFBAR_GENERATE_VALIDATION_CODE($nextId), - 'salt' => SURFBAR_GET_SALT(), - 'reward' => translateComma(SURFBAR_GET_REWARD($nextId)), - 'url' => SURFBAR_GET_URL($nextId), - 'curr_reload' => SURFBAR_GET_USER_LOCKS(), - 'max_urls' => SURFBAR_GET_TOTAL_URLS(), - 'reload' => SURFBAR_GET_RELOAD_TIME($nextId), + 'url_id' => $nextId, 'xxx' => str_repeat('X', strlen(SURFBAR_GET_RELOAD_TIME($nextId))) );