示例#1
0
    }
    if (isset($_POST['send-apply'])) {
        $user_account->send_application($user_account->acc_id, $user_account->username, $_POST['answ-1'], $_POST['answ-2'], $_POST['answ-3'], $_POST['answ-4'], $_POST['answ-5'], $_POST['answ-6'], $_POST['answ-7'], $_POST['answ-8']);
        echo "<script> window.location.href = 'user';</script>";
    }
    ?>
	<div id='content'>
		<div id='content-wrapper'>
			<div class='lastnews-head-text'><?php 
    echo ucwords($user_prw);
    ?>
's User Administration Panel</div>
			<div class="newsdivider"></div>
			<?php 
    $account = new account();
    $account->construct($user_prw);
    $chars = chars_by_userID($account->acc_id);
    ?>
			<div id='user-box'>
				<div class='lastnews-head-text-nobg' style="text-align:center;margin-bottom:5px;font-size:16px;">BASIC ACCOUNT INFORMATIONS</div>
				<div id="userbox-center">
					<a class="userbox-button" href="">DONATE</a>
					<?php 
    if ($user_account->gmlevel < 5) {
        ?>
						<a id="gmapply" class="userbox-button" href="#">APPLY FOR GM SPOT</a>
					<?php 
    } else {
        ?>
						<a id="gm-tools" class="userbox-button" href="#">GAMEMASTER TOOLS</a>
					<?php 
示例#2
0
<?php

define('DarkCoreCMS', TRUE);
include 'header.php';
include '../core/config.php';
include '../core/functions/global_functions.php';
include '../core/functions/realm_functions.php';
include '../core/functions/bugtracker.php';
include '../core/functions/account_functions.php';
include '../core/functions/vote_functions.php';
include '../core/functions/armory_functions.php';
require_once "../core/functions/board_functions.php";
if (isset($_SESSION['usr'])) {
    $user_prw = $_SESSION['usr'];
    $user_account = new account();
    $user_account->construct(ucfirst($user_prw));
}
?>
    <title>GamingZeta - <?php 
echo ucwords(str_ireplace(array('-', '.php'), array(' ', ''), basename($_SERVER['PHP_SELF'])));
?>
 </title>
</head>
<body>
	<div id='header'>
	</div>
    <?php 
include 'menu.php';
?>
    <div id="notify">Forum is not coded yet until beta release</div>
	<div id='content'>
示例#3
0
include 'menu.php';
?>
    <div id='content'>
        <div id='content-wrapper'>
            <?php 
if ($error == 1) {
    ?>
            <div id="board-notify-frame">
                    The topic you are looking for seems to not exist
            </div>
            <?php 
} else {
    ?>
                <?php 
    $user_account = new account();
    $user_account->construct(ucfirst(get_username_byid($thread_base['autor'])));
    echo $thread_base['id'] . '<br>';
    echo $thread_base['title'] . '<br>';
    echo $thread_base['body'] . '<br>';
    echo $thread_base['forum'] . '<br>';
    echo $thread_base['thumbnail'] . '<br>';
    echo $thread_base['date'] . '<br>';
    echo $user_account->avatar . '<br>';
    echo $user_account->joindate . '<br>';
    ?>
            <?php 
}
?>
        </div>
    </div>
<script type="text/javascript">SkinnyTip.init();</script>