<?php if (!defined('ADMIN')) exit('Can\'t Access !'); ?>
 
<style>

.main .main-right-box {min-height:10px;}
.main-right-box ul {padding:20px 10px;}
.main-right-box ul li {
height:38px;line-height:38px;
}




.quick-btn {min-height:83px; margin:0px 10px 35px 5px; padding:15px 0px; background: #d9edf7;border:1px solid #bce8f1; color: #3a87ad; border-radius:2px; text-align:center;-moz-box-shadow:0px 8px 15px #ccc;
-webkit-box-shadow:0px 8px 15px #ccc;
box-shadow:0px 8px 15px #ccc;}


	
.quick-btn a {display:block; color: #3ca1ef;text-align:center;}
.quick-btn .glyphicon {display:block; height:38px; color:#3ca1ef;font-size:30px;}
.quick-btn:hover {background:#3ca1ef;color:#fff;border:1px solid #3ca1ef;}
.quick-btn:hover a,.quick-btn:hover .glyphicon {color:#fff;text-decoration:none}


.list-group-item {margin:0px 10px 10px 10px; -moz-box-shadow:0px 8px 15px #ccc;
-webkit-box-shadow:0px 8px 15px #ccc;
box-shadow:0px 8px 15px #ccc;}
.list-group-item:last-child {border-radius:2px; }

a.list-group-item-info {border-color: #bce8f1;
    color: #3a87ad;
	}

a.list-group-item-warning {
    border-color: #fbeed5;
    color: #c09853;
	}

a.list-group-item-success {
    border-color: #d6e9c6;
    color: #468847;
	}

a.list-group-item-danger {
	    border-color: #eed3d7;
    color: #b94a48;
	}

@media(max-width:468px) {
a.list-group-item-success,a.list-group-item-danger {
margin-top:10px;
}
.system-info,.i_table_b,.information {display:none;}
}
.system-info {height:260px;}

.table {margin:0px;}

.website-a {font-weight:bold;padding:0px 10px 0px 0px;}

.i_links_bg {line-height:200%; height:225px;padding:15px 20px;}
.i_table_b ul {padding:12px 20px;}
.i_table_b strong {padding:3px 10px; background: #d9edf7;border:1px solid #bce8f1;color: #3a87ad; border-radius:2px;}

input.btn-primary, a.btn-primary {padding:0px 25px; }
.blank25 {clear:both; height:25px;}

</style>

<script type="text/javascript">
<!--
function lick(){
$("#admin-index-alert").hide();
}
window.setTimeout("lick()",5000);
//-->
</script>

<div id="admin-index-alert">
<div class="main-right-box">
<h5>提示</h5>
<div class="box">
<div class="alert alert-success alert-dismissible" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  <span class="glyphicon glyphicon-warning-sign"></span>	 欢迎使用	<strong>CmsEasy</strong> 易通企业网站系统，通过后台系统您可以轻松管理网站内容。<div class="blank5"></div>在感谢您使用的同时，我们为您准备了超过一百套的免费网站模板供用户选择使用，点击左侧导航中的	[	模板	]	&rarr;	[	<a href="{$base_url}/index.php?case=template&act=downlist&admin_dir={get('admin_dir')}&site=default">更多模板</a>	]	进行选择！</a>
</div>


<div class="alert alert-info alert-dismissible" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  <span class="glyphicon glyphicon-warning-sign"></span>	 推荐	<strong>CmsEasy</strong> 使用百度免费云加速cdn，不仅访问速度提升，还可以避免一些常见攻击行为，注册地址：<a href="https://su.baidu.com/"  target="_blank">https://su.baidu.com/</a></a>
</div>

<div class="alert alert-warning alert-dismissible" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  <span class="glyphicon glyphicon-warning-sign"></span>	 	<strong>CmsEasy</strong> 使用操作快速入门手册学习地址<a href="https://www.cmseasy.cn/chm/quick/"  target="_blank">https://www.cmseasy.cn/chm/quick/</a></a>
</div>

<div class="alert alert-danger alert-dismissible" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  <span class="glyphicon glyphicon-warning-sign"></span>	 推荐	<strong>CmsEasy</strong> 网站安全设置推荐操作教程<a href="https://www.cmseasy.cn/chm/quick/web-security.html"  target="_blank">https://www.cmseasy.cn/chm/quick/web-security.html</a></a>
</div>
</div>
</div>

<div class="blank30"></div>
</div>

<div class="main-right-box">
<h5>提示</h5>
<div class="box">


<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3" style="padding:0px;">
<a title="点击查看" href="{$base_url}/index.php?case=table&act=list&table=archive&admin_dir={get('admin_dir')}&site=default" class="list-group-item list-group-item-info"><span class="glyphicon glyphicon-file"></span> 内容	{$archivenum}</a>
</div>



<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3" style="padding:0px;">
<a title="点击查看" href="{$base_url}/index.php?case=table&act=list&table=comment&admin_dir={get('admin_dir')}&site=default" class="list-group-item list-group-item-warning">
<span class="glyphicon glyphicon-comment"></span> 评论	{$commentnum}</a>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3" style="padding:0px;">
<a title="点击查看" href="{$base_url}/index.php?case=table&act=list&table=guestbook&admin_dir={get('admin_dir')}&site=default" class="list-group-item list-group-item-success"><span class="glyphicon glyphicon-list-alt"></span> 留言	{$guestbooknum}</a>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3" style="padding:0px;">
<a title="点击查看" href="{$base_url}/index.php?case=table&act=list&table=orders&admin_dir={get('admin_dir')}&site=default" class="list-group-item list-group-item-danger">
<span class="glyphicon glyphicon-shopping-cart"></span> 订单	{$ordernum}</a>
</div>

<div class="blank30"></div>
</div>
</div>

<div class="blank30"></div>



<div class="row">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">


<div class="main-right-box">
<h5>提示</h5>
<div class="box">
<div class="quick-box">

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
<div class="row">
<div class="quick-btn">
<a href="{$base_url}/index.php?case=config&act=system&set=site&admin_dir={get('admin_dir')}&site=default" class="q1"><span class="glyphicon glyphicon-cog"></span>网站设置</a>
</div>
</div>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
<div class="row">
<div class="quick-btn">
<a href="{$base_url}/index.php?case=table&act=add&table=archive&admin_dir={get('admin_dir')}&site=default" class="q2"><span class="glyphicon glyphicon-edit"></span>添加内容</a>
</div>
</div>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
<div class="row">
<div class="quick-btn">
<a href="{$base_url}/index.php?case=table&act=list&table=orders&admin_dir={get('admin_dir')}&site=default" class="q3"><span class="glyphicon glyphicon-usd"></span>订单管理</a>
</div>
</div>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
<div class="row">
<div class="quick-btn">
<a href="{$base_url}/index.php?case=cache&act=make_show&admin_dir={get('admin_dir')}&site=default" class="q4"><span class="glyphicon glyphicon-file"></span>生成HTML</a>
</div>
</div>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
<div class="row">
<div class="quick-btn">
<a href="{$base_url}/index.php?case=config&act=remove&admin_dir={get('admin_dir')}&site=default" class="q5"><span class="glyphicon glyphicon-refresh"></span>更新缓存</a>
</div>
</div>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
<div class="row">
<div class="quick-btn">
<a href="{$base_url}/index.php?case=table&act=list&table=category&admin_dir={get('admin_dir')}&site=default" class="q6"><span class="glyphicon glyphicon-list-alt"></span>栏目管理</a>
</div>
</div>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
<div class="row">
<div class="quick-btn">
<a href="{$base_url}/index.php?case=table&act=list&table=type&admin_dir={get('admin_dir')}&site=default" class="q7"><span class="glyphicon glyphicon-list-alt"></span>分类管理</a>
</div>
</div>
</div>

<div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
<div class="row">
<div class="quick-btn">
<a href="{$base_url}/index.php?case=table&act=list&table=archive&admin_dir={get('admin_dir')}&site=default" class="q8"><span class="glyphicon glyphicon-list-alt"></span>内容管理</a>
</div>
</div>
</div>


<div class="clearfix"></div>
</div>
</div>
</div>
</div>


<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div class="main-right-box">
<h5>基本信息</h5>
<div class="box">
<div class="system-info">
<table class="table table-striped table-bordered table-hover">
<tr>
<td width="25%" align="right">服务器环境：</td>
<td width="75%"><?php echo $_SERVER['SERVER_SOFTWARE'];?> php:<?php echo PHP_VERSION;?> <?php echo config::get('database','type').':'.$dbversion;?></td>
</tr>

<tr>
<td align="right">服务器IP：</td>
<td><?php echo $_SERVER['SERVER_ADDR']?$_SERVER['SERVER_ADDR']:$_SERVER['LOCAL_ADDR'];?></td>
</tr>

<tr>
<td align="right">当前网站语言：</td>
<td><?php echo config::get('lang_type');?></td>
</tr>

<tr>
<td align="right">集团网站：</td>
<td>
{loop getwebsite() $d}<a href="{$d['addr']}" target="_blank" class="website-a"><span>{$d['name']}</span></a>{/loop}
</td>
</tr>

<tr>
<td align="right">系统版本：</td>
<td><span><?php echo _VERSION;?></span>&nbsp;
&nbsp;<a href="{$base_url}/index.php?case=update&act=index&admin_dir={get('admin_dir')}&site=default" class="btn btn-primary btn-xs">检查更新</a></td>
</tr>
</table>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>


<div class="blank30"></div>

<div class="row">

<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 information">
<div class="main-right-box">
<h5>官方信息，以及优惠活动！</h5>
<div class="box">


<div class="i_links_bg">
[ 授权版本：<a>{htmlspecialchars_decode(stripslashes(session::get('passinfo')))}</a> ]<br />
[ 联系客服： <span id="__buy"><a href="tencent://Message/?Uin={get('871148347')}&websiteName={get('site_url')}=&Menu=yes" target="_blank"><span style="color:green;">购买咨询</span></a></span> ]<br />
[ 开发团队：CmsEasy Team ]<br />
</div>
</div>
</div>
</div>

<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6 i_table_b">
<div class="main-right-box">
<h5>使用指南</h5>
<div class="box">
<ul>
<li><strong>设置</strong>&nbsp;&nbsp;设置基本信息、网站语言、底部信息等 </li>
<li><strong>模板</strong>&nbsp;&nbsp;选择网站模板风格</li>
<li><strong>栏目</strong>&nbsp;&nbsp;配置中设置网站栏目及相关参数</li>
<li><strong>营销</strong>&nbsp;&nbsp;设置优化推广及其他信息</li>
<li><strong>内容</strong>&nbsp;&nbsp;中添加网站内容</li>
</ul>

</div>
</div>

</div>
