// 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
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) {
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');