<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Web.share.login2._default" %>
<%@ Register src="../foot.ascx" tagname="foot" tagprefix="uc1" %>
<!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 id="Head1" runat="server">
    <title>无标题页</title>
      <link href="../../css/css.css" rel="stylesheet" type="text/css" />
</head>
<script>
    if ((function () {
        var u = navigator.userAgent;
        var b = !!u.match(/AppleWebKit.*Mobile.*/);
        b = b || u.indexOf('Android') > -1 || u.indexOf('Linux') > -1;
        b = b || u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1;
        return b;
    })()) location = '../../m/default.aspx';
</script>
<script language="JavaScript">
    if (window != top)
        top.location.href = location.href; 
</script> 
<body style =" height :100%" >
    <form id="form1" runat="server" defaultfocus ="tbUserName_lan" style ="height :100%; text-align :center; ">
    <div id="main-c" style ="height :96%; ">
<div id="main-c-01"><asp:Label ID="biaoti" runat="server"></asp:Label></div>
<div id="main-c-02" ><div id="main-c-02-01" >
<table width="953px" border="0" cellspacing="0" cellpadding="0"  style ="margin-left :10px; font-size :14px ; color :White  ">
  <tr>
    <td style ="width :56px; height :37px">用户名：</td>
    <td style ="width :170px" >
    <asp:TextBox ID="tbUserName_lan" runat="server" style="height: 20px;width: 154px;padding-left: 3px;padding-top: 3px;background-color:#fff ;border: 1px solid #000000;"></asp:TextBox>

    </td>
    <td style =" width :42px" >密码：</td>
    <td style ="width :220px" >
    
    <asp:TextBox ID="tbPassword_lan" runat="server" style="height: 20px;width: 154px;padding-left: 3px;padding-top: 3px;background-color:#fff ;border: 1px solid #000000;" TextMode="Password"></asp:TextBox>   &nbsp;<a href ="../forget/default.aspx" target ="_blank" >找回密码</a> </td>


    <td style ="width :105px" >
      
              <asp:ImageButton ID="ImageButton1" runat="server" 
          ImageUrl="../../css/images/asfsg.png" onclick="imgLogin_Click" 
          ValidationGroup="lan" />  
          </td> 
   <td   style ="text-align :left " > 

                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ControlToValidate="tbUserName_lan" Display="Dynamic" ErrorMessage="请输入登录名。" 
                                    ValidationGroup="lan" ForeColor="Yellow"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                    ControlToValidate="tbUserName_lan" Display="Dynamic" ErrorMessage="登录名不合规范。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,25}$" 
                                    ValidationGroup="lan" ForeColor="Yellow"></asp:RegularExpressionValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                    ControlToValidate="tbPassword_lan" Display="Dynamic" ErrorMessage="请输入密码。" 
                                    ValidationGroup="lan" ForeColor="Yellow"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                    ControlToValidate="tbPassword_lan" Display="Dynamic" ErrorMessage="密码不合规范。" 
                                    ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{6,20}$" 
                                    ValidationGroup="lan" ForeColor="Yellow"></asp:RegularExpressionValidator>
                      
                             
                             
                             </td>
 
  </tr>
</table>            
</div></div>
<div id="main-c-03">


<!--  一组内容模块开始   --> 
<div id ="table_NoticeList" runat ="server">

<table style ="width :100%;  " border="0"  cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../../css/images/asdfrsg.png'); height :33px;  padding-left :5px; color :Black ; text-align :left ">
                    <!--这里添加栏目标题 -->
                    公告列表
                    
                     &gt;&gt;</td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); text-align :right; color :Black   "> 
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="RowNum" ForeColor="Red"></asp:RegularExpressionValidator>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="行数不能为空。" 
                                                ValidationGroup="RowNum" ForeColor="Red"></asp:RequiredFieldValidator>
                                            每页显示行数：</td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :64px">  <asp:TextBox ID="tbNum" runat="server" style="height: 18px;width: 54px;padding-top: 2px;padding-left: 3px;background-color:#fff ;border: 1px solid #000000;" MaxLength="4"></asp:TextBox>
   </td>
                    <td  style ="background-image: url('../../css/images/asdfrsg.png'); width :56px" >  <asp:Button ID="btnQuery" runat="server" onclick="btnQuery_Click" Text="确定" ValidationGroup="RowNum" style="height: 21px;width: 50px;padding-top: 2px;"/>
</td>
                </tr>
                <tr>
                    <td   style="font-weight:bolder; height :10px" colspan="4"></td>
                </tr>
            </table>
            <div style ="text-align :left " ><asp:Label ID="lbMessage" runat="server"></asp:Label></div>
<table width="960" border="0" cellpadding="0" cellspacing="1" >
  

  <tr>
    <td >
    <asp:GridView ID="GridView1" runat="server" 
            onrowdatabound="GridView1_RowDataBound" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                            onselectedindexchanging="GridView1_SelectedIndexChanging" 
            onrowcreated="GridView1_RowCreated">
            <RowStyle BorderWidth="1px" CssClass="gvrow" Font-Size="12px" />
                        <Columns>
                              <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                <asp:TemplateField HeaderText="标题" ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# bind("noticetitle") %>'></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="department" HeaderText="查阅部门" ReadOnly="True" />
                <asp:BoundField DataField="noticedate" HeaderText="发布时间" ReadOnly="True" />
                <asp:BoundField DataField="noticemanages" HeaderText="发布人" ReadOnly="True" />

                        </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" Font-Size="14px" />
        </asp:GridView>
    </td>
  </tr>
        <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; padding-top :5px; text-align :left  ">
                         </td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px"> &nbsp;</td>
              </tr>
          </table>
          </td></tr>
</table>
</div> 
<!-- 一组内容模块结束 --> 


<!--  一组内容模块开始   --> 
<div  id="table_NoticeView" runat ="server"  visible ="false" >

<table style ="width :100%;  border="0"  cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../../css/images/asdfrsg.png'); height :33px; padding-left :5px; color :Black ">
                    <!--这里添加栏目标题 -->
                    公告详情
                    
                     &gt;&gt;</td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :103px"></td>
                    <td style ="background-image: url('../../css/images/asdfrsg.png'); width :64px"></td>
                    <td  style ="background-image: url('../../css/images/asdfrsg.png'); width :76px" ></td>
                </tr>
                <tr>
                    <td  colspan="4" style="font-weight:bolder; height :10px"></td>
                </tr>
            </table>
<table width="960" border="0" cellpadding="0" cellspacing="1">
  

  <tr>
    <td  >
    <table class = "table " style =" width :100%; margin-left :0px; margin-right :0px  ; font-size :12px" border = "1"  cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style ="width:80px"  class ="tabletd_right ">
                        发 布 人：</td>
                    <td class ="tabletd_left ">
        <asp:Label ID="lbNoticemanages" runat="server"></asp:Label>
                        &nbsp;</td>
                    <td style ="width:80px"  class ="tabletd_right ">
                        发布时间：</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbNoticedateview" runat="server"></asp:Label>
                        &nbsp;</td>
                    <td class="tabletd_right ">
                        查阅部门：</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbDepartment" runat="server"></asp:Label>
                                            </td>
                </tr>
                <tr>
                    <td class="tabletd_right " style="width:80px">
                        公告标题：</td>
                    <td class="tabletd_left " colspan="5">
                        <asp:Label ID="lbNoticetitle" runat="server"></asp:Label>
                        &nbsp;&nbsp;</td>
                </tr>
                <tr>
                    <td class ="tabletd_right " >
                        公告内容：</td>
                    <td class ="tabletd_left " colspan="5">
                        <asp:Label ID="lbNoticecontent" runat="server"></asp:Label>
                        &nbsp;</td>
                </tr>
                                                <tr>
                    <td class="tabletd_right ">
                        附件：</td>
                    <td class="tabletd_left " colspan="5" >
                                      <asp:BulletedList 
                            ID="BulletedList1" runat="server" DisplayMode="LinkButton" 
                            onclick="BulletedList1_Click">

                        </asp:BulletedList></td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        &nbsp;</td>
                    <td class="tabletd_left " colspan="5">
                        <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" />
                    </td>
                </tr>
            </table>
    </td>
  </tr>

</table>

</div>
<!-- 一组内容模块结束 -->  


</div>


</div>
<div id="footer-a" style ="height :20px ;font-size:12px">  <uc1:foot id="foot1" runat="server" /></div>
    </form>
</body>
</html>
