Its emporia.vapus.net style. So all credits goes to the maker.
Note this is only the Character Info part
Open \system\application\views and view_character.php replace all:
View_Character.php
Note this is only the Character Info part
Open \system\application\views and view_character.php replace all:
PHP:
<?php
require_once("system/application/config/create_character.php");
if(in_array(strtolower($player->name), $config['restricted_names']))
error("You are not authorized to view this character.");
else {
if($player->isDeleted()) alert("This character has been deleted.");
if($player->isNameLocked()) alert("This character has been name locked.");
try {
$comment = nl2br(decodeString($player->getComment()));
}
catch (Exception $e) {
$comment = "Could not load comment.";
}
?>
<style type="text/css">
#charview { width: 97%; height: 100%; padding: 0.5em; border:1px solid;}
.charview{ text-align: center; margin: 0; height 10px;}
<?PHP $link = "red"; ?>
</style>
<div id="charview" align="center">
<h3 class="ui-widget-header charview h3">Character Informations - <b><?php echo $status = ($player->isOnline()) ? "<font color='green'>".$player->getName()."</font>" : "<font color='red'>".$player->getName()."</font>"; ?> ( <?php echo getVocationName($player->getVocation(), $player->getPromotion()); ?> )</b></h3>
<br>
<table cellspacing="1" cellpadding="0" border="0" style="width: 100%; height: 100%;">
<tbody>
<tr><td style="text-align: left;" ><img src="<?PHP echo "".WEBSITE."" ?>/public/images/charview/sexd.png"></td><td>
<b><?php echo $sex = ($player->getSex() == 1) ? "Male" : "Female" ?></b><br><font size="1" color="#484848">Sex</font><br></td>
<td style="text-align: left;"><img src="<?PHP echo "".WEBSITE."" ?>/public/images/charview/homejf.png"></td>
<td width="44%"><b><?php echo $config['worlds'][$player->getWorld()]; ?></b><br>
<font size="1" color="#484848">Residence</font></td>
</tr><tr>
<td style="text-align: left;" width="10%"><img alt="" src="<?PHP echo "".WEBSITE."" ?>/public/images/charview/voc.png"></td>
<td>
<?php $rank_of_player = $player->getRank(); if(!empty($rank_of_player)) { $guild_id = $rank_of_player->getGuild()->getId(); $guild_name = $rank_of_player->getGuild()->getName(); echo "".$rank_of_player->getName()." of the <a href='../../guilds/view/$guild_id'><font color =\"".$link."\">".$guild_name."</font></a>";}?><br>
<font size="1" color="#484848">Guild</font></td>
<td style="text-align: left;"><img src="<?PHP echo "".WEBSITE."" ?>/public/images/charview/Cuckoo_Clock.gif"></td>
<td><b><?php echo $lastlogin = ($player->getLastLogin() == 0) ? "<font color=\"red\">Never</font>" : UNIX_TimeStamp($player->getLastLogin()); ?></b><br>
<font size="1" color="#484848">Last login</font></td>
</tr>
<tr><td style="text-align: left;" width="10%"><img alt="" src="<?PHP echo "".WEBSITE."" ?>/public/images/charview/Winning_Lottery_Ticket.gif"></td>
<td><b><?php echo $status = ($account->isPremium()) ? "<font color=\"green\">Premium Status</font>" : "<font color=\"red\">Free Status</font>"; ?></b><br></td>
<td style="text-align: left;"><img src="<?PHP echo "".WEBSITE."" ?>/public/images/charview/Research_Notes.gif"></td>
<td><b><?php echo ago($player->getCreated())." | ".UNIX_TimeStamp($player->getCreated()); ?></b><br>
<font size="1" color="#484848">Created</font></td>
</tr>
<tr><td style="text-align: left;" width="10%"><img alt="" src="<?PHP echo "".WEBSITE."" ?>/public/images/charview/worldvo.png"></td>
<td><?php echo $config['groups'][$player->getGroup()]; ?><br><font size="1" color="#484848">Game Position</font></td>
<td style="text-align: left;" width="10%"><img src="<?PHP echo "".WEBSITE."" ?>/public/images/charview/rangor.png"></td>
<td ><b><?php echo $player->getLevel(); ?></b><br>
<font size="1" color="#484848">Level</font><br>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<?php
$GLOBALS['player'] = $player;
$ide = new IDE;
try {
$ide->loadInjections("character_view");
}
catch(Exception $e) {
error($e->getMessage());
}
}
?>