Admin/AddNews.aspx
(完整代码) 1KB<%@ Page language="c#" Inherits="AddNews" CodeFile="AddNews.aspx.cs" ValidateRequest="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AddNews</title>
<link rel="stylesheet" type="text/css" href="../css/Admin_STYLE.CSS">
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
var oFCKeditor = new FCKeditor('newscon') ;
function initEditor()
{
var sBasePath = "fckeditor/"
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Height = 300;
oFCKeditor.ToolbarSet = 'ForNews';
oFCKeditor.ReplaceTextarea();
}
window.onload=initEditor;
</script>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<table width="700" border="0" cellpadding="0">
<tr>
<td width="80"><asp:Label ID="Label1" runat="server">新闻标题</asp:Label></td>
<td><asp:TextBox ID="newstitle"
runat="server" Width="428px"></asp:TextBox></td>
</tr>
<tr>
<td width="80"><asp:Label ID="Label2" runat="server">新闻分类</asp:Label></td>
<td><asp:DropDownList ID="tNewsClass"
runat="server"></asp:DropDownList></td>
</tr>
<tr>
<td width="80" valign="top">
<asp:Label ID="Label3" runat="server">新闻内容</asp:Label></td>
<td><asp:TextBox ID="newscon" runat="server"
Width="428px" TextMode="MultiLine" Height="160px"></asp:TextBox></td>
</tr>
<tr>
<td width="80"> </td>
<td align="right"><asp:Button ID="Button1" runat="server"
Text="添加新闻" OnClick="Button1_Click"></asp:Button></td>
</tr>
</table></form>
</body>
</HTML>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。