-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadmin_add_fusionwheel.html
103 lines (95 loc) · 3.55 KB
/
admin_add_fusionwheel.html
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<title>Add Fusion Wheel - BBPartPicker</title>
<link rel="stylesheet" href="styles.css">
<script>
function swapform(src) {
window.location = src;
}
function test() {
alert("big pog");
}
</script>
</head>
<body>
<form id="adminForm" action="admin_add_fusionwheel.php" method="post" enctype="multipart/form-data">
<h1>Add Fusion Wheel to Database</h1>
<select name="parttype" id="selectedparttype" onchange="swapform(this.value)">
<option>Select Part to Add</option>
<option value="admin_add_facebolt.html">Face Bolts</option>
<option value="admin_add_energyring.html">Energy Ring</option>
<option value="admin_add_fusionwheel.html">Fusion Wheels</option>
<option value="admin_add_spintrack.html">Spin Tracks</option>
<option value="admin_add_performancetip.html">Tips</option>
</select>
<br><br>
<div id="fusionwheel">
<div>
<label for="name">Fusion Wheel Name: </label>
<input type="text" name="name">
</div>
<br>
<div>
<label for="weight">Weight: </label>
<input type="number" name="weight">
</div>
<br>
<div>
<label for="attack">Attack Value: </label>
<input type="number" name="attack">
</div>
<br>
<div>
<label for="defense">Defense Value: </label>
<input type="number" name="defense">
</div>
<br>
<div>
<label for="stamina">Stamina Value: </label>
<input type="number" name="stamina">
</div>
<br>
<div>
<label for="generation">Generation: </label>
<input type="text" name="generation">
</div>
<br>
<div>
<label for="price">Price: </label>
<input type="number" name="price" step="0.01">
</div>
<br>
<div>
<label for="quantity">Number of Units: </label>
<input type="number" name="quantity">
</div>
<p>Is this a fake clone?:</p>
<div>
<label for="yes">Yes</label>
<input type="radio" id="yes" value="1" name="yesNo">
<label for="no">No</label>
<input type="radio" id="no" value="0" name="yesNo">
</div>
<p>Spin Direction:</p>
<div>
<label for="left">Left</label>
<input type="radio" id="left" value="left" name="spinDirection">
<label for="right">Right</label>
<input type="radio" id="right" value="right" name="spinDirection">
<label for="both">Both</label>
<input type="radio" id="both" value="both" name="spinDirection">
</div>
<br>
<div>
<label for="itemPicture">Please upload an image of the item:</label><br><br>
<input type="file" id="itemPicture" name="itemPicture" accept="image/png, image/jpeg, image/jpg">
</div>
</div>
<br>
<div>
<input type="submit" onclick="test()">
</div>
</form>
</body>
</html>