Merge pull request #277 from Shadowss/patch-36

Update player medal to view images
This commit is contained in:
yi12345
2013-08-12 02:28:22 -07:00
+4 -4
View File
@@ -53,9 +53,9 @@
<td>$rank</td> <td>$rank</td>
<td>$week</td> <td>$week</td>
<td>$points</td> <td>$points</td>
<td><img src=\"../<?php echo GP_LOCATE; ?>img/t/".$medal['img'].".jpg\"></td> <td><img src=\"../gpack/travian_default/img/t/".$medal['img'].".jpg\"></td>
<td> <td>
<input type=\"image\" name=\"medalid\" value=\"".$medal['id']."\" style=\"background-image: url('../<?php echo GP_LOCATE; ?>img/a/del.gif'); height: 12px; width: 12px;\" src=\"../<?php echo GP_LOCATE; ?>img/a/x.gif\"> <input type=\"image\" name=\"medalid\" value=\"".$medal['id']."\" style=\"background-image: url('../gpack/travian_default/img/a/del.gif'); height: 12px; width: 12px;\" src=\"../gpack/travian_default/img/a/x.gif\">
</td> </td>
</tr>"; </tr>";
} }
@@ -84,8 +84,8 @@
<td> <td>
<form action="../GameEngine/Admin/Mods/deletemedalbyuser.php" method="POST"> <form action="../GameEngine/Admin/Mods/deletemedalbyuser.php" method="POST">
<input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>"> <input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>">
<input type="image" name="userid" value="<?php echo $id; ?>" style="background-image: url('../<?php echo GP_LOCATE; ?>img/a/del.gif'); height: 12px; width: 12px;" src="../<?php echo GP_LOCATE; ?>img/a/x.gif"> <input type="image" name="userid" value="<?php echo $id; ?>" style="background-image: url('../gpack/travian_default/img/a/del.gif'); height: 12px; width: 12px;" src="../gpack/travian_default/img/a/x.gif">
</form> </form>
</td> </td>
</tbody> </tbody>
</table> </table>