示例#1
0
    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
0
           |   __|_____ _ _|    \ ___ _ _ ___
           |   __|     | | |  |  | -_| | |_ -|
           |_____|_|_|_|___|____/|___|\_/|___|
    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();
?>
 &raquo; 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>