2020-11-29 01:55:31 +01:00
|
|
|
<?php
|
2023-09-06 13:33:59 +02:00
|
|
|
/*
|
|
|
|
* Add 'rsactive' to differentiate rslight sessions from
|
|
|
|
* sessions from other applications
|
|
|
|
*/
|
|
|
|
$_SESSION['rsactive'] = true;
|
2023-09-06 13:07:57 +02:00
|
|
|
$client_device = get_client_user_agent_info();
|
2023-09-06 13:33:59 +02:00
|
|
|
|
|
|
|
// throttle_hits MUST be called before any data is sent
|
2023-09-06 13:07:57 +02:00
|
|
|
throttle_hits($client_device);
|
|
|
|
write_access_log();
|
|
|
|
|
2020-12-08 09:48:13 +01:00
|
|
|
echo '<html><head>';
|
2023-09-04 15:06:43 +02:00
|
|
|
echo '<title>' . htmlspecialchars($title) . '</title>';
|
2020-12-08 09:48:13 +01:00
|
|
|
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0">';
|
|
|
|
echo '<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=<?=$www_charset?>">';
|
2023-05-03 20:42:32 +02:00
|
|
|
include "config.inc.php";
|
2020-12-08 09:48:13 +01:00
|
|
|
|
2023-09-04 15:06:43 +02:00
|
|
|
if (file_exists($config_dir . '/googleanalytics.conf')) {
|
|
|
|
include $config_dir . '/googleanalytics.conf';
|
2021-06-07 05:28:55 +02:00
|
|
|
}
|
|
|
|
|
2023-09-04 15:06:43 +02:00
|
|
|
if (isset($frames_on) && $frames_on === false) {
|
|
|
|
if (file_exists('../common/mods/header.php')) {
|
|
|
|
include "../common/mods/header.php";
|
|
|
|
} else {
|
|
|
|
include "../common/header.php";
|
|
|
|
}
|
2020-11-29 01:55:31 +01:00
|
|
|
}
|
2020-12-08 09:48:13 +01:00
|
|
|
echo '<hr></head>';
|
2023-04-14 03:52:30 +02:00
|
|
|
echo '<body textcolor="black" bgcolor="white">';
|