<%@ Page Title="" Language="C#" MasterPageFile="~/eosWinkartWeb/eosWinkartWeb.Master"
    AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="WebKart.eosWinkartWeb._default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="3" cellspacing="4" width="100%">
        <tr>
            <td colspan="6">
            </td>
        </tr>
        <tr>
            <td colspan="6" class="YellowRightTD">
                مشخصات فردی&nbsp;
                <hr style="size: 1; color: Yellow; width: 80%; text-align: right">
            </td>
        </tr>
        <tr>
            <td class="CenterTD" width="180px" height="170px" rowspan="7">
                <asp:Image ID="imgPersonImage" runat="server" Width="150px" Height="170px" ToolTip="تصویر فرد" />
            </td>
            <td width="150px">
            </td>
            <td width="180px">
            </td>
            <td class="RightTD" width="180PX" colspan="2">
                <asp:Literal ID="lblName" runat="server"></asp:Literal>
            </td>
            <td class="LeftTD" width="150px">
                نام و نام خانوادگی:
            </td>
        </tr>
        <tr>
            <td width="150px">
            </td>
            <td class="RightTDltr">
                <asp:Literal ID="lblBirthDate" runat="server"></asp:Literal>
            </td>
            <td width="150px" class="LeftTD">
                تاریخ تولد:
            </td>
            <td class="RightTD" width="150px">
                <asp:Literal ID="lblPerno" runat="server" Text=""></asp:Literal>
            </td>
            <td class="LeftTD">
                شماره پرسنلی:
            </td>
        </tr>
        <tr>
            <td width="150px">
            </td>
            <td class="RightTD">
                <asp:Literal ID="lblMeliCode" runat="server" Text=""></asp:Literal>
            </td>
            <td width="150px" class="LeftTD">
                کد ملی:
            </td>
            <td class="RightTD">
                <asp:Literal ID="lblShenasNo" runat="server" Text=""></asp:Literal>
            </td>
            <td class="LeftTD">
                شماره شناسنامه:
            </td>
        </tr>
        <tr>
            <td width="150px">
            </td>
            <td class="RightTD">
                <asp:Literal ID="lblfatherName" runat="server"></asp:Literal>
            </td>
            <td width="150px" class="LeftTD">
                نام پدر:
            </td>
            <td class="RightTD">
                <asp:Literal ID="lblBirthCity" runat="server" Text=""></asp:Literal>
            </td>
            <td class="LeftTD">
                محل تولد:
            </td>
        </tr>
        <tr>
            <td width="150px">
            </td>
            <td class="RightTD">
                &nbsp;
            </td>
            <td width="150px" class="LeftTD">
                &nbsp;
            </td>
            <td class="RightTD">
                <asp:Literal ID="lblmarried" runat="server" Text=""></asp:Literal>
            </td>
            <td class="LeftTD">
                وضعیت تاهل:
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td width="150px" class="RightTD">
                <asp:Literal ID="lblSection" runat="server" Text=""></asp:Literal>
            </td>
            <td class="LeftTD">
                قسمت:
            </td>
            <td class="RightTD">
                <asp:Literal ID="lblworkGroup" runat="server" Text=""></asp:Literal>
            </td>
            <td class="LeftTD">
                گروه کاری:
            </td>
        </tr>
        <tr>
            <td class="RightTD" colspan="4">
                &nbsp;
            </td>
            <td class="LeftTD">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="6" class="RightTD">
                <hr style="size: 1; color: Yellow; width: 80%; text-align: right">
            </td>
        </tr>
        <tr>
            <td colspan="6" class="RightTD">
                <asp:Literal ID="lblBirthDayEvent" runat="server"></asp:Literal>
                <asp:Literal ID="lblDayEvent" runat="server"></asp:Literal>
            </td>
        </tr>
        <asp:Panel runat="server" ID="pnlAbsentList" Visible="false">
            <tr>
                <td colspan="6" class="RightTD">
                    افرادی که
                    <asp:Literal ID="lblMotavali" runat="server" Text="" SkinID="LblWhiteFont"></asp:Literal>
                    روز متوالی یا
                    <asp:Literal ID="lblMotanaveb" runat="server" Text="" SkinID="LblWhiteFont"></asp:Literal>
                    روز متناوب غیبت داشته اند. :
                    <asp:HyperLink ID="hypCountAbsentePerson" runat="server" NavigateUrl="~/eosWinkartWeb/AbsentInCondition.aspx"></asp:HyperLink>
                    نفر
                </td>
            </tr>
        </asp:Panel>
        <tr>
            <td colspan="6" class="RightTD">
                <asp:Panel runat="server" ID="pnlMessages">
                    پیغام ها
                    <hr style="color: Yellow; width: 80%; text-align: right" />
                    <asp:GridView ID="grdMessages" runat="server" AutoGenerateColumns="False" Width="80%">
                        <Columns>
                            <asp:BoundField DataField="Subject" HeaderText="عنوان" />
                            <asp:BoundField DataField="SentDate" HeaderText="تاریخ ارسال">
                                <HeaderStyle Width="100px" HorizontalAlign="Center" />
                                <ItemStyle Width="100px" HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:HyperLinkField Text="مشاهده" NavigateUrl="~/eosWinkartWeb/Inbox.aspx" ItemStyle-Width="30px">
                                <HeaderStyle Width="50px" HorizontalAlign="Center" />
                                <ItemStyle Width="50px" HorizontalAlign="Center" />
                            </asp:HyperLinkField>
                        </Columns>
                    </asp:GridView>
                </asp:Panel>
            </td>
        </tr>
        
        <tr>
            <td colspan="6" class="RightTD">
                <asp:Panel runat="server" ID="expirePanel" Visible="False">
                <asp:Label ID="lblExpire" ForeColor="Red" runat="server"></asp:Label>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <asp:Panel Visible="True" ID="pnlFunction" runat="server">
                <td colspan="6" class="RightTD">
                    <asp:Literal ID="lblMSG" runat="server" Text="" SkinID="LblError"></asp:Literal>
                    <br />
                    <asp:Button ID="btnResetPassword" runat="server" Text="به روز رساني رمز ورود" SkinID="btnOrangeFreeSize"
                        OnClick="resetPassword_Click" Visible="True" />
                    &nbsp;<asp:Button ID="btnEditpermission" runat="server" Text="ويرايش دسترسي ها" SkinID="btnOrangeFreeSize"
                        OnClick="editpermission_Click" Visible="True" />
                </td>
            </asp:Panel>
        </tr>
        <tr>
            <td colspan="6" class="RightTD">
                <asp:Panel Visible="false" ID="pnlDomain" runat="server">
                    <asp:Literal ID="lblDomainError" runat="server" Text="" SkinID="LblError"></asp:Literal>
                    <br />
                    <asp:TextBox ID="txtDomainLoginName" runat="server" Width="150px"></asp:TextBox>
                    <asp:Button ID="btnSaveDomainLoginName" runat="server" Text="ذخیره اسم کاربری دامنه"
                        SkinID="btnOrangeFreeSize" OnClick="btnSaveDomainLoginName_Click" />
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
