X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-rallyes.php;h=bbaec5f4718c45857b82c2def5a9382c2786052e;hb=fb573d4c3d981d52fd969a6d7167d8dc839be688;hp=c8a79d642081d3219c92eda3421da65cbd5484fc;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/modules/guest/what-rallyes.php b/inc/modules/guest/what-rallyes.php index c8a79d6420..bbaec5f471 100644 --- a/inc/modules/guest/what-rallyes.php +++ b/inc/modules/guest/what-rallyes.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -44,7 +44,7 @@ if (!defined('__SECURITY')) { addYouAreHereLink('guest', __FILE__); if ((!isExtensionActive('rallye')) && (!isAdmin())) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('rallye')); + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=rallye%}'); return; } // END - if @@ -86,7 +86,7 @@ if (SQL_NUMROWS($result) == 1) { } // Set admin line (currently set to impressum, later to contact form) - // @TODO Reactivate this: $content['admin'] = '' . $login . ''; + // @TODO Reactivate this: $content['admin'] = '' . $login . ''; // Set title $content['title'] = $title; @@ -111,20 +111,20 @@ if (SQL_NUMROWS($result) == 1) { $content['min_prices'] = determineReferalRallyeMinimumPrices($min_prices); if ($expired === true) { - $content['prices'] = addReferalRallyeWinners($id); + $content['prices'] = addReferalRallyeWinners('guest', $id); $content['top_users'] = '
' . $content['extras'] . '
'; $content['can_win_this'] = '{--RALLYE_OUR_WINNERS_ARE--}'; } else { $content['prices'] = addReferalRallyePrices($id, 'html'); - $content['top_users'] = addReferalRallyeTopUsers($id, getMemberId()); + $content['top_users'] = addReferalRallyeTopUsers('guest', $id, getMemberId()); $content['can_win_this'] = '{--RALLYE_YOU_CAN_WIN--}'; } // And load final template - loadTemplate('guest_rallye_show', false, $content); + loadTemplate('guest_show_rallye', false, $content); } else { // No rallye found so far - loadTemplate('guest_no_rallyes'); + loadTemplate('guest_rallye_404'); } // Close the div tag