mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 16:34:23 -05:00
level editor functional
This commit is contained in:
4
test.php
4
test.php
@@ -45,7 +45,7 @@ foreach ($res as $key => $item) {
|
||||
$newItem = [];
|
||||
$newItem['LevelName'] = $item['LevelName']; // Copy the LevelName to new item
|
||||
foreach ($levelsAll[$key] as $levelsKey => $levelsValue) {
|
||||
//$newItem[$levelsKey] = isset($monstats[$levelsValue]) ? $monstats[$levelsValue] : $levelsValue;
|
||||
$newItem[$levelsKey] = isset($monstats[$levelsValue]) ? $monstats[$levelsValue] : $levelsValue;
|
||||
}
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ ddump($output);
|
||||
echo "<table id='myTable' class='table table-bordered table-striped'>";
|
||||
|
||||
// Display table headers with Bootstrap styling
|
||||
$headers = ['Id', 'Name', 'LevelName', "", "", "", ""];
|
||||
$headers = ['Id', 'Name', 'LevelName'];
|
||||
for ($i = 0; $i < 8; $i++) {
|
||||
$headers[] = "Vis" . $i;
|
||||
}
|
||||
|
Reference in New Issue
Block a user