<flexy:switch var="{mode}">
<flexy:case value="">
    <FORM action="admin.php" method=POST>
    <flexy:component name="fh" class="fill_hidden">
    <input type=hidden name="mode" value="add">
    <input type=submit value=" Create new user ">
    </form>
    <hr>
    <b>Search user</b><br><br>
    <FORM action="admin.php" method=GET>
    <flexy:component name="fh" class="fill_hidden">
    <input type=hidden name="target" value="users">
    <input type=hidden name="page" value="{page}">
    <input type=hidden name="mode" value="edit">
    User ID: 
    <input type=text name="id" size=5>
    <input type=submit value=" Find ">
    </form>
    <FORM action="admin.php" method=GET>
    <flexy:component name="fh" class="fill_hidden">
    <input type=hidden name="target" value="users">
    <input type=hidden name="page" value="">
    User E-mail: 
    <input type=text name="semail" size=20>
    <input type=submit value=" Find ">
    </form>
    <hr>


    <flexy:include src="admin/users/list.tpl">
    <flexy:break>
<flexy:case value="edit">
    <a href="{zoner}?target={target}&page={page}">&lt;&lt; Back</a><br><br>
    <flexy:include src="admin/users/edit.tpl">
    <flexy:break>
<flexy:case value="add">
    <a href="{zoner}?target={target}&page={page}">&lt;&lt; Back</a><br><br>
    <flexy:include src="admin/users/add.tpl">
    <flexy:break>
<flexy:end>