-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexperience.php
More file actions
128 lines (125 loc) · 5.67 KB
/
experience.php
File metadata and controls
128 lines (125 loc) · 5.67 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
<div class="panel-body">
<div class="row">
<div class="col-sm-6">
<div id='update_HuntXP'>
<label class="checkbox">Hunt XP: </label>
<?php
for ($i = 1; $i <= $hunt_xp['XP']; $i++) {
echo ' <input type="checkbox" class="test2" value="less,'.$hunt_xp['XP'].'" id="HuntXP" aria-label="..." checked> ';
}
$uncheck_huntXP = 15 - $hunt_xp['XP'];
for ($s = 1; $s <= $uncheck_huntXP; $s++) {
echo ' <input type="checkbox" class="test2" value="more,'.$hunt_xp['XP'].'" id="HuntXP" aria-label="..." > ';
}
?>
</div>
<?php $weapon = array("1" => "Dagger","2" => "Sword", "3" => "Club", "4" => "Bow","5" =>"Catar") ?>
<br/>
<label >Weapon proficiency type: </label>
<select class="form-control test" id="weapon">
<?php
foreach($weapon as $key => $name){
if ($w_proficiency['TYPE'] == $key){
echo '<option value="'.$key.' "selected>'.$name.'</option>'; //close your tags!!
}else{
echo '<option value="'.$key.'">'.$name.'</option>'; //close your tags!!
}
}
?>
</select>
<div id='update_proficiency'>
<label class="checkbox">Weapon proficiency: </label>
<?php
for ($i = 1; $i <= $w_proficiency['PROFICIENCY']; $i++) {
echo ' <input type="checkbox" id="proficiency" class="test2" value="less,'.$w_proficiency['PROFICIENCY'].'" aria-label="..." checked> ';
}
$uncheck_proficiency = 15 - $w_proficiency['PROFICIENCY'];
for ($s = 1; $s <= $uncheck_proficiency; $s++) {
echo ' <input type="checkbox" id="proficiency" class="test2" value="more,'.$w_proficiency['PROFICIENCY'].'" aria-label="..." > ';
}
?>
</div>
</div>
<div class="col-sm-6">
<div class="row">
<div class="col-sm-12">
<div id='update_Courage'>
<label class="checkbox">Courage </label>
<?php
for ($i = 1; $i <= $courage['COURAGE']; $i++) {
echo ' <input type="checkbox" class="test2" value="less,'.$courage['COURAGE'].'" id="Courage" aria-label="..." checked> ';
}
$uncheck_courage = 10 - $courage['COURAGE'];
for ($s = 1; $s <= $uncheck_courage; $s++) {
echo ' <input type="checkbox" class="test2" value="more,'.$courage['COURAGE'].'" id="Courage" aria-label="..." > ';
}
?>
</div>
</div>
<div class="col-sm-3">
<div class="radio">
<label>
<input type="radio" class='test' name="courage" id="courage_1" value="1" <?php echo ($courage['OPTION_COURAGE'] == 1 ? 'checked': ""); ?>>
Stalwart
</label>
</div>
<div class="radio">
<label>
<input type="radio" class='test' name="courage" id="courage_2" value="2" <?php echo ($courage['OPTION_COURAGE'] == 2 ? 'checked' : ""); ?>>
Prepared
</label>
</div>
<div class="radio">
<label>
<input type="radio" class='test' name="courage" id="courage_3" value="3" <?php echo ($courage['OPTION_COURAGE'] == 3 ? 'checked' : ""); ?>>
Matchmaker
</label>
</div>
</div>
<div class="col-sm-8">
<textarea class="form-control test" id="courage_other" rows="3"><?php echo $courage['OTHER']?></textarea>
</div>
<hr/>
<div class="col-sm-12">
<div id="update_Understanding">
<label class="checkbox">Understanding </label>
<?php
for ($i = 1; $i <= $understanding['Understanding']; $i++) {
echo ' <input type="checkbox" class="test2" value="less,'.$understanding['Understanding'].'" id="Understanding" aria-label="..." checked> ';
}
$uncheck_understanding = 10 - $understanding['Understanding'];
for ($s = 1; $s <= $uncheck_understanding; $s++) {
echo ' <input type="checkbox" class="test2" value="more,'.$understanding['Understanding'].'" id="Understanding" aria-label="..." > ';
}
?>
</div>
</div>
<div class="col-sm-3">
<div class="radio">
<label>
<input type="radio" class="test" name="understanding" id="understanding_1" value="1" <?php echo ($understanding['OPTION_UNDERSTANDING'] == 1 ? 'checked': ""); ?>>
Analyse
</label>
</div>
<div class="radio">
<label>
<input type="radio" class="test" name="understanding" id="understanding_2" value="2" <?php echo ($understanding['OPTION_UNDERSTANDING'] == 2 ? 'checked': ""); ?>>
Explore
</label>
</div>
<div class="radio">
<label>
<input type="radio" class="test" name="understanding" id="understanding_3" value="3" <?php echo ($understanding['OPTION_UNDERSTANDING'] == 3 ? 'checked': ""); ?>>
Tinker
</label>
</div>
</div>
<div class="col-sm-8">
<textarea class="form-control test" id='understanding_other' rows="3"><?php echo $understanding['OTHER']; ?></textarea>
</div>
</div>
</div>
</div>
</div>
</div>