📄 remark.aspx
字号:
<%@Page Language="C#" Inherits="DvNews.Pages.RemarkList" EnableSessionState="false" EnableViewState="false" %>
<%@Register TagPrefix="WbControls" Namespace="DvNews.Controls" Assembly="DvNews_Controls" %>
<!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" lang="<%=config.Charset%>">
<head>
<!--#include file="inc/html_head.inc"-->
</head>
<body>
<asp:PlaceHolder id="phMain" runat="server">
<table width="600" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-t-left"></td>
<td class="mframe-t-mid">
<strong><asp:Literal id="TitleLiteral" runat="server"/> <span class="mframe-t-text" style="width:6em"><%=lang["title_remark"]%></span></strong>
</td>
<td class="mframe-t-right"></td>
</tr>
</table>
<table width="600" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-m-left"></td>
<td class="mframe-m-mid">
<table width="100%" cellpadding="0" cellspacing="0" >
<tr>
<td class="tdbg" align="center">
<form name="remarkForm" action="" method="post" onsubmit="return checkForm();">
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr><td>
<script type="text/javascript" language="javascript">
<!--
var contentLen = 0;
function checkForm()
{
var form=document.all.remarkForm;
if (form.body.value=="")
{ alert("<%=lang["write_content"]%>");
form.body.focus();
return false;
}
if (form.username.value=="")
{ alert("<%=lang["write_name"]%>");
form.username.focus();
return false;
}
if (form.body.value.length>200)
{ alert("<%=lang["content_limit_200"]%>");
form.body.focus();
return false;
}
if (form.username.value.length>10)
{ alert("<%=lang["name_limit_10"]%>");
form.username.focus();
return false;
}
form.submit.disabled=true;
return true;
}
function showLen(obj)
{
document.all.bodyLen.value=obj.value.length;
}
-->
</script>
<input type="radio" name="face" value="1" checked="checked"/><img src="pic/face1.gif" alt=""/>
<input type="radio" name="face" value="2"/><img src="pic/face2.gif" alt=""/>
<input type="radio" name="face" value="3"/><img src="pic/face3.gif" alt=""/>
<input type="radio" name="face" value="4"/><img src="pic/face4.gif" alt=""/>
<input type="radio" name="face" value="5"/><img src="pic/face5.gif" alt=""/>
<input type="radio" name="face" value="6"/><img src="pic/face6.gif" alt=""/>
<input type="radio" name="face" value="7"/><img src="pic/face7.gif" alt=""/>
<input type="radio" name="face" value="8"/><img src="pic/face8.gif" alt=""/>
<input type="radio" name="face" value="9"/><img src="pic/face9.gif" alt=""/><br/>
<input type="radio" name="face" value="10"/><img src="pic/face10.gif" alt=""/>
<input type="radio" name="face" value="11"/><img src="pic/face11.gif" alt=""/>
<input type="radio" name="face" value="12"/><img src="pic/face12.gif" alt=""/>
<input type="radio" name="face" value="13"/><img src="pic/face13.gif" alt=""/>
<input type="radio" name="face" value="14"/><img src="pic/face14.gif" alt=""/>
<input type="radio" name="face" value="15"/><img src="pic/face15.gif" alt=""/>
<input type="radio" name="face" value="16"/><img src="pic/face16.gif" alt=""/>
<input type="radio" name="face" value="17"/><img src="pic/face17.gif" alt=""/>
<input type="radio" name="face" value="18"/><img src="pic/face18.gif" alt=""/><br/>
<%=lang["remark_content"]%>
<textarea name="body" cols="40" rows="4" onkeydown="showLen(this)" onkeyup="showLen(this)"></textarea> <%=lang["letter_num"]%><input type="text" id="bodyLen" size="4" style="border-width:0;background:transparent;"/>
<br/>
<%=lang["remark_name"]%>
<input type="text" name="username" value="<%=memberName%>" maxlength="15" size="10" <%if (config.RemarkMemberOnly){Response.Write("readonly=\"readonly\"");}%>/>
<input type="submit" name="submit" value="<%=lang["submit_text"]%>" />
<%
if (config.RemarkMemberOnly)
{
Response.Write(lang["member_only"]);
}
%>
<WbControls:ClientDateControl id="clientDate" runat="server" />
</td>
<td width="200">
<ul style="list-style-type:square;margin-left:1em;margin-bottom:0px">
<%
foreach(string s in lang["statement"].ToString().Split(new Char[]{'\n'}) )
{
Response.Write("<li>");
Response.Write(s);
Response.Write("</li>");
}
%>
</ul>
</td></tr>
</table>
</form>
</td>
</tr>
<tr>
<td width="50%" class="summary-title"> >> <%=lang["title_remark_list"]%></td></tr>
<tr><td class="tdbg" style="padding:5px 2px" height="30">
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<asp:Repeater id="myRepeater" runat="server" >
<ItemTemplate>
<tr><td class="tdbg-dark" height="25">
<img src="pic/face<%#DataBinder.Eval(Container.DataItem,"face")%>.gif" alt=""/>
<%=lang["writer_1"]%> <strong><%# DataBinder.Eval(Container.DataItem,"username")%></strong>
<%=lang["writer_2"]%>
<span class="gray"><%# DataBinder.Eval(Container.DataItem,"dateAndTime")%></span>
<%=lang["writer_3"]%>
</td></tr>
<tr><td >
<span style="padding:5px 10px 5px 30px;width:100%; word-break:break-all">
<%# DataBinder.Eval(Container.DataItem,"body")%>
</span>
</td></tr>
<tr><td class="hr" height="1"></td></tr>
</ItemTemplate>
</asp:Repeater>
</table>
<br/>
<div align="center"><asp:Literal id="PageLiteral" runat="server" /></div>
</td></tr>
</table>
</td>
<td class="mframe-m-right"></td>
</tr>
</table>
<table width="600" align="center" cellspacing="0" cellpadding="0" >
<tr>
<td class="mframe-b-left"></td>
<td class="mframe-b-mid"> </td>
<td class="mframe-b-right"></td>
</tr>
</table>
</asp:PlaceHolder>
<asp:PlaceHolder id="phMsg" Visible="false" runat="server">
<table width="300" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-t-left"></td>
<td class="mframe-t-mid">
<span class="mframe-t-text" ><%=lang["title_post_result"]%></span>
</td>
<td class="mframe-t-right"></td>
</tr>
</table>
<table width="300" height="100" align="center" cellspacing="0" cellpadding="0">
<tr>
<td class="mframe-m-left"></td>
<td class="mframe-m-mid" align="center">
<asp:Literal id="ltMsg" runat="server"/>
<script type="text/javascript" language="javascript">
function goBack()
{
window.location=window.location;
}
window.setTimeout("goBack();",2000);
</script>
</td>
<td class="mframe-m-right"></td>
</tr>
</table>
<table width="300" align="center" cellspacing="0" cellpadding="0" >
<tr>
<td class="mframe-b-left"></td>
<td class="mframe-b-mid"> </td>
<td class="mframe-b-right"></td>
</tr>
</table>
</asp:PlaceHolder>
<!--#include file="foot.inc" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -