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

168 lines
5.7KB

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