<!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="$skinpath("common.js")$" type="text/javascript"></script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td height="30">当前日期：<span class="datetime"></span></td>
		<td align="right" class="tool">
		<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('$config("Page.SiteUrl")$');">设为首页</a>
		<a href="#" onClick="window.external.addFavorite('$config("Page.SiteUrl")$','$sitename$')">加入收藏</a>
		<a href="mailto:$config("Page.SiteEmail")$">联系我们</a><a href="$url("default.aspx?diy=sitemap")$">网站地图</a></td>
	</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td>
		<ad:if test="$comparenocase(appsetting("Page.TemplateBanner"),"")$">
		<img src="$skinpath("images/banner.jpg")$" width="960" height="130" />
		<ad:elseif test="$contains(appsetting("Page.TemplateBanner"),".swf")$">
		<embed menu="true" loop="true" play="true" type="application/x-shockwave-flash" height="130" width="960" src="$sitepath$$appsetting("Page.TemplateBanner")$"></embed>
		<ad:else />
		<img src="$sitepath$$appsetting("Page.TemplateBanner")$" width="960" height="130" />
		</ad:if>
		</td>
	</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td width="10"><img src="$skinpath("images/menu_left.gif")$" width="10" height="36" /></td>
		<td class="menu" title="menu-$request("classid")$-$request("id")$-$request("diy")$">
		$wordmenu("layer=1")$
		</td>
		<td width="10"><img src="$skinpath("images/menu_right.gif")$" width="10" height="36" /></td>
	</tr>
</table>
<br />
$main$
<br />
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td align="center" class="copyright">技术支持：<a href="http://www.gukun.com" target="_blank">谷昆学校网站管理软件</a><br />$config("Page.SiteAttr")$</td>
	</tr>
</table>
<br />
</body>
</html>