]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/welcome.php
Continued:
[mailer.git] / inc / modules / sponsor / welcome.php
index ded3689a7354e81c05947162057e4cf01adf81b0..f199c7ab3956cab429b26430ca3af6de86efb6ac 100644 (file)
  * -------------------------------------------------------------------- *
  * 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]
 ?>