DK2/templates/components/char_select_box.php

9 lines
365 B
PHP
Raw Permalink Normal View History

2024-10-23 17:39:48 -05:00
<div class="radio-block <?= $id === user()->char_id ? 'active' : '' ?>">
<input type="radio" name="char_id" value="<?= $id ?>" id="char_<?= $id ?>"<?= $id === user()->char_id ? 'disabled' : '' ?>>
<label for="char_<?= $id ?>">
2024-10-24 18:23:55 -05:00
<?= $c['name'] ?>
<span class="badge"><?= $c['level'] ?></span>
2024-10-11 18:17:38 -05:00
<span class="badge green selected">Active</span>
</label>
</div>