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

📄 xnldadd.jsp

📁 jsp网上书店
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<script language="javascript" src="../js/project_new.js"></script>
<jsp:useBean id="xnldBean" class="MyFly.Bean.xnldBean" scope="request"/>
<%
  request.setCharacterEncoding("gb2312");
%>

<%!
   String Zhuan(String str)
   {
        str=str.replaceAll("&", "&amp;");
        str=str.replaceAll("\"", "&quot;");
        str=str.replaceAll("<", "&lt;");
		str=str.replaceAll(">", "&gt;");
		return str;
   }
%>

<STYLE type=text/css>
BODY {
	BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
}
TABLE {
BORDER-LEFT: 1 px; BORDER-TOP: 1 px
}
TD {
	FONT: 12px 宋体;
	
}
IMG {
	BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
}
A {
	COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
}
A:hover {
	COLOR: #428eff; TEXT-DECORATION: underline
}
.sec_menu {
	BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
}
.menu_title {
	
}
.menu_title SPAN {
	COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
}
.menu_title2 {
	
}
.menu_title2 SPAN {
	COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
}
.style1 {color: #FF0000}
</STYLE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加文章</title>
</head>
<body>
<p>&nbsp;</p>
<table width="800" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
  <form action="xnldInsert.jsp" method="post" onSubmit ="">
    <tr align="center"> 
      <td height="23" colspan="2"> 
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="33" align="center"><div align="center" class="style1">编辑付款说明</div> </td>
          </tr>
        </table>
      </td>
    </tr>
	
	<%
	    if(xnldBean.getNew(1))
		{
	%>
	<tr align="center"> 
      <td width="12%" height="32">文章标题</td>
      <td width="88%" align="left">&nbsp; 
	  <input type="text" size="70" name="title" value="<%=xnldBean.getTitle()%>">
	  </td>
    </tr>
    <tr align="center"> 
      <td height="202">文章内容</td>
      <td align="left">&nbsp;
	  <input type="hidden" name="content" value="<%=Zhuan(xnldBean.getContent())%>">
      <iframe ID="eWebEditor1" src="../../../eWebEditor.jsp?id=content&style=standard" frameborder="0" scrolling="no" width="650" HEIGHT="350"></iframe> 
	  </td>
    </tr>
	<%
	}
	else
	{
	%>
	<tr align="center"> 
      <td width="12%" height="32">文章标题</td>
      <td width="88%" align="left">&nbsp; 
	  <input type="text" size="70" name="title">
	  </td>
    </tr>
    <tr align="center"> 
      <td height="202">文章内容</td>
      <td align="left">&nbsp;
	  <input type="hidden" name="content" value="在此添加内容">
      <iframe ID="eWebEditor1" src="../../../eWebEditor.jsp?id=content&style=standard" frameborder="0" scrolling="no" width="650" HEIGHT="350"></iframe> 
	  </td>
    </tr>
	<%
	}
	%>
    <tr align="center"> 
      <td height="26" colspan="2"><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="16%" align="center">&nbsp;</td>
            <td width="84%" align="center"><div align="left">
  <input type="submit" value="提交">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <input type="reset" value="重置"> 
            </div></td>
          </tr>
        </table></td>
    </tr>
  </form>
</table>
</body>
</html>

⌨️ 快捷键说明

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