<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<title>{{$WEBNAME}}</title>
		<meta name="keywords" content="{{$KEYWORDS}}">
		<meta name="description" content="{{$DESCRIPTION}}">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" href="/public/global/layui/css/layui.css"  media="all">
		<link rel="stylesheet" type="text/css" href="/public/global/css/style.css"/>
		<link rel="stylesheet" type="text/css" href="/public/news/wap/style.css"/>
		<script src="/public/global/jquery/1.11.1/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="/public/global/jquery/jquery.SuperSlide.2.1.1.js" type="text/javascript" charset="utf-8"></script>
		<script src="/public/global/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script language="javascript">
			document.domain = "{{C('cookie_domain')}}";
		</script>
		{{hook_listen('tpl_head')}}
	</head>
	<body>
		<div class="wap_menu">
			<div class="wap_menu_left left" id="wap_menu_back">
				<a href="javascript:" class="newsfont news-fanhui"></a>
			</div>
			<div class="wap_menu_logo left">
				{{$webname}}
			</div>
			<div class="wap_menu_right right">
				<a href="/user/" class="newsfont news-yonghu"></a>
				<a id="menu_more" href="javascript:" class="newsfont news-gengduo1"></a>
			</div>
			<div id="menu_more_list">
				<div class="triangle_border_up"><span></span></div>
				<ul>
				<foreach array="menu_more_list">
					<li><a href="{{U(['aid'=>$row[aid],'cid'=>$row[cid]])}}">{{$row[name]}}</a></li>
				</foreach>
				</ul>
			</div>
		</div>
		<if condition="$Crumbs">
		<div class="crumbs"><span class="layui-breadcrumb">{{$Crumbs}}</span></div>
		<else>
		<div class="home_menu">
			<ul>
				<foreach array="HOME_MENU">
					<li><a href="{{$row[link]}}">{{$row[name]}}</a></li>
				</foreach>
			</ul>
		</div>
		</if>
		
<script>
	var menu_show=false;
	$('.wap_menu_right a#menu_more').bind("click", function(e){
		if(menu_show==true){
			$('#menu_more_list').hide("slow");
			menu_show=false;
		}else{
			$('#menu_more_list').show("slow");
			menu_show=true;
		}
	})

	$('#wap_menu_back a').bind("click", function(e){
		if(window.history.length > 1){
	         window.history.go( -1 );
	    }
	})
</script>