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

197 lines
6.6KB

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