<!-- add this to img.header.tpl. I removed some unused features like RSS and watched threads. You can add them easily -->
<link rel="stylesheet" type="text/css" href="{$cwebpath}css/yobaheader.css" />
<header>
<div id="naw">
<nav>
{if $replythread neq 0}
<a href="{%KU_WEBFOLDER}{$board.name}/" class="retarrrow"><span>←</span></a>
<span class="divider-naw"></span>
{/if}
{if $replythread neq 0}
<span class="nawbox">>></span>
{/if}
<span id= "boardsel" class="nawbox" {if $replythread neq 0}style="padding: 0 4px;"{/if}>
<select onchange="javascript:if(selectedIndex != 0)location.href='{%KU_BOARDSPATH}/' + this.options[this.selectedIndex].value;">
<option>/{$board.name}/</option>
{foreach name=sections item=sect from=$boardlist}
{foreach name=brds item=brd from=$sect}
{if $brd.name neq $board.name}
<option value="{$brd.name}">/{$brd.name}/</option>
{/if}
{/foreach}
{/foreach}
</select>
</span>
<!-- the rest code is only if it's not a reply. I did this because of the same problem: img_header couldn't access {$posts.0.id}. Notice that [header] does not close if it is a reply. It is continued in img_reply_header -->
{if $replythread eq 0}
<span class="divider-naw"></span>
<a href="#bottom">↓</a>
<a href="#top">↑</a>
<span class="divider-naw"></span>
{if $thispage neq 0}
<a href="{%KU_BOARDSFOLDER}{$board.name}/{if ($thispage-1) neq 0}{$thispage-1}.html{/if}">{t}Previous{/t}</a>
{/if}
<span class="nawbox" id="pnum">{$thispage}</span>
{if $thispage neq $numpages}
<a href="{%KU_BOARDSPATH}/{$board.name}/{$thispage+1}.html">{t}Next{/t}</a>
{/if}
</nav>
<a class="nawright" href="{%KU_WEBPATH}" target="_top">{t}Home{/t}</a>
<a class="nawright" href="#" onclick="javascript:options();return false">{t}Options{/t}</a>
<span class="nawright">
<select style= "width: 5em;" onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
<option>{t}Styles{/t}</option>
{loop $ku_styles}
<option value="{$|capitalize}">{$|capitalize}</option>;
{/loop}
</select>
</span>
</div>
</header>
{/if}
<!-- and this is reply_header -->
<span class="nawbox">{$posts.0.id}</span>
<span class="divider-naw"></span>
<a href="#bottom">↓</a>
<a href="#top">↑</a>
<span class="divider-naw"></span>
</nav>
<a class="nawright" href="{%KU_WEBPATH}" target="_top">{t}Home{/t}</a>
<a class="nawright" href="#" onclick="javascript:options();return false">{t}Options{/t}</a>
<span class="nawright">
<select style= "width: 5em;" onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
<option>{t}Styles{/t}</option>
{loop $ku_styles}
<option value="{$|capitalize}">{$|capitalize}</option>;
{/loop}
</select>
</span>
</div>
</header>