国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
4.2KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  7. <meta name="robots" content="noindex,nofollow">
  8. <title><?php echo $cfg_webname;?>后台管理</title>
  9. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  11. <link rel="stylesheet" href="../static/web/css/admin.css">
  12. <script src="../static/web/js/jquery.min.js"></script>
  13. </head>
  14. <body class="showmenu">
  15. <?php if (preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])) {?>
  16. <div id="browsehappy">
  17. <span>您使用的浏览器已过时,请<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,提高后台操作体验</span>
  18. <a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close"><i class="fa fa-times"></i></a>
  19. </div>
  20. <?php }?>
  21. <div class="head shadow-sm">
  22. <div class="top-logo">
  23. <span class="top-name"><a href="index_body.php" target="main"><?php echo cn_substr($cfg_webname,8);?></a></span>
  24. <span class="top-version"><?php echo $cfg_version_detail;?></span>
  25. <?php if (DEDEBIZ_SAFE_MODE) {?>
  26. <a href="index_body.php?dopost=safe_mode" target="main" class="btn btn-primary btn-xs btn-version">安全</a>
  27. <?php } else {?>
  28. <a href="index_body.php?dopost=safe_mode" target="main" class="btn btn-warning btn-xs btn-version">开发</a>
  29. <?php }?>
  30. </div>
  31. <nav class="top-item">
  32. <ul class="mb-0">
  33. <li class="pl-0"><a href="javascript:;" id="togglemenu" title="侧边伸缩"><i class="fa fa-dedent"></i></a></li>
  34. <?php if ($cuserLogin->getUserType() >= 10) {?>
  35. <li><a href="sys_info.php" target="main" title="系统配置"><i class="fa fa-cog"></i></a></li>
  36. <li><a href="catalog_main.php" target="main" title="栏目管理"><i class="fa fa-bars"></i></a></li>
  37. <li><a href="diy_main.php" target="main" title="自定义表单管理"><i class="fa fa-area-chart"></i></a></li>
  38. <?php }?>
  39. <li><a href="file_manage_main.php<?php echo DEDEBIZ_SAFE_MODE?'?activepath='.$cfg_medias_dir:'';?>" target="main" title="文件管理"><i class="fa fa-folder"></i></a></li>
  40. <?php if (!DEDEBIZ_SAFE_MODE) {?><li><a href="templets_main.php" target="main" title="模板管理"><i class="fa fa-cube"></i></a></li><?php }?>
  41. <li><a href="makehtml_all.php" target="main" title="更新整站"><i class="fa fa-repeat"></i></a></li>
  42. <?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank" title="会员中心"><i class="fa fa-user-circle"></i></a></li>':'';?>
  43. <li><a href="../" target="_blank" title="预览首页"><i class="fa fa-home"></i></a></li>
  44. <li>
  45. <form action="action_search.php" method="post" target="main">
  46. <input type="text" name="keyword" placeholder="功能搜索" class="admin-input-sm">
  47. <button type="submit" class="search"><i class="fa fa-search"></i> </button>
  48. </form>
  49. </li>
  50. </ul>
  51. </nav>
  52. <div class="top-admin">
  53. <ul class="mb-0">
  54. <li><a href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID();?>&dopost=edit" target="main"><img src="<?php echo $cuserLogin->getUserFace();?>"><?php echo $cuserLogin->getUserName();?><?php if ($cuserLogin->getUserType()==10){echo "管理员";} else if ($cuserLogin->getUserType()==5) {echo "栏目员";} else {echo "文档员";}?></a></li>
  55. <li><a href="exit.php">退了</a></li>
  56. </ul>
  57. </div>
  58. </div>
  59. <div class="body-left">
  60. <div class="menu"><iframe name="menu" src="index_menu.php"></iframe></div>
  61. </div>
  62. <div class="body-right">
  63. <div class="main"><iframe name="main" src="index_body.php"></iframe></div>
  64. </div>
  65. <script>
  66. $(function() {
  67. LeftMenuToggle();
  68. });
  69. function LeftMenuToggle() {
  70. $("#togglemenu").click(function() {
  71. if ($("body").attr("class") == "showmenu") {
  72. $("body").attr("class", "hidemenu");
  73. $(this).html('<i class="fa fa-indent"></i>');
  74. } else {
  75. $("body").attr("class", "showmenu");
  76. $(this).html('<i class="fa fa-dedent"></i>');
  77. }
  78. });
  79. }
  80. </script>
  81. </body>
  82. </html>