<select class="input" name="where" style="width:100px">
  <option value="">{#Page_Search_All#}</option>
  {if get_active('News') && permission('news')}<option value="news" {if $smarty.get.where=='news'}selected="selected" {/if}> - {#Page_Search_News#}</option>{/if}
  {if get_active('articles') && permission('articles')}<option value="articles" {if $smarty.get.where=='articles'}selected="selected" {/if}> - {#Page_Search_Articles#}</option>{/if}
  {if get_active('shop') && $is_pro==1}<option value="shop" {if $smarty.get.where=='shop'}selected="selected" {/if}> - {#Page_Search_Shop#}</option>{/if}
  <option value="content" {if $smarty.get.where=='content'}selected="selected" {/if}> - {#Page_Search_Content#}</option>
  {if get_active('faq')}<option value="faq" {if $smarty.get.where=='faq'}selected="selected" {/if}> - {#Page_Search_Faq#}</option>{/if}
  {if get_active('downloads') && permission('downloads')}<option value="downloads" {if $smarty.get.where=='downloads'}selected="selected" {/if}> - {#Page_Search_Downloads#}</option>{/if}
  {if get_active('links') && permission('links')}<option value="links" {if $smarty.get.where=='links'}selected="selected" {/if}> - {#Page_Search_Links#}</option>{/if}
  {if get_active('gallery') && permission('gallery')}<option value="gallery" {if $smarty.get.where=='gallery'}selected="selected" {/if}> - {#Page_Search_Gallery#}</option>{/if}
  {if get_active('products') && permission('products')}<option value="products" {if $smarty.get.where=='products'}selected="selected" {/if}> - {#Page_Search_Products#}</option>{/if}
  {if get_active('manufacturer') && permission('manufacturer')}<option value="manufacturer" {if $smarty.get.where=='manufacturer'}selected="selected" {/if}> - {#Page_Search_Manufacturer#}</option>{/if}
  {if get_active('cheats') && permission('cheats')}<option value="cheats" {if $smarty.get.where=='cheats'}selected="selected" {/if}> - {#Page_Search_Cheats#}</option>{/if}
</select>