WebUI/Admin/Conctrl/AddBlog.ascx
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddBlog.ascx.cs" Inherits="Admin_Conctrl_AddBlog" %>
<style type="text/css">
.auto-style1 {
height: 15px;
width: 621px;
}
.auto-style2 {
width: 621px;
height: 544px;
}
.auto-style5 {
width: 621px;
}
</style>
<table style="border:solid 1px #B0C4DE" cellpadding="0" cellspacing="0" border="0" class="auto-style5">
<tr>
<td style="background-image:url(useradminimages/admin_top_bg.gif)" class="auto-style1"></td>
</tr>
<tr>
<td bgcolor="#99CCFF" height="20px" align="left" style="border-bottom:solid 1px #DEB887; color:White; font-weight:bold" class="auto-style5">文章操作</td>
</tr>
</table>
<table border="0" cellpadding="5" cellspacing="1" bgcolor="#D2D2D2" style="margin-top:5px;" class="auto-style2">
<tr>
<td width="100" align="center" bgcolor="#E7F2FE"><strong>标题:</strong></td>
<td width="480" align="left" bgcolor="#FFFFFF"><asp:TextBox ID="TextBox1" runat="server" /></td>
</tr>
<tr>
<td width="100" align="center" bgcolor="#E7F2FE"><strong>类型:</strong></td>
<td width="480" align="left" bgcolor="#FFFFFF">
<asp:DropDownList ID="DropDownList1" runat="server" DataTextField="Type" DataValueField="Id">
</asp:DropDownList>
</td>
</tr>
<tr>
<td width="100" align="center" bgcolor="#E7F2FE"><strong> </strong></td>
<td width="480" align="left" bgcolor="#FFFFFF"><asp:CheckBox ID="CheckBox1" runat="server" Text="是否置顶" /></td>
</tr>
<tr>
<td width="100" align="center" bgcolor="#E7F2FE"><strong>内容:</strong></td>
<td width="480" align="left" bgcolor="#FFFFFF"><asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine" Height="192px" Width="478px" />
</td>
</tr>
<tr>
<td width="100" align="center" bgcolor="#E7F2FE"><strong></strong></td>
<td width="480" align="left" bgcolor="#FFFFFF"><asp:Button ID="Button1" runat="server" Text="提交" OnClientClick="return sub()" Height="32px" OnClick="Button1_Click" Width="98px" /></td>
</tr>
</table>
<script type="text/javascript">
function sub()
{
var mes=["<%=TextBox1.ClientID %>","<%=TextBox2.ClientID %>"];
var mgf=["请填写标题","请填写内容"];
for(var i=0;i<mes.length;i++)
{
if(document.getElementById(mes[i]).value.length==0)
{
alert(mgf[i]);
后面还有 6 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
