本文整理汇总了PHP中account::getCharName方法的典型用法代码示例。如果您正苦于以下问题:PHP account::getCharName方法的具体用法?PHP account::getCharName怎么用?PHP account::getCharName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类account
的用法示例。
在下文中一共展示了account::getCharName方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
echo "<br/><b>Showing " . $start . "-" . ($start + $per_page) . "</b>";
?>
<hr/>
<div id="logs_content">
<table width="100%">
<tr><th>User</th><th>Character</th><th>Realm</th><th>Item</th><th>Date</th></tr>
<?php
while ($row = mysql_fetch_assoc($result)) {
?>
<tr class="center">
<td><?php
echo $account->getAccName($row['account']);
?>
</td>
<td><?php
echo $account->getCharName($row['char_id'], $row['realm_id']);
?>
</td>
<td><?php
echo $server->getRealmName($row['realm_id']);
?>
</td>
<td><a href="http://<?php
echo $GLOBALS['tooltip_href'];
?>
item=<?php
echo $row['entry'];
?>
" title="" target="_blank">
<?php
echo $server->getItemName($row['entry']);
示例2: Copyright
| __|_____ _ _| \ ___ _ _ ___
| __| | | | | | -_| | |_ -|
|_____|_|_|_|___|____/|___|\_/|___|
Copyright (C) 2013 EmuDevs <http://www.emudevs.com/>
*/
$page = new page();
$server = new server();
$account = new account();
$character = new character();
?>
<div class="box_right_title"><?php
echo $page->titleLink();
?>
» Manage Character</div>
Selected character: <?php
echo $account->getCharName($_GET['guid'], $_GET['rid']);
$server->connectToRealmDB($_GET['rid']);
$usersTotal = mysql_query("SELECT name,race,account,class,level,money,leveltime,totaltime,online,latency,gender FROM characters WHERE guid='" . $_GET['guid'] . "'");
$row = mysql_fetch_assoc($usersTotal);
?>
<hr/>
<table style="width: 100%;">
<tr>
<td>Character Name</td>
<td><input type="text" value="<?php
echo $row['name'];
?>
" class="noremove" id="editchar_name"/></td>
</tr>
<tr>
<td>Account</td>