<%response.expires=0%>
<%Response.Buffer=true%>
<!-- #include file="../conn_lr.asp"-->
<!-- #include file="../css.asp"-->
<%
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
if oabusyusername="" then 
	response.write("<script language=""javascript"">")
	response.write("window.top.location.href='../../default.asp';")
	response.write("</script>")
	response.end
end if
%>

<html>
<head>
<title>市场需求管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000" onselectstart="if(event.srcElement.tagName!='INPUT') event.returnValue=false ">
<%title="市场需求管理"%>
<form name="d" method="post" action="../dbdisp/disp.asp">
<input type="hidden" name="opFlag" value="">
<%
dim conn
Set conn=Server.CreateObject("ADODB.Connection")
DBPath1=server.mappath("../../db/#sdoa.asa")
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath1
set session(sessionname)=conn
set opendb=session(sessionname)
end function
set conn=opendb("oabusy","conn","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from userinf where username='" & oabusyusername&"'"
rs.open sql,conn,1
allow_shichang_manage=rs("allow_shichang_manage")     
conn.close
set conn=nothing
set rs=nothing
if allow_shichang_manage="yes" then
%> 
<input type="hidden" name="LinkFlag" value="000111">
<input type="hidden" name="EnabledAddNew" value="yes">
<%  else   %>
<input type="hidden" name="LinkFlag" value="000100">
<input type="hidden" name="EnabledAddNew" value="no">
<% end if %>
<input type="hidden" name="EditFile" value="../market/edit.asp">
<input type="hidden" name="mFiledsCount" value="13">
<input type="hidden" name="mFileds" value="Name,Id,Bdata,Snumber,Company,Sadd,Sman,Phone,Athing,Web,Mail,Vtext,Fax,">
<input type="hidden" name="mFiledsCaptions" value="产品名称,分类名称,拜访时间,产品编号,单位名称,地址,联系人,联系电话,产品需求状况,网址,电子邮件,备注,传真,">
<input type="hidden" name="mFiledsWidths" value=",,0,0,,0,,0,,0,0,0,0,">
<input type="hidden" name="mSortBy2" value="Name">
<input type="hidden" name="DispFile" value="../market/disp.asp">
<input type="hidden" name="mTable" value="market">
<input type="hidden" name="mTitle" value="市场需求管理">
<input type="hidden" name="mImage" value="../images/market.gif">
</form>
<script language=jscript>
document.all.d.submit()
</script>
</body> 
</html> 
