<%@ Page Language="C#" AutoEventWireup="true" CodeFile="show.aspx.cs" Inherits="show" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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>
    <link href="mp4.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div style="text-align: center">
            <table cellpadding="0" cellspacing="0" width="765" border="0">
                <tr>
                    <td style="background-image: url(images/promise2.bmp)" height="143" align="left"
                        valign="bottom">
                    </td>
                </tr>
                <tr>
                    <td align="right" style="height: 22px; font-size: 12px;">
                        已有<font color="red"><%=count %></font>位朋友许下心愿，许下你的心愿，让梦想成真！
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <a href="promise.aspx" target="_blank">
                            <img src="images/promise12.gif" alt="" border="0"/></a> &nbsp; &nbsp; &nbsp;
                        &nbsp; &nbsp; &nbsp; &nbsp; <a href="show.aspx" target="_blank">
                            <img src="images/promise10.gif" alt="" border="0"/></a>
                    </td>
                </tr>
            </table>
            <table width="765" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="60%" align="left">
                        &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
                        <img src="images/promise19.gif" alt="" />
                    </td>
                    <td width="20%" align="left">
                        <img src="images/promise20.gif" alt="" />
                    </td>
                    <td width="20%" align="left">
                        <img src="images/promise21.gif" alt="" />
                    </td>
                </tr>
            </table>
            <asp:DataList ID="DataList1" runat="server" Width="765" Font-Size="Small">
                <ItemTemplate>
                    <table align="left" border="0" cellpadding="0" cellspacing="0" width="765">
                        <tr align="center">
                            <td align="left" width="60%" style="font-size: 12px;">
                                &nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <a href='showone.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "PromiseID") %>'>
                                    <%# db.SubStr(DataBinder.Eval(Container.DataItem,"Contents").ToString(),20)%>
                                </a>
                            </td>
                            <td width="20%" align="left" style="font-size: 12px;">
                                &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
                                <%# DataBinder.Eval(Container.DataItem, "Author") %>
                            </td>
                            <td width="20%" align="left" style="font-size: 12px;">
                                &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
                                <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "UpdateTime")).ToString("yyyy-MM-dd") %>
                            </td>
                        </tr>
                        <td colspan="3">
                            <img src="images/tiao-1.gif" alt="" />
                        </td>
                    </table>
                    </a>
                </ItemTemplate>
            </asp:DataList>
            <table cellpadding="0" cellspacing="0" border="0" width="765">
                <tr>
                    <td style="height: 23px; font-size: 12px;">
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" ShowInputBox="Always"
                            Width="765px" OnPageChanged="AspNetPager1_PageChanged" AlwaysShow="true" FirstPageText='<font size="2">首页</font>'
                            NumericButtonCount="9" PagingButtonSpacing="40" ToolTip="每页显示12张图片" CustomInfoText=""
                            NextPageText='<font size="2">下一页</font>' PrevPageText='<font size="2">上一页</font>'
                            LastPageText='<font size="2">尾页</font>' CustomInfoSectionWidth="5%">
                        </webdiyer:AspNetPager>
                    </td>
                </tr>
            </table>
            <table>
                <tr>
                    <td align="center" style="height: 98px; width: 765px; font-size: 12px;">
                        <img src="images/tiao.gif" alt="" /><br />
                        Copyright2006 &nbsp; <a href="http://www.mp4xia.com">www.mp4xia.com</a>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
 
