⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xw_addnews.aspx

📁 办公自动化系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" validateRequest="false"  CodeFile="xw_addNews.aspx.cs" Inherits="linminchao_xw_addNews" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>

<!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>
    <title>无标题页</title>  
<style type="text/css"> 
div.RoundedCorner{background: #5AAE18} 
b.rtop, b.rbottom{display:block;background: #FFF} 
b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #5AAE18} 
b.r1{margin: 0 4px} 
b.r2{margin: 0 3px} 
b.r3{margin: 0 2px} 
b.rtop b.r4, {margin: 0 1px;height: 1px}
.style1 {
	font-size: 13px;
	color: #FFFFFF;
font-weight: bold;
} 
</style>

<script type="text/javascript" language="JavaScript">
<!--
function check() {
if (document.getElementById("zhuti").value=="") {
window.alert ("请您输入主题 !")
document.getElementById("zhuti").focus()
return false
}
if (document.getElementById("zhuti").value.length>30) {
window.alert ("主题需要30位以内字符 !")
document.getElementById("zhuti").focus()
return false
}
if (document.getElementById("FreeTextBox1").value=="") {
window.alert ("请您输入内容 !")
return false
}
if (document.getElementById("FreeTextBox1").value.length>2000) {
window.alert ("标题需要2000位以内字符 !")
return false
}
return true
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<link href="../../css/link.css" rel="stylesheet" type="text/css"/>
<link href="../../css/input.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
<!--
.style2 {
	color: #CC6633;
	font-weight: bold;
}
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
.style6 {font-size: 12px}
.style9 {color: #000000}
body {
	margin-top: 2px;
}
-->
</style>
<script  type="text/javascript" language="JavaScript">
<!--
function dis()
{
document.form1.submit.value=' 发布..'
document.form1.submit.disabled=true;
return true;
}


//-->
</script>

<script type="text/javascript" language="JavaScript">
<!--
function dis1()
{
document.form11.submit.value=' 查询..'
document.form11.submit.disabled=true;
return true;
}


//-->
</script>
</head>
<body>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<form action="#" method="post" name="form11" id="form11" onsubmit="return dis1()">
<table width="96%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="32%" valign="middle">&nbsp;</td>
<td width="47%" valign="middle">
<div align="right">
<input name="q" type="text" id="q" />
<input name="submit" type="submit" id="submit" style="FONT-SIZE: 12px; HEIGHT: 24px" value=" 查 询 " />
</div>
</td>
<td width="4%">
<div align="right">
<span class="style4">
<img alt="" src="../img/txl/16.gif" width="16" height="16"/>
</span>
</div>
</td>
<td width="7%">
<a href="#"  >浏览新闻</a>
</td><td width="2%">
<img alt="" src="../img/txl/12.gif" width="16" height="16"/></td>
<td width="8%"><div align="center" ><a href="#">新闻管理</a> </div>
</td></tr></table></form></td></tr></table><div class="RoundedCorner"> 
<div align="center"><b class="rtop">
<b class="r1"></b><b class="r2"></b>
<b class="r3"></b>
<b class="r4"></b>
</b> <span class="style1">发 布 新 闻</span></div></div>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18"><tr>
<td height="167" bgcolor="#FFFFFF">
<form name="form1" runat="server" method="post" action="#" onsubmit="return dis()()">
<table width="100%"  border="0" cellpadding="2" cellspacing="0">
<tr bgcolor="#FFFFFF">
<td height="12" colspan="2"></td></tr>
<tr bgcolor="#FFFFFF"><td width="11%" style="height: 27px">  主 题:</td>
<td width="89%" style="height: 27px">
<input runat="server" name="zhuti" type="text" id="zhuti" size="50" maxlength="30"/></td></tr>
<tr bgcolor="#FFFFFF"><td>
<table width="11" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> 内 容:</td></tr>
<tr>
<td><img alt="" src="../img/1.gif" height="46" /></td></tr></table></td>
<td>
<FTB:FreeTextBox ID="FreeTextBox1" runat="server"></FTB:FreeTextBox>
</td></tr>
<tr bgcolor="#FFFFFF">
<td height="23"></td>
<td height="23">
    <input name="submit" runat="server" type="submit" id="submit1" style="FONT-SIZE: 12px; HEIGHT: 27px" onclick="return check()"  value= " 发 布 " onserverclick="submit1_ServerClick" />
    <input name="按钮" type="button" style="FONT-SIZE: 12px; HEIGHT: 27px"   onclick="javascript:history.go(-1)" value= " 取 消 " />
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<br /><img alt="" src='../img/up.gif' width='17' height='12'/><a href='javascript:history.go(-1)'>返 回 </a>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -