Lukanio
### Own3D ###
- Joined
- Nov 25, 2008
- Messages
- 325
- Reaction score
- 6
Posiadam skrypt
a chcailbym zeby zamiast:
#1f1f1f - KOLOR
bylo
'.$config['site']['darkborder'].' - KOLOR z configa
Prosze o pomoc.
Code:
$main_content .= "<table width=\"100%\" style=\"background-color: #1f1f1f\">";
$i = 1;
foreach($SQL->query("SELECT name, level, experience, online FROM `players` WHERE `group_id` < 3 ORDER BY `players`.`level` DESC LIMIT 0 , 5") as $result) {
if ($result[3] == 1) {
$on = "<font color=\"green\">ONLINE</font>";
} else {
$on = "<font color=\"red\">OFFLINE</font>";
};
$main_content .= "
<tr style=\"background-color: #2c2c2c\" height=\"10px\">
<td align=\"center\">$i.</td>
<td align=\"center\"><a href=\"?subtopic=characters&name=".htmlspecialchars($result[0])."\">$result[0]</a></td>
<td align=\"center\"><font color=\"white\"><em>$result[1]</em></font></td>
<td align=\"center\"><font color=\"white\"><em><b>$on</b></em></font></td></tr>";
$i++;
}
$main_content .= "</table><br>";
#1f1f1f - KOLOR
bylo
'.$config['site']['darkborder'].' - KOLOR z configa
Prosze o pomoc.