本文整理汇总了PHP中account::construct方法的典型用法代码示例。如果您正苦于以下问题:PHP account::construct方法的具体用法?PHP account::construct怎么用?PHP account::construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类account
的用法示例。
在下文中一共展示了account::construct方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ucwords
}
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: ucwords
<?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: account
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>