<div id="search" class="common">
    <div class="search_wapper">
        <div id="site_title">
            <h1><a href="{__BASE_URL__}">{$sconf['sname']}</a></h1>
        </div>
        <div id="sform">
            <div class="swapper clear">
                <input type="text" value="{:empty($keywords) ? '片名关键字' : $keywords }" dtext="片名关键字" id="keyword" autocomplete="off" class="input" />
                <button ajaxurl="{url:'@search-|false'}" id="searchbtn">搜索</button>
            </div>
            <!--{eval $sconf['search'] = explode(',' , $sconf['search']);}-->
            <div class="stext">
                {foreach $sconf['search'] $k $v}
                <a href="{url:'search-%s|false' , $v}">{$v}</a>
                {/foreach}
            </div>
        </div>
    <div class="clear"></div>
    </div>
    <div class="banner ad">
    <!--{if !empty($ads[1])}-->
        <!--{foreach $ads[1] $k $v}-->
            <!--{if $v['ctype'] == '3'}-->
     <script src="{$v['desc']}"></script>
            <!--{else}-->
     <!--{$v['desc']|html}-->
            <!--{/if}-->
        <!--{/foreach}-->
    <!--{/if}-->
    </div>
    <div class="clear"></div>
    <!-- urhere -->
    <!--{if $_MOD != 'index'}-->
    <p id="snav">
    <!--{foreach $snav $k $v}-->
        <a href="{$v['url']}" title="{$v['name']}" {$v['target']} >{$v['name']}</a></li> 
    <!--{/foreach}-->
    </p>
    <!--{/if}-->
    <!-- urhere -->
    <div id="urhere" class="common">
        <p>
            <span>当前位置 : &nbsp;</span>
            <img alt="{$sconf['sname']}" src="{__CTPL_URL__}images/home.png"/>&nbsp;<a href="{__BASE_URL__}" title="{$sconf['sname']}">{$sconf['sname']}</a>
        <!--{foreach $urhere $k $v}-->
            &nbsp;&gt;&gt;&nbsp;
            <!--{if $k == 'cur'}--><span style="color:#eee">{$v}</span>
            <!--{else}--><a href="{url:$k}">{$v}</a>
            <!--{/if}-->
            &nbsp;
        <!--{/foreach}-->
        </p>
        <span class="fr updates">今日更新 <b>{$updates}</b> 部</span>
    </div>
    <!--/urhere -->
</div>