<!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>
<ad:if test="$isnotempty(request("id"))$">
	<ad:set name="main" value="$include("document","","pagetitle|keywords|description")$" />
<ad:elseif test="$isnotempty(request("diy"))$">
	<ad:set name="main" value="$include("diy","","pagetitle")$" />
<ad:else />
	<ad:set name="main" value="$include("home","","pagetitle")$" />
</ad:if>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>$isiif(pagetitle)$$wordnav("title")$</title>
<meta name="author" content="gukun.com" />
<meta name="keywords" content="$isiif(keywords,config("Page.SiteKeywords"))$" />
<meta name="description" content="$isiif(description,config("Page.SiteDescription"))$" />
<link href="$sitepath$files/templates/default/system.css" type="text/css" rel="stylesheet" rev="stylesheet" media="all" />
<link href="$skinpath("style.css")$" rel="stylesheet" type="text/css" />
<script src="$sitepath$files/templates/default/js/jquery.js" type="text/javascript"></script>
<script src="$sitepath$files/templates/default/common.js" type="text/javascript"></script>
</head>
<body>
<div class="body">
	<div class="logo"><ad:if test="$comparenocase(appsetting("Page.TemplateBanner"),"")$"><img src="$skinpath("images/banner.jpg")$" width="980" height="120" /><ad:elseif test="$contains(appsetting("Page.TemplateBanner"),".swf")$"><embed menu="true" loop="true" play="true" type="application/x-shockwave-flash" height="120" width="980" src="$sitepath$$appsetting("Page.TemplateBanner")$"></embed><ad:else /><img src="$sitepath$$appsetting("Page.TemplateBanner")$" width="980" height="120" /></ad:if></div>
	<div class="menu" title="menu-$request("classid")$-$request("id")$-$request("diy")$">
		$wordmenu("layer=1")$
	</div>
	$include("home_banner","width=980|height=160")$
	<br />
	<div class="main">
	$main$
	</div>
	<br />
	<div class="copyright">技术支持：<a href="http://www.gukun.com" target="_blank">谷昆学校网站管理软件</a><br />$config("Page.SiteAttr")$</div>
</div>
</body>
</html>