Backup/WebApp/Default.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApp._Default" %>

<!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>
    <style type="text/css">
         body *{font-size:14px;}
        .div_tables{width:90%;margin:3px;border:3px solid #4682b4;text-align:center;padding:3px;}
        .div_tables div{float:left;}
        .div_titile{color:#0f5517;margin-left:2px;width:10%;text-align:right;font-weight:bold;}
        .div_time{color:#9fa3a4;margin-left:5px;width:15%;text-align:left;}
        .div_author{color:#2e5c76;text-align:right;}
        .div_content{clear:both;width:98%;text-align:left;border:1px dotted #c9ced2;padding:3px;margin-left:2px;font-size:16px;}
        .div_submit{margin-top:10px;}
        .div_submit div{margin:5px;}
        .input_1{width:180px;}
        .div_zhu{font-size:12px;}
        .span_s1{color:Red;}
        .div_gl{text-align:right;width:90%;}
    </style>
    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="div_gl">
    <asp:LinkButton runat="server" ID="linkm1" onclick="linkm1_Click">管理</asp:LinkButton>
    </div>
      <div class="div_tables">
        <asp:Repeater runat="server" ID="Repeater1" onitemcommand="Repeater1_ItemCommand" 
              onitemdatabound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table width="100%">
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td class="div_titile"><%# Eval("Title")%></td>
                    <td class="div_time">发表于:<%#Eval("AddTime") %></td>
                    <td class="div_author">作者:<%# Eval("UserName") %></td>
                </tr>
                <tr>
                    <td colspan="3" class="div_content"><%# Eval("Contents")%></td>
                </tr>
                <tr>
                    <td colspan="3" align="right">
                    操作:<asp:LinkButton runat="server" CommandName="del" ID="linkdel">删除</asp:LinkButton>
                    <asp:HiddenField runat="server" ID="hid" Value='<%# Eval("id") %>' />
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
       </div>
        <webdiyer:AspNetPager runat="server" ID="AspNetPager1" AlwaysShow="True" CustomInfoHTML="Items:%RecordCount%,Page:%CurrentPageIndex%/%PageCount%"
            onpagechanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left"></webdiyer:AspNetPager>
       <div class="div_submit">
            <div>网站留言板</div>
后面还有 19 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。