|
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
|
|
<%@page import="util.Info"%>
|
|
|
<%@page import="dao.CommDAO"%>
|
|
|
<%@page import="util.PageManager"%>
|
|
|
<html>
|
|
|
<head>
|
|
|
<title>友情连接</title>
|
|
|
|
|
|
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
|
|
|
<script type="text/javascript" src="js/popup.js"></script>
|
|
|
<link rel="stylesheet" href="images/hsgcommon/common.css" type="text/css">
|
|
|
<link rel="stylesheet" href="images/hsgcommon/div.css" type="text/css">
|
|
|
|
|
|
</head>
|
|
|
<script language="javascript">
|
|
|
|
|
|
function hsgxia2shxurxu(nstr,nwbk)
|
|
|
{
|
|
|
if (eval("form1."+nwbk).value.indexOf(nstr)>=0)
|
|
|
{
|
|
|
eval("form1."+nwbk).value=eval("form1."+nwbk).value.replace(nstr+";", "");
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
eval("form1."+nwbk).value=eval("form1."+nwbk).value+nstr+";";
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<body >
|
|
|
<%
|
|
|
|
|
|
String id = request.getParameter("id");
|
|
|
|
|
|
HashMap ext = new HashMap();
|
|
|
|
|
|
new CommDAO().update(request,response,"youqinglianjie",ext,true,false,"");
|
|
|
HashMap mmm = new CommDAO().getmap(id,"youqinglianjie");
|
|
|
|
|
|
%>
|
|
|
<form action="youqinglianjie_updt.jsp?f=f&id=<%=mmm.get("id")%>" method="post" name="form1" onsubmit="return checkform();">
|
|
|
修改友情连接:
|
|
|
<br><br>
|
|
|
|
|
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#cccccc" style="border-collapse:collapse">
|
|
|
|
|
|
<tr><td>网站名称:</td><td><input name='wangzhanmingcheng' type='text' id='wangzhanmingcheng' value='<%= mmm.get("wangzhanmingcheng")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>网址:</td><td><input name='wangzhi' type='text' id='wangzhi' value='<%= mmm.get("wangzhi")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>logo:</td><td><input name='logo' type='text' id='logo' size='50' value='<%= mmm.get("logo")%>' class="form-control" /> <div style="margin-top:16px;"> <input type='button' value='上传' onClick="up('logo')"/></div></td></tr>
|
|
|
<tr>
|
|
|
<td> </td>
|
|
|
<td><input type="submit" name="Submit" value="提交" onClick="return checkform();" class="btn btn-info btn-small" />
|
|
|
<input type="reset" name="Submit2" value="重置" class="btn btn-info btn-small" /></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</form>
|
|
|
|
|
|
</body>
|
|
|
</html>
|
|
|
|
|
|
|