Admin/AddNews.aspx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page ValidateRequest="false" Language="C#" AutoEventWireup="true" CodeBehind="AddNews.aspx.cs" Inherits="SimpleExam.Admin.AddNews" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>考生信息</title>
	<!--bixanjxiqxi-->
	<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
	<link href="/images/StyleSheet.css" type="text/css" rel="Stylesheet"/>
    <script src="/js/jquery-1.11.1.min.js"></script>
	<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"/>
    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言,避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型,比如你在配置项目里配置的是英文,这里加载的中文,那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
      
	</head>
<script  type="text/javascript">
    function OpenScript(url, width, height) {
        var win = window.open(url, "SelectToSort", 'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes');
    }
    function OpenDialog(sURL, iWidth, iHeight) {
        var oDialog = window.open(sURL, "_EditorDialog", "width=" + iWidth.toString() + ",height=" + iHeight.toString() + ",resizable=no,left=0,top=0,scrollbars=no,status=no,titlebar=no,toolbar=no,menubar=no,location=no");
        oDialog.focus();
    }
</script>
<!--hxsglxiangdxongjxs-->
	<body>
		<form id="Form1" method="post" runat="server">
			<br />
			   <table width="98%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse">
				<tr bgcolor="#f1f8f5">
					<td colspan="2">
						<div align="center">添加文章信息</div>
					</td>
				</tr>
				
			<tr><td><font face='宋体'>文章标题:</font></td><td width='79%'><asp:TextBox ID='zhunkaozhenghao' runat='server' style='border:solid 1px #000000; color:#666666'></asp:TextBox></td></tr>
			<tr><td><font face='宋体'>文章类型:</font></td><td width='79%'>
                <asp:DropDownList ID="DropDownList1" runat="server">
                                    <asp:ListItem Value="">请选择...</asp:ListItem>
                          
                                <asp:ListItem>校园动态</asp:ListItem>
                                <asp:ListItem>通知公告</asp:ListItem>
                            </asp:DropDownList></td></tr>
			<tr><td><font face='宋体'>内容:</font></td>
                <td width='79%'>
                   
                        <script id="Content" type="text/plain" style="width:650px;height:200px;"></script>

                                   <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                                   <script type="text/javascript" >


                                       function aaa() {
                                           $("#HiddenField1").val(UE.getEditor('Content').getContent());
                                           if ($("#zhunkaozhenghao").val() == "") { alert("请输入新闻标题!"); }
                                           else if ($("#DropDownList1").val() == "") { alert("请选择新闻栏目!"); }
后面还有 34 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。