-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameobject_loot.php
65 lines (65 loc) · 2.12 KB
/
gameobject_loot.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
include "db-config.php";
include "menu.php";
include "gameobject_menu.php";
include "loot_function.php";
?>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
<div class="scroll">
<table border="1" id="loot">
<tr>
<td>Entry</td>
<td>item</td>
<td>Chance</td>
<td>lootmode</td>
<td>groupid</td>
<td>mincountOrRef</td>
<td>maxcount</td>
<td>Name</td>
</tr>
<?php
get_loot('gameobject_loot_template', 'data1');
?>
</table>
</div>
<input type="hidden" name="entry" value="<?php echo $entry; ?>">
<table>
<tr>
<td>entry</td>
<td>item</td>
</tr>
<tr>
<br>
<td><input type="text" class="medium" id="loot_id" name="loot_id" value="<?php echo $_GET['loot_id']; ?>"><input type="button" class="little" OnClick="location.href='gameobject_loot.php?entry='+document.getElementById('loot_id').value;"></td>
<td><input type="text" class="medium" id="item" name="item"></td>
<td></td><td></td><td></td>
<td><input type="button" value="+" OnClick="add()"></td>
<td><input type="button" value="<-->" OnClick="exchange()"></td>
<td><input type="button" value="X" OnClick="del()"></td>
</tr>
<tr>
<td>Chance</td>
<td>groupid</td>
<td>mincountOrRef</td>
<td>maxcount</td>
<td>lootmode</td>
</tr>
<tr>
<td><input type="text" class="medium" id="ChanceOrQuestChance" name="ChanceOrQuestChance"></td>
<td><input type="text" class="medium" id="groupid" name="groupid"></td>
<td><input type="text" class="medium" id="mincountOrRef" name="mincountOrRef"></td>
<td><input type="text" class="medium" id="maxcount" name="maxcount"></td>
<td><input type="text" class="medium" id="lootmode" name="lootmode">
<select class="little" id="LootMode" OnChange="get_lootmode_value(this.id, 'lootmode')">
<option value="-1" selected="selected" disabled="disabled" class="bold">LootMode</option>
<option value="1">Default</option>
<option value="2">HardMode1</option>
<option value="4">HardMode2</option>
<option value="8">HardMode3</option>
<option value="16">HardMode4</option>
</td>
</tr>
</table>
<script type="text/Javascript" src="loot_function.js"></script>
</form>
<p align="right"><input type="submit" value="Show Gameobject Loot Script" OnClick="Scripts('gameobject_loot_template')"></p>