<%Response.Charset = "GB2312"
Response.Buffer=True
Response.CacheControl="no-cache"   
Response.Expires=0 %>
<!--#include file="../../manage/checkuserflag.asp"-->
<%call CheckUserFlag("02")%>
<!--#include file="../../Dbconn.asp"-->
<%survey_id=request("survey_id")
Survey_title=request("Survey_title")
Survey_title_exp=request("Survey_title_exp")
'response.write "<br>survey_id=" & survey_id
'response.write "<br>Survey_title=" & Survey_title
'response.write "<br>Survey_title_exp=" & Survey_title_exp
'If Request.ServerVariables("REQUEST_METHOD")="POST" Then
Update_survey_title DataPathFile,Survey_title,Survey_title_exp,survey_id
'end if
function Update_survey_title(DataPathFile,Survey_title,Survey_title_exp,survey_id)
	openDb DataPathFile
	if survey_id>0 then
		DbConn.Execute("UPDATE DC_Title_survey SET Survey_title = '" & Survey_title & "',Survey_title_exp='" & Survey_title_exp & "' WHERE D_T_S_ID = " & survey_id )
		survey_Question_t="<table width=""98%"" cellspacing=""0"" cellpadding=""3"" border=""0"" bgcolor=""#ff9933"" align=""center"">"
		survey_Question_t=survey_Question_t & "<tr><td background=""../../images/s3wcn_bt2.gif"" onMouseOver=""this.style.background='#C2DAFA'"" onMouseOut=""this.style.background='#D8E7FE'"">"
		survey_Question_t=survey_Question_t & "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">"
		survey_Question_t=survey_Question_t & "<tr><td>&nbsp;<img src=""../../images/dian.gif"" width=""10"" height=""9"">&nbsp;<strong><font color=""#000000"" size=""4"">" & Survey_title & "</font></strong></td>"
		survey_Question_t=survey_Question_t & "<td width=""7%"" align=""right"">"
		survey_Question_t=survey_Question_t & "<table width=""40"" border=""0"" cellspacing=""0"" cellpadding=""0"">"
		survey_Question_t=survey_Question_t & "<tr><td><a href=""javascript:edit_survey_Question_title(" & survey_id & ");""><img src=""../../images/edit.gif"" alt=""±à¼­"" width=""15"" height=""13"" border=""0"" /></a></td>"
		survey_Question_t=survey_Question_t & "<td>&nbsp;</td>"
		survey_Question_t=survey_Question_t & "</tr></table></td></tr></table>"
		survey_Question_t=survey_Question_t & "</td></tr></table>"
		survey_Question_t=survey_Question_t & "<table width=""98%"" cellspacing=""1"" cellpadding=""5"" border=""0"" align=""center"" bgcolor=""#D8E7FE"">"
		survey_Question_t=survey_Question_t & "<tr><td bgcolor=""#ffffff"">" & Survey_title_exp & "</td></tr></table>"
		response.write survey_Question_t
	else
		response.write "ÏµÍ³´íÎó£¡"
	end if
	closedb
End function
%>