<%@ Language=VBScript %>
<!--#include File="../Functions2.asp"-->
<!--#include file="../../yns_chklogin.asp" -->
<%
Dim MyConn, SqlUpdate
Set MyConn = Server.CreateObject("Adodb.Connection")
Set MyConn = GetConnection

Dim LinkID
Dim LinkName, LinkURL, Describe

LinkID = Request("LinkID")
If IsNull(LinkID) Or IsEmpty(LinkID) Or Trim(Cstr(LinkID))="" Then
	Response.End
End If

LinkName = Request("LinkName")
LinkURL = Request("LinkURL")
Describe = Cstr(Request("Describe"))

sLinkName = SqlStr(LinkName)
sLinkURL = SqlStr(LinkURL)
sDescribe = SqlStr(Describe)

SqlUpdate = "Update LinkInfo2 Set "
SqlUpdate = SqlUpdate & "LinkName=" & sLinkName & ", "
SqlUpdate = SqlUpdate & "LinkURL=" & sLinkURL & ", "
SqlUpdate = SqlUpdate & "Describe=" & sDescribe & " "
SqlUpdate = SqlUpdate & "Where LinkID=" & LinkID

MyConn.Execute SqlUpdate

MyConn.Close
Set MyConn = Nothing
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">

<link rel="stylesheet" href="../../zf.css">

<TITLE>修改成功</TITLE>
</HEAD>
<BODY bgcolor="#ffffff">

<P>&nbsp;</P>
<table align=center cellpadding=0 cellspacing=2>
  <tr>
    <td align=center colspan=2><font size=4><b>修改成功</b></font></td>
  </tr>
  <tr>
    <td align=center colspan=2>以下是您刚修改的合作单位</td>
  </tr>
  <tr>
    <td align=center colspan=2><hr></td>
  </tr>
  <tr>
    <td align=right>名称：</td>
    <td align=left><%=Server.HTMLEncode(LinkName)%></td>
  </tr>
  <tr>
    <td align=right>地址：</td>
    <td align=left><%=Server.HTMLEncode(LinkURL)%></td>
  </tr>
  <tr>
    <td align=right>说明：</td>
    <td align=left><TEXTAREA rows=6 cols=60 name=Describe readonly><%=Server.HTMLEncode(Describe)%></TEXTAREA></td>
  </tr>
  <tr><td colspan=2><HR></td></tr>
  <tr>
    <td colspan=2 align=right>
     <INPUT type="button" value="继续修改" id=button1 name=button1 class=buttonmanager onclick="window.history.go(-2)">
    <INPUT type="button" value="返回" id=button1 name=button1 class=buttonmanager onclick="window.history.go(-2)">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </td>
  </tr>
</table>

</BODY>
</HTML>
