mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-12-02 21:46:03 +00:00
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
|
<?php
|
||
|
/*
|
||
|
GPLv2 (C) <2021> <HashCasper>
|
||
|
|
||
|
This file is part of D2IM.
|
||
|
|
||
|
D2IM is free software: you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation, either version 2 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
D2IM is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with D2IM. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
?>
|
||
|
<h2>Gem Maker</h2>
|
||
|
<div class="container">
|
||
|
<div class="form-group row">
|
||
|
<div class="col-2" style="background: #ccd;">
|
||
|
<select class="m-select custom-select" name="code[]" id="" required="required">
|
||
|
<option value="">Misc</option>
|
||
|
<?php
|
||
|
|
||
|
|
||
|
|
||
|
foreach ($misc as $a)
|
||
|
if ($a['spawnable']) {
|
||
|
echo '<option value="' . $a['code'] . '">' . $a['name'] . '</option>';
|
||
|
} else {
|
||
|
echo '<option disabled value="' . $a['code'] . '">' . $a['name'] . '</option>';
|
||
|
}
|
||
|
?>
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|