<!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">
<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="javascript:;" 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">注销</a></li>
                    <li><a href="public_guide.php" target="main">发布文档</a></li>
                    <li><a href="content_list.php" target="main">所有文档</a></li>
                    <li><a href="catalog_main.php" target="main">栏目管理</a></li>
                    <li><a href="file_manage_main.php" target="main">文件管理</a></li>
                    <li><a href="templets_main.php" target="main">模板管理</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="javascript:;" id="togglemenu">隐藏菜单</a>
                <?php
                if($cuserLogin->getUserType()>=10) echo'<a href="javascript:;" 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 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 src="index_body.php" id="main" name="main" frameborder="0"></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;
    }
    </script>
</body>
</html>