<?php
/************************************************************************
- * MXChange v0.2.1 Start: 09/05/2008 *
- * =============== Last change: 09/05/2008 *
+ * Mailer v0.2.1-FINAL Start: 09/05/2008 *
+ * =================== Last change: 09/05/2008 *
* *
* -------------------------------------------------------------------- *
* File : surfbar.php *
// Set module
$GLOBALS['module'] = 'surfbar';
-$GLOBALS['output_mode'] = 0;
+$GLOBALS['output_mode'] = '0';
$GLOBALS['header_sent'] = 3;
// Load the required file(s)
// Is a frame active?
if (isGetRequestElementSet('frame')) {
// Then we need to set header_sent to 0
- $GLOBALS['header_sent'] = 0;
+ $GLOBALS['header_sent'] = '0';
} // END - if
// Only logged in users may use this surfbar!
SURFBAR_HANDLE_SELF_MAINTENANCE();
// Is there a check value?
-if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestElementSet('frame')) && (in_array(getRequestElement('frame'), array('stop', 'stop2', 'stats', 'textlinks'))))) {
+if ((SURFBAR_CHECK_RELOAD_FULL()) || ((isGetRequestElementSet('frame')) && (in_array(getRequestElement('frame'), array('stop', 'stop', 'stats', 'textlinks'))))) {
// Reload-lock is full, surfbar stopped so...
// Load header
loadIncludeOnce('inc/header.php');
unsetGetRequestElement('frame');
} elseif ((isGetRequestElementSet('frame')) && (getRequestElement('frame') == 'stats')) {
// Get total points amount
- $points = countSumTotalData(getUserId(), 'user_points', 'points') - countSumTotalData(getUserId(), 'user_data', 'used_points');
+ $points = countSumTotalData(getMemberId(), 'user_points', 'points') - countSumTotalData(getMemberId(), 'user_data', 'used_points');
// Prepare content
$content = array(
SURFBAR_UPDATE_SALT_STATS();
} else {
// Load new URL
- SURFBAR_RELOAD_TO_STOP_PAGE('stop2');
+ SURFBAR_RELOAD_TO_STOP_PAGE('stop');
}
} elseif ((isGetRequestElementSet('frame')) && (getRequestElement('frame') == 'start')) {
// Starter frame found so let the footer display