<!--{eval
    if(SCRIPTNAV != 'index' && $_G[show_sitename]):
        $_HEAD[title] .= $_G['cfg']['titlesplit'] . $_G['cfg']['sitename'];
    endif;
    if(!$_HEAD['keywords']):
        $_HEAD[keywords] = $_G['cfg']['meta_keywords'];
    endif;
    if(!$_HEAD['description']):
        $_HEAD[description] = $_G['cfg']['meta_description'];
    endif;
}-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$_G[charset]" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title>$_HEAD[title] - Powered by Modoer</title>
<meta name="keywords" content="$_HEAD[keywords],modoer,mudder,点评系统,评论系统,商家点评,产品点评" />
<meta name="description" content="$_HEAD[description],免费开源的php点评系统modoer" />
<!--{if $_CFG[headhtml]}-->{LF}$_CFG[headhtml]{LF}<!--{/if}-->
<link rel="stylesheet" type="text/css" href="{URLROOT}/{$_G[tplurl]}css_common.css" />
<link rel="stylesheet" type="text/css" href="{URLROOT}/static/images/mdialog.css" />
<script type="text/javascript" src="{URLROOT}/data/cachefiles/config.js"></script>
<script type="text/javascript">
<!--{if !empty($MOD)}-->
var mod = modules['{$MOD[flag]}'];
<!--{/if}-->
</script>
<script type="text/javascript" src="{URLROOT}/static/javascript/jquery.js"></script>
<script type="text/javascript" src="{URLROOT}/static/javascript/common.js"></script>
<script type="text/javascript" src="{URLROOT}/static/javascript/mdialog.js"></script>
</head>
<body>
<!--{if SCRIPTNAV == 'index'}-->
<style type="text/css">@import url("{URLROOT}/{$_G[tplurl]}css_index.css");</style>
<!--{elseif SCRIPTNAV == 'assistant'}-->
<style type="text/css">@import url("{URLROOT}/{$_G[tplurl]}css_assistant.css");</style>
<!--{elseif !empty($MOD) && is_file(MUDDER_ROOT . $_G[tplurl] . 'css_' . $MOD['flag'] . '.css')}-->
<style type="text/css">@import url("{URLROOT}/{$_G[tplurl]}css_{$MOD[flag]}.css");</style>
<!--{/if}-->
<script type="text/javascript" src="{URLROOT}/static/javascript/member.js"></script>
<!--{if !empty($MOD) && $MOD['flag']!='member' && is_file(MUDDER_ROOT . 'static/javascript/' . $MOD['flag'] . '.js')}-->
<script type="text/javascript" src="{URLROOT}/static/javascript/$MOD[flag].js"></script>
<!--{/if}-->
<div id="gtop">
    <div class="maintop">
        <div class="maintop-left">
            <a href="javascript:;" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('$_CFG[siteurl]')">设为首页</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:;" onclick="window.external.addFavorite('$_CFG[siteurl]','$_CFG[sitename]');">加入收藏</a>
        </div>
        <div class="maintop-right">
            <a href="{url item/detail/random/1}">随便看看</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{url item/member/ac/subject_add}">增加主题</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{url review/member/ac/add}">我要点评</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{url item/search}">搜索</a>
        </div>
        <div class="clear"></div>
    </div>
</div>
<div id="header">
    <div class="mainmenu">
        <div class="logo">
            <a href="{url modoer/index}"><img src="{URLROOT}/static/images/logo.jpg" alt="$_CFG[sitename]" title="$_CFG[sitename]"></a>
        </div>
        <div class="charmenu">
            <div id="login_0">
                <!--{if $_G['passport_apis']}-->
                <span class="passport_api">
                    <!--{loop $_G['passport_apis'] $passport_name $passport_title}-->
                    <span onclick="document.location='{url member/login/op/passport_login/type/$passport_name}';"><img src="{URLROOT}/static/images/passport/{$passport_name}_n.png" />使用{$passport_title}登录</span>
                    <!--{/loop}-->
                </span>&nbsp;&nbsp;|
                <!--{/if}-->
                <span class="arrow-ico"><a href="{url member/login}">登录</a></span>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{url member/reg}">快速注册</a>
            </div>
            <div id="login_1" style="display:none;">
                你好，<a href="{url member/index}" id="login_name"></a>[<a href="{url member/login/op/logout}">退出</a>]&nbsp;&nbsp;|&nbsp;&nbsp;<a 
                href="{url member/index/ac/pm/folder/inbox}">短信箱</a><span id="login_newmsg" style="display:none;">(0)</span>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{url space}">个人空间</a>
            </div>
            <div id="login_2" style="display:none;">
                <span id="login_activation"></span>,<a href="{url ucenter/activation/auth/_activationauth_}" id="login_activation_a">您的帐号需要激活</a> [<a href="{url member/login/op/logout}">退出</a>]
            </div>
            <div>
                <a href="{url item/detail/random/1}">随便看看</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{url item/member/ac/subject_add}">增加主题</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{url review/member/ac/add}">我要点评</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="{url item/search}">搜索</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:;" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('$_CFG[siteurl]')">设为首页</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:;" onclick="window.external.addFavorite('$_CFG[siteurl]','$_CFG[sitename]');">加入收藏</a>
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <!--{eval $main_menus = $_CFG['main_menuid'] ? $_G['loader']->variable('menu_' . $_CFG['main_menuid']) : '';}-->
    <ul class="tabmenu">
        <!--{loop $main_menus $val}-->
        <li{if SCRIPTNAV==$val[scriptnav]} class="current"{/if}><a href="{url $val[url]}"{if $val[target]} target="$val[target]"{/if} onfocus="this.blur()">$val[title]</a></li>
        <!--{/loop}-->
    </ul>
    <div class="search">
        <form method="get" action="{URLROOT}/index.php">
        <input type="hidden" name="act" value="search" />
        <input type="hidden" name="ordersort" value="addtime" />
        <input type="hidden" name="ordertype" value="desc" />
        <input type="hidden" name="searchsubmit" value="yes" />
        <select name="module_flag">
          <option value="item"{if $MOD['flag']=='item'}selected="selected"{/if}>主题</option>
          <option value="product"{if $MOD['flag']=='product'}selected="selected"{/if}>产品</option>
          <option value="review"{if $MOD['flag']=='review'}selected="selected"{/if}>点评</option>
          <option value="article"{if $MOD['flag']=='article'}selected="selected"{/if}>资讯</option>
          <option value="coupon"{if $MOD['flag']=='coupon'}selected="selected"{/if}>优惠券</option>
        </select>
        &nbsp;
        <input type="text" name="keyword" value="" class="input" x-webkit-speech="x-webkit-speech" />&nbsp;
        <input type="image" src="{URLROOT}/{$_G[tplurl]}img/search.png" class="btn" title="搜索" />&nbsp;
        </form>
        <div class="s_right">
            <a href="{url member/login}" id="login_btn_0"><img src="{URLROOT}/{$_G[tplurl]}img/login.png" title="会员登录" alt="login" class="btn" /></a>&nbsp;
            <a href="{url item/tag}"><img src="{URLROOT}/{$_G[tplurl]}img/tag.png" title="TAG标签" alt="tag" class="btn" /></a>&nbsp;
            <a href="{url item/rss/catid/$catid}" target="_blank"><img src="{URLROOT}/{$_G[tplurl]}img/rss.png" title="RSS聚合" alt="rss" class="btn" /></a>
        </div>
    </div>
</div>
<script type="text/javascript" src="{URLROOT}/static/javascript/login.js"></script>
{LF}