index.aspx
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" Inherits="LeaveMessagePage" Codebehind="index.aspx.cs" %>
<!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 type="text/css" rel="Stylesheet" href="css/LM.css" />
<script type="text/javascript" src="JS/AutoScroll.js"></script>
</head>
<body style="background-color:White">
<form id="form1" runat="server">
<div>
<%--<input id="Button1" type="button"onClick="ScrollDown()" value="滚动到最下"/>
<a href="#IwantToSay">我要留言</a><!--利用锚点链接可以直接转到发言区,比滚屏到最底更实用--><br />--%>
<div id="LMHead" class="LMindexHead" style="font-family:黑体; width:700px;"> 三层留言板51aspx修正版</div>
<br />
<asp:DataList ID="LeaveMessageList" runat="server" OnItemCommand="LeaveMessageList_ItemCommand" Width="700px">
<ItemTemplate>
<table border="1" cellpadding="0" cellspacing="0" width="100%" style="border-right: #6699cc 1px solid; border-top: #6699cc 1px solid; border-left: #6699cc 1px solid; border-bottom: #6699cc 1px solid;">
<tr>
<th style="text-align:left; font-weight: bold; border-bottom: #6699ff thin solid; border-right:0px; width:70%">
<span><%--调用JavaScript实现记录楼数--%>
<script type="text/javascript" src="JS/ShowFloorAtLMBox.js"></script>
</span>
主题:<%# DataBinder.Eval(Container.DataItem,"Title") %></th>
<td align="right" style="border-bottom: #6699ff thin solid; border-left:0px; width:30%"><asp:LinkButton ID="LinkButton1" runat="server" CommandName=<%# DataBinder.Eval(Container.DataItem,"ID") %> Text="回复"/> | <a href="#IwantToSay">滚动到最下</a> | <a href="#" onclick="toTop();">Top</a> </td>
</tr>
<tr>
<td style="font-size:smaller" colspan="2">
作者:<%# DataBinder.Eval(Container.DataItem,"User") %>
QQ/MSN:<%# DataBinder.Eval(Container.DataItem,"QQMSN") %>
<font color="gray"><%# DataBinder.Eval(Container.DataItem,"SubmitTime") %></font>
</td>
</tr>
<tr>
<td colspan="2">
<div style="margin-left:4px; margin-right:4px; margin-top:2px; margin-bottom:2px; color:Black; font-size:18px">
<asp:Label ID="LContents" runat="server" Width="100%"
Text=<%# ShortString(Convert.ToString(DataBinder.Eval(Container.DataItem,"Contents")), Convert.ToString(DataBinder.Eval(Container.DataItem,"ID"))) %>
style="word-break:break-all" />
<br />
<hr width="90%" align="left" />
<div style=" margin-left:2px; margin-right:2px; color:#666666; font-size:14px">
<asp:Label ID="LWriteBack" runat="server" Width="100%" Text=<%# DataBinder.Eval(Container.DataItem,"WriteBack") %> style="word-break:break-all" />
</div>
</div>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
<a href="LMListForPublic.aspx"><img border="0" src="image/viewAll.gif" /></a>
<br />
<%--<input id="Button2" type="button"onClick="toTop()" value="Top"/>--%>
<br />
<table id="lmt" border="1" style="width: 700px; height: 180px">
<tr>
后面还有 29 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
