示例#1
0
            //Log successful login
            logText("{$user} Logged In With The Ip: {$ip} At " . date("h:i A") . "", "good");
            $_SESSION['LoggedIn'] = True;
            Header("Location: /main.php");
            return;
        } else {
            $arr = mysql_fetch_array($finalQuery);
            $user = $arr['username'];
            $ip = $arr['registration_ip'];
            //Log bad login
            logText("{$ip} Tried To Login As The User {$user} At " . date("h:i A") . "", "bad");
            $eMsg = "You have entered an invalid login";
        }
    }
}
echo '<style>body{background-image: url(' . imageToBase64($background) . ');}</style>';
disableRightClick();
?>
<title><?php 
echo "{$title}";
?>
</title>
<head>
<link href="/stylesheets/default.css" rel="stylesheet" type="text/css">
<link href="/stylesheets/css_buttons.css" rel="stylesheet" type="text/css">
</head>
<style>  
  .loginbox{
  border-style:dashed;
  width:260;
  background-color:black;
示例#2
0
}
$backgroundImageSettings = "";
if ($bgImage == "") {
    $bgImage = $background;
} else {
    $size = getimagesize($bgImage);
    $w = $size[0];
    $h = $size[1];
    if ($bgImageSize == "") {
        $backgroundImageSettings = "background-size: 15%;";
    } else {
        $backgroundImageSettings = "background-size: {$bgImageSize}%;";
    }
    $backgroundImageSettings = "background-size: 15%;";
}
$menu = '<style>body{' . $backgroundImageSettings . ' background-image: url(' . imageToBase64($bgImage) . ');}</style><head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<link href="/stylesheets/default.css" rel="stylesheet" type="text/css">
<link href="/stylesheets/css_buttons.css" rel="stylesheet" type="text/css">
</head><script async src="/scripts/javascript_config.js"></script>
<center><div class="title">
<a href="' . $mirrorUrl . '?ext=/favourites.php" target="_self" class="btn rc05 f10 p05 dk blue">My Favourites</a> <a href="' . $mirrorUrl . '?ext=/last100added.php" target="_self" class="btn rc05 f10 p05 dk blue">Last 100 Items Added</a> <a href="' . $mirrorUrl . '?ext=/main.php" target="_self" class="btn rc05 f10 p05 dk blue">Home</a> <a href="' . $mirrorUrl . '?ext=/chat_room.php" target="_self" class="btn rc05 f10 p05 dk blue">Chat</a> <a href="' . $mirrorUrl . '?ext=/search.php" class="btn rc05 f10 p05 dk blue">Search</a> <a href="' . $mirrorUrl . '?ext=/scripts/logout.php" target="_self" class="btn rc05 f10 p05 dk blue">Logout</a>
</font>
</div>
</center>';
$unremovableBans = array("Owner");
$protectedFromBanning = array("DUNHURTME", "IMFRAGILE");
if ($user != "") {
    if ($_SESSION['account_position'] != "Admin") {
        checkWhenLastActive();
    }
示例#3
0
}
unset($_SESSION['TempUsername']);
disableRightClick();
echo $close;
?>
<title><?php 
echo $title;
?>
</title>
<center>
<?php 
if (isset($image, $img)) {
    if ($image == "fuuu.jpg") {
        echo "<br><br><br><br><br>";
    }
    echo '<img src="' . imageToBase64($mainUrl . "/images/" . $image) . '" alt="' . $image_name . '"></img><br>';
}
if (isset($banmsg) && !isset($image)) {
    $swfSizes = getimagesize("/home/u220391248/public_html/videos/" . $swfName . ".MDW");
    $width = $swfSizes[0];
    $height = $swfSizes[1];
    if (isset($space)) {
        for ($i = 1; $i + 1 <= $space; $i++) {
            //Until $i == $space do
            echo "<br>";
        }
    }
}
if ($error == "") {
    $error = "An unknown error has occured!<br><a href=\"{$mirrorUrl}?ext=/main.php\">Go Back To The Main Page</a>";
}