<?php 
if(!defined('EMLOG_ROOT')) {exit('error!');}
echo '<?xml version="1.0" encoding="UTF-8"?>';
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo Option::get('blogname'); ?></title>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo BLOG_URL; ?>m/view/style.css" />
<script type="text/javascript" src="<?php echo BLOG_URL; ?>m/jquery.min.js" ></script>
</head>
<body>
<body class="custom-background">
<div id="wrapper">
	<div id="header">
		<h1><a href="./"><span class="blog-name"><?php echo Option::get('blogname'); ?></span><span  class="blog-title"><?php echo Option::get('bloginfo'); ?></span ></a></h1>
	</div>
<div class="footer_content">
<a href="./">首页</a>
<?php if(Option::get('istwitter') == 'y'): ?>
<a href="./?action=tw">微语</a>
<?php endif;?>
<a href="./?action=com">评论</a>
<?php if(ISLOGIN === true): ?>
<a href="./?action=write">写文章</a> 
<a href="./?action=logout">退出</a>
<?php else:?>
<a href="<?php echo BLOG_URL; ?>m/?action=login">登录</a>
<?php endif;?>
</div>