X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_sponsor_pay.php;h=9f8a6e2779242e7a3796139e4438ecd25145468f;hp=e9cb3ea77757620f6ac6d5d4f85142f37719c0eb;hb=e01fcf1ca8ddeb72af76465df3ef72301a1cdae7;hpb=c78089215285d52d483760699d07a96dfbbe0671 diff --git a/inc/modules/admin/what-list_sponsor_pay.php b/inc/modules/admin/what-list_sponsor_pay.php index e9cb3ea777..9f8a6e2779 100644 --- a/inc/modules/admin/what-list_sponsor_pay.php +++ b/inc/modules/admin/what-list_sponsor_pay.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Auflisten/Aendern/Loeschen aller Buchungspakete * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: stelzi $ * + * Needs to be in all Files and every File needs "svn propset * + * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -113,13 +118,13 @@ if (REQUEST_ISSET_POST(('add'))) { ), __FILE__, __LINE__); // Payment type added! - $MSG = ADMIN_SPONSOR_PAYTYPE_ADDED_1.REQUEST_POST('pay_name').ADMIN_SPONSOR_PAYTYPE_ADDED_2; + $MSG = sprintf(getMessage('ADMIN_SPONSOR_PAYTYPE_ADDED'), REQUEST_POST('pay_name')); } else { // Free memory SQL_FREERESULT($result); // Entry does already exists - $MSG = ADMIN_SPONSOR_PAYTYPE_ALREADY_1.REQUEST_POST('pay_name').ADMIN_SPONSOR_PAYTYPE_ALREADY_2; + $MSG = sprintf(getMessage('ADMIN_SPONSOR_PAYTYPE_ALREADY'), REQUEST_POST('pay_name')); } // Output message @@ -160,7 +165,7 @@ if (REQUEST_ISSET_POST(('add'))) { // Switch colors $SW = 3 - $SW; - } + } // END - foreach // Remember content in constant define('__SPONSOR_ROWS', $OUT); @@ -181,18 +186,18 @@ if (REQUEST_ISSET_POST(('add'))) { // Do we have some paytypes setup? if (SQL_NUMROWS($result) > 0) { // Prepare variables for listing - $SW = 2; $OUT = ""; + $OUT = ""; $SW = 2; // List alle found payment types - while (list($id, $name, $rate, $min, $currency) = SQL_FETCHROW($result)) { + while ($content = SQL_FETCHARRAY($result)) { // Remember data in array $content = array( 'sw' => $SW, - 'id' => $id, - 'name' => $name, - 'rate' => TRANSLATE_COMMA($rate), - 'min' => $min, - 'currency' => $currency + 'id' => $content['id'], + 'name' => $content['pay_name'], + 'rate' => TRANSLATE_COMMA($content['pay_rate']), + 'min' => $content['pay_min_count'], + 'currency' => $content['pay_currency'] ); // Add row @@ -200,7 +205,7 @@ if (REQUEST_ISSET_POST(('add'))) { // Switch colors $SW = 3 - $SW; - } + } // END - while // Free memory SQL_FREERESULT($result);