mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-12-02 21:46:03 +00:00
Viz cols first
This commit is contained in:
parent
974de24f6f
commit
ac81143618
@ -10,7 +10,7 @@ require_once './src/D2Functions.php';
|
|||||||
require_once './src/D2ByteReader.php';
|
require_once './src/D2ByteReader.php';
|
||||||
require_once './src/D2BitReader.php';
|
require_once './src/D2BitReader.php';
|
||||||
|
|
||||||
error_reporting(E_ALL);
|
//error_reporting(E_ALL);
|
||||||
set_time_limit(-1);
|
set_time_limit(-1);
|
||||||
ini_set('max_input_time', '-1');
|
ini_set('max_input_time', '-1');
|
||||||
ini_set('max_execution_time', '0');
|
ini_set('max_execution_time', '0');
|
||||||
@ -100,7 +100,9 @@ unset($output[0]);
|
|||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<?php for ($i = 0; $i <= 7; $i++): ?>
|
<?php for ($i = 0; $i <= 7; $i++): ?>
|
||||||
<th>Vis<?php echo $i; ?></th>
|
<th>Vis<?php echo $i; ?></th>
|
||||||
<th>Warp<?php echo $i; ?></th> <!-- Add WarpX fields to header -->
|
<?php endfor; ?>
|
||||||
|
<?php for ($i = 0; $i <= 7; $i++): ?>
|
||||||
|
<th>Warp<?php echo $i; ?></th>
|
||||||
<?php endfor; ?>
|
<?php endfor; ?>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -120,8 +122,10 @@ unset($output[0]);
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
|
<?php endfor; ?>
|
||||||
|
|
||||||
|
<?php for ($i = 0; $i <= 7; $i++): ?>
|
||||||
<td class="warp">
|
<td class="warp">
|
||||||
<!-- Create WarpX dropdowns -->
|
|
||||||
<select name="Warp<?php echo $i; ?>" data-id="<?php echo $level['Id']; ?>">
|
<select name="Warp<?php echo $i; ?>" data-id="<?php echo $level['Id']; ?>">
|
||||||
<?php foreach ($lvlwarp as $key => $value): ?>
|
<?php foreach ($lvlwarp as $key => $value): ?>
|
||||||
<option value="<?php echo $key; ?>">
|
<option value="<?php echo $key; ?>">
|
||||||
@ -135,6 +139,7 @@ unset($output[0]);
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$("select[name^='Vis'], select[name^='Warp']").change(function () {
|
$("select[name^='Vis'], select[name^='Warp']").change(function () {
|
||||||
var levelId = $(this).data('id');
|
var levelId = $(this).data('id');
|
||||||
|
Loading…
Reference in New Issue
Block a user