<?php /* Smarty version Smarty-3.1.12, created on 2017-04-14 19:53:45
         compiled from ".\templates\main.html" */ ?>
<?php /*%%SmartyHeaderCode:2706258f0b849cdcbf4-95857863%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3ec5cc4c9d0e21c5c92b94ed649a5416160d787a' => 
    array (
      0 => '.\\templates\\main.html',
      1 => 1492159992,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2706258f0b849cdcbf4-95857863',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'server' => 0,
    'auth_status' => 0,
    'myself' => 0,
    'stat' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_58f0b849ddaab9_12156570',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f0b849ddaab9_12156570')) {function content_58f0b849ddaab9_12156570($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div style="width:100%;padding:2px"></div>
<div class="alert alert-info" >
优客365网址导航系统 当前您系统版本号 <?php echo $_smarty_tpl->tpl_vars['server']->value['soft_version'];?>

<!-- <?php echo var_dump($_smarty_tpl->tpl_vars['auth_status']->value);?>
 -->
<?php if ($_smarty_tpl->tpl_vars['auth_status']->value=="1"){?>
<span class="label label-success"><i class="fa fa-check-circle" aria-hidden="true"></i> 已授权</span>
<a href="javascript:;" class="update_check btn btn-default" style="position:absolute;right:10px;" data-v="<?php echo @SYS_VERSION;?>
" data-url="<?php echo @YOUKE365_UPDATE_URL;?>
"> <i class="fa fa-cloud-upload" aria-hidden="true"></i> 检查更新</a>

<?php }elseif($_smarty_tpl->tpl_vars['auth_status']->value=='-1'){?>
<span class="label label-danger"><i class="fa fa-minus-circle" aria-hidden="true"></i> 抱歉，授权过期 重新授权QQ:1513773524</span>

<?php }elseif($_smarty_tpl->tpl_vars['auth_status']->value=='0'){?>
<a href="http://bbs.youke365.com" target="_blank" class="label label-warning">
<i class="fa fa-times-circle" aria-hidden="true"></i> 当前域名未授权,授权QQ:1513773524</a>



<?php }?>

</div>

<div class="panel panel-success">
    <div class="panel-heading">
        <h3 class="panel-title">用户登录信息</h3>
    </div>
    <div class="panel-body">
        <?php echo $_smarty_tpl->tpl_vars['myself']->value['user_email'];?>
，登陆时间：<?php echo $_smarty_tpl->tpl_vars['myself']->value['login_time'];?>
　登陆IP：<?php echo $_smarty_tpl->tpl_vars['myself']->value['login_ip'];?>
　登陆次数： <?php echo $_smarty_tpl->tpl_vars['myself']->value['login_count'];?>
 次
    </div>
</div>


<div class="panel panel-success">
    <div class="panel-heading">
        <h3 class="panel-title">站内数据统计</h3>
    </div>
    <div class="panel-body">
        				<table width="100%" border="0"  cellspacing="1" cellpadding="0">
			<tr height="30">
				<td>网站分类：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['cate_webdir'];?>
</b>　-　<a href="category.php?mod=webidr">快速管理&raquo;</a></td>
				<td>网站数量：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['website'];?>
</b>　-　<a href="website.php">快速管理&raquo;</a></td>
			</tr>
			 <tr height="30">
				<td>文章分类：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['cate_article'];?>
</b>　-　<a href="category.php?mod=article">快速管理&raquo;</a></td>
				<td>文章数量：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['article'];?>
</b>　-　<a href="article.php">快速管理&raquo;</a></td>
			</tr>
			 <tr height="30">
				<td>小游戏分类：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['cate_game'];?>
</b>　-　<a href="category.php?mod=game">快速管理&raquo;</a></td>
				<td>小游戏数量：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['game'];?>
</b>　-　<a href="game.php">快速管理&raquo;</a></td>
			</tr>

			 <tr height="30">
				<td>视频分类：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['cate_video'];?>
</b>　-　<a href="category.php?mod=video">快速管理&raquo;</a></td>
				<td>视频数量：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['video'];?>
</b>　-　<a href="video.php">快速管理&raquo;</a></td>
			</tr>

			<tr height="30">

				<td width="50%">网站广告：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['adver'];?>
</b>　-　<a href="adver.php" >快速管理&raquo;</a></td>
				<td width="50%">友情链接：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['link'];?>
</b>　-　<a href="link.php">快速管理&raquo;</a></td>
			</tr>
			<tr height="30">
				<td>网站提交：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['apply'];?>
</b>　-　<a href="website.php?status=2">快速管理&raquo;</a></td>
				<td>意见反馈：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['feedback'];?>
</b>　-　<a href="feedback.php">快速管理&raquo;</a></td>
			</tr>

			<tr height="30">
				<td>注册会员：&nbsp;<b style="color: #008800;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['user'];?>
</b>　-　<a href="user.php">快速管理&raquo;</a></td>
				<td></td>
			</tr>
		</table>
    </div>
</div>

<div class="panel panel-success" style="width:50%;height:270px;float:left">
    <div class="panel-heading">
        <h3 class="panel-title">官方交流区</h3>
    </div>
    <div class="panel-body">
       <div class="youke" style="width:50%;min-height:200px;float:left">
<script type="text/javascript" src="http://bbs.youke365.com/api.php?mod=js&bid=5"></script>

    </div>
</div>


</div>




       <div class="panel panel-success" style="width:50%;height:270px;float:left">
    <div class="panel-heading">
        <h3 class="panel-title">服务器信息</h3>
    </div>
    <div class="panel-body">
        <table width="100%" border="0" cellspacing="1" cellpadding="0">
			<tr height="30">
				<td width="50%">服务器时间：&nbsp;<?php echo $_smarty_tpl->tpl_vars['server']->value['datetime'];?>
</td>
				<td width="50%">服务器类型：&nbsp;<?php echo $_smarty_tpl->tpl_vars['server']->value['software'];?>
</td>
			</tr>
			<tr height="30">
				<td>PHP版本：&nbsp;<?php echo $_smarty_tpl->tpl_vars['server']->value['php_version'];?>
</td>
				<td>MySQL版本：&nbsp;<?php echo $_smarty_tpl->tpl_vars['server']->value['mysql_version'];?>
</td>
			</tr>
			<tr height="30">
            	<td>安全模式(safe_mode)：&nbsp;<?php echo $_smarty_tpl->tpl_vars['server']->value['safemode'];?>
</td>
            	<td>全局变量(register_globals)：&nbsp;<?php echo $_smarty_tpl->tpl_vars['server']->value['globals'];?>
</td>
			</tr>
			<tr height="30">
            	<td>伪静态(rewrite_module)：&nbsp;<?php echo $_smarty_tpl->tpl_vars['server']->value['rewrite'];?>
 (只针对Apache有效)</td>
				<td>内存占用(memory_info)：&nbsp;<?php echo $_smarty_tpl->tpl_vars['server']->value['memory_info'];?>
</td>		
			</tr>
		</table>
    </div>
</div>         


<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>