<%@ page language="C#" autoeventwireup="true" inherits="Admin_Top, App_Web_z-yej7uy" enableEventValidation="false" theme="theme1" stylesheettheme="theme1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>PassionCMS 2.0</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
</head>

<script language="javascript" src="JScript.js"></script>

<script language="javascript">
    function LockWeb(){
		hiddenMainPage();
		 var bowertype = window.navigator.userAgent.indexOf("MSIE");
		if (bowertype >= 1)
		    var sRet = window.showModalDialog("../LockWeb.aspx", "", "dialogWidth:418px;dialogHeight:230px;help:no;scroll:no;status:no");
		else
		    var sRet = popWin('UserManage/editPassWord.aspx','popWindow',418,230,true);
		if (sRet == "error") {
			top.window.location.href="../Login.aspx"
		}else if (sRet != "true") {
			LockWeb();
		}else {
			showMainPage();
        }	
	} 
	
	function Lock()
	{
	   // hiddenMainPage();
	   alert("21");
	    parent.frames[0].src = "../LockWeb.aspx";
	}
	
	function hiddenMainPage(){
		top.show();
	}
	
	
	function showMainPage() {
		top.hide();
	}
	
    function bodyOnkeyDown() {
		    var evt = (evt) ? evt : window.event
    	    var eventCode = evt.keyCode
		    if(eventCode==123) {
		        if(confirm("锁定后您必须使用您的密码才能解锁！真的要锁定吗？"))
		                return LockWeb();
		    }
        }
</script>

<body onkeydown="bodyOnkeyDown();">
    <form id="Form1" runat="server">
        <div id="showDIV">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 483px;">
                        <img alt="" src="images/Top_01.gif" /></td>
                    <td style="background-image: url(images/Top_03.gif); text-align: right;">
                        <img src="../Admin/Images/Button_key.gif" style="cursor: pointer;" id="ImageButton1"
                            onclick="showEditPas();" alt="修改密码" border="0" onfocus="this.blur" onmouseover="this.src='images/Button_key1.gif'"
                            onmouseout="this.src='images/Button_key.gif'" />
                        <a href="#" onclick="javascript:if(confirm('锁定后您必须使用您的密码才能解锁！真的要锁定吗？')){LockWeb();}">
                            <img src="images/Button_lock.gif" style="border: 0px;" alt="锁定工作窗口" onfocus="this.blur"
                                onmouseover="this.src='images/Button_lock_2.gif'" onmouseout="this.src='images/Button_lock.gif'" /></a>
                        <a href="#" onclick="javascript:AboutInfo();">
                            <img src="images/Button_about.jpg" style="border: 0px;" alt="关于" onfocus="this.blur"
                                onmouseover="this.src='images/Button_about_2.jpg'" onmouseout="this.src='images/Button_about.jpg'" /></a>&nbsp;
                        <asp:ImageButton ID="imgbt" AlternateText="退出系统" ImageUrl="~/Admin/Images/Button_logout.jpg"
                            runat="server" OnClick="imgbt_Click" />
                    </td>
                    <td style="width: 30px; background-image: url(images/Top_03.gif);">
                    </td>
                </tr>
            </table>
            <table width="100%" height="1" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 100%; background-image: url(images/Top_line_1.gif);">
                        <img alt="" src="images/Top_line_1.gif" /></td>
                </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" id="Table1">
                <tr>
                    <td style="width: 13px;">
                        <img alt="" src="images/Top_11.gif" /></td>
                    <td style="background-image: url(images/Top_12.gif);">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" id="Table2">
                            <tr>
                                <td style="width: 85px;" align="right">
                                    <span class="dropwhite">空间使用率：</span>
                                </td>
                                <td style="width: 155px;">
                                    <table style="width: 152px; height: 14px; border: 0px;" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td style="width: 1px;">
                                                <img alt="" src="images/space_bg_01.gif" /></td>
                                            <td style="width: 150px; background-image: url(images/space_bg_02.gif);">
                                                <table style="width: 100%; height: 11px; border: 0px;" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td style="width: 1px; height: 11px;">
                                                            <img id="space_use_pic_0" runat="server" alt="" /></td>
                                                        <td id="space_use_td_0" runat="server" style="height: 11px;">
                                                        </td>
                                                        <td style="width: 1px; height: 11px;">
                                                            <img id="space_use_pic_1" runat="server" alt="" /></td>
                                                        <td id="space_use_td_1" runat="server" style="height: 11px; background-image: url(images/space_use_04.gif);">
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td style="width: 1px;">
                                                <img alt="" src="images/space_bg_03.gif" /></td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 50px;">
                                    <span class="dropwhite">
                                        <asp:Label ID="lblUseSpacePec" runat="server"></asp:Label></span></td>
                                <td align="right">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td style="width: 80px; text-align: center;" class="menu_td_1" id="menu_td_0">
                                                <span class="dropwhite">
                                                    <asp:Menu ID="MenuPower" runat="server" SkinID="Menu1">
                                                    </asp:Menu>
                                                </span>
                                            </td>
                                            <td style="width: 2px;">
                                                <img alt="" src="images/Top_Menu_Split.gif" /></td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 20px;">
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="width: 13px;">
                        <img alt="" src="images/Top_13.gif" /></td>
                </tr>
            </table>
            <table style="width: 100%; height: 1px; border: 0px;" cellpadding="0" cellspacing="0"
                id="Table3">
                <tr>
                    <td style="width: 100%; background-image: url(images/Top_line_1.gif);">
                        <img alt="" src="images/Top_line_1.gif" /></td>
                </tr>
                <tr>
                    <td style="width: 100%; background-image: url(images/Top_line_2.gif);">
                        <img alt="" src="images/Top_line_2.gif" /></td>
                </tr>
            </table>
        </div>
        <div id="hiddDiv" style="display: none; width: 100%; height: 100%;">
            <iframe src="../LockWeb.aspx" width="100%" height="100%" scrolling="no" frameborder="0">
            </iframe>
        </div>
    </form>
</body>
</html>
