📄 admin_article.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="Admin_Article, App_Web_k7f8vto_" validaterequest="false" %>
<%@ Register Src="Inc/Ubb.ascx" TagName="Ubb" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head_Article" runat="server">
<title>鹿茸文章管理系统--管理页面</title>
<link href="images/type.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<form id="Form_Article" runat="server">
<div>
<table border="0" bordercolor="#33ccff" cellpadding="0" cellspacing="0" width="80%">
<tr align="center">
<td colspan="2" height="40" style="border-right: #d4d0c8 1px solid; padding-right: 0px;
border-top: #d4d0c8 1px solid; padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid;
padding-top: 0px">
发表日记</td>
</tr>
<tr>
<td align="right" height="24" style="padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px">
分类:
</td>
<td height="24" style="border-right: #d4d0c8 1px solid; padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px">
<asp:DropDownList ID="DropClass" runat="server">
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" height="24" style="padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px">
天气状况:</td>
<td height="24" style="border-right: #d4d0c8 1px solid; padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px">
<asp:DropDownList ID="DropWeather" runat="server">
<asp:ListItem Value="sunny">晴天</asp:ListItem>
<asp:ListItem Value="cloudy">多云</asp:ListItem>
<asp:ListItem Value="flurries">疾风</asp:ListItem>
<asp:ListItem Value="ice">冰雹</asp:ListItem>
<asp:ListItem Value="ptcl">阴天</asp:ListItem>
<asp:ListItem Value="rain">下雨</asp:ListItem>
<asp:ListItem Value="showers">阵雨</asp:ListItem>
<asp:ListItem Value="snow">下雪</asp:ListItem>
</asp:DropDownList>
<asp:Image ID="ImgWeather" runat="server" ImageUrl="images/weather/yu_sunny.gif" />
</td>
</tr>
<tr>
<td align="right" height="24" style="padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px">
心情指数:
</td>
<td height="24" style="border-right: #d4d0c8 1px solid; padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px">
<asp:DropDownList ID="DropLevel" runat="server">
<asp:ListItem Value="level1">糟透了</asp:ListItem>
<asp:ListItem Value="level2">有点倒霉</asp:ListItem>
<asp:ListItem Selected="True" Value="level3">马马虎虎</asp:ListItem>
<asp:ListItem Value="level4">心情挺好</asp:ListItem>
<asp:ListItem Value="level5">心情好极了</asp:ListItem>
</asp:DropDownList> <asp:Image ID="ImgLevel" runat="server" ImageUrl="images/level/level3.gif" />
</td>
</tr>
<tr>
<td align="right" style="padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px; height: 24px;">
标题:
</td>
<td style="border-right: #d4d0c8 1px solid; padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px; height: 24px;">
<asp:TextBox ID="TxtTitle" runat="server" MaxLength="100" Width="400px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtTitle"
ErrorMessage="请输入文章标题"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="padding-right: 0px; border-top: #d4d0c8 1px solid; padding-left: 0px;
padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px; height: 24px">
UBB语法:</td>
<td style="border-right: #d4d0c8 1px solid; padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 10px; padding-bottom: 5px; border-left: #d4d0c8 1px solid; padding-top: 5px;
height: 24px">
<uc1:Ubb ID="Ubb1" runat="server" />
</td>
</tr>
<tr>
<td align="right" height="130" style="padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px;
border-bottom: #d4d0c8 1px solid" width="85">
内容:</td>
<td style="border-right: #d4d0c8 1px solid; padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 5px; padding-bottom: 5px; border-left: #d4d0c8 1px solid; padding-top: 5px;
border-bottom: #d4d0c8 1px solid;" width="574">
<asp:TextBox ID="TxtContent" runat="server" Height="300px" TextMode="MultiLine" Width="90%"></asp:TextBox><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtContent"
ErrorMessage="请输入文章内容"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" height="50" style="padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 0px; padding-bottom: 0px; border-left: #d4d0c8 1px solid; padding-top: 0px;
border-bottom: #d4d0c8 1px solid" width="85">
QQ表情:</td>
<td style="border-right: #d4d0c8 1px solid; padding-right: 0px; border-top: #d4d0c8 1px solid;
padding-left: 5px; padding-bottom: 5px; border-left: #d4d0c8 1px solid; padding-top: 5px;
border-bottom: #d4d0c8 1px solid" width="574">
<asp:Label ID="LblFace" runat="server" Text="Label"></asp:Label></td>
</tr>
<tr align="center">
<td colspan="2" height="37">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="点击添加文章" />
<asp:Button ID="Button2" runat="server" Text=" 放弃添加 " CausesValidation="False" OnClick="Button2_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -