説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.htm 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. {include file="header.htm" /}
  2. <style>
  3. .a-upload{
  4. padding: 7px 10px;
  5. height: 20px;
  6. line-height: 20px;
  7. position: relative;
  8. cursor: pointer;
  9. color: #90909e;
  10. background: #f9f9f9;
  11. border: 1px solid #f9f9f9;
  12. border-radius: 4px;
  13. overflow: hidden;
  14. display: inline-block;
  15. }
  16. .a-upload input {
  17. position: absolute;
  18. font-size: 100px;
  19. right: 0;
  20. top: 0;
  21. opacity: 0;
  22. filter: alpha(opacity=0);
  23. cursor: pointer;
  24. }
  25. .a-upload:hover {
  26. color: #31b4e1;
  27. background: #f9f9f9;
  28. border-color: #f9f9f9;
  29. text-decoration: none;
  30. }
  31. .doctor-meun{
  32. position: relative;
  33. width: 100%;
  34. margin: 20px auto;
  35. }
  36. .doctor-meun .meun-item{
  37. text-align: center;
  38. width: 200px;
  39. height: 70px;
  40. display: inline-block;
  41. border: 1px solid #eee;
  42. border-radius: 4px;
  43. overflow: hidden;
  44. box-shadow: 0 0 7px 0 rgba(197,197,197,0.34);
  45. background-color: #f9f9f9;
  46. margin: 0 10px 10px 0;
  47. }
  48. .doctor-meun .meun-item .meun-tit{
  49. width: 90%;
  50. font-weight: bold;
  51. margin: 0 auto;
  52. margin-top: 4px;
  53. line-height: 30px;
  54. border-bottom: 1px solid #eee;
  55. font-size: 15px;
  56. }
  57. .doctor-meun .meun-item .meun-b{
  58. line-height: 24px;
  59. font-size: 14px;
  60. }
  61. </style>
  62. <body style="background-color: #FFF; overflow: auto;">
  63. <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
  64. <div id="append_parent"></div>
  65. <div id="ajaxwaitid"></div>
  66. <div class="page">
  67. {include file="bar.htm" /}
  68. <!-- 操作说明 -->
  69. <div id="explanation" class="explanation" style="color: rgb(44, 188, 163); background-color: rgb(237, 251, 248); width: 99%; height: 100%;">
  70. <div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
  71. <h4 title="提示相关设置操作时应注意的要点">提示</h4>
  72. <span title="收起提示" id="explanationZoom" style="display: block;"></span>
  73. </div>
  74. <ul>
  75. <li>目前易优系统助手还在逐渐完善中,敬请期待更新……</li>
  76. <li>专门诊断各种疑难杂症,部分功能诊断后会自动修复。</li>
  77. </ul>
  78. </div>
  79. <div class="doctor-meun">
  80. <div class="meun-item">
  81. <div class="meun-tit">文档链接提取</div>
  82. <div class="meun-b">
  83. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/extract_archives_index\')}', '文档链接提取')">进入管理</a>
  84. </div>
  85. </div>
  86. <div class="meun-item">
  87. <div class="meun-tit">文件管理器</div>
  88. <div class="meun-b">
  89. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Filetool/index\')}', '文件管理器')">进入管理</a>
  90. </div>
  91. </div>
  92. <div class="meun-item">
  93. <div class="meun-tit">特殊字符</div>
  94. <div class="meun-b">
  95. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/special_char_index\')}', '特殊字符')">进入执行</a>
  96. </div>
  97. </div>
  98. <div class="meun-item">
  99. <div class="meun-tit">检查bom头部信息</div>
  100. <div class="meun-b">
  101. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/bom_index\')}', '检查bom头部信息')">进入管理</a>
  102. </div>
  103. </div>
  104. <div class="meun-item">
  105. <div class="meun-tit">执行数据库</div>
  106. <div class="meun-b">
  107. <form class="navbar-form form-inline" action="{:weapp_url('Systemdoctor/Systemdoctor/restoreUpload')}" name="change_System" id="change_System" method="post" enctype="multipart/form-data">
  108. <a href="javascript:void(0);" class="a-upload"><input type="file" name="sqlfile" id="sqlfile" title="请选择…">上传执行sql文件</a>
  109. </form>
  110. </div>
  111. </div>
  112. <div class="meun-item">
  113. <div class="meun-tit">检测数据库</div>
  114. <div class="meun-b">
  115. <a href="javascript:void(0);" class="a-upload" onclick="open_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/check_database\')}')">开始检测</a>
  116. </div>
  117. </div>
  118. <div class="meun-item">
  119. <div class="meun-tit">检测目录权限</div>
  120. <div class="meun-b">
  121. <a href="javascript:void(0);" class="a-upload" onclick="open_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/check_permission\')}', '检测结果', '80%', '80%')">开始检测</a>
  122. </div>
  123. </div>
  124. <div class="meun-item">
  125. <div class="meun-tit">SQL命令行</div>
  126. <div class="meun-b">
  127. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/sql_command\')}','SQL命令行')">进入执行</a>
  128. </div>
  129. </div>
  130. <div class="meun-item">
  131. <div class="meun-tit">病毒扫描</div>
  132. <div class="meun-b">
  133. {if condition="$cms_version >= 'v1.5.8'"}
  134. <a href="javascript:void(0);" class="a-upload" onclick="showErrorAlert('功能已内置,前往【功能地图】->【安全中心】', 2);">进入扫描</a>
  135. {else /}
  136. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/virus_scan\')}','病毒扫描')">进入扫描</a>
  137. {/if}
  138. </div>
  139. </div>
  140. <div class="meun-item">
  141. <div class="meun-tit">木马图片扫描</div>
  142. <div class="meun-b">
  143. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/virus_upload\')}','木马图片扫描')">进入扫描</a>
  144. </div>
  145. </div>
  146. <div class="meun-item">
  147. <div class="meun-tit">检测重复文档</div>
  148. <div class="meun-b">
  149. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/repeat_archives_index\')}', '检测重复文档')">进入检测</a>
  150. </div>
  151. </div>
  152. <div class="meun-item">
  153. <div class="meun-tit">重置数据表ID</div>
  154. <div class="meun-b">
  155. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/sql_reset\')}', '重置数据表ID')">进入重置</a>
  156. </div>
  157. </div>
  158. <div class="meun-item">
  159. <div class="meun-tit">后台操作日志</div>
  160. <div class="meun-b">
  161. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/admin_log\')}', '后台操作日志')">查看日志</a>
  162. </div>
  163. </div>
  164. <div class="meun-item">
  165. <div class="meun-tit">数据库内容替换</div>
  166. <div class="meun-b">
  167. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/data_replace_index\')}', '数据库内容替换')">进入执行</a>
  168. </div>
  169. </div>
  170. <div class="meun-item">
  171. <div class="meun-tit">验证码管理</div>
  172. <div class="meun-b">
  173. {if condition="$cms_version >= 'v1.5.6'"}
  174. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:url(\'Vertify/index\')}', '验证码管理')">进入管理</a>
  175. {else /}
  176. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/vertify\')}', '验证码管理')">进入管理</a>
  177. {/if}
  178. </div>
  179. </div>
  180. <div class="meun-item">
  181. <div class="meun-tit">在线模板编辑</div>
  182. <div class="meun-b">
  183. <a href="javascript:void(0);" class="a-upload" onclick="open_full_iframe('{:weapp_url(\'Systemdoctor/Systemdoctor/filemanager_index\')}', '在线模板编辑')">在线编辑</a>
  184. </div>
  185. </div>
  186. <div class="meun-item">
  187. <div class="meun-tit">上传图片检测木马</div>
  188. <div class="meun-b">
  189. <a href="javascript:void(0);" class="a-upload" onclick="trojan_horse_submit(0)" {if condition='empty($trojan_horse)'} style="display:none;" {/if}>点击开启</a>
  190. <a href="javascript:void(0);" class="a-upload" onclick="trojan_horse_submit(1)" {if condition='!empty($trojan_horse)'} style="display:none;" {/if}>点击关闭</a>
  191. </div>
  192. </div>
  193. </div>
  194. </div>
  195. <script type="text/javascript">
  196. $('#sqlfile').change(function(){
  197. restoreUpload();
  198. });
  199. // 上传图片检测木马
  200. function trojan_horse_submit(value) {
  201. layer_loading('正在处理');
  202. $.ajax({
  203. url: "{:weapp_url('Systemdoctor/Systemdoctor/trojan_horse')}",
  204. data: {value:value,_ajax:1},
  205. type: 'post',
  206. dataType: 'json',
  207. success: function (res) {
  208. layer.closeAll();
  209. if (1 == res.code) {
  210. layer.msg(res.msg, {time: 1000}, function(){
  211. window.location.reload();
  212. });
  213. }
  214. },
  215. error:function (e) {
  216. layer.closeAll();
  217. showErrorAlert(e.responseText);
  218. }
  219. });
  220. }
  221. // 判断输入框是否为空
  222. function restoreUpload()
  223. {
  224. var sqlfile = $('input[name=sqlfile]').val();
  225. var ext = sqlfile.substr(sqlfile.lastIndexOf('.')).toLowerCase();
  226. if ($.trim(sqlfile) == '' || ext != '.sql') {
  227. showErrorMsg('请上传sql文件!');
  228. return false;
  229. }
  230. layer.confirm('此操作不可恢复,确认执行?', {
  231. title: false,//'<font color="red">重要提示</font>',
  232. btn: ['确定', '取消'] //按钮
  233. }, function () {
  234. layer_loading('正在处理');
  235. $('#change_System').submit();
  236. return false;
  237. }, function (index) {
  238. $('#sqlfile').val('');
  239. layer.closeAll();
  240. return false;
  241. });
  242. }
  243. function open_iframe(url,title='检测结果',w='60%',h="70%") {
  244. var url = url;
  245. //iframe窗
  246. layer.open({
  247. type: 2,
  248. title: title,
  249. fixed: true, //不固定
  250. shadeClose: false,
  251. shade: 0.3,
  252. maxmin: true, //开启最大化最小化按钮
  253. area: [w, w],
  254. content: url
  255. });
  256. }
  257. function open_full_iframe(url,title) {
  258. //iframe窗
  259. var iframes = layer.open({
  260. type: 2,
  261. title: title,
  262. fixed: true, //不固定
  263. shadeClose: true,
  264. shade: 0.3,
  265. content: url,
  266. });
  267. layer.full(iframes);
  268. }
  269. </script>
  270. {include file="footer.htm" /}