<!--{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],点评系统" />
<meta name="description" content="$_HEAD[description]" />
<!--{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'||SCRIPTNAV == 'manage'}-->
<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/map}">浏览地图</a>&nbsp;&nbsp;|&nbsp;&nbsp;<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="nav_citys">
			<h2>$_CITY[name]</h2>
			<span><a href="#" id="city_menu_src" rel="city_menu_box">[切换城市]</a></span>
			<div class="clear"></div>
		</div>
        <div class="charmenu">
            <!--{if $_GET['act']!='reg'&&$_GET['act']!='login'}-->
            <div id="login_0" style="display:none;">
                <!--{if $_G['passport_apis']}-->
                <div class="passport_login">
                    <span class="passport_api" id="passport_api">
                        <!--{eval $ix=0;}-->
                        <!--{loop $_G['passport_apis'] $passport_name $passport_title}-->
                        <span {if $ix++} class="none" {/if} 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}-->
                        <div class="clear"></div>
                    </span>
                    <span>帐号互联，快速登录</span>
                </div>
                <!--{/if}-->
                <div class="mainlogin">
                    <!--{eval $membercfg=$_G['loader']->variable('config','member');}-->
                    <form method="post" id="main_frm_login" action="{url member/login/op/login/rand/$_G[random]}">
                    <dl>
                        <dd>
                            <input type="text" name="username" id="main_username" class="t_input mainlogin-u" onfocus="main_username_check(this);" onblur="main_username_check(this);" tabindex=1>
                            <input type="checkbox" name="life" value="2592000" tabindex=4 /><label for="life">记住</label>&nbsp;
                            <a href="{url member/login/op/forget}">找回密码</a>
                        </dd>
                        <dd>
                            <input type="password" name="password" id="main_password" class="t_input mainlogin-p"{if $membercfg['seccode_login']}onfocus="main_show_seccode(this,'main_frm_seccode');"{/if} tabindex=2>&nbsp;
                            <input type="hidden" name="onsubmit" value="yes">
                            <input type="button" value="登录" onclick="main_login();" tabindex=5>&nbsp;
                            <input type="button" value="注册" onclick="document.location='{url member/reg}';" tabindex=6>
                        </dd>
                    </dl>
                    <!--{if $membercfg['seccode_login']}-->
                    <div id="main_frm_seccode" style="padding:5px;border:1px solid #ddd; background:#fff;position:absolute; left:0; top:0; visibility:hidden;">
                        <input type="text" name="seccode" id="main_seccode" class="t_input" style="width:118px;" onblur="check_seccode(this.value);" tabindex=3 /><div id="login_seccode" style="margin-top:5px;"></div>
                    </div>
                    <!--{/if}-->
                    </form>
                </div>
            </div>
            <!--{/if}-->
            <div id="login_1" class="mainuser" style="display:none;">
                <div class="mainuser-face">
                    <a href="{url space}"><img src="{print get_face($user->uid)}" title="个人空间" /></a>
                </div>
                <div class="mainuser-operation">
                    <div class="mainuser-operation-foo"><span class="member-ico"><a href="{url space}" id="login_name"></a></span><span class="xsplit">|</span><span class="arrwd-ico" id="assistant_menu" rel="assistant_menu_box"><a href="{url member/index}">我的助手</a></span><span class="xsplit">|</span><a href="{url item/member/ac/g_subject}">主题管理</a><span class="xsplit">|</span><span><a href="{url member/index/ac/task}">任务</a><span id="login_task" style="display:none;"></span></span><span class="xsplit">|</span><a href="{url member/index/ac/pm/folder/inbox}">短信箱</a><span id="login_newmsg" style="display:none;">(0)</span><span class="xsplit">|</span><span><a href="{url member/index/ac/notice}">提醒</a><span id="login_notice" style="display:none;"></span></span><span class="xsplit">|</span><a href="{url member/login/op/logout}">退出</a></div>
                    <div>等级积分<b>:</b><span class="arrwd-ico" id="assistant_point" rel="{url member/index/ac/point/op/headerget}"><span id="login_point">$user->point</span></span><span class="xsplit">|</span>用户组<b>:</b><span id="login_group">{print:member group(groupid/$user->groupid)}</span></div>
                </div>
            </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>
        <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" class="none"><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>
<!-- 切换城市 下拉菜单 -->
<div id="city_menu_box" class="comm-dropdown-city">
    <ul>
        <!--{eval $index=0;}-->
        <!--{get:modoer val=citys(num/9)}-->
        <li{if $_CITY[aid]==$val[aid]} class="current"{/if}><a href="{print:modoer cityurl(city_id/$val[aid])}">$val[name]</a></li>
        <!--{eval $index++;}-->
        <!--{/get}-->
    </ul>
    <!--{if $index>1}--><div class="morecitys"><a href="{url index/city}">全部城市</a></div><!--{/if}-->
</div>
<!--{if $index}-->
<script type="text/javascript">
$("#city_menu_src").powerFloat({offsets:{x:0,y:2}});
</script>
<!--{/if}-->
<!-- 我的助手 下拉菜单 -->
<ul id="assistant_menu_box" class="dropdown-menu">
    <li><a href="{url member/index/ac/point}">我的积分</a></li>
    <li><a href="{url member/index/ac/follow}">我的关注</a></li>
    <li><a href="{url member/index/ac/task}">我的任务</a></li>
    <li><a href="{url member/index/ac/myset}">个人设置</a></li>
    <li><a href="{url member/index/ac/face}">修改头像</a></li>
</ul>
<!-- 积分数据 -->
</script>
<script type="text/javascript" src="{URLROOT}/static/javascript/login.js"></script>
{LF}