summaryrefslogtreecommitdiff
path: root/html/includes/weaponstats.php
diff options
context:
space:
mode:
authorMatthijs Kuiper <info@matthijskuiper.nl>2018-01-10 20:08:33 +0100
committerMatthijs Kuiper <info@matthijskuiper.nl>2018-01-10 20:08:33 +0100
commit861e3230f0154e6a5942698adedf18d5eb0e0b8a (patch)
tree904f4efa242804c12f6989bd825b93534ef0a599 /html/includes/weaponstats.php
parentfdd379c949056fb3a2198039e452f6aae600ef35 (diff)
Move imaegs to assets folder
Diffstat (limited to 'html/includes/weaponstats.php')
-rw-r--r--html/includes/weaponstats.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/includes/weaponstats.php b/html/includes/weaponstats.php
index bccdd6d..80238b3 100644
--- a/html/includes/weaponstats.php
+++ b/html/includes/weaponstats.php
@@ -155,11 +155,11 @@ uts_weaponstats AS w
function ws_header(&$wsort, &$weapons, $colspan, $one, $playercol) {
echo '<tr>';
- if ($playercol and $playercol != -1) echo '<td class="smheading" align="center" width="220" '.(($one) ? 'rowspan="2"' : '') .'><img src="images/playersmall.png" style="max-width:50px; max-height:50px;"></td>';
+ if ($playercol and $playercol != -1) echo '<td class="smheading" align="center" width="220" '.(($one) ? 'rowspan="2"' : '') .'><img src="assets/images/playersmall.png" style="max-width:50px; max-height:50px;"></td>';
if ($playercol == -1) echo '<td class="smheading" align="center" width="220">&nbsp;</td>';
foreach($wsort as $wid => $bar) {
if (!empty($weapons[$wid]['image'])) {
- $content = '<img border="0" class="tooltip" style="min-width: 15px; max-width:40px; max-height:50px;" src="images/weapons/'.$weapons[$wid]['image'].'" alt="'.$weapons[$wid]['name'].'" title="'.$weapons[$wid]['name'].'"></a>';
+ $content = '<img border="0" class="tooltip" style="min-width: 15px; max-width:40px; max-height:50px;" src="assets/images/weapons/'.$weapons[$wid]['image'].'" alt="'.$weapons[$wid]['name'].'" title="'.$weapons[$wid]['name'].'"></a>';
} else {
$content = '<span style="font-size: 60%;">'.$weapons[$wid]['name'].'</span>';
}