diff options
Diffstat (limited to 'html/pages/admin/editweapons.php')
-rw-r--r--[-rwxr-xr-x] | html/pages/admin/editweapons.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/pages/admin/editweapons.php b/html/pages/admin/editweapons.php index 2baeab9..e7b3251 100755..100644 --- a/html/pages/admin/editweapons.php +++ b/html/pages/admin/editweapons.php @@ -1,6 +1,6 @@ <?php
if (empty($import_adminkey) or isset($_REQUEST['import_adminkey']) or $import_adminkey != $adminkey) die('bla');
-
+
if (isset($_REQUEST['submit'])) {
foreach($_REQUEST['image'] as $id => $bla) {
mysql_query(" UPDATE uts_weapons
@@ -11,13 +11,13 @@ if (isset($_REQUEST['submit'])) { }
}
-echo'<br><table border="0" cellpadding="1" cellspacing="2" width="600">
+echo'<br><table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td class="medheading" align="center" colspan="4">Edit weapons</td>
</tr>
<tr>
<td class="smheading">Name</td>
- <td class="smheading" align="center" '.OverlibPrintHint('', 'Image to display instead of the weapon\'s name<br>Should exist in images/weapons/<br>Leave empty to display the weapon name').'>Image</td>
+ <td class="smheading" align="center" '.OverlibPrintHint('', 'Image to display instead of the weapon\'s name<br>Should exist in assets/images/weapons/<br>Leave empty to display the weapon name').'>Image</td>
<td class="smheading" '.OverlibPrintHint('', 'Use this number to set the weapons order to your liking').'>Order</td>
<td class="smheading" '.OverlibPrintHint('', 'If checked, this weapon won\'t be shown (including kills, shots, acc, ...)').'>Hide</td>
</tr>
@@ -39,7 +39,7 @@ while ($r_weapons = mysql_fetch_array($q_weapons)) { echo '<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td width="60%">';
echo '<input class="searchform" type="text" name="image['.$r_weapons['id'].']" value="'.$r_weapons['image'].'">';
echo '</td><td width="40%" align="center">';
- if (!empty($r_weapons['image'])) echo ' <img src="images/weapons/'. $r_weapons['image'] .'" border="0">';
+ if (!empty($r_weapons['image'])) echo ' <img src="assets/images/weapons/'. $r_weapons['image'] .'" border="0">';
echo' </td></tr></table></td>';
echo '<td class="'.$class.'"><input class="searchform" type="text" name="sequence['.$r_weapons['id'].']" value="'.$r_weapons['sequence'].'" size="3" maxlength="3"></td>';
echo '<td class="'.$class.'"><input class="searchform" type="checkbox" name="hide['.$r_weapons['id'].']" '.($r_weapons['hide'] == 'Y' ? 'checked' : '').'></td>';
@@ -54,5 +54,5 @@ echo'</form> <tr>
<td class="smheading" align="center" colspan="4"><a class="grey" href="./admin.php?key='.$_REQUEST[key].'">Go Back To Admin Page</a></td>
</tr></table>';
-
+
?>
|