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

📄 linkadd.jsp

📁 前台:文章浏览、发表留言、Game、Music 后台:文章相关:发表文章、修改文章、删除文章、批量移动文章 栏目相关:增加栏目、修改栏目、删除栏目、栏目链接、栏目排序系统栏目分为系统内部栏目和外部栏目
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/app/inc/taglibs2.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><bean:message key="admin.link.title"/></title>
</head>
<body>
<table class="tab1" align="center" width="780px"  cellSpacing="0" cellPadding="0" >
	<tr><td width="20%" valign="top"><%@ include file="adminleft.jsp"%></td>
	<td valign="top" width="80%" class="td_l"><br><br><br><br>
		<table class="tab1"  width="60%" align="center" cellSpacing="0" cellPadding="0">
			<html:form action="/manage/LinkAction.html" method="post">
			<tr class="tr_1">
				<td colspan="2" align="center" class="td_b" height="25px">
				<bean:message key="admin.link.title"/></td>
			</tr>
			<logic:equal name="onelink" property="id" value="0">
				<input type="hidden" name="action" value="insert"/>
			</logic:equal>
			<logic:greaterThan name="onelink" property="id" value="0">
				<input type="hidden" name="id" value="<bean:write name="onelink" property="id"/>">
				<input type="hidden" name="action" value="update"/>
			</logic:greaterThan>
			<input type="hidden" name="id" value="<bean:write name="onelink" property="id"/>">
			
			<tr><td align="center" class="td_b" height="22px" width="30%">
				<bean:message key="admin.link.name"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="text" name="name" value="<bean:write name="onelink" property="name"/>"/>
				</td>
			</tr>
			<tr><td align="center" class="td_b" height="22px">
				<bean:message key="admin.link.url"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;http://
				<input type="text" name="url" value="<bean:write name="onelink" property="url"/>"/>
				</td>
			</tr>
			<tr><td align="center" class="td_b" height="22px">
				<bean:message key="admin.link.type"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<html:select property="type" value="<%=request.getAttribute("type").toString()%>">
						<html:option value="1"><bean:message key="admin.link.image"/></html:option>
						<html:option value="0"><bean:message key="admin.link.text"/></html:option>
					</html:select>
				</td>
			</tr>
			<tr><td align="center" class="td_b" height="22px">
				<bean:message key="admin.link.text"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="text" name="content" value="<bean:write name="onelink" property="content"/>"/>
				</td>
			</tr>
			<tr><td align="center" class="td_b" height="22px">
				<bean:message key="admin.link.image"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="text" name="logo" value="<bean:write name="onelink" property="logo"/>"/></td>
			</tr>
			<tr><td align="center" class="td_b" height="22px">
				<bean:message key="admin.link.master"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="text" name="master" value="<bean:write name="onelink" property="master"/>"/>
				</td>
			</tr>
			<tr><td align="center" class="td_b" height="22px">
				<bean:message key="admin.link.contact"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="text" name="contact" value="<bean:write name="onelink" property="contact"/>"/></td>
			</tr>
			<logic:greaterThan name="onelink" property="id" value="0">
			<tr><td align="center" class="td_b" height="22px">
				<bean:message key="admin.link.check"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<html:select property="checked" value="<%=request.getAttribute("check").toString()%>">
						<html:option value="1"><bean:message key="admin.all.yes"/></html:option>
						<html:option value="0"><bean:message key="admin.all.no"/></html:option>
					</html:select></td>
			</tr>
			</logic:greaterThan>
			<logic:equal name="onelink" property="id" value="0">
				<input type="hidden" name="checked" value="0"/>
			</logic:equal>
			<tr><td align="center" class="td_b" height="22px">
				<bean:message key="admin.link.sort"/></td>
				<td class="td_lb">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="text" name="sort" value="<bean:write name="onelink" property="sort"/>"/></td>
			</tr>
			<tr><td align="center" height="25px" colspan="2">
				<input type="submit" value="<bean:message key="all.submit"/>"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<html:cancel><bean:message key="all.cancel"/></html:cancel>
				</td>
			</tr>
			<tr><td align="center" height="25px" colspan="2"><font color="red"><html:errors/></font></td></tr>
			</html:form>
		</table>
	</td>
	</tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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