<!--#include file="inc/conn.asp"-->
<!--#include file=usercookies.asp-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
BODY{
font-size:9pt
}
.tx1 { height: 20px;font-size: 9pt; border: 1px solid; border-color: #000000; color: #0000FF}
-->
</style>
<%
dim rs,sql,username,per
username=request.cookies("jle")("username")
per=request.cookies("jle")("per")
set rs=server.createobject("adodb.recordset")

if per=username then
sql = "select * from [user] where username='"&username&"'"
else
sql = "select * from [jle_shop] where username='"&username&"'"
end if

rs.open sql,conn,1,3
if rs("hb")<1 then
Response.Write "您的客币余额不足，请联系本站购买或在后台用积分对换！" 
response.end
rs.close
set rs=nothing
else
%>
<SCRIPT language=javascript>
function check() 
{
	var strFileName=document.form.FileName.value;
	if (strFileName=="")
	{
    	alert("请选择要上传的文件");
		document.form.FileName.focus();
    	return false;
  	}
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0">
<form action="upfileinfo.asp" method="post" name="form" onSubmit="return check()" enctype="multipart/form-data">
  <input name="FileName" type="FILE" class="tx1" size="25">
  <input type="submit" name="Submit" value="上传" style="border:1px double rgb(88,88,88);font:9pt">
	不超过200K</form>
</body>
</html>
<%end if%>