<!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" xml:lang="#{{LANGUAGE}}" lang="#{{LANGUAGE}}">
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>#{title}</title>
	<link href="/static/favicon.png" rel="icon">
	<link rel="stylesheet" href="/static/admin/style.css" type="text/css" media="screen" />
</head>
<body>
<div id="wrap">
<a name="top"></a>
<div id="contentwrap">
		<div id="content">
		<h1><a href="/" target="_blank">#{SITE_TITLE}</a></h1>
        <div class="post">

#{_content}

		</div>

</div>

	<div id="sidebar1wrap">
	<h1><a href="/admin/">管理面板</a></h1>
	<div id="sidebar1">
		<h2 class="small">管理</h2>
		<?py if current_user: ?>
		<ul>
			<li><a href="/admin/post">发表 文章</a></li>
			<li><a href="/admin/category">添加/编辑 分类</a></li>
			<li><a href="/admin/logout">安全退出</a></li>
			<li>

			</li>
		</ul>
		<h2 class="small">编辑文章</h2>
		<ul>
		<li><br/>
		<form name="gotopid" action="/admin/post" method="post">
		#{xsrf_form_html()}
		输入文章id <input type="text" name="fid" style="width:40px;padding:4px;" value="" />
		<input type="submit" value="前往编辑" name="submit" class="bigbtn" />
		</form>
		</li>
		</ul>
		<h2 class="small">官方技术支持</h2>
		<ul>
		<li><a href="http://www.ijd8.com/t/9" target="_blank">帮助文档</a></li>
		<li><a href="http://www.ijd8.com" target="_blank">官方博客</a></li>
		<li><a href="http://youbbs.sinaapp.com/" target="_blank">支持论坛</a></li>
		</ul>
		<?py #endif ?>

	</div>
</div>	</div>
<div id="footer"><small>POWERED BY <a href="http://saepy.sinaapp.com" target="_blank">saepy-log</a></small></div>
</div>
</body>
</html>
