<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="MicroERP.Main" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="css/Back.css" type="text/css" rel="stylesheet" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" height="730" width="100%">
            <tr>
                <td width="12" background="Image/ShiftBar_bg.gif">
                </td>

                <td vAlign="top">
                    <table cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td height="30" style="padding-left: 10px" bgcolor="#F0F0F0">
                                <img align="absmiddle" alt="" src="Image/man.gif" />登录用户：<asp:Label ID="lblUserName" 
                                    runat="server"></asp:Label>
                            &nbsp;&nbsp;
                                <img align="absmiddle" alt="" src="/Image/viewrow.gif" />您的位置：<asp:Label 
                                    ID="lblLocation" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left: 10px" valign="middle" height="30">
                                </td>
                        </tr>
                        <tr>
                            <td style="padding-left: 10px" valign="top">
                                <table cellpadding="0" cellspacing="0" style="width: 800px">
                                    <tr>
                                        <td height="200" width="200" align="center"><img src ="Image/pic_message.gif"/><br />新闻公告</td>
                                        <td valign="top">
                                            <table cellpadding="0" cellspacing="0" style="width: 100%">
                                                <tr>
                                                    <td height="30"><a href="PostNews.aspx"><img src="Image/edit.gif" style="vertical-align: middle" /> 发布新公告</a></td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:GridView ID="gvNews" runat="server" AutoGenerateColumns="False" EnableModelValidation="True" Width="578px" CellPadding="4" GridLines="None" ShowHeader="False">
                                                            <Columns>
                                                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ShowNews.aspx?ID={0}" DataTextField="Title" />
                                                                <asp:BoundField DataField="CreateDate" DataFormatString="{0:yyyy-MM-dd}">
                                                                <ItemStyle Width="70px" />
                                                                </asp:BoundField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="30" width="200">&nbsp;</td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td height="200" width="200" align="center"><img src ="Image/pic_notice.gif"/><br />待办事务</td>
                                        <td valign="top">
                                            <table cellpadding="0" cellspacing="0" style="width: 100%">
                                                <tr>
                                                    <td height="30"><a href="PostTrans.aspx"><img src="Image/edit.gif" style="vertical-align: middle" /> 撰写新事务</a></td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:GridView ID="gvTrans" runat="server" AutoGenerateColumns="False" EnableModelValidation="True" Width="578px" CellPadding="4" GridLines="None" ShowHeader="False">
                                                            <Columns>
                                                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ShowTrans.aspx?ID={0}" DataTextField="Title" />
                                                                <asp:BoundField DataField="OptDate" DataFormatString="{0:yyyy-MM-dd}">
                                                                <ItemStyle Width="70px" />
                                                                </asp:BoundField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="30" width="200" align="center">&nbsp;</td>
                                        <td valign="top">
                                            本月：报销申请（<asp:Label ID="lblBX" runat="server" ForeColor="#CC3300"></asp:Label>
                                            ）、预算申请（<asp:Label ID="lblYN" runat="server" ForeColor="#CC3300"></asp:Label>
                                            ）、采购申请（<asp:Label ID="lblCG" runat="server" ForeColor="#CC3300"></asp:Label>
                                            ）未处理</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>

                        <tr>
                            <td style="padding-left: 10px" valign="top">&nbsp;</td>
                        </tr>


                    </table>
                </td>

            </tr>
        </table>
    </div>
    </form>
</body>
</html>
