LinkManage.jsp~41~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:6k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=GBK" %>
- <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
- <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
- <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
- <html>
- <head>
- <title>LinkManage</title>
- <link href="<%=request.getContextPath() %>/Manage/Css/skinv2.0.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- <c:if test="${link != null}">
- window.onload = function(){
- document.getElementById("type").value = <c:out value="${link.lin_Type}" />;
- }
- </c:if>
- </script>
- </head>
- <body bgcolor="#ffffff">
- <html:form method="post" action='<%=request.getContextPath() %>/Manage/Link.do?todo=EditLink'>
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr bgcolor="#cfdbe8">
- <td style="WIDTH: 20px" width="20" bgcolor="#cfdbe8" height="19"> <img height="10" src="<%=request.getContextPath() %>/Manage/images/icon.gif" width="12" alt="" /></td>
- <td valign="middle" bgcolor="#cfdbe8" colspan="2"> 链接管理</td>
- </tr>
- <tr>
- <td style="HEIGHT: 31px" valign="top" align="left" height="80"> </td>
- <td style="HEIGHT: 31px" valign="middle" align="left" colspan="2">
- <img src="<%=request.getContextPath() %>/Manage/images/edit.gif" align="middle" alt="" />
- <c:if test="${param.Type == 1}">
- 集团旗下网站
- </c:if>
- <c:if test="${param.Type == 2}">
- 集团合作伙伴
- </c:if>
- <c:if test="${param.Type == 3}">
- 友情链接
- </c:if>
- </td>
- </tr>
- <tr>
- <td style="HEIGHT: 1px" valign="top" align="left"></td>
- <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
- <td style="HEIGHT: 1px; width: 144px;" valign="top" align="left"></td>
- </tr>
- <tr>
- <td style="HEIGHT: 381px" valign="top" align="left"></td>
- <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
- <br/>
- <table align="left" bgcolor="#cccccc" border="0" cellpadding="1" cellspacing="1" width="98%">
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 链接中文名:
- </td>
- <td style="height: 23px">
- <input type="text" id="txtCatName" name="CName" value='<c:out value="${link.lin_CName}" />' />
- <input type="submit" id="btnSaveCategory" value="保存" />
- <input type="hidden" name="linkID" value='<c:out value="${link.lin_ID}" />' />
- </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 链接英文名:
- </td>
- <td style="height: 23px">
- <input type="text" id="txtOrder" name="EName" value='<c:out value="${link.lin_EName}" />' />
- </td>
- </tr>
- <c:if test="${}">
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 链接图片:
- </td>
- <td style="height: 23px">
- <a href=""><c:out value="${pro.image.filename}" /></a>
- <html:file property="linkImg" size="30"></html:file>
- <input type="hidden" name="imageID" value='<c:out value="${pro.image.id}" />' />
- </td>
- </tr>
- </c:if>
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 链接类型:
- </td>
- <td style="height: 23px">
- <select name="type">
- <option value="1" selected="selected">集团旗下网站</option>
- <option value="2">集团合作伙伴</option>
- <option value="3">友情链接</option>
- </select>
- </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 链接地址:
- </td>
- <td style="height: 23px">
- <input type="text" name="url" value='<c:out value="${link.lin_Url}" />' />
- </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 现有链接:
- </td>
- <td style="height: 23px">
- <table width="520" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td height="25" width="200" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>中文名</strong></td>
- <td width="200" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>英文名</strong></td>
- <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
- </tr>
- </table>
- <div id="divList">
- <c:forEach var="link" items="${linkList}" varStatus="status">
- <table width="520" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td width="200" class="table_Right" height="25">
- <c:out value="${link.lin_CName}" />
- </td>
- <td width="200" class="table_Right">
- <c:out value="${link.lin_EName}" />
- </td>
- <td width="120" align="center" class="table_Right">
- <a href='<%=request.getContextPath() %>/Manage/Link.do?todo=OpenLink&Type=<c:out value="${param.Type}" />&LinkID=<c:out value="${link.lin_ID}" />'>编辑</a>
- |
- <a href='<%=request.getContextPath() %>/Manage/Link.do?todo=DeleteLink&linID=<c:out value="${link.lin_ID}" />'>删除</a>
- </td>
- </tr>
- </table>
- </c:forEach>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </html:form>
- </body>
- </html>