X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=show_bonus.php;h=0b418e67b0b3284a8af843be31d6eb8a314d0c0a;hp=d8dc4bf7d087b3a92311196fb4c420541315b90f;hb=b8bb07ca2993ae80746a809853fdd46f5cde14e3;hpb=81bfbcd72e424060ea1223b49ad92fcfa150f361 diff --git a/show_bonus.php b/show_bonus.php index d8dc4bf7d0..0b418e67b0 100644 --- a/show_bonus.php +++ b/show_bonus.php @@ -57,7 +57,7 @@ redirectOnUninstalledExtension('bonus'); // List only rankings when script is installed if (isInstalled()) { // Include header - loadInclude('inc/header.php'); + loadIncludeOnce('inc/header.php'); if ((REQUEST_GET('uid') > 0) && (REQUEST_GET('d') > 0) && (REQUEST_ISSET_GET(('t')))) { // Set row name @@ -85,7 +85,7 @@ RIGHT JOIN `{!_MYSQL_PREFIX!}_bonus_turbo` AS b ON d.userid=b.userid WHERE d.`status`='CONFIRMED' AND d.userid=%s AND b.%s=%s LIMIT 1", - array(bigintval(REQUEST_GET('uid')), $t, bigintval(REQUEST_GET('d'))), __FILE__, __LINE__); + array(bigintval(REQUEST_GET('uid')), $t, bigintval(REQUEST_GET('d'))), __FILE__, __LINE__); // Entry found? if (SQL_NUMROWS($result) == 1) { @@ -132,7 +132,7 @@ LIMIT 1", LOAD_TEMPLATE('show_bonus', false, $content); // Include footer - loadInclude('inc/footer.php'); + loadIncludeOnce('inc/footer.php'); } else { // You have to install first! redirectToUrl('install.php');