<?php /* Smarty version Smarty-3.1.12, created on 2017-04-14 20:21:34
         compiled from "D:\WWW\youkeSY\admin\templates\index.html" */ ?>
<?php /*%%SmartyHeaderCode:3054758f0bece360b95-67720420%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b4be74d78b107190b4eab03d496da503d849153a' => 
    array (
      0 => 'D:\\WWW\\youkeSY\\admin\\templates\\index.html',
      1 => 1492076922,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3054758f0bece360b95-67720420',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'pagetitle' => 0,
    'site_root' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_58f0bece3976a8_48131385',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f0bece3976a8_48131385')) {function content_58f0bece3976a8_48131385($_smarty_tpl) {?><!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->tpl_vars['pagetitle']->value;?>
</title>
<?php echo $_smarty_tpl->getSubTemplate ("base.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<script type="text/javascript">
$(document).ready(function(){  
    /*$("#main_frame").load(function(){
        $(this).height($(this).height() - $("#main_frame").offset().top - 10);    
    });
	*/
	$("#menu").treeview();
	
	var win_height = $(window).height() - $("#main_frame").offset().top - 5;
	$("#main_frame").height(win_height);
	$("#sidebar").css("height", win_height);
});
</script>
</head>

<body>
<div id="wrapper">
	<div id="header">
    	<a  id="logo" href="main.php" target="main"></a>
        <div id="link"><a href="http://application.youke365.com" target="main" class="application"><i class="fa fa-th" aria-hidden="true"></i> 应用中心</a>
          <a href="http://bbs.youke365.com" target="main"  class="author"><i class="fa fa-window-maximize" aria-hidden="true"></i> 官方网站</a>
            <a href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
" target="_blank">
           <i class="fa fa-home" aria-hidden="true"></i> 前台首页</a>  <a href="cache.php" target="main"><i class="fa fa-refresh" aria-hidden="true"></i> 缓存管理</a>  <a href="editpwd.php" target="main"><i class="fa fa-cog" aria-hidden="true"></i> 修改密码</a>  <a href="login.php?act=logout" onclick="return confirm('确认退出吗？');"><i class="fa fa-power-off" aria-hidden="true"></i> 退 出</a></div>
    </div>

<script>
layui.use('element', function(){
  var element = layui.element(); //导航的hover效果、二级菜单等功能，需要依赖element模块
  //监听导航点击
  element.on('nav(demo)', function(elem){
    //console.log(elem)
    layer.msg(elem.text());
  });
});
</script>



    <div id="mainer">
    	<div id="mainer-left">
    		<div id="sidebar">

            <ul class="layui-nav layui-nav-tree" lay-filter="demo">
  <li class="layui-nav-item layui-nav-itemed">
    <a href="javascript:;" target="main">系统设置</a>
    <dl class="layui-nav-child">
      <dd><a href="main.php" target="main">后台首页</a></dd>
      <dd><a href="option.php?opt=basic" target="main">站点信息</a></dd>
      <dd><a href="option.php?opt=misc" target="main">选项设置</a></dd>
      <dd><a href="option.php?opt=user" target="main">注册设置</a></dd>
      <dd><a href="option.php?opt=link" target="main">链接设置</a></dd>
      <dd><a href="option.php?opt=mail" target="main">邮件设置</a></dd>
      <dd><a href="option.php?opt=qq" target="main">QQ 登陆</a></dd>

    </dl>
  </li>
  <li class="layui-nav-item">
    <a href="javascript:;">网站管理</a>
    <dl class="layui-nav-child">
      <dd><a href="category.php?mod=webdir" target="main">网站分类</a></dd>
      <dd><a href="category.php?mod=webdir&act=merge" target="main">分类合并</a></dd>
      <dd><a href="website.php" target="main">网站列表</a></dd>
      <dd><a href="website.php?act=down" target="main">下载图片</a></dd>
      <dd><a href="weblink.php" target="main">友链管理</a></dd>
      <dd><a href="comment.php" target="main">评论管理</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="javascript:;">文章管理</a>
    <dl class="layui-nav-child">
      <dd><a href="category.php?mod=article" target="main">文章分类</a></dd>
      <dd><a href="category.php?mod=article&act=merge" target="main">分类合并</a></dd>
      <dd><a href="article.php" target="main">文章列表</a></dd>
    </dl>

  </li>
  <li class="layui-nav-item"><a href="javascript:;">小游戏管理</a>
    <dl class="layui-nav-child">  
      <dd><a href="category.php?mod=game" target="main">游戏分类</a></dd>
      <dd><a href="game.php?act=add" target="main">游戏添加</a></dd>
      <dd><a href="game.php" target="main">游戏列表</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="javascript:;">视频管理</a>
    <dl class="layui-nav-child"> 
     <dd><a href="category.php?mod=video" target="main">视频分类</a></dd>
      <dd><a href="video.php" target="main">视频列表</a></dd>
      <dd><a href="video.php?act=add" target="main">视频添加</a></dd>

      </dl>
  </li>

  <li class="layui-nav-item"><a href="javascript:;">用户管理</a>
    <dl class="layui-nav-child"> 
      <dd><a href="user.php" target="main">用户列表</a></dd>
      </dl>
  </li>
  <li class="layui-nav-item"><a href="javascript:;">辅助功能</a>
    <dl class="layui-nav-child"> 
      <dd><a href="adver.php" target="main">网站广告</a></dd>
      <dd><a href="link.php" target="main">友情链接</a></dd>
      <dd><a href="feedback.php" target="main">意见反馈</a></dd>
    </dl>

  </li>
  <li class="layui-nav-item"><a href="javascript:;">自定义</a>

    <dl class="layui-nav-child"> 
  <dd><a href="page.php" target="main">自定义页面</a></dd>
    </dl>

  </li>
  <li class="layui-nav-item"><a href="javascript:;">数据库管理</a>
    <dl class="layui-nav-child">
      <dd><a href="database.php?act=backup" target="main">数据库备份</a></dd>
      <dd><a href="database.php?act=restore" target="main">数据库恢复</a></dd>
      <dd><a href="database.php?act=maintain" target="main">数据库维护</a></dd>
      <dd><a href="database.php?act=dbinfo" target="main">数据库信息</a></dd>
    </dl>
  </li>
</ul>

            </div>
        </div>
        <div id="mainer-right">
        	<div id="content"><iframe id="main_frame" name="main" frameborder="0" src="main.php"></iframe></div>
        </div>
    </div>
</div>
</body>
</html><?php }} ?>