<!--#include file="conn.asp"-->
<!--#include file="chklogin.asp"-->
<%
dim rs,sql
if request.QueryString("a")="1" then
set rs=server.CreateObject("adodb.recordset")
sql ="Select * from kw_user where username='"&session("userid")&"'"
rs.open sql,conn,1,3
rs("mark")=request.Form("mark")
rs("mark_logo")=request.Form("mark_logo")
rs("mark_url")=request.Form("mark_url")
rs.update
rs.close
set rs=nothing
response.write "<script>alert('修改签名成功!');window.close();</script> "
response.End()
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>专家修改签名</title>
<link href="css.css" rel="stylesheet" type="text/css">
<script language=javascript>
function CheckForm()
{
 	  if (document.markform.mark.value.length>20){
	  alert("签名太长！");
	  document.markform.mark.focus();
	  return false;
      }
}
</script>
</head>
<body><br>
<br>
<br>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="1" class="left_bg">
  <tr align="center" bgcolor="#62A11C">
    <td height="28" colspan="3"><font color="#FFFFFF"><b>专家修改签名</b></font></td>
  </tr>
  <form name="markform" action="usermark.asp?a=1" method="post" onsubmit="return CheckForm();">
  <tr>
    <td width="9" rowspan="3">&nbsp;</td>
    <td width="69" height="101">专家签名：</td>
    <td width="296"><textarea name="mark" cols="32" rows="3" id="mark"></textarea>
      <br>
      <font color="#CC0000">*文字说明，字数20</font></td>
  </tr>
  <tr>
    <td>显示LOGO：</td>
    <td><input name="mark_logo" type="text" id="mark_logo" value="http://www.kuaishow.com/health/logo2.gif" size="43"></td>
  </tr>
  <tr>
    <td height="30">显示URL：</td>
    <td><input name="mark_url" type="text" id="mark_url" value="http://www.kuaishow.com" size="43"></td>
  </tr>
  <tr align="center">
    <td height="40" colspan="3"><input type="submit" name="Submit" value="提交 签名">    </td>
  </tr>
  </form>
</table>
</body>
</html>
