|
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="<?php echo $cfg_soft_lang; ?>">
- <meta name="robots" content="noindex,nofollow">
- <title><?php echo $cfg_webname; ?>后台管理</title>
- <link rel="stylesheet" href="css/frame.css">
- <link rel="stylesheet" href="images/style<?php echo $cfg_admin_skin;?>/style.css">
- <script src="../static/js/jquery.js"></script>
- <script src="js/frame.js"></script>
- <style>
- #skinlist{display:block;height:10px;margin-top:10px;overflow:hidden;width:86px}
- #skin div{float:left}
- #skin li{float:left;width:14px;height:10px;cursor:pointer}
- #def div,#s1 div,#s2 div,#s3 div,#s4 div{background-image:url(images/skinbutton.png)no-repeat}
- #s1 div{background-position:0 0px}
- #s2 div{background-position:0 -11px}
- #s3 div{background-position:0 -22px}
- #s4 div{background-position:0 -33px}
- #s1 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px top transparent}
- #s2 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -11px transparent}
- #s3 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -22px transparent}
- #s4 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -33px transparent}
- </style>
- </head>
- <body class="showmenu">
- <div class="pagemask"></div>
- <iframe class="iframemask"></iframe>
- <div class="allmenu">
- <div class="allmenu-box">
- <?php
- echo $mapstring;
- ?>
- <br style="clear:both">
- </div>
- </div>
- <div class="head">
- <div class="top">
- <div class="top_logo"><a href="#" onclick="JumpFrame('index_menu.php','index_body.php');"><?php echo $cfg_webname; ?>系统</a></div>
- <div class="top_version"><?php echo $cfg_version_detail; ?></div>
- <div class="top_link">
- <ul>
- <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>
- <li><a href="#" onclick="JumpFrame('catalog_menu.php','public_guide.php');">发布文档</a></li>
- <li><a href="#" onclick="JumpFrame('index_menu.php','content_list.php');">所有文档</a></li>
- <li><a href="#" onclick="JumpFrame('index_menu.php','catalog_main.php');">栏目管理</a></li>
- <li><a href="#" onclick="JumpFrame('index_menu.php','file_manage_main.php');">文件管理</a></li>
- <li><a href="#" onclick="JumpFrame('index_menu.php','templets_main.php');">模板管理</a></li>
- <?php echo ($cfg_mb_open == 'Y')?'<li><a href="../member" target="_blank">会员中心</a></li>':''; ?>
- <li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li>
- </ul>
- </div>
- </div>
- <div class="topnav">
- <div class="menuact">
- <a href="#" id="togglemenu">隐藏菜单</a>
- <?php
- if($cuserLogin->getUserType()>=10) echo'<a href="#" id="allmenu">功能地图</a>';
- ?>
- </div>
- <div id="skin">
- <div></div>
- </div>
- <div class="nav" id="nav"></div>
- <div class="sysmsg">
- <div class="scroll">
- <form action="action_search.php" target="main" method="post">
- <input name="keyword" type="text" placeholder="请输入" class="allsearch">
- <input name="" type="submit" value="搜索" class="np">
- <a href="<?php echo $cfg_biz_gitUrl;?>" target="_blank">代码托管</a>
- <a href="<?php echo $cfg_biz_helpUrl;?>" target="_blank">帮助中心</a>
- </form>
- </div>
- </div>
- </div>
- </div>
- <div class="left">
- <div class="menu" id="menu">
- <iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe>
- </div>
- </div>
- <div class="right">
- <div class="main">
- <iframe id="main" name="main" frameborder="0" src="index_body.php"></iframe>
- </div>
- </div>
- <div class="qucikmenu" id="qucikmenu">
- <ul>
- <?php
- $dtp = new DedeTagparse();
- $dtp->SetNameSpace('menu','<','>');
- $dtp->LoadTemplet($myIcoFile);
- if(is_array($dtp->CTags))
- {
- foreach($dtp->CTags as $ctag)
- {
- $title = $ctag->GetAtt('title');
- $ico = $ctag->GetAtt('ico');
- $link = $ctag->GetAtt('link');
- echo "<li><a href='{$link}' target='main'>{$title}</a></li>\r\n";
- }
- }
- ?>
- </ul>
- </div>
- <script>
- function JumpFrame(url1, url2) {
- jQuery('#menufra').get(0).src = url1;
- jQuery('#main').get(0).src = url2;
- }
- (function ($) {
- $("#skinlist>li").click(function () {
- var adminskin = $(this).index() + 1;
- var csshref = "images/style" + adminskin + "/style.css";
- $("#skinlist>li").each(function () { $(this).children('div').attr('class', '') });
- $("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif')
- $('link').each(function () {
- if ($(this).attr('href').match(/style.css$/)) {
- $(this).attr('href', csshref);
- }
- });
- $(this).children('div').attr('class', 'sel');
- $(window.frames["menu"].document).find("link").each(function () {
- if ($(this).attr('href').match(/style.css$/)) {
- $(this).attr('href', csshref);
- }
- });
- $(window.frames["main"].document).find("link").each(function () {
- if ($(this).attr('href').match(/style.css$/)) {
- $(this).attr('href', csshref);
- }
- });
- $.get('index_body.php?dopost=setskin&cskin=' + adminskin);
- });
- })(jQuery);
- </script>
- </body>
- </html>
|