国内流行的内容管理系统(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.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="../include/js/jquery/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_link">
  73. <ul>
  74. <li class="welcome">您好:<?php echo $cuserLogin->getUserName(); ?> ,欢迎使用DedeCMS!</li>
  75. <li><a href="index_menu.php" target="menu">主菜单</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="#" onclick="JumpFrame('index_menu.php','index_body.php');">系统主页</a></li>
  79. <li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li>
  80. <li><a href="../member" target="_blank">会员中心</a></li>
  81. <li><a href="exit.php" target="_top">注销</a></li>
  82. </ul>
  83. <div class="quick"> <a href="#" class="ac_qucikmenu" id="ac_qucikmenu">快捷方式</a> <a href="#" class="ac_qucikadd" id="ac_qucikadd">
  84. <!--ADD-->
  85. </a> </div>
  86. </div>
  87. </div>
  88. <div class="topnav">
  89. <div class="menuact"> <a href="#" id="togglemenu">隐藏菜单</a>
  90. <?php
  91. if($cuserLogin->getUserType() >= 10) echo '<a href="#" id="allmenu">功能地图</a>';
  92. ?>
  93. </div>
  94. <div id="skin">
  95. <div>
  96. <ul id="skinlist">
  97. <li id="s1">
  98. <div<?php echo $cfg_admin_skin == 1? ' class="sel"' : '';?>><img alt="织梦绿" src="images/blank.gif"></div>
  99. </li>
  100. <li id="s2">
  101. <div<?php echo $cfg_admin_skin == 2? ' class="sel"' : '';?>><img alt="淡蓝" src="images/blank.gif"></div>
  102. </li>
  103. <li id="s3">
  104. <div<?php echo $cfg_admin_skin == 3? ' class="sel"' : '';?>><img alt="咖啡" src="images/blank.gif"></div>
  105. </li>
  106. <li id="s4">
  107. <div<?php echo $cfg_admin_skin == 4? ' class="sel"' : '';?>><img alt="水墨" src="images/blank.gif"></div>
  108. </li>
  109. </ul>
  110. </div>
  111. </div>
  112. <div class="nav" id="nav"> </div>
  113. <div class="sysmsg">
  114. <h3>滚动消息:</h3>
  115. <div class="scroll">
  116. <form action="action_search.php" target="main" method="post">
  117. <input name="keyword" type="text" value="功能搜索" onfocus="if(this.value=='功能搜索'){this.value='';}" onblur="if(this.value==''){this.value='功能搜索';}" class="allsearch" style="width:150px;"/>
  118. <input name="" type="submit" value="搜索" class="np"/>
  119. <a href='http://bbs.dedecms.com' target='_blank'>官方论坛</a> <a href='http://help.dedecms.com' target='_blank'>在线帮助</a>
  120. </form>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="left">
  126. <div class="menu" id="menu">
  127. <iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe>
  128. </div>
  129. </div>
  130. <div class="right">
  131. <div class="main">
  132. <iframe id="main" name="main" frameborder="0" src="index_body.php"></iframe>
  133. </div>
  134. <!--<div id="help"><span id="content"><a href="#">栏目管理操作使用说明</a></span></div>-->
  135. </div>
  136. <div class="qucikmenu" id="qucikmenu">
  137. <ul>
  138. <?php
  139. $dtp = new DedeTagparse();
  140. $dtp->SetNameSpace('menu','<','>');
  141. $dtp->LoadTemplet($myIcoFile);
  142. if(is_array($dtp->CTags))
  143. {
  144. foreach($dtp->CTags as $ctag)
  145. {
  146. $title = $ctag->GetAtt('title');
  147. $ico = $ctag->GetAtt('ico');
  148. $link = $ctag->GetAtt('link');
  149. echo "<li><a href='{$link}' target='main'>{$title}</a></li>\r\n";
  150. }
  151. }
  152. ?>
  153. </ul>
  154. </div>
  155. <script language="javascript">
  156. function JumpFrame(url1, url2){
  157. jQuery('#menufra').get(0).src = url1;
  158. jQuery('#main').get(0).src = url2;
  159. }
  160. (function($)
  161. {
  162. $("#skinlist>li").click(function()
  163. {
  164. var adminskin = $(this).index() + 1;
  165. var csshref = "images/style"+adminskin+"/style.css";
  166. $("#skinlist>li").each(function(){$(this).children('div').attr('class', '')});
  167. $("#topdedelogo").attr('src', 'images/style'+adminskin+'/admin_top_logo.gif')
  168. $('link').each(function()
  169. {
  170. if($(this).attr('href').match(/style.css$/))
  171. {
  172. $(this).attr('href',csshref);
  173. }
  174. });
  175. $(this).children('div').attr('class', 'sel');
  176. $(window.frames["menu"].document).find("link").each(function()
  177. {
  178. if($(this).attr('href').match(/style.css$/))
  179. {
  180. $(this).attr('href',csshref);
  181. }
  182. });
  183. $(window.frames["main"].document).find("link").each(function()
  184. {
  185. if($(this).attr('href').match(/style.css$/))
  186. {
  187. $(this).attr('href',csshref);
  188. }
  189. });
  190. $.get('index_body.php?dopost=setskin&cskin='+adminskin);
  191. });
  192. })(jQuery);
  193. </script>
  194. </body>
  195. </html>