国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

137 lines
6.1KB

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