📄 news_edit.aspx
字号:
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Page language="c#" Codebehind="news_edit.aspx.cs" AutoEventWireup="false" Inherits="qruan.admin2006.news_edit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>news_add</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="./css.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
BODY { BACKGROUND-COLOR: #cee1c4 }
</style>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table cellSpacing="1" cellPadding="1" width="800" bgColor="green" border="0">
<tr bgColor="#afe195">
<td width="106" bgColor="#afe195" height="30"> </td>
<td vAlign="bottom" align="left" width="567" bgColor="#afe195"><strong>
<asp:label id="Label1" runat="server" Width="192px">新闻添加</asp:label></strong></td>
<td width="259"> </td>
</tr>
<tr bgColor="#afe195">
<td align="right" bgColor="#afe195">新闻标题:</td>
<td><asp:textbox id="TextBox1" runat="server" Width="272px"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="RequiredFieldValidator">新闻标题不能为空!</asp:requiredfieldvalidator></td>
<td style="HEIGHT: 25px"><FONT face="宋体"> *必填(50字内)</FONT></td>
</tr>
<tr bgcolor="#afe195">
<td align="right" bgcolor="#afe195">作者:</td>
<td align="left"><asp:TextBox id="TextBox2" runat="server" Width="120px"></asp:TextBox></td>
<td> </td>
</tr>
<tr bgColor="#afe195">
<td align="right" bgColor="#afe195">新闻内容:</td>
<td style="WIDTH: 567px">
<FTB:FreeTextBox id="FreeTextBox1" runat="server" Width="580px" HelperFilesPath="HelperScripts/"
ButtonType="Image" ImageGalleryPath="images/upload/" ButtonPath="../images/ftb/office2003/" AutoConfigure="Default"
Height="300px"></FTB:FreeTextBox></td>
<td><FONT face="宋体"> *必填</FONT></td>
</tr>
<tr bgColor="#afe195">
<td align="right" bgColor="#afe195">新闻图片:</td>
<td noWrap bgColor="#afe195"><asp:textbox id="TextBox3" runat="server" Width="264px"></asp:textbox><FONT face="宋体">
<INPUT onClick="MM_openBrWindow('./upfile.aspx','upfile','width=300,height=200,top=200,left=200')"
type="button" value="上传图片" name="button"> </FONT>
</td>
<td style="HEIGHT: 25px"><FONT face="宋体"> 如不上传图片,请置空</FONT></td>
</tr>
<tr bgColor="#afe195">
<td align="right" bgColor="#afe195">新闻排序:</td>
<td noWrap bgColor="#afe195"><FONT face="宋体"></FONT>
<asp:textbox id="TextBox4" runat="server" Width="32px"></asp:textbox> (必需为数字)
</td>
<td style="HEIGHT: 25px"><FONT face="宋体"> 数字越大,越靠前</FONT></td>
</tr>
<tr bgColor="#afe195">
<td bgColor="#afe195"> </td>
<td>
<INPUT id="Button1" type="button" value="修 改" name="Button1" runat="server"></td>
<td> </td>
</tr>
</table>
</form>
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -