<form name="realty_switch" action="<{$xoops_url}>/modules/realty/index.php" method="get">
  <input type="radio" name="realty_switch" value="0" <{if $block.switch==0}>checked<{/if}> ><{$smarty.const._MB_FORSALE}>
  <input type="radio" name="realty_switch" value="1" <{if $block.switch==1}>checked<{/if}> ><{$smarty.const._MB_FORRENT}>
  <p>
    <input type="submit" value="<{$smarty.const._MB_SWITCH}>">
  </p>
</form>