Dragon-Scourge/templates/users_onlinechar.php

61 lines
1.9 KiB
PHP
Raw Permalink Normal View History

<?php
// Dragon Scourge
//
// Program authors: Jamin Blount
// Copyright (C) 2007 by renderse7en
// Script Version 1.0 Beta 5 Build 20
// You may not distribute this program in any manner, modified or
// otherwise, without the express, written consent from
// renderse7en.
//
// You may make modifications, but only for your own use and
// within the confines of the Dragon Scourge License Agreement
// (see our website for that).
$template = <<<END
<center><table width="90%"><tr>
<td colspan="2" style="border-bottom: solid 1px #cccccc">
<center>{{profcharpicture}}<br /><b>{{newcharname}}</b><br /></center>
</td></tr>
<tr>
<td width="50%">
Class: <b>{{charclass}}</b><br />
Level: <b>{{level}}</b><br /><br />
Hit Points: <b>{{maxhp}}</b><br />
Magic Points: <b>{{maxmp}}</b><br /><br />
Weapon: <b>{{item1name}}</b><br />
Armor: <b>{{item2name}}</b><br />
Shield: <b>{{item4name}}</b><br />
Helmet: <b>{{item3name}}</b><br />
</td>
<td>
Strength: <b>{{strength}}</b><br />
Dexterity: <b>{{dexterity}}</b><br />
Physical Damage: <b>{{physattack}}</b><br />
Physical Defense: <b>{{physdefense}}</b><br /><br />
Energy: <b><span style="color:green">{{energy}}</style></b><br />
Magic Damage: <b><span style="color: green">{{magicattack}}</span></b><br />
Magic Defense: <b><span style="color: green">{{magicdefense}}</span></b><br /><br />
Fire Damage: <b><span style="color: red">{{fireattack}}</span></b><br />
Fire Defense: <b><span style="color: red">{{firedefense}}</span></b><br /><br />
Lightning Damage: <b><span style="color: blue">{{lightattack}}</span></b><br />
Lightning Defense: <b><span style="color: blue">{{lightdefense}}</span></b><br /><br />
Duels Won: <b>{{pvpwins}}</b><br />
Duels Lost: <b>{{pvplosses}}</b><br />
Highest Character Defeated: <b>{{pvphighest}}</b><br /><br />
</td>
</tr><tr>
<td colspan="2" style="border-top: solid 1px #cccccc"><center><a href="index.php">Return to the game.</a></center></td>
</tr></table></center>
END;
?>