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

📄 tlinkadd.jsp

📁 数学网
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312" import="math.login.model.User"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page import="java.util.Date" %>

<html:html locale="true">
  <head>
  <link href="../images/myweb.css" rel="stylesheet" type="text/css">
    <title>tlinkadd.jsp</title>
    <style type="text/css">
    <!--
		body {
		background-image: url(../images/main_bg.gif);
		}
	-->
    </style>
  </head>
  
  <body>
  <html:form action="/admin/tlink/tlinkadd.do" method="POST" enctype="multipart/form-data">
<table width="99%" cellpadding="0"  cellspacing="0" border="0" align="center">
	<tr>
    		<td>
			<table width="82" height="28" border="0" cellpadding="0"  cellspacing="0" background="../images/main_menu_bg.gif">
      				<tr>
        				<td valign="bottom"><div align="center">中考连接添加</div></td>
      				</tr>
    		</table>
		</td>
  	</tr>
</table>
<table width="99%"  cellpadding="3"  cellspacing="1" border="0" align="center" class="main_table">
	<tr>
    		<td colspan="3" align="center" class="main_topbg" >网站后台管理</td>
  	</tr>
    	
  	<tr >
  		<td width="100" class="myweb_td" >标题:</td>
    		<td class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    			<html:text property="tlink_name" size="70"/>
  		</td>
  		<td class="myweb_td" width="260px">
  			 &nbsp;
  		</td>
  	</tr>
  	  	<tr >
  		<td width="100" class="myweb_td" >连接目标:</td>
    		<td class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    			<html:text property="tlink_link" size="70"  value="http://"/>
  		</td>
  		<td class="myweb_td" width="260px">
  			 &nbsp;
  		</td>
  	</tr>
  	<tr>
  		<td class="myweb_td" >
  			 发布人:
  		</td>
    		<td class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
 
    			<%
					User user =(User)session.getAttribute("USER");
    			out.print( user.getUsername());%>
    			<INPUT type="hidden" name="tlink_talkerid" value="<%=user.getId()%>"/>
  		</td>
  		<td class="myweb_td" width="260px">
  			 &nbsp;
  		</td>
  	</tr>
  	<tr>
  		<td class="myweb_td" >
  			 发布时间:
  		</td>
    		<td class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    		<%Date day=new Date();
    		 %>
    		 <%=day.getYear()+1900%>年-<%=day.getMonth()+1%>月-<%=day.getDate()%>日
  		</td>
  		<td class="myweb_td" width="260px">
  			 &nbsp;
  		</td>
  	</tr>
  	<tr>
  	<tr>
  		<td class="myweb_td" >
  			 连接详细内容:
  		</td>
    		<td class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    			<html:textarea property="tlink_content" rows="20" cols="70"></html:textarea>
  		</td>
  		<td class="myweb_td" width="260px">
  			 &nbsp;
  		</td>
  	</tr>
  	<tr>
  		<td class="myweb_td" >
  			上传图片:
  		</td>
    		<td class="myweb_td" onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#ffffff'">
    			<html:file property="theFile"/>
  		</td>
  		<td class="myweb_td" width="260px">
  			&nbsp;
  		</td>
  	</tr>
  	<TR>
  		<td colspan="3" class="myweb_td" align="center">
  			<html:errors/><html:submit value="添加" />
  		</td>
  	</tr>
  </table>
  </html:form>
  </body>
</html:html>

⌨️ 快捷键说明

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