mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 16:34:23 -05:00
d2s checksum working, no more bad generic file
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$form = new Formr\Formr('bootstrap4');
|
||||
$form = new Formr\Formr();
|
||||
|
||||
/*
|
||||
|
||||
@@ -80,18 +80,28 @@ EOT;
|
||||
<?php
|
||||
foreach ($charData as $c) {
|
||||
|
||||
foreach ($c->charData['Quests'] as $quest) {
|
||||
foreach ($quest as $q) {
|
||||
$quests = null;
|
||||
foreach ($c->charData['Quests'] as $quest) {
|
||||
foreach ($quest as $difficulty => $q) {
|
||||
foreach ($q as $k => $v) {
|
||||
$quest .= "$k = $v<br>";
|
||||
if ($v == 1) {
|
||||
$quests .= "<input type='checkbox' $k = $v checked disabled>$k<br>";
|
||||
} else {
|
||||
$quests .= "<input type='checkbox' $k = $v disabled>$k<br>";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$wps = null;
|
||||
foreach ($c->charData['Waypoints'] as $waypoints) {
|
||||
foreach ($waypoints as $k => $v) {
|
||||
$wps .= "$k = $v<br>";
|
||||
foreach ($waypoints as $k => $v) {
|
||||
if ($v == 1 && $k != ''){
|
||||
$wps .= "<input type='checkbox' $k = $v checked disabled>$k<br>";
|
||||
} else {
|
||||
$wps .= "<input type='checkbox' $k = $v disabled>$k<br>";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -180,12 +190,10 @@ EOT;
|
||||
<select id='CharacterClass'>
|
||||
$option
|
||||
</select>
|
||||
<div>
|
||||
<input style="border: 1px solid black;width: 34px;" type="number" id="CharacterLevel" value="{$c->charData['CharacterLevel']}">: Char Lvl<br>
|
||||
<input style="border: 1px solid black;width: 34px;" type="number" id="CharacterLevel" value="{$c->charData['CharacterLevel']}"><br>
|
||||
$radio
|
||||
</div>
|
||||
</div>
|
||||
<div class="col"><h2>Quests</h2>$quest</div>
|
||||
<div class="col"><h2>Quests</h2>$quests</div>
|
||||
<div class="col"><h2>Waypoints</h2>$wps</div>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user