<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="eosWinkartWeb.master.cs"
    Inherits="WebKart.eosWinkartWeb.eosWinkartWeb" %>

<%@ Register Src="../ASCX/SiteMenu.ascx" TagName="SiteMenu" TagPrefix="uc1" %>
<%@ Register Src="../ASCX/footer.ascx" TagName="footer" TagPrefix="uc2" %>
<%@ Register Src="../ASCX/managerMenu.ascx" TagName="managerMenu" TagPrefix="uc3" %>
<!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>.:سیستم کنترل کارکرد تحت وب - شرکت کامپیوتری علم صنعت:.</title>
    <script src="../Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="../Scripts/Security/windows-1256.js"  type="text/javascript"></script>
    <script src="../Scripts/Security/sjcl.js" type="text/javascript"></script>
    <%--<script src="<%# Page.ResolveUrl("../Scripts/Security/SecurtyManager.js") %>" type="text/javascript"></script>--%>
    <script src="../Scripts/Security/SecurityManager1.js" type="text/javascript"></script>


    <asp:ContentPlaceHolder ID="head" runat="server" EnableViewState="false">
    </asp:ContentPlaceHolder>
    <style type="text/css">
        .style1 {
            vertical-align: top;
        }
    </style>
</head>
<body align="center" style="background-color: #373a41; height: 100%">
    <form id="form1" runat="server" autocomplete="off">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div align="center">
            <table width="1000px" cellpadding="0" cellspacing="0" align="center">
                <tr>
                    <td valign="top" class="mainTD">
                        <asp:Image ID="Image1" runat="server" SkinID="imgHeader1" />
                        <table width="100%">
                            <tr>
                                <td class="RightTD">
                                    <asp:Label ID="lblName" runat="server" SkinID="LblWhiteFont" EnableViewState="False"></asp:Label>
                                    با شماره پرسنلی:
                                <asp:Label ID="lblPerno" runat="server" Text="" SkinID="LblWhiteFont"></asp:Label>
                                </td>
                                <td class="LeftTD">امروز: <span dir="ltr">
                                    <asp:Label ID="lblDate" runat="server" SkinID="LblWhiteFont" EnableViewState="False"></asp:Label>
                                </span>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td>
                        <asp:Image ID="Image2" runat="server" SkinID="imgHeader2" ImageAlign="Top" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="bgTD">
                        <table width="100%" class="mainTable">
                            <tr>
                                <td width="790px" valign="top">
                                    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                                    </asp:ContentPlaceHolder>
                                </td>
                                <td width="210px" dir="rtl" valign="top" align="center">
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                        <ContentTemplate>
                                            <uc1:SiteMenu ID="SiteMenu1" runat="server" />
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                   
                                    <uc3:managerMenu ID="managerMenu1" runat="server" />
                                    <br />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="CenterTD">
                        <uc2:footer ID="footer1" runat="server" />
                    </td>
                </tr>
            </table>
        </div>
        <script type="text/javascript">
            function _destroyTree2(element) {
                if (element.nodeType === 1) {
                    var childNodes = element.childNodes;
                    for (var i = childNodes.length - 1; i >= 0; i--) {
                        var node = childNodes[i];
                        if (node.nodeType === 1) {
                            if (node.dispose && typeof (node.dispose) === "function") {
                                node.dispose();
                            }
                            else if (node.control && typeof (node.control.dispose) === "function") {
                                node.control.dispose();
                            }
                            var behaviors = Sys.UI.Behavior.getBehaviors(node);
                            for (var j = behaviors.length - 1; j >= 0; j--) {
                                behaviors[j].dispose();
                            }
                            this._destroyTree(node);
                        }
                    }
                }
            }

            Sys.WebForms.PageRequestManager.getInstance()._destroyTree = _destroyTree2;
        </script>
    </form>
</body>

</html>
