    <form name="kontoauszug" action="<?=$SELF_PHP?>" method="POST">
      <input type="hidden" name="submit" value="submit" />
      <fieldset class="fieldset"><legend>Kontoauszug erstellen</legend>
        <? if (isset($error)) { ?>
        <p style="color: red"><?=$error?></p>
        <? } ?>
        <label class="label" for="startdate">Startdatum (yyyy-mm-dd)</label></span>
        <input type="text" name="startdate" id="startdate" value="<?=isset($startdate)?$startdate:''?>" />
          <script type="text/javascript">
            $(function() {
              $("#startdate").datepicker({ dateFormat: 'yy-mm-dd' });});
          </script>
        <br/>
        <br/>
        <label class="label" for="enddate">Enddatum (yyyy-mm-dd)</label>
        <p>
        <input type="text" name="enddate" id="enddate"  value="<?=isset($enddate)?$enddate:''?>" />
        </p>
        <script type="text/javascript">
          $(function() {
            $("#enddate").datepicker({ dateFormat: 'yy-mm-dd' });});
        </script>

<!--
        <hr/>
        <span class="label">Korrektur</span>
        <p>
          <input style="float: left" type="radio" name="korrektur" id="korrekturyes" value="yes" <?=$korrektur=='yes'?'checked="checked"':''?> />
          <label style="float: left" for="korrekturyes">&nbsp;Ja&nbsp;</label>
          <br/>
          <span class="label">&nbsp;</span>
          <input style="float: left" type="radio" name="korrektur" id="korrekturno" value="no" <?=$korrektur=='no' || !isset($korrektur)?'checked="checked"':''?> />
          <label style="float: left" for="koorrekturno">&nbsp;Nein&nbsp;</label>
        </p>

-->
        <hr/>
        <span class="label">Teilnehmergruppe</span>
        <p>
          <input style="float: left" type="radio" name="group" id="groupu18" value="u18" <?=(isset($group) && $group=='u18')?'checked="checked"':''?> />
          <label style="float: left" for="groupu18">&nbsp;U18&nbsp;</label>
          <br/>
          <span class="label">&nbsp;</span>
          <input style="float: left" type="radio" name="group" id="groupo18" value="o18" <?=(!isset($group)||$group=='o18')?'checked="checked"':''?> />
          <label style="float: left" for="groupo18">&nbsp;O18&nbsp;</label>
          <br/>
          <span class="label">&nbsp;</span>
          <input style="float: left" type="radio" name="group" id="groupwechsler" value="wechsler" <?=(isset($group)&&$group=='wechsler')?'checked="checked"':''?> />
          <label style="float: left" for="groupwechsler">&nbsp;Wechsler (Vollj&auml;hrig geworden)&nbsp;</label>
          <br/>
          <div style="clear: both"></div>
        </p>
        <hr/>

        <span class="label">Versand</span>
        <p>
          <input style="float: left" type="radio" name="versand" id="versandletter" value="1" <?=$versand=='1' || !isset($versand)?'checked="checked"':''?> />
          <label style="float: left" for="versandletter">&nbsp;Brief&nbsp;</label>
          <br/>
          <span class="label">&nbsp;</span>
          <input style="float: left" type="radio" name="versand" id="versandemail" value="2" <?=$versand=='2'?'checked="checked"':''?> />
          <label style="float: left" for="versandemail">&nbsp;E-Mail&nbsp;</label>
          <br/>
          <span class="label">&nbsp;</span>
          <input style="float: left" type="radio" name="versand" id="versandkein" value="0" <?=$versand=='0'?'checked="checked"':''?> />
          <label style="float: left" for="versandemail">&nbsp;Kein&nbsp;</label>
        </p>
        <hr/>
        <span class="label">Punkteverfaller</span>
        <p>
          <input style="float: left" type="radio" name="plusnurverfaller" id="punkteverfallernein" value="0" <?=(!$plusnurverfaller=='1') || !isset($plusnurverfaller)?'checked="checked"':''?> />
          <label style="float: left" for="punkteverfallernein">&nbsp;Nein&nbsp;</label>
          <br/>
          <span class="label">&nbsp;</span>
          <input style="float: left" type="radio" name="plusnurverfaller" id="punkteverfallerja" value="1" <?=$plusnurverfaller=='1'?'checked="checked"':''?> />
          <label style="float: left" for="punkteverfallerja">&nbsp;Ja&nbsp;</label>
        </p>
        <hr/>

        <span class="label">Mit Konto&auml;nderungen</span>
        <p>
          <input style="float: left" type="radio" name="nobalance" id="nobalancenein" value="0" <?=(!$nobalance=='1') || !isset($nobalance)?'checked="checked"':''?> />
          <label style="float: left" for="nobalancenein">&nbsp;Ja&nbsp;</label>
          <br/>
          <span class="label">&nbsp;</span>
          <input style="float: left" type="radio" name="nobalance" id="nobalanaceja" value="1" <?=$nobalance=='1'?'checked="checked"':''?> />
          <label style="float: left" for="nobalanaceja">&nbsp;Nein&nbsp;</label>
        </p>
        <hr/>


        <span class="label">Debug</span>

        <input style="float: left" type="radio" name="debug" id="debugnein" value="0" <?=(!$debug=='1') || !isset($debug)?'checked="checked"':''?> />
        <label style="float: left" for="debugnein">&nbsp;Nein&nbsp;</label>
<br/>

        <span class="label">&nbsp;</span>
        <input style="float: left" type="radio" name="debug" id="debugja" value="1" <?=$debug=='1'?'checked="checked"':''?> />
        <label style="float: left" for="debugja">&nbsp;Ja&nbsp;</label>

        <br/>
        <br/>

        <label class="label" for="submit">&nbsp;</label><input id="submit" type="submit" value="submit" />
        </fieldset>
    </form>
<script type="text/javascript">
  document.forms.kontoauszug.startdate.focus();
</script>
