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

195 lines
6.8KB

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