<?php
/**
 * 自建页面模板
 */
if (!defined('EMLOG_ROOT')) {
    exit('error!');
}
?>
<link rel="stylesheet" href="<?php echo TEMPLATE_URL; ?>assets/css/joe.census.min.css">
<script src="https://cdn.jsdelivr.net/npm/echarts@5.1.1/dist/echarts.min.js"></script>
<script src="<?php echo TEMPLATE_URL; ?>assets/js/joe.census.js"></script>
<div class="joe_container">
	<div class="joe_main">
		<!-- 基础统计 -->
		<div class="joe_census__basic">
			<?php tongji8(); ?>
			<div class="joe_census__basic-item category">
				<ul><?php echo sysort();?></ul>
				<div id="category"></div>
			</div>
		</div>
		<div class="joe_census__lately">
			<div class="title">最近评论</div>
			<div class="content">
				<div id="lately"></div>
			</div>
		</div>
			<div class="joe_census__server">
				<div class="joe_census__server-item">
					<div class="title">
						<span>实时负载</span>
						<div class="count">
							<span class="core">0 核</span>
							<span class="split">/</span>
							<span class="ram">0 MB</span>
						</div>
					</div>
					<div class="content">
						<div id="work"></div>
					</div>
				</div>
				<div class="joe_census__server-item">
					<div class="title">
						<span>实时流量</span>
						<div class="count">
							<span class="up">总发送：0 B</span>
							<span class="split">/</span>
							<span class="down">总接收：0 B</span>
						</div>
					</div>
					<div class="content">
						<div id="flow"></div>
					</div>
				</div>
			</div>
		<?php //endif; ?>
		<div class="joe_census__filing">
			<div class="title">文章归档</div>
			<div class="content">
				<div id="filing"></div>
				<div class="item load">
					<div class="tail"></div>
					<div class="head"></div>
					<button class="button">加载更多</button>
				</div>
			</div>
		</div>
	</div>
<?php include View::getView('side'); ?>
<?php
include View::getView('footer');
?>