📄 recordmsg.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="student_recordmsg, App_Web_agsgpyst" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
<title>寒冰考试系统-考试论坛</title>
<link href="main.css" rel=stylesheet type="text/css" />
<style>
.info{
color:Red;font-size:11px;font-weight:bolder;border:transparent 0px solid;
}
.tip{
color:Navy;font-size:11px;font-weight:bolder;border:transparent 0px solid;
}
</style>
<script language="javascript">
function getBid(s){
return document.getElementById(s);
}
function recordclear()
{
getBid("tbox_title").value="";
getBid("tbox_content").value="";
}
</script>
</head>
<body>
<form id="recordmsg" runat="server">
<div>
<fieldset class=fieldset style="margin-top:0px;width:450px;">
<div style="width:100%;text-align:center">
<table class=tb cellspacing=0px >
<tbody>
<tr>
<td rowspan=2 width=20% style="font-size:14px;font-weight:bolder;color:Navy">注意事项:</td>
<td width=80% style="color:Red;text-DECORATION:underline;font-weight:bolder;font-size:12px">1。论坛文明</td>
</tr>
<tr>
<td style="color:Red;text-DECORATION:underline;font-weight:bolder;font-size:12px">2。论坛留言都以本人的真实身份签名</td>
</tr>
</tbody>
</table>
<div >
<div style="width:98%;height:14px;;margin-top:0px;text-align:left;padding-top:0px">
<table style="width:98%;color:White;font-size:12px;font-weight:bolder;background-color:#507CD1" cellpadding=0px cellspacing=0px>
<tbody>
<tr>
<td style="width:30%;text-align:center;border:white 1px solid">主题</td>
<td style="width:15%;text-align:center;border:white 1px solid">发贴人</td>
<td style="width:15%;text-align:center;border:white 1px solid">发贴时间</td>
<td style="width:25%;text-align:center;border:white 1px solid">内容</td>
<td style="width:15%;text-align:center;border:white 1px solid">详情</td>
</tr>
</tbody>
</table>
</div>
<div style="overflow-y:scroll;height:200px;width:100%;padding-left:7px">
<asp:GridView ID="gvw_recordselect" runat="server" AutoGenerateColumns="False" ShowHeader="False" Width=100% PageSize="100" Font-Size="11px" DataKeyNames="ID" CellPadding="4" ForeColor="#333333" >
<Columns>
<asp:TemplateField >
<ItemStyle Width=30% />
<ItemTemplate>
<%# FifteenString(DataBinder.Eval(Container.DataItem,"title").ToString()) %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField >
<ItemStyle Width=15% />
<ItemTemplate>
<asp:Label ID="lb_name" runat="server" ToolTip=<%# DataBinder.Eval(Container.DataItem, "name")%> CssClass=tip><%# DataBinder.Eval(Container.DataItem, "name")%> </asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="recordtime" DataFormatString="{0:MM/dd}" HtmlEncode="False" >
<ItemStyle Width="15%" />
</asp:BoundField>
<asp:TemplateField >
<ItemStyle Width=25% />
<ItemTemplate>
<%# EightString(DataBinder.Eval(Container.DataItem, "content").ToString())%>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField >
<ItemStyle Width=15% HorizontalAlign=center />
<ItemTemplate>
<a onclick="window.open('viewrecord.aspx?id=<%# DataBinder.Eval(Container.DataItem,"ID")%>','','width=470px,height=490px,top=250px,left=250px');return false;" href="#">看贴</a>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</div>
</div>
<div>
<table id="uprecord" class=tb >
<tr>
<td colspan=2 class=glowtext>发贴:</td>
</tr>
<tr>
<td>发贴主题:</td>
<td><asp:TextBox ID="tbox_title" runat=server CssClass=singlebox></asp:TextBox></td>
</tr>
<tr>
<td>发贴内容:</td>
<td><asp:TextBox ID="tbox_content" runat="server" CssClass=multibox Width=100% TextMode=multiline></asp:TextBox></td>
</tr>
<tr>
<td><asp:Label ID="lb_info" runat="server" CssClass=info></asp:Label> </td>
<td><asp:Button ID="btn_uprecord" runat="server" Text="发贴" CssClass=button OnClick="btn_uprecord_Click" /> <input type=button value="取消" class=button onclick="recordclear()" /></td>
</tr>
</table>
</div>
</div>
</fieldset>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -