9 lines
365 B
PHP
9 lines
365 B
PHP
<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 ?>">
|
|
<?= $c['name'] ?>
|
|
<span class="badge"><?= $c['level'] ?></span>
|
|
<span class="badge green selected">Active</span>
|
|
</label>
|
|
</div>
|