Example #1
0
?>
        <?php 
if (count($peculariedades) > 0) {
    ?>
        <h6><?php 
    echo _("Quirks");
    ?>
</h6>
        <?php 
    echo implode(', ', $peculariedades);
    ?>
        <?php 
}
?>
        <?php 
$pericias = $personagem->listarPericia();
?>
        <?php 
if (count($pericias) > 0) {
    ?>
        <table width="100%">
            <thead>
                <tr>
                    <th><?php 
    echo _("Skills");
    ?>
</th>
                    <th class="text-center"><?php 
    echo _("Level");
    ?>
</th>
echo _("RelLv");
?>
</th>
                    <th class="text-center"><?php 
echo _("Pts");
?>
</th>
                    <th>&nbsp;</th>
                </tr>
            </thead>
            <tbody>
            <?php 
$i = 0;
?>
            <?php 
foreach ($personagem->listarPericia() as $pericia) {
    ?>
            <tr id="pericia<?php 
    echo $i;
    ?>
">
                <td>
                    <input type="hidden" class="slug" name="pericia[<?php 
    echo $i;
    ?>
][slug]" value="<?php 
    echo $pericia->getSlug();
    ?>
" />
                    <input type="hidden" class="nome" name="pericia[<?php 
    echo $i;