} // END - if
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type for e.g. search engines
setContentType('text/html');
}
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type for e.g. search engines
setContentType('text/html');
redirectToUrl('modules.php?module=index&what=agb');
// [EOF]
-?>
//* DEBUG: */ xdebug_start_trace();
// Load security system
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__footer_sent'] = 2;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Load special AJAX library
loadIncludeOnce('inc/ajax-functions.php');
loadPageFooter();
// [EOF]
-?>
//* DEBUG: */ xdebug_start_trace();
// Load security system
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
setHttpStatus('404 Not Found');
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Load special API library
//loadIncludeOnce('inc/api-functions.php');
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__footer_sent'] = 2;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type
setContentType('text/plain');
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$errorCode = NULL;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type
setContentType('text/html');
if ((getBegPayMode() != 'NONE') && ($isPayed === TRUE)) {
// Prepare content for template
// @TODO Opps, what is missing here???
- $content = array(
- );
+ $content = [];
// Include config-depending template
loadTemplate('beg_pay_code_' . strtolower(getBegPayMode()), FALSE, $content);
doShutdown();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = '0';
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type
setContentType('text/html');
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type, this is required for search engines
setContentType('text/html');
doShutdown();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type for e.g. search engines
setContentType('text/html');
redirectToUrl($url);
// [EOF]
-?>
************************************************************************/
// Verbindung oeffnen...
-require("config/config.php");
+require "config/config.php";
// Header ausgeben
echo "<DIV align=\"center\"><STRONG>Datenkonverter nach MXChange-Datenbank</STRONG></DIV><BR>\n";
<BR>
Bevor Sie jedoch den Dump einspielen, müssen Sie unbedingt die <A href=\"http://www.mxchange.org\">nickname-Erweiterung</A> meines Scriptes eingerichtet haben! Anderfalls kommt es zu Fehlermeldungen und die User-Daten konnten nicht importiert werden.\n";
-//
-?>
+// [EOF]
//* DEBUG: */ xdebug_start_trace();
// Load security system
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__footer_sent'] = 2;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Load header here
loadPageHeader();
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Footer is disabled in CSS mode
$GLOBALS['__footer_sent'] = -1;
$GLOBALS['__output_mode'] = 1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set header
setContentType('text/css');
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Redirect only to registration page when this script is installed
if ((isExtensionActive('debug')) && (!ifFatalErrorsDetected())) {
doShutdown();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = '0';
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type
setContentType('text/html');
redirectOnUninstalledExtension('doubler');
// Init content array
-$content = array(
+$content = [
'message' => '',
-);
+];
// Begin with doubler script...
if (isFormSent()) {
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -3;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Load header
loadPageHeader();
loadPageFooter();
// [EOF]
-?>
} // END - if
// [EOF]
-?>
unset($URL);
// [EOF]
-?>
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.');
// [EOF]
-?>
die();
} // END - if
-//
-?>
+// [EOF]
} // END - switch
// [EOF]
-?>
} // END - if
// [EOF]
-?>
} // END - if
// [EOF]
-?>
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'hourly reset ended.');
// [EOF]
-?>
} // END - if
// [EOF]
-?>
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Cron job ended.');
// [EOF]
-?>
addYouAreHereLink('admin', __FILE__);
// [EOF]
-?>
doGenericXmlTemplateCallback('admin_list_!!!');
// [EOF]
-?>
loadTemplate(substr(basename(__FILE__), 5, -4));
// [EOF]
-?>
loadTemplate(substr(basename(__FILE__), 5, -4));
// [EOF]
-?>
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended.');
// [EOF]
-?>
} // END - if
// [EOF]
-?>
} // END - if
// Init filter data
- $filterData = array(
+ $filterData = [
// Current user's id number
'userid' => getMemberId(),
// Name of used template
'__data' => [],
// Where the HTML output will go
'__output' => '',
- );
+ ];
// Run the filter chain
$filterData = runFilterChain('member_footer_extras', $filterData);
// Template helper function to create selection box for "locked points mode"
function doTemplatePointsLockedModeSelectionBox ($templateName, $clear = FALSE, $default = NULL) {
// Init array
- $lockedModes = array(
- 0 => array('mode' => 'LOCKED'),
- 1 => array('mode' => 'UNLOCKED'),
- );
+ $lockedModes = [
+ 0 => ['mode' => 'LOCKED'],
+ 1 => ['mode' => 'UNLOCKED'],
+ ];
// Handle it over to generateSelectionBoxFromArray()
$content = generateSelectionBoxFromArray($lockedModes, 'points_locked_mode', 'mode', '', '', '', $default);
// Template helper function to create selection box for payment method
function doTemplatePointsPaymentMethodSelectionBox ($templateName, $clear = FALSE, $default = NULL) {
// Init array
- $paymentMethods = array(
- 0 => array('method' => 'DIRECT'),
- 1 => array('method' => 'REFERRAL'),
- );
+ $paymentMethods = [
+ 0 => ['method' => 'DIRECT'],
+ 1 => ['method' => 'REFERRAL'],
+ ];
// Handle it over to generateSelectionBoxFromArray()
$content = generateSelectionBoxFromArray($paymentMethods, 'points_payment_method', 'method', '', '', '', $default);
$out = '';
// Check all common extensions
- foreach (array('ico', 'gif', 'png') as $extension) {
+ foreach (['ico', 'gif', 'png'] as $extension) {
// Is the file there?
if (isFileReadable(getPath() . 'favicon.' . $extension)) {
// Then use this and abort
}
// [EOF]
-?>
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset ended.');
// [EOF]
-?>
//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Yearly reset ended.');
// [EOF]
-?>
//* DEBUG: */ xdebug_start_trace();
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = '0';
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Fix what to 'home'
setWhat(getIndexHome());
}
// [EOF]
-?>
//* DEBUG: */ xdebug_start_trace();
// Load security system
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = '0';
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type
setContentType('text/html');
addTemplateToInstallContent('install_page_init');
// Prepare content
- $content = array(
+ $content = [
'install_page' => getRequestElement('install_page')
- );
+ ];
// Load main installation table
loadTemplate('install_main_ajax', FALSE, $content);
loadPageFooter();
// [EOF]
-?>
//* DEBUG: */ xdebug_start_trace();
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = 1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set header and HTTP status
setContentType('text/javascript');
doShutdown();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = '0';
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type
setContentType('text/html');
loadPageHeader();
// Initialize the array for the template
-$content = array(
+$content = [
'lead_userid' => '0',
'lead_email' => '{?WEBMASTER?}'
-);
+];
// Is the cookie set?
if ((isSessionVariableSet('lead_userid')) && (fetchUserData(getSession('lead_userid')))) {
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Is this a member?
if (isMember()) {
}
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__copyright_enabled'] = 'N';
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type and HTTP status
setContentType('text/html');
redirectOnUninstalledExtension('other');
// Init data
-$data = array(
+$data = [
'error_code' => '0',
'userid' => '0',
'id' => '0',
'code' => '0',
'do' => 'frames',
'type' => '',
-);
+];
// Secure all data
if (isGetRequestElementSet('userid')) $data['userid'] = bigintval(getRequestElement('userid'));
doShutdown();
// [EOF]
-?>
//* DEBUG: */ xdebug_start_trace();
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = '0';
// Needed include files
-require('inc/init.php');
+require 'inc/init.php';
// Include module
doIncludeModule();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set HTTP status to 500 (if ext-network is not found, but this script is called)
setHttpStatus('500 Internal Server Error');
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set HTTP status to 500 (if ext-network is not found, but this script is called)
setHttpStatus('500 Internal Server Error');
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type for e.g. search engines
setContentType('text/html');
redirectToUrl($url);
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = '0';
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type
setContentType('text/html');
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type for e.g. search engines
setContentType('text/html');
redirectToUrl($url);
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type for e.g. search engines
setContentType('text/html');
redirectToUrl($url);
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__header_sent'] = 3;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Set content type
setContentType('text/html');
unsetGetRequestElement('frame');
} elseif ((!isFullPage()) && (getRequestElement('frame') == 'stats')) {
// Prepare content
- $content = array(
+ $content = [
'points' => getTotalPoints(getMemberId()),
'reload' => (getSurfbarStatsReload() * 1000)
- );
+ ];
// Load template for "stats" page
loadTemplate('surfbar_frame_stats', FALSE, $content);
} elseif ((!isFullPage()) && (getRequestElement('frame') == 'textlinks')) {
// Prepare content
- $content = array(
+ $content = [
'reload' => (getSurfbarStatsReload() * 1000)
- );
+ ];
// Load template for "stats" page
loadTemplate('surfbar_frame_textlinks', FALSE, $content);
} else {
// Prepare content
- $content = array(
+ $content = [
'start' => str_repeat('X', strlen(getSurfbarRestartTime())),
'autostart' => (isSurfbarAutoStartEnabled()) ? 'true' : 'false'
- );
+ ];
// Load template for stopped surfbar
loadTemplate('surfbar_stopped', FALSE, $content);
// Is there a valid id?
if (isValidId($nextId)) {
// Then prepare other content
- $content = array(
+ $content = [
'url_id' => $nextId,
'xxx' => str_repeat('X', strlen(getSurfbarWaitingTime($nextId))),
- );
+ ];
// Update salt (double-call lock!) and statistics
updateSurfbarSaltStatistics();
loadPageFooter();
// [EOF]
-?>
************************************************************************/
// Load security stuff here
-require('inc/libs/security_functions.php');
+require 'inc/libs/security_functions.php';
// Init start time
$GLOBALS['__start_time'] = microtime(TRUE);
$GLOBALS['__output_mode'] = -1;
// Initialize application
-require('inc/init.php');
+require 'inc/init.php';
// Run filter chain
runFilterChain('handle_view_php');
doShutdown();
// [EOF]
-?>