WebRoot/admin/addnews.jsp

(开头部分) 2KB

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

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.itbaizhan.dao.CommDAO"%>
<%@page import="com.itbaizhan.util.Info"%>
 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" type="text/css" href="/foodemarket/admin/commfiles/css/common.css" /> 
	<link rel="stylesheet" type="text/css" href="/foodemarket/admin/commfiles/css/style.css" /> 
	<script type="text/javascript"  src="/foodemarket/fckeditor/fckeditor.js"></script>
 <script language="javascript">
 function fckinit()
 {
   var of = new FCKeditor("content");
		of.BasePath="/foodemarket/fckeditor/";
		of.Height = "240";
		of.ToolbarSet="Default";
		of.ReplaceTextarea();
 }
 </script>
	
  </head>
  <%
  HashMap ext = new HashMap();
  ext.put("infotype","新闻");
  ext.put("savetime",Info.getDateStr());
  new CommDAO().insert(request,response,"news",ext,true,true);
   %>
  <body onload="fckinit();">
  <form name="f1" method="post" action="addnews.jsp?f=f"  >
  	<!-- cellspacing 是单元格之间的距离、cesspadding 是单元格中内容与边框的距离 -->
  	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="mytab" id="table1">
        <tr align="center" style="display: none">
          <td colspan="2"  background="/foodemarket/admin/commfiles/images/bg.gif"
				bgcolor="#FFFFFF" class="STYLE3">添加管理员<br><br><br><br><br></td>
        </tr>
        <tr align="center">
          <td width="20%" align="center"> 信息标题</td>
        <td   align="left"><span class="style1">
      <input name="title" id="title"  type="text" size="75"    /> &nbsp;</span></td>
      </tr>
      
      
       <tr align="center">
          <td width="20%" align="center"> 新闻图片</td>
        <td   align="left"><span class="style1">
     
     <%=Info.getImgUpInfo2(70) %>
     
     
     </span></td>
      </tr>
       
        <tr align="center">
          
          <td align="left" colspan="2"><span class="style1">
            <textarea name="content"     ></textarea>
           
后面还有 18 行代码,购买后查看完整代码

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

AI 解读

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

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