Hello OTlanders, I recently developed this PHP script in a HTML editor, since that old skill table was so boring. Here's a preview:
I also added a link to each pic so they redirect to their respective highscore page
1>download this rar and extract it in your htdocs:
View attachment skills.rar
2> open your characters.php
after these lines(delete any skill table if there are any):
add my script:
test it, it should work fine. Don't forget to Rep Me:thumbup:
Incoming AACs should have this small feature
I also added a link to each pic so they redirect to their respective highscore page
1>download this rar and extract it in your htdocs:
View attachment skills.rar
2> open your characters.php
after these lines(delete any skill table if there are any):
PHP:
{
$main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Created:</TD><TD>'.date("j F Y, g:i a", $player->getCreated()).'</TD></TR>';
}
{
add my script:
PHP:
//Skills Categories by Cybermaster
if($config['site']['show_skills_info'])
{
$main_content .= '<center><table cellspacing="0" cellpadding="0" border="1" width="200"></center>
<caption><strong>Skills</strong></caption>
<tbody>
<tr>
<td style="text-align: center;"><a href="?subtopic=highscores&list=experience"><img src="/skills/level.gif" alt="" style="border-style: none"/></td>
<td style="text-align: center;"><a href="?subtopic=highscores&list=magic"><img src="/skills/ml.gif" alt="" style="border-style: none"/></td>
<td style="text-align: center;"><a href="?subtopic=highscores&list=fist"><img src="/skills/fist.gif" alt="" style="border-style: none"/></td>
<td style="text-align: center;"><a href="?subtopic=highscores&list=club"><img src="/skills/club.gif" alt="" style="border-style: none"/></td>
<td style="text-align: center;"><a href="?subtopic=highscores&list=sword"><img src="/skills/sword.gif" alt="" style="border-style: none"/></td>
<td style="text-align: center;"><a href="?subtopic=highscores&list=axe"><img src="/skills/axe.gif" alt="" style="border-style: none"/></td>
<td style="text-align: center;"><a href="?subtopic=highscores&list=distance"><img src="/skills/dist.gif" alt="" style="border-style: none"/></td>
<td style="text-align: center;"><a href="?subtopic=highscores&list=shield"><img src="/skills/def.gif" alt="" style="border-style: none"/></td>
<td style="text-align: center;"><a href="?subtopic=highscores&list=fishing"><img src="/skills/fish.gif" alt="" style="border-style: none"/></td>
</tr>
<tr>
<tr bgcolor="'.$config['site']['darkborder'].'"><td style="text-align: center;"><strong>Level</strong></td>
<td style="text-align: center;"><strong>ML</strong></td>
<td style="text-align: center;"><strong>Fist</strong></td>
<td style="text-align: center;"><strong>Mace</strong></td>
<td style="text-align: center;"><strong>Sword</strong></td>
<td style="text-align: center;"><strong>Axe</strong></td>
<td style="text-align: center;"><strong>Dist</strong></td>
<td style="text-align: center;"><strong>Def</strong></td>
<td style="text-align: center;"><strong>Fish</strong></td>
</tr>
<tr>
<tr bgcolor="'.$config['site']['lightborder'].'"><td style="text-align: center;">'.$player->getLevel().'</td>
<td style="text-align: center;">'.$player->getMagLevel().'</td>
<td style="text-align: center;">'.$player->getSkill(0).'</td>
<td style="text-align: center;">'.$player->getSkill(1).'</td>
<td style="text-align: center;">'.$player->getSkill(2).'</td>
<td style="text-align: center;">'.$player->getSkill(3).'</td>
<td style="text-align: center;">'.$player->getSkill(4).'</td>
<td style="text-align: center;">'.$player->getSkill(5).'</td>
<td style="text-align: center;">'.$player->getSkill(6).'</td>
</tr>
</tbody>
</table>
<div style="text-align: center;"> <br />
</div>';
}
//skill script end
test it, it should work fine. Don't forget to Rep Me:thumbup:
Incoming AACs should have this small feature
Attachments
-
skills.jpg35.9 KB · Views: 2,425 · VirusTotal