<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="admin_index" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>网胜Websen!NTB2B电子商务网站管理中心</title>
    <link rel="Stylesheet" href="skin/Style.css" type="text/css" />

    <script type="text/javascript" src="../js/jquery-min.js"></script>

    <script language="javascript" type="text/javascript">
    function notepad(){
        $.ajax({
		        type: "post",
		        url: "http://"+top.location.host+"/Control/Ajax.ashx",
		        data: "id=11&content="+$("#noteContent").attr("value"),
		        beforeSend: function(){
		    },
		    success: function(msg){
		    },
		    error: function(XMLHttpRequest, textStatus, errorThrown){
			    alert(XMLHttpRequest.responseText);
		    }
	    });
    }
    
    function MenuSkin(str)
    {   
      document.getElementById("ShowInfo").firstChild.nodeValue="   您现在的位置： 后台首页 >> "+str.title;  
    }
    var status = 1;
    function notepadHidd(){
        if($("#divNotepad").attr("visible")=="true"){
            $("#divNotepad").slideDown("fast");
            $("#divNotepad").attr("visible","false")
        }else {
            $("#divNotepad").slideUp("fast");
            $("#divNotepad").attr("visible","true") 
        } 
        
    }

    </script>

</head>
<body class="botten">

    <form id="form1" runat="server">
    <div id="divNotepad" style=" height:150px;position:absolute; z-index:0; top: 120px; right:-1px; display:none" visible="true"><textarea id="noteContent" style="width:350px; height:150px;" rows="10" cols="60" onblur="notepad()" runat="server"></textarea></div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="height: 100%">
            <tr>
                <td colspan="3">
                    <div id="main_top">
                        <div class="logo">
                            <img src="images/admin_LOGO.gif" width="195" height="85" alt=""></div>
                        <div class="nav_chak">
                            <div class="wecome">
                                <asp:Label ID="lblGreeting" runat="server"></asp:Label>
                                | <a href="/" target="_blank"><span style="color: #FFFFFF">网站首页</span></a> | <span onclick="notepadHidd()" style=" cursor: hand;">备忘录</span> |
                                <asp:LinkButton ID="lbtnSignOut" runat="server" OnClick="lbtnSignOut_Click" ForeColor="White">退出</asp:LinkButton></div>
                            <div class="guidan">
                                <ul>
                                    <li><a href="Left/Basic.htm" target="left" title="常规管理" onClick="MenuSkin(this)"
                                        id="a1"><span>常规管理</span></a></li>
                                    <li><a href="Left/Column.htm" target="left" title="栏目管理" onClick="MenuSkin(this)"
                                        id="a2"><span>栏目管理</span></a></li>
                                    <li><a href="Left/User.htm" target="left" title="会员管理" onClick="MenuSkin(this)" id="a4">
                                        <span>会员管理</span></a></li>
                                    <li><a href="Left/Template.htm" target="left" title="模板风格" onClick="MenuSkin(this)"
                                        id="a5"><span>模板风格</span></a></li>
                                    <li><a href="Left/System.htm" target="left" title="系统设置" onClick="MenuSkin(this)"
                                        id="a6"><span>系统设置</span></a></li>
                                </ul>
                            </div>
                            <div class="clr">
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td rowspan="2" id="frmTitle" style="width: 175px">
                    <div id="siting">
                        <ul>
                            <li><a href="index_center.aspx" target="right" style="text-decoration: none"><font
                                color="#FFFFFF">管理首页</font></a></li>
                            <li class="bg"></li>
                            <li>
                                <asp:LinkButton ID="btn" runat="server" OnClick="lbtnSignOut_Click" ForeColor="White"
                                    Style="width: 83px; text-decoration: none">安全退出</asp:LinkButton></li>
                        </ul>
                    </div>
                    <div class="clr">
                    </div>
                    <iframe frameborder="0" id="frmleft" name="left" src="left/Basic.htm" class="left_iframe"
                        allowtransparency="true"></iframe>
                </td>
                <td rowspan="2" class="Rises" style="width: 10px">
                    <div onClick="switchSysBar()">
                        <span class="navpoint" id="switchPoint" title="关闭/打开左栏">
                            <img src="images/right.gif" alt="" width="9" height="23" /></span></div>
                </td>
                <td style="width: 100%">
                    <div class="position" id="ShowInfo">
                        &nbsp;&nbsp;您现在的位置： 后台首页 >> 常规管理</div>
                </td>
            </tr>
            <tr>
              <td valign="top" style="width: 100%; height: 100%">
                    <iframe class="main_iframe" id="frmright" name="right" src="index_center.aspx" frameborder="0"
                        scrolling="yes"></iframe>
                </td>
            </tr>
        </table>
        
    </form>

</body>
</html>
