📄 articleedit.aspx
字号:
<%@ Page Language="C#" ContentType="text/html" Inherits="LZSys.ArticleEdit" ResponseEncoding="gb2312"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>LZ文章信息管理系统</title>
<link href="Css/Style.css" rel="stylesheet" type="text/css">
</head>
<body>
<script language="JavaScript">
function imagegallery()
{
var arr = showModalDialog("Edit/imagegallery.aspx", "", "dialogWidth:35em; dialogHeight:30em; status:0; help:0");
if (arr != null){
path=arr["filename"];
row=arr["height"];
col=arr["width"];
var string;
//string="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="+row+" height="+col+"><param name=movie value="+path+"><param name=quality value=high><embed src="+path+" pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width="+row+" height="+col+"></embed></object>"
string="[img="+path+"][/img]";
document.ArticleAddForm.Content.value=document.ArticleAddForm.Content.value+string;
//document.post.Content.innerHTML+=string;
}
else document.ArticleAddForm.Content.focus();
}
//
function fontforecolorpicker()
{
var ColorString = showModalDialog("Edit/colorpicker.aspx", "", "dialogWidth:13em; dialogHeight:11em; status:0; help:0");
if (ColorString != null){
var string;
//string="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="+row+" height="+col+"><param name=movie value="+path+"><param name=quality value=high><embed src="+path+" pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width="+row+" height="+col+"></embed></object>"
string="[color="+ColorString+"][/color]"
document.ArticleAddForm.Content.value=document.ArticleAddForm.Content.value+string;
//document.post.Content.innerHTML+=string;
}
else document.ArticleAddForm.Content.focus();
}
//
function fontbackcolorpicker()
{
var ColorString = showModalDialog("Edit/colorpicker.aspx", "", "dialogWidth:13em; dialogHeight:11em; status:0; help:0");
if (ColorString != null){
var string;
//string="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="+row+" height="+col+"><param name=movie value="+path+"><param name=quality value=high><embed src="+path+" pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width="+row+" height="+col+"></embed></object>"
string="[bgcolor="+ColorString+"][/bgcolor]"
document.ArticleAddForm.Content.value=document.ArticleAddForm.Content.value+string;
//document.post.Content.innerHTML+=string;
}
else document.ArticleAddForm.Content.focus();
}
</script>
<form id="ArticleAddForm" runat="server">
<table width="100%" height="100%" border="0" cellpadding="4" cellspacing="0">
<tr class="bgHoar">
<td width="5%" height="25"> </td>
<td width="15%">友情提示:</td>
<td><asp:Label ID="HelpMsg" runat="server"></asp:Label>
<asp:Label ID="ArticleId" runat="server"></asp:Label>
<asp:Label ID="ArticleNextPage" runat="server"></asp:Label></td>
<td width="5%"> </td>
</tr>
<tr class="bgOrange">
<td width="5%" height="5"> </td>
<td width="15%"> </td>
<td> </td>
<td width="5%"> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>添加人员:</td>
<td><asp:TextBox ID="ArticleAuthor" runat="server" MaxLength="20" Columns="40"></asp:TextBox>
</td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>信息标题:</td>
<td><asp:TextBox ID="ArticleTitle" runat="server" MaxLength="200" Columns="40"></asp:TextBox></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>辅助功能:</td>
<td><table width="100%" border="0" cellpadding="0">
<tr>
<td width="20"><asp:imagebutton ID="Bold" ToolTip="加粗" ImageUrl="Images/2003/bold.gif" runat="server" /></td>
<td width="20"><asp:imagebutton ID="Italic" ToolTip="斜体" ImageUrl="Images/2003/italic.gif" runat="server" /></td>
<td width="20"><asp:imagebutton ID="UnderLine" ToolTip="下划" ImageUrl="Images/2003/underline.gif" runat="server" /></td>
<td width="20"><asp:imagebutton ID="StrikeThrough" ToolTip="删线" ImageUrl="Images/2003/strikethrough.gif" runat="server" /></td>
<td width="20"><asp:imagebutton ID="Aleft" ToolTip="左边" ImageUrl="Images/2003/aleft.gif" runat="server" /></td>
<td width="20"><asp:imagebutton ID="Center" ToolTip="居中" ImageUrl="Images/2003/center.gif" runat="server" /></td>
<td width="20"><asp:imagebutton ID="Aright" ToolTip="右边" ImageUrl="Images/2003/aright.gif" runat="server" /></td>
<td width="110">
<asp:dropdownlist ID="FontName" AutoPostBack="true" runat="server">
<asp:listitem>字体</asp:listitem>
<asp:listitem Text="Arial" Value="Arial"></asp:listitem>
<asp:listitem Text="Courier" Value="Courier"></asp:listitem>
<asp:listitem Text="Garamond" Value="Garamond"></asp:listitem>
<asp:listitem Text="Georgia" Value="Georgia"></asp:listitem>
<asp:listitem Text="Roman" Value="Roman"></asp:listitem>
<asp:listitem Text="Verdana" Value="Verdana"></asp:listitem>
<asp:listitem Text="宋体" Value="宋体"></asp:listitem>
<asp:listitem Text="幼圆" Value="幼圆"></asp:listitem>
<asp:listitem Text="楷体" Value="楷体"></asp:listitem>
<asp:listitem Text="仿宋" Value="仿宋"></asp:listitem>
<asp:listitem Text="黑体" Value="黑体"></asp:listitem>
<asp:listitem Text="隶书" Value="隶书"></asp:listitem>
</asp:dropdownlist> </td>
<td width="110">
<asp:dropdownlist ID="FontSize" AutoPostBack="true" runat="server">
<asp:listitem>字号</asp:listitem>
<asp:listitem Text="1" Value="1"></asp:listitem>
<asp:listitem Text="2" Value="2"></asp:listitem>
<asp:listitem Text="3" Value="3"></asp:listitem>
<asp:listitem Text="4" Value="4"></asp:listitem>
<asp:listitem Text="5" Value="5"></asp:listitem>
<asp:listitem Text="6" Value="6"></asp:listitem>
<asp:listitem Text="7" Value="7"></asp:listitem>
</asp:dropdownlist> </td>
<td> <asp:CheckBox ID="ArticleIsHtmlFlag" Checked="false" Text="支持HTML" runat="server"></asp:CheckBox></td>
<td> </td>
</tr>
<tr>
<td><asp:imagebutton ID="CreateLink" ToolTip="链接" ImageUrl="Images/2003/createlink.gif" runat="server" /></td>
<td><asp:imagebutton ID="InsertImage" ToolTip="图片" ImageUrl="Images/2003/insertimage.gif" runat="server" /></td>
<td><asp:imagebutton ID="InsertSwf" ToolTip="FLASH" ImageUrl="Images/2003/swf.gif" runat="server" /></td>
<td><asp:imagebutton ID="InsertMp" ToolTip="视频[WAV]" ImageUrl="Images/2003/mp.gif" runat="server" /></td>
<td><asp:imagebutton ID="InsertReal" ToolTip="视频[RM]" ImageUrl="Images/2003/real.gif" runat="server" /></td>
<td><asp:imagebutton ID="InsertAd" ToolTip="广告" ImageUrl="Images/2003/ad.gif" runat="server" /></td>
<td><asp:imagebutton ID="InsertCode" ToolTip="引用" ImageUrl="Images/2003/code.gif" runat="server" /></td>
<td> <asp:dropdownlist ID="ForeColor" AutoPostBack="true" runat="server">
<asp:listitem>字体颜色</asp:listitem>
<asp:listitem Text="Black" Value="#000000"></asp:listitem>
<asp:listitem Text="Gray" Value="#808080"></asp:listitem>
<asp:listitem Text="DarkGray" Value="#A9A9A9"></asp:listitem>
<asp:listitem Text="LightGrey" Value="#D3D3D3"></asp:listitem>
<asp:listitem Text="White" Value="#FFFFFF"></asp:listitem>
<asp:listitem Text="Aquamarine" Value="#7FFFD4"></asp:listitem>
<asp:listitem Text="Blue" Value="#0000FF"></asp:listitem>
<asp:listitem Text="Navy" Value="#000080"></asp:listitem>
<asp:listitem Text="Purple" Value="#800080"></asp:listitem>
<asp:listitem Text="DeepPink" Value="#FF1493"></asp:listitem>
<asp:listitem Text="Violet" Value="#EE82EE"></asp:listitem>
<asp:listitem Text="Pink" Value="#FFC0CB"></asp:listitem>
<asp:listitem Text="DarkGreen" Value="#006400"></asp:listitem>
<asp:listitem Text="Green" Value="#008000"></asp:listitem>
<asp:listitem Text="YellowGreen" Value="#9ACD32"></asp:listitem>
<asp:listitem Text="Yellow" Value="#FFFF00"></asp:listitem>
<asp:listitem Text="Orange" Value="#FFA500"></asp:listitem>
<asp:listitem Text="Red" Value="#FF0000"></asp:listitem>
<asp:listitem Text="Brown" Value="#A52A2A"></asp:listitem>
<asp:listitem Text="BurlyWood" Value="#DEB887"></asp:listitem>
<asp:listitem Text="Beige" Value="#F5F5DC"></asp:listitem>
</asp:dropdownlist></td>
<td>
<asp:dropdownlist ID="BackColor" AutoPostBack="true" runat="server">
<asp:listitem>背景颜色</asp:listitem>
<asp:listitem Text="Black" Value="#000000"></asp:listitem>
<asp:listitem Text="Gray" Value="#808080"></asp:listitem>
<asp:listitem Text="DarkGray" Value="#A9A9A9"></asp:listitem>
<asp:listitem Text="LightGrey" Value="#D3D3D3"></asp:listitem>
<asp:listitem Text="White" Value="#FFFFFF"></asp:listitem>
<asp:listitem Text="Aquamarine" Value="#7FFFD4"></asp:listitem>
<asp:listitem Text="Blue" Value="#0000FF"></asp:listitem>
<asp:listitem Text="Navy" Value="#000080"></asp:listitem>
<asp:listitem Text="Purple" Value="#800080"></asp:listitem>
<asp:listitem Text="DeepPink" Value="#FF1493"></asp:listitem>
<asp:listitem Text="Violet" Value="#EE82EE"></asp:listitem>
<asp:listitem Text="Pink" Value="#FFC0CB"></asp:listitem>
<asp:listitem Text="DarkGreen" Value="#006400"></asp:listitem>
<asp:listitem Text="Green" Value="#008000"></asp:listitem>
<asp:listitem Text="YellowGreen" Value="#9ACD32"></asp:listitem>
<asp:listitem Text="Yellow" Value="#FFFF00"></asp:listitem>
<asp:listitem Text="Orange" Value="#FFA500"></asp:listitem>
<asp:listitem Text="Red" Value="#FF0000"></asp:listitem>
<asp:listitem Text="Brown" Value="#A52A2A"></asp:listitem>
<asp:listitem Text="BurlyWood" Value="#DEB887"></asp:listitem>
<asp:listitem Text="Beige" Value="#F5F5DC"></asp:listitem>
</asp:dropdownlist></td>
<td><a href="#"><img onclick="imagegallery();" src="Images/2003/_image.gif" width="16" height="16" vspace="2" border="0" align="absmiddle"></a>
<a href="#"><img onclick="fontforecolorpicker();" src="Images/2003/_fontforecolorpicker.gif" width="21" height="20" vspace="2" border="0" align="absmiddle"></a>
<a href="#"><img onclick="fontbackcolorpicker();" src="Images/2003/_fontbackcolorpicker.gif" width="21" height="20" vspace="2" border="0" align="absmiddle"></a>
</td>
<td> </td>
</tr>
</table></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>信息正文:</td>
<td><asp:TextBox TextMode="MultiLine" ID="Content" Rows="8" Columns="60" runat="server"></asp:TextBox></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>信息类型:</td>
<td><asp:DropDownList ID="ArticleClass" runat="server"></asp:DropDownList></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>信息审核:</td>
<td><asp:CheckBox ID="ArticleAuditing" runat="server" Text="是/否审核" value="true"></asp:CheckBox></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>信息来源:</td>
<td><asp:TextBox ID="ArticleAddFrom" runat="server" MaxLength="50" Columns="40"></asp:TextBox></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>发布时间:</td>
<td><asp:TextBox ID="ArticleAddDate" runat="server" MaxLength="50" Columns="40"></asp:TextBox></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>推荐指数:</td>
<td> <asp:DropDownList ID="ArticleRecommend" runat="server">
<asp:ListItem Text="无推荐" Value="0" Selected="true"></asp:ListItem>
<asp:ListItem Text="一星级推荐" Value="1"></asp:ListItem>
<asp:ListItem Text="二星级推荐" Value="2"></asp:listitem>
<asp:ListItem Text="三星级推荐" Value="3"></asp:ListItem>
<asp:ListItem Text="四星级推荐" Value="4"></asp:ListItem>
<asp:ListItem Text="五星级推荐" Value="5"></asp:ListItem>
</asp:DropDownList></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>初始计数:</td>
<td><asp:TextBox ID="ArticleHits" runat="server" MaxLength="5" Columns="40" Text="0"></asp:TextBox></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="30"> </td>
<td>关键字:</td>
<td><asp:TextBox ID="ArticleKeywords" runat="server" MaxLength="50" Columns="40"></asp:TextBox></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="25"> </td>
<td> </td>
<td><asp:Button ID="ArticleSubmit" Text="提 交" runat="server"></asp:Button>
<asp:Button ID="ArticleReset" Text="重 写" runat="server"></asp:Button>
<input type="button" value="返 回" onClick="javascript:history.go(-1)"></td>
<td> </td>
</tr>
<tr class="bgHoar">
<td height="25"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -