<!-- Forum Selektor Template -->


<form action="index.php?p=showforum" method="post" name="fp" id="fp">
        <select class="input" name="fid" style="width:200px">
          {foreach from=$categories_dropdown item=category name=cdd}
		  <optgroup label="{$category->title}">
		  	{foreach from=$category->forums item=forum_dropdown name=fdd}
          {if $forum_dropdown->category_id == 0}
        <option style="font-weight: bold; font-style: italic;" value="{$forum_dropdown->id}" {if $smarty.request.fid == $forum_dropdown->id} selected="selected" {/if}>
          {$forum_dropdown->visible_title}
          </option>
          {else}
          <option value="{$forum_dropdown->id}" {if $smarty.request.fid == $forum_dropdown->id} selected="selected" {/if}>
           {$forum_dropdown->visible_title}
          </option>
          {/if}
		  	{/foreach}
			</optgroup>
          {/foreach}
        </select>
		<input type="submit" class="button" value="{#Forums_ShowButton#}" />
      </form>
