<%
if session("M_login")="" or session("M_pwd")="" then
response.redirect "member_login.asp"
response.end
end if

M_login=session("M_login")
M_id=session("M_id")
sql="Select * from SL_member Where M_login='"&M_login&"'"
		set rs=Server.CreateObject("ADODB.RecordSet")
		rs.open sql,conn,1,1
		M_pwd=rs("M_pwd")
		M_name=rs("M_name")
		M_code=rs("M_code")
		M_fen=rs("M_fen")
		M_pic=rs("M_pic")
		M_email=rs("M_email")
		M_qq=rs("M_qq")
		M_add=rs("M_add")
		M_mobile=rs("M_mobile")
		M_pic="member.jpg"
		if rs("M_pic")<>"" then
		M_pic=rs("M_pic")
		end if
		if M_name="" or isnull(M_name) then
		M_name="未填写"
		end if
		if M_code="" or isnull(M_code) then
		M_code="未填写"
		end if
		if M_mobile="" or isnull(M_mobile) then
		M_mobile="未填写"
		end if
		if M_add="" or isnull(M_add) then
		M_add="未填写"
		end if
		
		rs.close
set rs=nothing
%>