5d289a9f52232d6a04e2676055f536f5.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <meta name="renderer" content="webkit">
  7. <title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
  8. <link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
  9. <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
  10. <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
  11. <link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
  12. <link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
  13. <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
  14. <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
  15. </head>
  16. <body class="layui-layout-body">
  17. <!--定义部分地址方便JS调用-->
  18. <div style="display: none">
  19. <span id="controller" data-controller="<?php echo C;?>"></span>
  20. <span id="url" data-url="<?php echo URL;?>"></span>
  21. <span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
  22. <span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
  23. <span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
  24. </div>
  25. <div class="layui-layout layui-layout-admin">
  26. <div class="layui-header">
  27. <div class="layui-logo">
  28. <a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
  29. <img src="<?php echo APP_THEME_DIR;?>/images/logo.png" height="30">
  30. <?php echo CMSNAME;?>
  31. <?php if (LICENSE==3) {?>
  32. <span class="layui-badge">SVIP</span>
  33. <?php } else { ?>
  34. <span class="layui-badge layui-bg-gray">V<?php echo APP_VERSION;?></span>
  35. <?php } ?>
  36. </a>
  37. </div>
  38. <ul class="menu">
  39. <li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
  40. </ul>
  41. <?php if (!$this->getVar('one_area')) {?>
  42. <form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
  43. <input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
  44. <div class="layui-col-xs8">
  45. <select name="acode">
  46. <?php echo $this->getVar('area_html');?>
  47. </select>
  48. </div>
  49. <div class="layui-col-xs4">
  50. <button type="submit" class="layui-btn layui-btn-sm">切换</button>
  51. </div>
  52. </form>
  53. <?php } ?>
  54. <ul class="layui-nav layui-layout-right">
  55. <li class="layui-nav-item layui-hide-xs">
  56. <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
  57. </li>
  58. <li class="layui-nav-item layui-hide-xs">
  59. <a href="<?php echo \core\basic\Url::get('/admin/DeleCache/index');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
  60. </li>
  61. <li class="layui-nav-item layui-hide-xs">
  62. <a href="javascript:;">
  63. <i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
  64. </a>
  65. <dl class="layui-nav-child">
  66. <dd><a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
  67. <dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
  68. <?php if (session('ucode')==10001) {?>
  69. <dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
  70. <dd><a href="<?php echo \core\basic\Url::get('/admin/Index/clearSession');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
  71. <?php } ?>
  72. </dl>
  73. </li>
  74. </ul>
  75. </div>
  76. <div class="layui-side layui-bg-black">
  77. <div class="layui-side-scroll">
  78. <!-- 左侧导航区域(可配合layui已有的垂直导航) -->
  79. <ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
  80. <?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
  81. <li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
  82. <a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
  83. <dl class="layui-nav-child">
  84. <?php if ($value->mcode=='M130') {?>
  85. <?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
  86. <?php if ($value3->type==1) {?>
  87. <dd><a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
  88. <?php } ?>
  89. <?php if ($value3->type==2) {?>
  90. <dd><a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
  91. <?php } ?>
  92. <?php } ?>
  93. <?php } else { ?>
  94. <?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
  95. <?php if (!isset($value2->status)|| $value2->status==1) {?>
  96. <dd><a href="<?php echo \core\basic\Url::get(''.$value2->url.'');?>"><i class="fa <?php echo $value2->ico; ?>" aria-hidden="true"></i><?php echo $value2->name; ?></a></dd>
  97. <?php } ?>
  98. <?php } ?>
  99. <?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
  100. <dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
  101. <?php } ?>
  102. <?php } ?>
  103. </dl>
  104. </li>
  105. <?php } ?>
  106. <li style="height:1px;background:#666" class="layui-hide-sm"></li>
  107. <li class="layui-nav-item layui-hide-sm">
  108. <a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
  109. </li>
  110. <li class="layui-nav-item layui-hide-sm">
  111. <a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
  112. </li>
  113. <li class="layui-nav-item layui-hide-sm">
  114. <a href="<?php echo \core\basic\Url::get('/admin/DeleCache/index');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
  115. </li>
  116. <li class="layui-nav-item layui-hide-sm">
  117. <a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
  118. </li>
  119. </ul>
  120. </div>
  121. </div>
  122. <div class="layui-body">
  123. <div class="layui-tab layui-tab-brief" lay-filter="tab">
  124. <ul class="layui-tab-title">
  125. <li class="layui-this" lay-id="t1">服务器基本信息</li>
  126. </ul>
  127. <div class="layui-tab-content">
  128. <div class="layui-tab-item layui-show">
  129. <table class="layui-table table-two">
  130. <thead>
  131. <tr>
  132. <th colspan=2>服务器基本信息</th>
  133. </tr>
  134. </thead>
  135. <tbody>
  136. <tr>
  137. <th>应用版本</th>
  138. <td><?php echo CMSNAME;?> V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></td>
  139. </tr>
  140. <tr>
  141. <th>主机系统</th>
  142. <td><?php echo @$this->getVar('server')->php_os;?></td>
  143. </tr>
  144. <tr>
  145. <th>访问地址</th>
  146. <td><?php echo @$this->getVar('server')->http_host;?></td>
  147. </tr>
  148. <tr>
  149. <th>主机名称</th>
  150. <td><?php echo @$this->getVar('server')->server_name;?></td>
  151. </tr>
  152. <tr>
  153. <th>主机地址</th>
  154. <td><?php echo @$this->getVar('server')->server_addr;?></td>
  155. </tr>
  156. <tr>
  157. <th>主机端口</th>
  158. <td><?php echo @$this->getVar('server')->server_port;?></td>
  159. </tr>
  160. <tr>
  161. <th>WEB软件</th>
  162. <td><?php echo @$this->getVar('server')->server_software;?></td>
  163. </tr>
  164. <tr>
  165. <th>PHP版</th>
  166. <td><?php echo @$this->getVar('server')->php_version;?></td>
  167. </tr>
  168. <tr>
  169. <th>数据库驱动</th>
  170. <td><?php echo @$this->getVar('server')->db_driver;?></td>
  171. </tr>
  172. <tr>
  173. <th>文件上传限制</th>
  174. <td><?php echo @$this->getVar('server')->upload_max_filesize;?></td>
  175. </tr>
  176. <tr>
  177. <th>表单提交限制</th>
  178. <td><?php echo @$this->getVar('server')->post_max_size;?></td>
  179. </tr>
  180. <tr>
  181. <th>最大提交数量</th>
  182. <td><?php echo @$this->getVar('server')->max_file_uploads;?></td>
  183. </tr>
  184. <tr>
  185. <th>分配内存限制</th>
  186. <td><?php echo @$this->getVar('server')->memory_limit;?></td>
  187. </tr>
  188. <tr>
  189. <th>GD库支持</th>
  190. <td><?php echo @$this->getVar('server')->gd;?></td>
  191. </tr>
  192. <tr>
  193. <th>Curl支持</th>
  194. <td><?php echo @$this->getVar('server')->curl;?></td>
  195. </tr>
  196. <tr>
  197. <th>加速模块支持</th>
  198. <td>
  199. pthreads:<?php echo @$this->getVar('server')->pthreads;?>;
  200. XCache:<?php echo @$this->getVar('server')->xcache;?>;
  201. APC:<?php echo @$this->getVar('server')->apc;?>;
  202. eAccelerator:<?php echo @$this->getVar('server')->eaccelerator;?>;
  203. WinCache:<?php echo @$this->getVar('server')->wincache;?>;
  204. ZendOPcache:<?php echo @$this->getVar('server')->zendopcache;?>;
  205. Memcache:<?php echo @$this->getVar('server')->memcache;?>;
  206. Memcached:<?php echo @$this->getVar('server')->memcached;?>;
  207. </td>
  208. </tr>
  209. <tr>
  210. <th>已加载模块</th>
  211. <td><?php echo @$this->getVar('server')->extensions;?></td>
  212. </tr>
  213. </tbody>
  214. </table>
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. <input type="hidden" id="do_check" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/check');?>">
  220. <input type="hidden" id="do_down" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/down');?>">
  221. <input type="hidden" id="do_update" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/update');?>">
  222. <input type="hidden" id="check_version" data-url="/index.php?p=upgrade/check&version=<?php echo APP_VERSION;?>.<?php echo RELEASE_TIME;?>.<?php echo $this->getVar('revise');?>&branch=<?php echo $this->getVar('branch');?>&snuser=<?php echo $this->getVar('snuser');?>&site=<?php echo $this->getVar('site');?>">
  223. <input type="hidden" id="check_cache" data-url="<?php echo \core\basic\Url::get('/admin/Upgrade/checkCache');?>">
  224. </div>
  225. <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
  226. <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
  227. <script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
  228. <script type="text/javascript" src="https://www.pbootcms.com/res/v1/js/update.js?v=v3.1.3" ></script>
  229. <!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
  230. <!--[if lt IE 9]>
  231. <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  232. <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
  233. <![endif]-->
  234. </body>
  235. </html>
  236. <?php return array (
  237. 0 => 'D:/wwwroot/cbkpcccvec/wwwroot/apps/admin/view/default/common/head.html',
  238. 1 => 'D:/wwwroot/cbkpcccvec/wwwroot/apps/admin/view/default/common/foot.html',
  239. ); ?>