X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fsponsor%2Fwelcome.php;h=f199c7ab3956cab429b26430ca3af6de86efb6ac;hb=refs%2Fheads%2F0.2.1-FINAL;hp=ded3689a7354e81c05947162057e4cf01adf81b0;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341;p=mailer.git diff --git a/inc/modules/sponsor/welcome.php b/inc/modules/sponsor/welcome.php index ded3689a73..f199c7ab39 100644 --- a/inc/modules/sponsor/welcome.php +++ b/inc/modules/sponsor/welcome.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Willkommensseite des Sponsorenbereiches * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -48,25 +43,29 @@ if (!defined('__SECURITY')) { } // Load some data -$result = SQL_QUERY_ESC("SELECT - `id`,`gender`,`surname`,`family`, (`points_amount` - `points_used`) AS `points` +$result = sqlQueryEscaped('SELECT + `id`, + `sex`, + `surname`, + `family`, + (`points_amount` - `points_used`) AS `points` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s -LIMIT 1", +LIMIT 1', array( bigintval(getSession('sponsor_id')) ), __FILE__, __LINE__); // Fetch data -$content = SQL_FETCHARRAY($result); +$content = sqlFetchArray($result); // Free memory -SQL_FREERESULT($result); +sqlFreeResult($result); // Load main template -$GLOBALS['sponsor_output'] = loadTemplate('sponsor_welcome', true, $content); +$GLOBALS['sponsor_output'] = loadTemplate('sponsor_welcome', TRUE, $content); // [EOF] ?>