Example #1
0
				<div class="col-sm-9">
					<label class="radio-inline"><input type="radio" value="0" name="character_sex">Female</label>
					<label class="radio-inline"><input type="radio" value="1" name="character_sex">Male</label>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">Town</label>
				<div class="col-sm-9">
					<?php 
foreach (config('character', 'newchartowns') as $id) {
    ?>
						<label class="radio-inline"><input type="radio" value="<?php 
    echo $id;
    ?>
" name="character_town"><?php 
    echo townIdToName($id);
    ?>
 </label>
					<?php 
}
?>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-3 col-sm-9">
					<button type="submit" class="btn btn-primary">Create</button>
				</div>
			</div>
		</form>
	</div>
</div>
Example #2
0
        ?>
</td>
			</tr>

			<tr>
				<th>Level:</th>
				<td><?php 
        echo $char->getLevel();
        ?>
</td>
			</tr>

			<tr>
				<th>Town:</th>
				<td><?php 
        echo townIdToName($char->getTown());
        ?>
</td>
			</tr>

			<?php 
        if ($char->hasGuild()) {
            ?>
				<tr>
					<th>Guild Membership:</th>
					<td>
						<?php 
            echo $char->getGuild()['rank'];
            ?>
 of 
						<a href="<?php