Esempio n. 1
0
function section_players_doSelectForm($sort, $include)
{
    echo '<TABLE align=center class=insetForm><TR><TD>';
    echo "<TABLE border=0 cellpadding=0 cellspacing=0><TR><TD>\n  <form action=\"index.php\" name=none>\n  <input type=hidden name=link value=players>\n  SORT:&nbsp;</td><TD>\n  <select name=sort>";
    htmlOption('callsign', 'Callsign', $sort);
    htmlOption('team', 'Team', $sort);
    htmlOption('country', 'Country', $sort);
    htmlOption('joined', 'Date Joined', $sort);
    echo "</select></td><TD width=12></td><td>\n  Include:&nbsp; \n  </td><TD>\n  <select name=include>";
    htmlOption(3, 'ALL Players', $include);
    htmlOption(1, 'TEAMLESS Players', $include);
    htmlOption(2, 'TEAM Members', $include);
    echo '</select></td><td width=12></td><TD>' . htmlFormButSmall('Show Me', '') . '</td></tr></table></td></tr></table></form>';
}
Esempio n. 2
0
function section_fights_doForm($teamid, $numdays, $detail)
{
    echo '<TABLE align=center class=insetForm><TR><TD>';
    echo "<TABLE border=0 cellpadding=0 cellspacing=0><TR valign=middle><TD>\n  <form action=\"index.php\" name=none>\n  <input type=hidden name=link value=fights>\n  <input type=hidden name=id value={$teamid}>\n  Period:&nbsp;</td><TD>\n  <select name=days>";
    htmlOption(15, '15 days', $numdays);
    htmlOption(30, '30 days', $numdays);
    htmlOption(60, '60 days', $numdays);
    htmlOption(90, '90 days', $numdays);
    htmlOption(182, '6 months', $numdays);
    htmlOption(365, '1 year', $numdays);
    htmlOption(0, 'ALL', $numdays);
    echo "</select><BR>\n  </td><TD width=15></td>";
    if (isFuncAllowed('match_detail')) {
        echo "<TD>Detail:&nbsp;</td><TD>\n    <select name=det>";
        htmlOption(0, 'none', $detail);
        htmlOption(2, 'some', $detail);
        htmlOption(5, 'all', $detail);
        echo "</select><BR>\n    </td><TD width=15></td>";
    }
    echo '<TD align=left>' . htmlFormButSmall('Show me', '') . '</td></tr></table></td></tr></table></form>';
}