国内流行的内容管理系统(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.

138 lines
6.1KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta name="robots" content="noindex,nofollow">
  6. <title><?php echo $cfg_webname; ?>后台管理</title>
  7. <link rel="stylesheet" href="css/frame.css">
  8. <link rel="stylesheet" href="images/style<?php echo $cfg_admin_skin;?>/style.css">
  9. <script src="../static/js/jquery.js"></script>
  10. <script src="js/frame.js"></script>
  11. <style>
  12. #skinlist{display:block;height:10px;margin-top:10px;overflow:hidden;width:86px}
  13. #skin div{float:left}
  14. #skin li{float:left;width:14px;height:10px;cursor:pointer}
  15. #def div,#s1 div,#s2 div,#s3 div,#s4 div{background-image:url(images/skinbutton.png)no-repeat}
  16. #s1 div{background-position:0 0px}
  17. #s2 div{background-position:0 -11px}
  18. #s3 div{background-position:0 -22px}
  19. #s4 div{background-position:0 -33px}
  20. #s1 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px top transparent}
  21. #s2 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -11px transparent}
  22. #s3 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -22px transparent}
  23. #s4 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -33px transparent}
  24. </style>
  25. </head>
  26. <body class="showmenu">
  27. <div class="pagemask"></div>
  28. <iframe class="iframemask"></iframe>
  29. <div class="allmenu">
  30. <div class="allmenu-box">
  31. <?php
  32. echo $mapstring;
  33. ?>
  34. <br style="clear:both">
  35. </div>
  36. </div>
  37. <div class="head">
  38. <div class="top">
  39. <div class="top_logo"><a href="#" onclick="JumpFrame('index_menu.php','index_body.php');"><?php echo $cfg_webname; ?>系统</a></div>
  40. <div class="top_version"><?php echo $cfg_version_detail; ?></div>
  41. <div class="top_link">
  42. <ul>
  43. <li class="welcome"><img src="/static/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><a href="exit.php" target="_top">注销</a></li>
  44. <li><a href="#" onclick="JumpFrame('catalog_menu.php','public_guide.php');">发布文档</a></li>
  45. <li><a href="#" onclick="JumpFrame('index_menu.php','content_list.php');">所有文档</a></li>
  46. <li><a href="#" onclick="JumpFrame('index_menu.php','catalog_main.php');">栏目管理</a></li>
  47. <li><a href="#" onclick="JumpFrame('index_menu.php','file_manage_main.php');">文件管理</a></li>
  48. <li><a href="#" onclick="JumpFrame('index_menu.php','templets_main.php');">模板管理</a></li>
  49. <?php echo ($cfg_mb_open == 'Y')?'<li><a href="../member" target="_blank">会员中心</a></li>':''; ?>
  50. <li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li>
  51. </ul>
  52. </div>
  53. </div>
  54. <div class="topnav">
  55. <div class="menuact">
  56. <a href="#" id="togglemenu">隐藏菜单</a>
  57. <?php
  58. if($cuserLogin->getUserType()>=10) echo'<a href="#" id="allmenu">功能地图</a>';
  59. ?>
  60. </div>
  61. <div id="skin">
  62. <div></div>
  63. </div>
  64. <div class="nav" id="nav"></div>
  65. <div class="sysmsg">
  66. <div class="scroll">
  67. <form action="action_search.php" target="main" method="post">
  68. <input name="keyword" type="text" placeholder="请输入" class="allsearch">
  69. <input name="" type="submit" value="搜索" class="np">
  70. <a href="<?php echo $cfg_biz_gitUrl;?>" target="_blank">代码托管</a>
  71. <a href="<?php echo $cfg_biz_helpUrl;?>" target="_blank">帮助中心</a>
  72. </form>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <div class="left">
  78. <div class="menu" id="menu">
  79. <iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe>
  80. </div>
  81. </div>
  82. <div class="right">
  83. <div class="main">
  84. <iframe id="main" name="main" frameborder="0" src="index_body.php"></iframe>
  85. </div>
  86. </div>
  87. <div class="qucikmenu" id="qucikmenu">
  88. <ul>
  89. <?php
  90. $dtp = new DedeTagparse();
  91. $dtp->SetNameSpace('menu','<','>');
  92. $dtp->LoadTemplet($myIcoFile);
  93. if(is_array($dtp->CTags))
  94. {
  95. foreach($dtp->CTags as $ctag)
  96. {
  97. $title = $ctag->GetAtt('title');
  98. $ico = $ctag->GetAtt('ico');
  99. $link = $ctag->GetAtt('link');
  100. echo "<li><a href='{$link}' target='main'>{$title}</a></li>\r\n";
  101. }
  102. }
  103. ?>
  104. </ul>
  105. </div>
  106. <script>
  107. function JumpFrame(url1, url2) {
  108. jQuery('#menufra').get(0).src = url1;
  109. jQuery('#main').get(0).src = url2;
  110. }
  111. (function ($) {
  112. $("#skinlist>li").click(function () {
  113. var adminskin = $(this).index() + 1;
  114. var csshref = "images/style" + adminskin + "/style.css";
  115. $("#skinlist>li").each(function () { $(this).children('div').attr('class', '') });
  116. $("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif')
  117. $('link').each(function () {
  118. if ($(this).attr('href').match(/style.css$/)) {
  119. $(this).attr('href', csshref);
  120. }
  121. });
  122. $(this).children('div').attr('class', 'sel');
  123. $(window.frames["menu"].document).find("link").each(function () {
  124. if ($(this).attr('href').match(/style.css$/)) {
  125. $(this).attr('href', csshref);
  126. }
  127. });
  128. $(window.frames["main"].document).find("link").each(function () {
  129. if ($(this).attr('href').match(/style.css$/)) {
  130. $(this).attr('href', csshref);
  131. }
  132. });
  133. $.get('index_body.php?dopost=setskin&cskin=' + adminskin);
  134. });
  135. })(jQuery);
  136. </script>
  137. </body>
  138. </html>