<?php
    /**
     * Team filter view.
     *
     * To be included from the team view.
     *
     * @category View
     * @property_read mixed[] $filters Selected filters.
     * @property_read Teams_Page $page The page model.
     * @property_read int $page Player ID.
     */
?>
<form action='/<?=$UID?>/teams/' method='get'  id='filter_monsters' class='filter'>
    <table>
        <tr>
            <td class='filter' colspan='2'>
                <span>Name:</span>
                <input type='text' name='name' id='filter_name' value='<?=$page->filters["NAME"]?>'/>
            </td>
            <td>
                <span>Area:</span>
                <select name='area'>
                    <option value=''> <option>
                    <option value='<?=AREA_TYPE_ID::SCENARIO?>'>Scenario</option>
                    <option value='<?=AREA_TYPE_ID::CAIROS_DUNGEON?>'>Cairos Dungeon</option>
                    <option value='<?=AREA_TYPE_ID::RIFT_DUNGEON?>'>Rift Dungeon</option>
                    <option value='<?=AREA_TYPE_ID::RIFT_RAID?>'>Rift Raid</option>
                    <option value='<?=AREA_TYPE_ID::DIMENSIONAL_HOLE?>'>Dimensional Hole></option>
                    <option value='<?=AREA_TYPE_ID::ARENA?>'>Arena</option>
                    <option value='<?=AREA_TYPE_ID::GUILD_WAR?>'>Guild War</option>
                    <option value='<?=AREA_TYPE_ID::GUILD_SIEGE?>'>Guild Siege</option>
                    <option value='<?=AREA_TYPE_ID::TARTARUS_LABYRINTH?>'>Tartarus Labyrinth</option>
                    <option value='<?=AREA_TYPE_ID::TRIAL_OF_ASCENSION?>'>Trial of Ascension</option>
                    <option value='<?=AREA_TYPE_ID::WORLD_BOSS?>'>World Boss</option>
                    <option value='<?=AREA_TYPE_ID::DIMENSIONAL_RIFT?>'>Dimensinal Rift</option>
                </select>
            </td>
        </tr>
    </table>
    <div id='filter_apply'>
        <input type='submit' value='Apply'/>
    </div>
</form>

