<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zh-cn">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <title>{$meta_title}</title>
    <meta name="keywords" content="{$meta_keywords}" />
    <meta name="description" content="{$meta_description}" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="{THEME_PATH}admin/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}admin/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}admin/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}admin/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}admin/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN THEME GLOBAL STYLES -->
    <link href="{THEME_PATH}admin/global/css/components.min.css" rel="stylesheet" id="style_components" type="text/css" />
    <link href="{THEME_PATH}admin/global/css/plugins.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}admin/pages/css/search.min.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}admin/apps/css/todo-2.min.css" rel="stylesheet" type="text/css" />
    <!-- END THEME GLOBAL STYLES -->
    <!-- BEGIN THEME LAYOUT STYLES -->
    <link href="{HOME_THEME_PATH}layouts/layout3/css/layout.css" rel="stylesheet" type="text/css" />
    <link href="{HOME_THEME_PATH}layouts/layout3/css/themes/default.min.css" rel="stylesheet" type="text/css" id="style_color" />
    <link href="{HOME_THEME_PATH}layouts/layout3/css/custom.min.css" rel="stylesheet" type="text/css" />
    <!-- END THEME LAYOUT STYLES -->
    <!--[if lt IE 9]>
    <script src="{THEME_PATH}admin/global/plugins/respond.min.js"></script>
    <script src="{THEME_PATH}admin/global/plugins/excanvas.min.js"></script>
    <![endif]-->
    <!-- BEGIN CORE PLUGINS -->
    <script src="{THEME_PATH}admin/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}admin/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}admin/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}admin/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}admin/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}admin/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
    <script src="{THEME_PATH}admin/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
    <!-- END CORE PLUGINS -->
    <!-- BEGIN THEME GLOBAL SCRIPTS -->
    <script src="{THEME_PATH}admin/global/scripts/app.js" type="text/javascript"></script>
    <!-- END THEME GLOBAL SCRIPTS -->
    <!-- BEGIN THEME LAYOUT SCRIPTS -->
    <script src="{HOME_THEME_PATH}layouts/layout3/scripts/layout.min.js" type="text/javascript"></script>
    <script src="{HOME_THEME_PATH}layouts/layout3/scripts/demo.min.js" type="text/javascript"></script>
    <script src="{HOME_THEME_PATH}layouts/global/scripts/quick-sidebar.min.js" type="text/javascript"></script>
    <!-- END THEME LAYOUT SCRIPTS -->

    <!--关键JS开始-->
    <script type="text/javascript">var memberpath = "{MEMBER_PATH}";</script>
    <script type="text/javascript" src="{THEME_PATH}js/{SITE_LANGUAGE}.js"></script>
    <link rel="stylesheet" href="{THEME_PATH}js/ui-dialog.css">
    <script type="text/javascript" src="{THEME_PATH}js/dialog-plus.js"></script>
    <script type="text/javascript" src="{THEME_PATH}js/jquery.artDialog.js?skin=default"></script>
    <script type="text/javascript" src="{THEME_PATH}js/dayrui.js"></script>
    <!--关键js结束-->
    {if IS_MOBILE}
    <style>
    .page-breadcrumb {
        padding-top: 15px;
    }
    </style>
    {/if}
    <!-- END HEAD -->
</head>
<body class="page-container-bg-solid page-header-menu-fixed page-boxed">
<!-- BEGIN HEADER -->
<div class="page-header">
    <!-- BEGIN HEADER TOP -->
    <div class="page-header-top">

        <div class="container">
            <div class="row" id="dr_mytop">
                {dr_ajax_html('dr_mytop', 'mytop.html')}
                <!-- 这一段内容采用动态调用的方式 -->
            </div>
            <!-- BEGIN LOGO -->
            <div class="page-logo">
                <a href="{SITE_URL}">
                    <img src="{HOME_THEME_PATH}layouts/layout3/img/logo.png" alt="{SITE_TITLE}" class="logo-default">
                </a>
            </div>
            <!-- END LOGO -->
            <!-- BEGIN 菜单按钮 -->
            <a href="javascript:;" class="menu-toggler"></a>
            <!-- END 菜单按钮 -->
            <!-- BEGIN 会员登录信息 -->
            <div class="top-menu" id="dr_member_info">

            </div>
            <script type="text/javascript">
                $.ajax({
                    type: "GET",
                    url:"{SITE_URL}index.php?c=api&m=member&format=jsonp",
                    dataType: "jsonp",
                    success: function(json){
                        $("#dr_member_info").html(json.html);
                    },
                    error: function(){ }
                });
            </script>
            <!-- END 会员登录信息 -->
        </div>
    </div>
    <!-- END HEADER TOP -->
    <!-- BEGIN HEADER MENU -->
    <div class="page-header-menu">
        <div class="container2">
            <!-- 全站搜索框 -->
            <form class="search-form" method="get" target="_blank" action="{SITE_URL}index.php">
                <input name="c" type="hidden" value="so">
                <input name="module" type="hidden" value="{if defined('MOD_DIR')}{MOD_DIR}{/if}">
                <div class="input-group">
                    <input type="text" class="form-control" placeholder="输入搜索关键字" name="keyword">
					<span class="input-group-btn">
						<a href="javascript:;" class="btn submit">
                            <i class="icon-magnifier"></i>
                        </a>
					</span>
                </div>
            </form>
            <!-- 调用网站导航菜单 -->
            <div class="hor-menu  ">
                <ul class="nav navbar-nav">
                    <li id="dr_nav_0" class="menu-dropdown classic-menu-dropdown {if $indexc}active{/if}">
                        <a href="{SITE_URL}" title="{SITE_TITLE}">首页</a>
                    </li>



                    <!--第一层：调用栏目-->
                    {list action=category module=share pid=0}
                    <li class="menu-dropdown classic-menu-dropdown {if $catid && in_array($catid, $t.catids)} active{/if}">
                        <a href="{$t.url}" title="{$t.name}">{$t.name}</a>
                        {if $t.child}
                        <ul class="dropdown-menu pull-left">
                            {list action=category module=share pid=$t.id return=t2}
                            <li class="{if $t2.child} dropdown-submenu{/if} {if $catid && in_array($catid, $t2.catids)} active{/if}">
                                <a href="{$t2.url}" class="nav-link nav-toggle " title="{$t2.name}">
                                    {$t2.name}
                                </a>
                                {if $t2.child}
                                <ul class="dropdown-menu pull-left">
                                    {list action=category module=share pid=$t2.id return=t3}
                                    <li class="{if $catid && in_array($catid, $t3.catids)} active{/if}">
                                        <a href="{$t3.url}" title="{$t3.name}">
                                            {$t3.name}
                                        </a>
                                    </li>
                                    {/list}
                                </ul>
                                {/if}
                            </li>
                            {/list}
                        </ul>
                        {/if}
                    </li>
                    {/list}


                    <!--调用所有独立模块-->
                    {list action=cache name=module}
                    {if !$t.share}
                    <li class="menu-dropdown classic-menu-dropdown {if (MOD_DIR && $t.dirname==MOD_DIR)}active{/if}">
                        <a href="{$t.url}" title="{$t.title}">{$t.name}</a>
                    </li>
                    {/if}
                    {/list}


                </ul>
            </div>
            <!-- END MEGA MENU -->
        </div>
    </div>
    <!-- END HEADER MENU -->
</div>
<!-- END HEADER -->