| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332 |
- <?php if (!defined('THINK_PATH')) exit(); /*a:7:{s:84:"/home/www/wwwroot/cjq.wngluo.org.cn/vendor/skycaiji/app/admin/view/tool/checkdb.html";i:1750210657;s:83:"/home/www/wwwroot/cjq.wngluo.org.cn/vendor/skycaiji/app/admin/view/common/main.html";i:1750210657;s:92:"/home/www/wwwroot/cjq.wngluo.org.cn/vendor/skycaiji/app/admin/view/common/header_public.html";i:1750210657;s:85:"/home/www/wwwroot/cjq.wngluo.org.cn/vendor/skycaiji/app/admin/view/common/footer.html";i:1750210657;s:92:"/home/www/wwwroot/cjq.wngluo.org.cn/vendor/skycaiji/app/admin/view/common/footer_public.html";i:1750210657;s:94:"/home/www/wwwroot/cjq.wngluo.org.cn/vendor/skycaiji/app/common/view/common/browser_is_old.html";i:1750210657;s:95:"/home/www/wwwroot/cjq.wngluo.org.cn/vendor/skycaiji/app/common/view/common/page_translator.html";i:1750210657;}*/ ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <title><?php echo g_sc('html_tag_title')?(g_sc('html_tag_title').' - '):''; ?>蓝天采集器后台管理</title>
- <meta name="generator" content="skycaiji" />
- <meta http-equiv="x-dns-prefetch-control" content="on">
- <link rel="icon" href="data:image/ico;base64,aWNv">
- <!-- Bootstrap 3.3.7 -->
- <link rel="stylesheet" href="/public/bootstrap/css/bootstrap.min.css?<?php echo \think\Config::get('html_v'); ?>">
- <!-- Font Awesome -->
- <link rel="stylesheet" href="/public/addon/font-awesome/css/font-awesome.min.css?<?php echo \think\Config::get('html_v'); ?>">
- <!-- Ionicons -->
- <link rel="stylesheet" href="/public/addon/Ionicons/css/ionicons.min.css?<?php echo \think\Config::get('html_v'); ?>">
- <!-- Theme style -->
- <link rel="stylesheet" href="/public/adminlte/dist/css/AdminLTE.min.css?<?php echo \think\Config::get('html_v'); ?>">
- <link rel="stylesheet" href="/public/adminlte/dist/css/skins/_all-skins.min.css?<?php echo \think\Config::get('html_v'); ?>">
- <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
- <!--[if lt IE 9]>
- <script src="/public/addon/adminlte/html5shiv.min.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <script src="/public/addon/adminlte/respond.min.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <![endif]-->
- <!-- Google Font -->
- <!-- <link rel="stylesheet" href="/public/addon/adminlte/google-font.css?<?php echo \think\Config::get('html_v'); ?>"> -->
-
- <!-- jQuery -->
- <script src="/public/jquery/jquery.min.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <!-- else -->
- <script type="text/javascript" src="/public/static/js/base64.min.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <link href="/public/static/css/toastr.css?<?php echo \think\Config::get('html_v'); ?>" rel="stylesheet" type="text/css">
- <script src="/public/static/js/toastr.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <!-- jQuery UI -->
- <script src="/public/addon/adminlte/jquery-ui.min.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <!-- Bootstrap 3.3.7 -->
- <script src="/public/bootstrap/js/bootstrap.min.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <!-- FastClick -->
- <script src="/public/addon/adminlte/fastclick.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <!-- AdminLTE App -->
- <script src="/public/adminlte/dist/js/adminlte.min.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <!-- custom -->
- <script src="/public/static/js/common.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <script src="/public/static/js/admin.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <link href="/public/static/css/admin.css?<?php echo \think\Config::get('html_v'); ?>" rel="stylesheet" type="text/css">
- <script type="text/javascript" src="/public/static/js/langs/<?php echo \think\Config::get('DEFAULT_LANG'); ?>.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- <script type="text/javascript">var site_config={root:"",pub:"/public",usertoken:"<?php echo g_sc('usertoken'); ?>",clientinfo:"<?php echo g_sc('clientinfo'); ?>",admincp:<?php echo json_encode(g_sc_c('admincp')); ?>};</script>
- <script src="/public/static/js/admin/tool_check.js?<?php echo \think\Config::get('html_v'); ?>"></script>
- </head>
- <body class="skin-blue" data-spy="scroll" data-target="#scrollspy">
- <div class="wrapper">
- <header class="main-header">
- <!-- <a href="<?php echo url('admin/backstage/index'); ?>" class="logo">-->
- <!-- 采-->
- <!-- </a>-->
- <nav class="navbar navbar-static-top" role="navigation">
- <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
- <span class="sr-only"> </span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </a>
- <!-- <div class="navbar-custom-menu">-->
- <!-- <ul class="nav navbar-nav">-->
- <!-- <li class="dropdown tasks-menu">-->
- <!-- <a href="javascript:;" id="menu_backstage_task">-->
- <!-- <i class="fa fa-flag-o"></i>-->
- <!-- <span class="label label-warning"></span>-->
- <!-- </a>-->
- <!-- </li>-->
- <!-- <li class="dropdown user user-menu">-->
- <!-- <a href="#" class="dropdown-toggle" data-toggle="dropdown">-->
- <!-- <span class="glyphicon glyphicon-user"></span>-->
- <!-- <span><?php echo g_sc('user','username'); ?></span>-->
- <!-- </a>-->
- <!-- <ul class="dropdown-menu">-->
- <!-- <li><a href="<?php echo url('user/edit?uid='.g_sc('user','uid')); ?>"><?php echo \think\Lang::get('user_edit'); ?></a></li>-->
- <!-- <li><a href="<?php echo url('admin/index/logout'); ?>"><?php echo \think\Lang::get('logout'); ?></a></li>-->
- <!-- </ul>-->
- <!-- </li>-->
- <!-- </ul>-->
- <!-- </div>-->
- </nav>
- </header>
- <?php $curMenu=array(strtolower(request()->controller())=>' menu-open cur-menu'); $curSubm=array(strtolower(request()->action())=>' menu-open cur-menu'); ?>
- <aside class="main-sidebar">
- <section class="sidebar">
- <ul class="sidebar-menu">
- <li class="treeview<?php echo $curMenu['setting']; ?>">
- <a href="#">
- <i class="fa fa-cog"></i> <span><?php echo \think\Lang::get('setting'); ?></span>
- <span class="pull-right-container">
- <i class="fa fa-angle-left pull-right"></i>
- </span>
- </a>
- <ul class="treeview-menu">
- <li><a href="<?php echo url('admin/setting/caiji'); ?>"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('setting_caiji'); ?></a></li>
- <li><a href="<?php echo url('admin/setting/site'); ?>"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('setting_site'); ?></a></li>
- <!-- <li><a href="<?php echo url('admin/setting/store'); ?>"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('setting_store'); ?></a></li>-->
- <!-- <li><a href="<?php echo url('admin/setting/email'); ?>"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('setting_email'); ?></a></li>-->
- </ul>
- </li>
- <li class="treeview<?php echo $curMenu['task']; ?><?php echo $curMenu['taskgroup']; ?><?php echo $curMenu['collector']; ?><?php echo $curMenu['release']; ?><?php echo $curMenu['collected']; ?>">
- <a href="#">
- <i class="fa fa-th-list"></i> <span><?php echo \think\Lang::get('task'); ?></span>
- <span class="pull-right-container">
- <i class="fa fa-angle-left pull-right"></i>
- </span>
- </a>
- <ul class="treeview-menu">
- <li><a href="<?php echo url('admin/task/list'); ?>"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('task_list'); ?></a></li>
- <li><a href="<?php echo url('admin/task/set'); ?>"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('task_add'); ?></a></li>
- <li><a href="<?php echo url('admin/taskgroup/list'); ?>"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('taskgroup'); ?></a></li>
- <li><a href="<?php echo url('admin/collected/list'); ?>"><i class="fa fa-circle-o"></i> 已采集数据</a></li>
- </ul>
- </li>
- <!-- <li class="treeview<?php echo $curMenu['dataset']; ?><?php echo $curMenu['dataapi']; ?>">-->
- <!-- <a href="#">-->
- <!-- <i class="fa fa-database"></i> <span>数据</span>-->
- <!-- <span class="pull-right-container">-->
- <!-- <i class="fa fa-angle-left pull-right"></i>-->
- <!-- </span>-->
- <!-- </a>-->
- <!-- <ul class="treeview-menu">-->
- <!-- <li><a href="<?php echo url('admin/dataset/list'); ?>"><i class="fa fa-circle-o"></i> 数据集</a></li>-->
- <!-- <li><a href="<?php echo url('admin/dataapi/list'); ?>"><i class="fa fa-circle-o"></i> 数据接口</a></li>-->
- <!-- </ul>-->
- <!-- </li>-->
- <!-- <li class="treeview<?php echo $curMenu['store']; ?><?php echo $curMenu['mystore']; ?><?php echo $curMenu['provider']; ?><?php echo $curMenu['develop']; ?>">-->
- <!-- <a href="#">-->
- <!-- <i class="fa fa-cloud"></i> <span>云端</span>-->
- <!-- <span class="pull-right-container">-->
- <!-- <i class="fa fa-angle-left pull-right"></i>-->
- <!-- </span>-->
- <!-- </a>-->
- <!-- <ul class="treeview-menu">-->
- <!-- <li><a href="<?php echo url('admin/mystore/store'); ?>" target="_blank"><i class="fa fa-circle-o"></i> 云平台</a></li>-->
- <!-- <li><a href="<?php echo url('admin/provider/list'); ?>"><i class="fa fa-circle-o"></i> 第三方</a></li>-->
- <!-- <li class="treeview<?php echo !empty($curMenu['develop'])?'':' menu-open cur-menu'; ?>">-->
- <!-- <a href="#"><i class="fa fa-circle-o"></i> 仓库-->
- <!-- <span class="pull-right-container">-->
- <!-- <i class="fa fa-angle-left pull-right"></i>-->
- <!-- </span>-->
- <!-- </a>-->
- <!-- <ul class="treeview-menu">-->
- <!-- <li><a href="<?php echo url('admin/mystore/rule'); ?>"><i class="fa fa-circle-o"></i> 采集规则</a></li>-->
- <!-- <li><a href="<?php echo url('admin/mystore/funcApp'); ?>"><i class="fa fa-circle-o"></i> 函数插件</a></li>-->
- <!-- <li><a href="<?php echo url('admin/mystore/apiApp'); ?>"><i class="fa fa-circle-o"></i> 接口插件</a></li>-->
- <!-- <li><a href="<?php echo url('admin/mystore/releaseApp'); ?>"><i class="fa fa-circle-o"></i> 发布插件</a></li>-->
- <!-- <li><a href="<?php echo url('admin/mystore/app'); ?>"><i class="fa fa-circle-o"></i> 应用程序</a></li>-->
- <!-- </ul>-->
- <!-- </li>-->
- <!-- <li class="treeview<?php echo $curMenu['develop']; ?>">-->
- <!-- <a href="#"><i class="fa fa-circle-o"></i> 开发-->
- <!-- <span class="pull-right-container">-->
- <!-- <i class="fa fa-angle-left pull-right"></i>-->
- <!-- </span>-->
- <!-- </a>-->
- <!-- <ul class="treeview-menu">-->
- <!-- <li><a href="<?php echo url('admin/develop/func'); ?>"><i class="fa fa-circle-o"></i> 函数插件</a></li>-->
- <!-- <li><a href="<?php echo url('admin/develop/api'); ?>"><i class="fa fa-circle-o"></i> 接口插件</a></li>-->
- <!-- <li><a href="<?php echo url('admin/develop/releaseCms'); ?>"><i class="fa fa-circle-o"></i> 发布插件</a></li>-->
- <!-- <li><a href="<?php echo url('admin/develop/app'); ?>"><i class="fa fa-circle-o"></i> 应用程序</a></li>-->
- <!-- <li><a href="<?php echo url('admin/develop/editor'); ?>"><i class="fa fa-edit"></i> 插件编辑器</a></li>-->
- <!-- </ul>-->
- <!-- </li>-->
- <!-- </ul>-->
- <!-- </li>-->
- <!-- <li class="treeview<?php echo $curMenu['user']; ?>">-->
- <!-- <a href="#">-->
- <!-- <i class="fa fa-user"></i> <span><?php echo \think\Lang::get('user'); ?></span>-->
- <!-- <span class="pull-right-container">-->
- <!-- <i class="fa fa-angle-left pull-right"></i>-->
- <!-- </span>-->
- <!-- </a>-->
- <!-- <ul class="treeview-menu">-->
- <!-- <li><a href="<?php echo url('admin/user/list'); ?>"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('user_list'); ?></a></li>-->
- <!-- </ul>-->
- <!-- </li>-->
- <li class="treeview<?php echo $curMenu['tool']; ?>">
- <a href="#">
- <i class="fa fa-wrench"></i> <span>工具</span>
- <span class="pull-right-container">
- <i class="fa fa-angle-left pull-right"></i>
- </span>
- </a>
- <ul class="treeview-menu">
- <!-- <li><a href="<?php echo url('admin/tool/fileManager'); ?>"><i class="fa fa-circle-o"></i> 文件管理</a></li>-->
- <li><a href="<?php echo url('admin/tool/preview'); ?>"><i class="fa fa-circle-o"></i> 解析预览</a></li>
- <li><a href="<?php echo url('admin/tool/logs'); ?>"><i class="fa fa-circle-o"></i> 错误日志</a></li>
- <li class="treeview<?php echo $curSubm['checkfile']; ?><?php echo $curSubm['checkdb']; ?>">
- <a href="#"><i class="fa fa-circle-o"></i> 校验
- <span class="pull-right-container">
- <i class="fa fa-angle-left pull-right"></i>
- </span>
- </a>
- <ul class="treeview-menu">
- <li><a href="<?php echo url('admin/tool/checkfile'); ?>"><i class="fa fa-circle-o"></i> 文件</a></li>
- <li><a href="<?php echo url('admin/tool/checkdb'); ?>"><i class="fa fa-circle-o"></i> 数据库</a></li>
- </ul>
- </li>
-
- <li class="treeview">
- <a href="#" id="treeview_skins"><i class="fa fa-circle-o"></i> <?php echo \think\Lang::get('admincp_style'); ?>
- <span class="pull-right-container">
- <i class="fa fa-angle-left pull-right"></i>
- </span>
- </a>
- <ul class="treeview-menu treeview-skins" style="display:none;">
- <li>
- <div class="checkbox"><label><input id="chk_sidebar_mini" type="checkbox"> <?php echo \think\Lang::get('admincp_sidebar_mini'); ?></label></div>
- <div class="checkbox"><label><input id="chk_sidebar_fixed" type="checkbox"> 菜单侧边栏固定</label></div>
- <div class="checkbox"><label><input id="chk_sidebar_narrow" type="checkbox"> 窄屏显示</label></div>
- </li>
- <li>
- <div id="sidebar_skins"></div>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </section>
- </aside>
- <script type="text/javascript">admincpOp.init();</script>
- <div class="content-wrapper">
- <section class="content-header">
- <h1><?php echo g_sc('html_tag_name'); ?></h1>
- <ol class="breadcrumb">
- <li><a href="<?php echo url('admin/backstage/index'); ?>"><i class="fa fa-dashboard"></i> <?php echo \think\Lang::get('admincp'); ?></a></li>
- <?php echo g_sc('html_tag_nav'); ?>
- </ol>
- </section>
- <section class="content">
-
- <div class="box box-default">
- <div class="box-body">
- <form id="form_check" action="<?php echo url('tool/checkdb'); ?>" method="post" style="text-align:center;padding:50px 0;">
- <?php echo html_usertoken(); ?>
- <input type="hidden" name="sub" value="1" />
- <h1>校验数据库一致性</h1>
- <p class="lead">数据库不一致可能导致程序运行错误、功能缺失、系统紊乱等</p>
- <p><button type="submit" class="btn btn-lg btn-success">开始校验</button></p>
- </form>
- <div id="error_box" style="display:none;">
- <div id="error_engines" style="display:none;">
- <h3>请检查您数据库中的存储引擎是否与以下存储引擎一致</h3>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th style="width:100px;">表名</th>
- <th>存储引擎</th>
- </tr>
- </thead>
- <tbody>
-
- </tbody>
- </table>
- </div>
- <div id="error_fields" style="display:none;">
- <h3>请检查您数据库中的字段是否与以下字段一致</h3>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>表名</th>
- <th>字段名</th>
- <th>数据类型</th>
- <th>默认值</th>
- <th>主键?</th>
- <th>非空?</th>
- <th>自增?</th>
- </tr>
- </thead>
- <tbody>
-
- </tbody>
- </table>
- </div>
- <div id="error_indexes" style="display:none;">
- <h3>请检查您数据库中的索引是否与以下索引一致</h3>
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>表名</th>
- <th>索引名</th>
- <th>索引字段</th>
- <th>索引类型</th>
- </tr>
- </thead>
- <tbody>
-
- </tbody>
- </table>
- </div>
- <div class="alert alert-warning" id="error_error_tables" style="display:none;"></div>
- <button class="btn btn-lg btn-primary" id="repair_db">一键修复数据库</button>
- <div class="alert alert-warning" id="error_info" style="margin-top:20px;margin-bottom:0;display:none;"></div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- toolCheckDb();
- </script>
- </section>
- </div>
- <div class="control-sidebar-bg"></div>
- </div>
- <?php if(!is_empty(g_sc('browser_is_old'))): ?>
- <div class="alert alert-danger alert-dismissible fade in" role="alert" style="position:fixed;top:0;z-index:9999;width:100%;padding-top:5px;padding-bottom:5px;border-top-left-radius:0;border-top-right-radius:0;">
- <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
- 您的浏览器版本过低,不能完全展现页面效果,请使用谷歌、火狐或IE10及以上版本的浏览器!
- </div>
- <?php endif; if(is_empty(g_sc_c('site','closetrans'))): ?>
- <script type="text/javascript">
- 'use strict';//严格模式
- page_translator("/public","<?php echo addslashes($_SERVER['HTTP_ACCEPT_LANGUAGE']); ?>");
- </script>
- <?php endif; ?>
- <footer class="footer-end">
- <p>Powered by <a href="https://www.skycaiji.com" target="_blank">蓝天采集器</a></p>
- </footer>
- </body>
- </html>
|