<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>影片报错</title>
<script language="javascript" src="Js/JaJa.Login.js"></script>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px; margin:0px;
}
-->
</style>
</head>
<!--#include file="conn.asp"-->
<!--#include file="Cache/QvodCms.Sql.asp"-->
<!--#include file="Include/QvodCms.Fun.asp"-->
<%
Call OpenConn()
Dim action,url_id,ji_id,data_id,urlnameid,url_sv,n,txt,dataname,errabout,errcode,errsubmit
action=Clng(request.QueryString("action"))
url_id=Clng(request.QueryString("u"))
ji_id=Clng(request.QueryString("j")) 
url_sv=Clng(request.QueryString("s")) 
n=Trim(request.QueryString("n")) 
txt=Trim(request.QueryString("txt"))
'Qvodcms_Err.Movie
if action=0 then
%>
<body oncontextmenu="return false" style="OVERFLOW-Y: hidden; OVERFLOW-X: hidden" leftMargin=0 topMargin=0>
<table width="350" border="0" cellspacing="0" cellpadding="0" style="border:1px #B0DCF5 solid; font-size:12px;">
<form id="JaJaform" name="JaJaform" action="?action=1&u=<%=url_id%>&j=<%=ji_id%>&s=<%=url_sv%>" method="post" onSubmit="return JaJaErr()">
  <tr>
    <td height="28" bgcolor="#B4E5FE" style="color:#027DB9; font-size:14px;" align="center"><strong>失效影片，我们会在第一时间内修正</strong></td>
  </tr>
  <tr>
    <td height="136" valign="top" bgcolor="#F5FBFE"><table width="330" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="63" height="25">报名影片：</td>
        <td colspan="2" style="color:#FF0000;"> <%=n&"&nbsp;"&txt%> </td>
       <input type="hidden" name="dataname" value="<%=txt%>" />
       <input type="hidden" name="errsubmit" value="sdaf_____sdfsadfdasf___64deo44tyy8498f95df" />
      </tr>
      <tr>
        <td height="74" style="line-height:18px;">错误提示：<br />
          <font color="#FF0000">*必填</font></td>
        <td colspan="2"><textarea id="errabout"  name="errabout" style="width:260px;height:70px" rows="4" cols="30"></textarea></td>
      </tr>
      <tr>
        <td height="34" style="line-height:18px;">验证码：</td>
        <td width="184"><input id="err_code" name="err_code" style="width:70px;" maxlength="4" class="code" type="text"/>
           <img id='checkcode' src='Include/QvodCms.CheckCode.asp' onClick="this.src='Include/QvodCms.CheckCode.asp?'+Math.random();" style='border: 1px solid #ffffff;cursor:hand; ' /><span onClick="CheckCodeImg.src='Include/QvodCms.CheckCode.asp?'+Math.random();" style="cursor:hand;" alt="看不清,我要换一个"></span></td>
        <td width="83"><input type="submit" value="影片报错" style=" border:1px #B0DCF5 solid; background:#B4E5FE;" /></td>
      </tr>
    </table></td>
  </tr>
  </form>
</table>
<%
Response.end
Else
dataname=Request.Form("dataname")
errabout=left(Request.Form("errabout"),252)
errcode=Trim(Request.Form("err_code"))
errsubmit=Trim(Request.Form("errsubmit"))
       If errcode="" or errcode <> Session("CheckCode")  Then
	      Call QvodCms_Err("验证码错误")
          Response.End()
	   ElseIf errsubmit	<>"sdaf_____sdfsadfdasf___64deo44tyy8498f95df"  Then 
	      Call QvodCms_Err("操作错误")
          Response.End()
	   End if
Set rs = Server.CreateObject("adodb.recordset")
sql = " select * from qvodcms_err where err_urlid="&ji_id&" and err_jiid="&url_id&" and err_sv="&url_sv&" "
		rs.Open sql, Conn, 1, 3
		If Not(rs.bof and rs.eof) Then
			Response.Write("<script>confirm('您的错误报告已经提交成功！');window.close();</script>")
		Else
			rs.addnew
			rs("err_urlid")=ji_id
			rs("err_jiid")=url_id
			rs("err_sv")=url_sv
			rs("err_txt")=dataname
			rs("err_about")=errabout
            rs("err_times")=Now()
			rs.update
		End If
		Response.Write("<script>confirm('您的错误报告已经提交成功！');window.close();</script>")
		rs.close
		set rs=nothing

End If
Call CloseConn()'关闭数据库连接
%>
</body></html>