コード例 #1
0
ファイル: misc.php プロジェクト: Georift/iAuth
$run = mysql_query("SELECT * FROM settingsitems");
while ($row = mysql_fetch_assoc($run)) {
    define($row['code'], $row['value']);
}
require_once "includes/plugins.php";
require_once "includes/auth.php";
require_once "includes/bans.php";
$plugin = new Plugins();
$auth = new auth();
$bans = new Bans();
$f = glob("plugins/*.php");
foreach ($f as $a) {
    require_once $a;
}
if ($_GET['a'] == "registerSerial") {
    if ($bans->isBanned($_SERVER['REMOTE_ADDR'])) {
        die("You are currently banned from accessing this panel due to too many failed attempts. Try again soon.");
    }
    ?>
	<script language="javascript" type="text/javascript" src="js/jquery.min.js"></script>
	<link rel="stylesheet" type="text/css" href="css/960.css">
    <link rel="stylesheet" type="text/css" href="css/reset.css">
	<link rel="stylesheet" type="text/css" href="css/widgets.css" />
	<link rel="stylesheet" type="text/css" href="css/misc.css" />
	<div class="container_12">
		<br />
		<div class="grid_8 push_2">
			<div class="widget">
				<div class="wTitle">Serial Registration</div>
				<div class="wContent">
					<?php