Без опису
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  8. <!-- Apple devices fullscreen -->
  9. <meta name="apple-mobile-web-app-capable" content="yes">
  10. <!-- Apple devices fullscreen -->
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  12. <link href="__SKIN__/css/main.css?v={$version}" rel="stylesheet" type="text/css">
  13. <link href="__SKIN__/font/css/font-awesome.min.css?v={$version}" rel="stylesheet"/>
  14. <link href="__SKIN__/font/css/iconfont.css?v={$version}" rel="stylesheet"/>
  15. <link href="__SKIN__/css/index.css?v={$version}" rel="stylesheet" type="text/css">
  16. <!--[if IE 7]>
  17. <link rel="stylesheet" href="__SKIN__/font/css/font-awesome-ie7.min.css?v={$version}">
  18. <![endif]-->
  19. <link href="__SKIN__/css/diy_style.css?v={$version}" rel="stylesheet" type="text/css"/>
  20. {include file="public/theme_css" /}
  21. <script type="text/javascript">
  22. var eyou_basefile = "{$Request.baseFile}";
  23. var module_name = "{$Think.const.MODULE_NAME}";
  24. var __root_dir__ = "__ROOT_DIR__";
  25. var __lang__ = "{$admin_lang}";
  26. var __main_lang__ = "{$main_lang}";
  27. var VarSecurityPatch = {$security_patch|default=0};
  28. </script>
  29. <script type="text/javascript" src="__STATIC__/common/js/jquery.min.js?v={$version}"></script>
  30. <script type="text/javascript" src="__PUBLIC__/plugins/layer-v3.1.0/layer.js?v={$version}"></script>
  31. <script src="__SKIN__/js/upgrade.js?v={$version}"></script>
  32. <script src="__SKIN__/js/global.js?v={$version}"></script>
  33. </head>
  34. <body style="background-color:#F4F4F4;padding:0px; overflow: auto;">
  35. <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
  36. <div id="append_parent"></div>
  37. <div id="ajaxwaitid"></div>
  38. {if condition="empty($system_explanation_welcome_2)"}
  39. <div id="explanation_welcome" style="margin:10px 10px 0px 10px;">
  40. {if condition='empty($system_explanation_welcome_2)'}
  41. <div class="explanation" style="color: rgb(44, 188, 163); background-color: #fff!important; margin-top: 10px;">
  42. <div class="title checkZoom" data-type="2">
  43. <span title="不再提示" style="display: block;"></span>
  44. </div>
  45. <ul>
  46. <li style="color: red;">后台登录密码强度:{$admin_login_pwdlevel|getPasswordLevelTitle},容易被暴力破解,请及时
  47. <a href="javascript:void(0);" data-href="{:url('Admin/admin_edit', ['id'=>$Think.session.admin_info.admin_id,'iframe'=>1])}" onclick="openFullframe(this, '管理员-修改密码');">【修改密码】</a>提高安全性。</li>
  48. </ul>
  49. </div>
  50. {/if}
  51. </div>
  52. {/if}
  53. <div class="warpper">
  54. <div class="content start_content">
  55. <div class="contentWarp">
  56. <div class="index_box" id="quick_menu_box" style="display: none;">
  57. <div class="info_count">
  58. <h3><i class="iconfont e-kuaijiedaohang"></i>快捷导航</h3>
  59. <div class="container-fluid">
  60. <ul>
  61. {volist name='$quickMenu' id='vo'}
  62. {if condition="is_check_access($vo['controller'].'@'.$vo['action'])"}
  63. <li class="quick_menu">
  64. <a href="javascript:void(0);" onclick="GoLocation(this);" data-href="{:url($vo.controller.'/'.$vo.action, $vo.vars)}"><p class="navs">{$vo.title}</p></a>
  65. </li>
  66. {/if}
  67. {/volist}
  68. {eq name="'Index@ajax_quickmenu'|is_check_access" value="1"}
  69. <li>
  70. <a href="javascript:void(0);" id="quickMenuAdd"><p class="navs"><i style="font-size: 20px;" class="iconfont e-tianjia"></i></p></a>
  71. </li>
  72. {/eq}
  73. </ul>
  74. </div>
  75. </div>
  76. </div>
  77. <script type="text/javascript">
  78. $(function(){
  79. if ($('li.quick_menu').length > 0) {
  80. $('#quick_menu_box').show();
  81. }
  82. });
  83. </script>
  84. <div class="index_box" id="content_total_box" style="display: none;">
  85. <div class="info_count">
  86. <h3><i class="iconfont e-neirongtongji"></i>内容统计</h3>
  87. <div class="container-fluid">
  88. <ul>
  89. {volist name='$contentTotal' id='vo' length='9'}
  90. {if condition="is_check_access($vo['controller'].'@'.$vo['action'])"}
  91. <li class="content_total">
  92. <a href="javascript:void(0);" onclick="GoLocation(this);" data-href="{:url($vo.controller.'/'.$vo.action, $vo.vars)}">
  93. <h2>{$vo.title}</h2>
  94. <p title="{$vo.tips|default=''}"><cite>{$vo.total|default='0'}</cite></p>
  95. </a>
  96. </li>
  97. {/if}
  98. {/volist}
  99. {eq name="'Index@ajax_content_total'|is_check_access" value="1"}
  100. <li>
  101. <a href="javascript:void(0);" id="contentTotalAdd">
  102. <h2>添加统计</h2>
  103. <p><cite><i class="iconfont e-tianjia"></i></cite></p>
  104. </a>
  105. </li>
  106. {/eq}
  107. </ul>
  108. </div>
  109. </div>
  110. </div>
  111. <script type="text/javascript">
  112. $(function(){
  113. if ($('li.content_total').length > 0) {
  114. $('#content_total_box').show();
  115. }
  116. });
  117. function GoLocation(obj) {
  118. layer_loading('正在加载');
  119. var url = $(obj).data('href');
  120. if (url.indexOf('&c=ShopProduct&a=index') > -1) {
  121. top.$('#Shop_home').attr('data-click', true).attr('data-click_url', url).click();
  122. } else {
  123. window.location.href = $(obj).data('href');
  124. }
  125. }
  126. </script>
  127. <div class="section system_section" style="float: none;width: inherit;">
  128. <div class="system_section_con">
  129. <div class="sc_title" style="padding: 26px 0 14px;">
  130. <h3><i class="iconfont e-xitongxinxi"></i>系统信息</h3>
  131. </div>
  132. <div class="sc_warp" id="system_warp" style="display: block;">
  133. <table cellpadding="0" cellspacing="0" class="system_table">
  134. <tbody>
  135. <tr>
  136. <td class="gray_bg">系统更新:</td>
  137. <td id="td_upgrade_msg">
  138. <div id="upgrade_filelist" style="display:none;"></div>
  139. <div id="upgrade_intro" style="display:none;"></div>
  140. <div id="upgrade_notice" style="display:none;"></div>
  141. <a href="javascript:void(0);" id="a_upgrade" data-version="" data-max_version="" data-curent_version="{$sys_info.curent_version|default='v1.0'}" data-iframe="workspace" title="" data-tips_url="{:url('Upgrade/setPopupUpgrade')}" data-upgrade_url="{:url('Upgrade/OneKeyUpgrade')}" data-check_authority="{:url('Upgrade/check_authority')}">{if condition='!empty($security_patch)'}正在版本检测中……{else/}{eq name="upgrade" value="true"}正在版本检测中……{else/}已是最新版{/eq}{/if}</a>
  142. </td>
  143. <td class="gray_bg">当前版本:</td>
  144. <td>{$sys_info.curent_version|default='v1.0'}</td>
  145. </tr>
  146. <tr>
  147. <td class="gray_bg">网站名称:</td>
  148. <td>{$sys_info.web_name|default='Eyoucms企业网站管理系统'}</td>
  149. <td class="gray_bg">版权所有:</td>
  150. <td>{notempty name="$is_eyou_authortoken"}<a href="https://www.eyoucms.com/buy/" target="_blank" style="color: #454545;">盗版必究</a>{else /}正版软件{/notempty}&nbsp;<a href="javascript:void(0);" onclick="top.openItem('Index|authortoken|is_force|1');">校验</a></td>
  151. </tr>
  152. {notempty name="$is_eyou_authortoken"}
  153. <tr>
  154. <td class="gray_bg">更新日志:</td>
  155. <td><a href="https://www.eyoucms.com/rizhi/" target="_blank">查看</a></td>
  156. <td class="gray_bg">帮助中心:</td>
  157. <td><a href="https://www.eyoucms.com/ask/" target="_blank">查看</a></td>
  158. </tr>
  159. {/notempty}
  160. </tbody>
  161. </table>
  162. </div>
  163. </div>
  164. <div class="system_section_con">
  165. <div class="sc_title" style="padding: 26px 0 14px;">
  166. <h3><i class="iconfont e-fuwuqixinxi"></i>服务器信息</h3>
  167. </div>
  168. <div class="sc_warp" id="system_warp" style="display: block;padding-bottom: 20px;">
  169. <table cellpadding="0" cellspacing="0" class="system_table">
  170. <tbody><tr>
  171. <td class="gray_bg">服务器系统:</td>
  172. <td>{$sys_info.os}</td>
  173. <td class="gray_bg">网站域名/IP:</td>
  174. <td>{$sys_info.domain} [ {$sys_info.ip} ]</td>
  175. </tr>
  176. <tr>
  177. <td class="gray_bg">服务器环境:</td>
  178. <td style="line-height: 28px;padding-right: 20px;">{$sys_info.web_server}</td>
  179. <td class="gray_bg">PHP 版本:</td>
  180. <td>{$sys_info.phpv}</td>
  181. </tr>
  182. <tr>
  183. <td class="gray_bg">Mysql 版本:</td>
  184. <td>{$sys_info.mysql_version}</td>
  185. <td class="gray_bg">GD 版本:</td>
  186. <td>{$sys_info.gdinfo}</td>
  187. </tr>
  188. <tr>
  189. <td class="gray_bg">文件上传限制:</td>
  190. <td>{$sys_info.fileupload}</td>
  191. <td class="gray_bg">最大占用内存:</td>
  192. <td>{$sys_info.memory_limit}</td>
  193. </tr>
  194. <tr>
  195. <td class="gray_bg">POST限制:</td>
  196. <td>{$sys_info.postsize|default='unknown'}</td>
  197. <td class="gray_bg">最大执行时间:</td>
  198. <td>{$sys_info.max_ex_time}</td>
  199. </tr>
  200. <tr>
  201. <td class="gray_bg">Zip支持:</td>
  202. <td>{$sys_info.zip}</td>
  203. <td class="gray_bg">Zlib支持:</td>
  204. <td>{$sys_info.zlib}</td>
  205. </tr>
  206. </tbody>
  207. </table>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. <div id="footer" style="position: static; bottom: 0px; font-size:14px;">
  215. <p>
  216. <b>{$global.web_copyright|htmlspecialchars_decode}</b>
  217. </p>
  218. </div>
  219. <script type="text/javascript">
  220. $(function () {
  221. if (1 == VarSecurityPatch) {
  222. checkUpgradeSecurityVersion();
  223. } else {
  224. {eq name="upgrade" value="true"}
  225. check_upgrade_version();
  226. {/eq}
  227. }
  228. $.get("{:url('Ajax/welcome_handle', ['_ajax'=>1])}"); // 进入欢迎页面需要异步处理的业务
  229. check_language_tips();
  230. // 检测语言版本
  231. function check_language_tips()
  232. {
  233. if (__main_lang__ != __lang__) {
  234. var language_title = $('#language_title', window.parent.document).html();
  235. layer.msg('当前后台已切换至【'+language_title+'】编辑状态!', {time:3000});
  236. }
  237. }
  238. // 检测系统安全补丁更新弹窗
  239. function checkUpgradeSecurityVersion() {
  240. $.ajax({
  241. type : "GET",
  242. url : "{:url('Ajax/check_upgrade_version', ['_ajax'=>1])}",
  243. data : {},
  244. dataType : "JSON",
  245. success: function(res) {
  246. if (1 == res.code) {
  247. if (2 == res.data.code) {
  248. /*显示顶部导航更新提示*/
  249. try {
  250. $("#upgrade_filelist", window.parent.document).html(res.data.msg.upgrade);
  251. $("#upgrade_intro", window.parent.document).html(res.data.msg.intro);
  252. $("#upgrade_notice", window.parent.document).html(res.data.msg.notice);
  253. $('#a_upgrade', window.parent.document).attr('data-version',res.data.msg.key_num).attr('data-max_version',res.data.msg.max_version).show();
  254. } catch(e) {}
  255. $('#upgrade_filelist').html(res.data.msg.upgrade);
  256. $('#upgrade_intro').html(res.data.msg.intro);
  257. $('#upgrade_notice').html(res.data.msg.notice);
  258. $('#a_upgrade').attr('data-version', res.data.msg.key_num).attr('data-max_version', res.data.msg.max_version).attr('title', res.data.msg.tips);
  259. $('#a_upgrade').html('检测到安全补丁包'+res.data.msg.key_num+'[点击查看]').css('color', '#F00');
  260. /* END */
  261. var webShowPopupUpgrade = {$web_show_popup_upgrade|default=1};
  262. var adminInfoRoleID = {$Think.session.admin_info.role_id|default=0};
  263. var adminInfoAuthRoleInfoOnlineUpdate = {$Think.session.admin_info.auth_role_info.online_update|default=0};
  264. if (-1 != webShowPopupUpgrade && (0 >= adminInfoRoleID || 1 == adminInfoAuthRoleInfoOnlineUpdate)) {
  265. btn_upgrade($("#a_upgrade"), 1);
  266. }
  267. } else if (0 == res.data.code) {
  268. layer.alert(res.data.msg, {title:false, closeBtn:0});
  269. } else {
  270. $('#td_upgrade_msg').html(res.data.msg);
  271. }
  272. }
  273. }
  274. });
  275. }
  276. // 版本检测更新弹窗
  277. function check_upgrade_version() {
  278. $.ajax({
  279. type : "GET",
  280. url : "{:url('Ajax/check_upgrade_version', ['_ajax'=>1])}",
  281. data : {},
  282. dataType : "JSON",
  283. success: function(res) {
  284. if (1 == res.code) {
  285. if (2 == res.data.code) {
  286. /*显示顶部导航更新提示*/
  287. try {
  288. $("#upgrade_filelist", window.parent.document).html(res.data.msg.upgrade);
  289. $("#upgrade_intro", window.parent.document).html(res.data.msg.intro);
  290. $("#upgrade_notice", window.parent.document).html(res.data.msg.notice);
  291. $('#a_upgrade', window.parent.document).attr('data-version',res.data.msg.key_num).attr('data-max_version',res.data.msg.max_version).show();
  292. } catch(e) {}
  293. $('#upgrade_filelist').html(res.data.msg.upgrade);
  294. $('#upgrade_intro').html(res.data.msg.intro);
  295. $('#upgrade_notice').html(res.data.msg.notice);
  296. $('#a_upgrade').attr('data-version', res.data.msg.key_num).attr('data-max_version', res.data.msg.max_version).attr('title', res.data.msg.tips);
  297. $('#a_upgrade').html('检测到新版本'+res.data.msg.key_num+'[点击查看]').css('color', '#F00');
  298. /* END */
  299. {if condition="-1 != $web_show_popup_upgrade AND (0 >= $Think.session.admin_info.role_id OR 1 == $Think.session.admin_info.auth_role_info.online_update)"}
  300. btn_upgrade($("#a_upgrade"), 1);
  301. {/if}
  302. } else {
  303. $('#td_upgrade_msg').html(res.data.msg);
  304. }
  305. }
  306. }
  307. });
  308. }
  309. });
  310. $(function() {
  311. //操作提示缩放动画
  312. $(".checkZoom").click(function(){
  313. $(this).parent().animate({
  314. color: "#FFF",
  315. backgroundColor: "#4FD6BE",
  316. width: "0",
  317. height: "0",
  318. },300,function(){
  319. $(this).remove();
  320. });
  321. if(1 >= $('#explanation_welcome').find('div.explanation').length) {
  322. $('#explanation_welcome').remove();
  323. }
  324. var url = eyou_basefile+"?m=admin&c=Ajax&a=explanation_welcome&type="+$(this).attr('data-type')+"&lang="+__lang__+"&_ajax=1";
  325. $.get(url);
  326. });
  327. checkInlet(); // 自动检测隐藏index.php
  328. });
  329. // 自动检测隐藏index.php
  330. function checkInlet() {
  331. layer.open({
  332. type: 2,
  333. title: false,
  334. area: ['0px', '0px'],
  335. shade: 0.0,
  336. closeBtn: 0,
  337. shadeClose: true,
  338. content: '//{$website_host}__ROOT_DIR__/api/Rewrite/setInlet.html',
  339. success: function(layero, index){
  340. layer.close(index);
  341. var body = layer.getChildFrame('body', index);
  342. var content = body.html();
  343. if (content.indexOf("Congratulations on passing") == -1)
  344. {
  345. $.ajax({
  346. type : "POST",
  347. url : "__ROOT_DIR__/index.php?m=api&c=Rewrite&a=setInlet&_ajax=1",
  348. data : {seo_inlet:0},
  349. dataType : "JSON",
  350. success: function(res) {
  351. }
  352. });
  353. }
  354. }
  355. });
  356. }
  357. // 新增内容统计
  358. $('#contentTotalAdd').click(function(){
  359. //iframe窗
  360. var iframes = layer.open({
  361. type: 2,
  362. title: '内容统计管理',
  363. fixed: true, //不固定
  364. shadeClose: false,
  365. shade: layer_shade,
  366. // maxmin: false, //开启最大化最小化按钮
  367. area: ['550px', '320px'],
  368. content: "{:url('Index/ajax_content_total')}"
  369. });
  370. });
  371. // 新增快捷导航
  372. $('#quickMenuAdd').click(function(){
  373. //iframe窗
  374. var iframes = layer.open({
  375. type: 2,
  376. title: '快捷导航管理',
  377. fixed: true, //不固定
  378. shadeClose: false,
  379. shade: layer_shade,
  380. // maxmin: false, //开启最大化最小化按钮
  381. area: ['550px', '320px'],
  382. content: "{:url('Index/ajax_quickmenu')}"
  383. });
  384. });
  385. /**
  386. * 更新组件库
  387. * @return {[type]} [description]
  388. */
  389. var is_update_component_access = {$is_update_component_access|default=0};
  390. function update_component_access()
  391. {
  392. if (1 == is_update_component_access) {
  393. $.ajax({
  394. type : 'post',
  395. url : eyou_basefile+'?m=admin&c=Diyminipro&a=ajax_syn_component_access&lang='+__lang__,
  396. data : {mini_id:0, _ajax:1},
  397. dataType : 'json',
  398. success : function(res){
  399. if(res.code == 1) {
  400. console.log(res.msg);
  401. }
  402. }
  403. });
  404. }
  405. }
  406. update_component_access();
  407. </script>
  408. {include file="public/footer" /}