<!--#include file="chkpass.asp" -->
<!-- #Include File=Conn.asp -->
<!-- #Include File=inc/prompt.inc -->
<%
Response.Expires=0
dim successmess
if request("linktype") <> "" then
typeid=trim(request("id"))
linktype=trim(request("linktype"))
sql="update linktype set type='"&linktype&"' where typeid="&typeid
'response.write (sql)
conn.execute(sql)
conn.close
set conn=nothing
successmess="成功！"
backurl="ad_type.asp"
call success
else
%>
<html>
<head>
<title>更改类型名称</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="inc/soonhost.css">
</head>
<br><br><br><br>
<form method="post" action="ad_changetype.asp">
  <table border=1 cellpadding=0 cellspacing=0 width=500 align="center" bordercolor="#0099cc">
    <tr align="center" valign="middle"> 
      <td class=td2  height=15 width=154>更改类型名</td>
      <td class=td2  height=15 width=340> 
        <input type="text" name="linktype" maxlength="20" size="20">
        <input type="submit" name="Submit" value="确定">
        <input type="hidden" name="id" value="<%=request("typeid")%>">
      </td>
    </tr>    
  </table>
  </form>
  </html>  
<% end if %><!--#include file="foot.inc" -->