<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="syxq.aspx.cs" Inherits="syxq" Title="需求中心" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table width="840" border="0" cellpadding="0" cellspacing=1 bgcolor="#cdcdcd">
    <tr bgcolor="#f5f5f5">
      <td align="left" style="padding-left:5px;padding-top:6px;" valign="top">
        <div>※ <span class="span2">需求中心</span></div> 
        <div style="padding-left:10px;padding-top:10px;">
      <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate>
          <table width="97%" border=0 cellpadding=0 cellspacing=0>
        </HeaderTemplate>
        <ItemTemplate>
          <tr height="105">
            <td width="13%" valign="top" style="padding-top:8px;">
              <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Bind("xq_user","view_hk.aspx?id={0}")%>'>
                <asp:Image ID="Image1" ImageUrl='<%# Bind("face","userpic/{0}")%>' width="95" height="90" runat="server" />
              </asp:HyperLink> 
            </td>
            <td width="35%" align=left valign="top" style="padding-top:8px;">
              <div style="padding-bottom:10px;">
                <span class="span12">我想要：</span>
                <asp:HyperLink ID="HyperLink3" CssClass="a11" runat="server" Text='<%# Bind("xq_title")%>' NavigateUrl='<%# Bind("id","view_xq.aspx?id={0}")%>' />
              </div>
              <div style="padding-bottom:10px;">
                <span class="span12">发布人：</span>
                <asp:HyperLink ID="HyperLink2" CssClass="a11" runat="server" Text='<%# Bind("u_name")%>' NavigateUrl='<%# Bind("xq_user","view_hk.aspx?id={0}")%>' />
              </div>
              <div style="padding-bottom:10px;">  
                <span class="span12">发布人所在：</span>
                <asp:Label ID="Label7" CssClass="span13" runat="server" Text='<%# Bind("jzarea")%>' />
              </div>                  

            </td>
            <td width="37%" align=left valign="top" style="padding-top:8px;padding-right:5px;">
                <div style="padding-bottom:10px;">
                 <span class="span12">需求说明：</span> 
                 </div>
                <div style="padding-bottom:6px;line-height:1.5"> 
                <asp:Label ID="Label2" CssClass="span13" runat="server" Text='<%# Bind("xq_nr")%>' />
                </div>
            </td>
            <td width="15%" align=left valign="top" style="padding-top:8px;">
                <div style="padding-bottom:10px;">
                <span class="span12">回复数：</span>
                <asp:Label ID="Label3" CssClass="span13" runat="server" Text='<%# Bind("plnum")%>' />
                </div>
                <div style="padding-bottom:8px;">
                <span class="span12">发布时间：</span>
                </div>
                <div style="padding-left:8px;">
                <asp:Label ID="Label13" CssClass="span13" runat="server" Text='<%# Bind("xq_date","{0:yyyy-MM-dd}")%>' />
                </div>
            </td>
          </tr>
        </ItemTemplate>
        <SeparatorTemplate>
          <tr height="1" bgcolor="#cdcdcd"><td colspan="4"></td></tr>
        </SeparatorTemplate>  
        <FooterTemplate>
          </table>
        </FooterTemplate>
      </asp:Repeater>
      </div>
      <p align=center>
          共 <asp:Label ID="SumNum" ForeColor="red" runat="server" Text="" /> 条记录
          &nbsp;&nbsp;
          当前<asp:Label ID="CPage" runat="server" ForeColor="red" Text="" />/<asp:Label ID="SumPage" runat="server" Text="" />页
          &nbsp;&nbsp;
          <asp:HyperLink ID="fpage" runat="server" Text="首页" />&nbsp;&nbsp;
          <asp:HyperLink ID="ppage" runat="server" Text="<" />&nbsp;&nbsp;
          <asp:HyperLink ID="npage" runat="server" Text=">" ToolTip="下一页" />&nbsp;&nbsp;
          <asp:HyperLink ID="epage" runat="server" Text="末页" />
      </p>
      </td>
    </tr>
    
    </table>
</asp:Content>

