<!--#include file="../Include/Char.asp" -->
<!--#include file="../Include/Conn.asp" -->

<%
if trim(Request.Cookies("UserID")) = "" or trim(Session("UserID"))=""  THEN
     Response.Redirect("Login.asp")
	 Response.End()
   end if

      ID = checkStr(Request.Cookies("UserID"))
      SET rs=server.createobject("adodb.recordset")
      SQL="SELECT * FROM  CityCard_League WHERE CompanyID ="&ID
      rs.Open SQL,conn,1,1 
       Response.Cookies("LoginCount") = rs("LoginCount")
	   F_Integral=rs("F_Integral")

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>襄樊生活网-商家管理系统</title>
<link href="../css/Menu.css" rel="stylesheet" type="text/css">
<link href="../css/aCardList.css" rel="stylesheet" type="text/css">
<SCRIPT src="../js/029bxw.js" type=text/javascript></SCRIPT>
</head>

<body>
<!--#include file="../Include/cardMenu.htm" -->
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="170" height="500" valign="top" bgcolor="f5f5f5">
      <!--#include file="Left.asp" -->    </td>
    <td width="10" valign="top"></td>
    <td width="600" valign="top"><table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="50" class="p1"> 　<font color="#FF0000"><strong>--生活需要信息，信息源于生活，贴近生活，服务生活！</strong></font></td>
        </tr>
      </table>
      <table width="600" border="1" cellpadding="0" cellspacing="5" bordercolor="e2e2e2" bgcolor="f5f5f5">
        <tr> 
          <td height="25" background="images/about_bj.gif" class="p4">&nbsp;<b>·用户信息</b></td>
      <body onLoad="MM_preloadImages('images/xf_link1b.gif','images/xf_link2b.gif','images/xf_link3b.gif','images/xf_link4b.gif','images/xf_link5b.gif','images/ly_b_2b.gif','images/ly_b_4b.gif','images/ly_b_1b.gif','images/ly_b_3b.gif','images/ly_b_5b.gif')">

      </table>
      <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="5"></td>
        </tr>
        <tr> 
          <td height="1" background="images/line.gif" ></td>
        </tr>
      </table>
      <br>
      <TABLE width="96%" 
      border=0 align="center" cellPadding=0 cellSpacing=0 
      borderColor=#111111 bgcolor="#FFFFFF" id=AutoNumber7 style="BORDER-COLLAPSE: collapse">
        <TBODY>
          <TR valign="top"> 
            <TD colSpan=2> <TABLE  
                              borderColor=#111111 cellSpacing=1 cellPadding=3 
                              width="100%" border=0>
                <TBODY>
                  <TR> 
                    <TD height="20" colspan="4"><font color="#FF6600">·商家活动信息：</font></TD>
                  </TR>
                  <TR> 
                    <TD width="14%" align="right" bgcolor="f2f2f2">公司名称：</TD>
                    <TD width="36%" bgcolor="f2f2f2"> 
					<%Response.write rs("Name")
					'Response.Cookies("UserName") = rs("username")
					%> </TD>
                    <TD width="18%" align="right" bgcolor="f2f2f2">上次登陆时间：</TD>
                    <TD width="32%" bgcolor="f2f2f2"> <%
					Response.write Request.Cookies("LastLoginTime")
					  'Response.Cookies("LoginTime") = now
					 
					  
					%></TD>
                  </TR>
                  <TR> 
                    <TD align="right" bgcolor="f2f2f2">用户类型：</TD>
                    <TD bgcolor="f2f2f2"> <%
					if rs("iscard")=1 then
					 response.write "普通注册会员"
					 else
					 response.write "信息验证会员"
					 end if
					%></TD>
                    <TD align="right" bgcolor="f2f2f2">用户注册时间：</TD>
                    <TD bgcolor="f2f2f2"><%=rs("Adddate")%></TD>
                  </TR>
                </TBODY>
              </TABLE>
              <br> 
              <TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=1 
                        cellPadding=0 width="100%" border=0>
                <TBODY>
                  <TR> 
                    <TD 
                              height=20 colspan="4"><font color="#FF6600">·商家基本信息</font></TD>
                  </TR>
                  <TR> 
                    <TD width=70 height="22" align=right bgColor=f2f2f2>用 户 名：</TD>
                    <TD width="205" bgColor=f2f2f2>　<%=rs("UserName")%></TD>
                    <TD width="206" bgColor=f2f2f2>&nbsp;联 系 人： <%=rs("Linkman")%></TD>
                    <TD width=129 rowspan="5" align="center"><table width="80%" height="88" border="0" cellpadding="0" cellspacing="1" bgcolor="#333333">
                        <tr> 
                          <td align="center" bgcolor="#FFFFFF"> <%
						  if rs("logo")<> "" then
						     Response.Write "<a href='UploadLogoImages/"&rs("logo")&"' target='_blank'><img  src='UploadLogoImages/"&rs("logo")&"' width='95' height='88' border='0' ></a>"
						  else
						     Response.Write "暂无图像"
						  end if
						  %> </td>
                        </tr>
                      </table></TD>
                  </TR>
                  <TR> 
                    <TD width=70 
                              height=22 align=right>商家类型：</TD>
                    <TD>　 <%
  id1 = rs("hangyeid")
 'response.Write id1
  SET rs1=server.createobject("adodb.recordset")
  SQL="SELECT * FROM  T_TradeType WHERE F_ID ="&id1
  rs1.Open SQL,conn,1,1 
  response.Write rs1("F_Value")
  rs1.close
  SET  rs1=nothing
%></TD>
                    <TD>&nbsp;用户等级： <%=rs("grade")%></TD>
                  </TR>
                  <TR> 
                    <TD width=70 
                              height=22 align=right bgColor=f2f2f2>商家地址：</TD>
                    <TD colspan="2" bgColor=f2f2f2>　<%=rs("Address")%></TD>
                  </TR>
                  <TR> 
                    <TD width=70 height=22 align=right>电　　话：</TD>
                    <TD>　<%=rs("Tel")%></TD>
                    <TD>&nbsp;邮　　编：<%=rs("Post")%></TD>
                  </TR>
                  <TR> 
                    <TD width=70 
                              height=22 align=right bgcolor="f2f2f2">付款方式：</TD>
                    <TD bgcolor="f2f2f2">　<%=rs("PayClass")%></TD>
                    <TD bgcolor="f2f2f2">&nbsp;附近学校：<%=rs("Consume")%></TD>
                  </TR>
                  <TR> 
                    <TD align=right height=22>停 车 位：</TD>
                    <TD colspan="2">　<%=rs("car")%></TD>
                    <TD align="center">&nbsp;</TD>
                  </TR>
                  <TR bgcolor="f2f2f2"> 
                    <TD height=22 align=right>特别推荐：</TD>
                    <TD colspan="2">　<%=rs("tbtj")%></TD>
                    <TD align="center">&nbsp;</TD>
                  </TR>
                  <TR> 
                    <TD align=right height=22>营业时间：</TD>
                    <TD colspan="2">　自 <%=rs("startbusinesstime")%>至 <%=rs("endbusinesstime")%> 时</TD>
                    <TD align="center">&nbsp;</TD>
                  </TR>
                  <TR bgcolor="f2f2f2"> 
                    <TD height=22 align=right>优惠期限：</TD>
                    <TD colspan="2">　<%=rs("starttime")%> 至 <%=rs("endtime")%> </TD>
                    <TD align="center">&nbsp;</TD>
                  </TR>
                  <TR> 
                    <TD align=right height=22>单位名称：</TD>
                    <TD>　<%=rs("Name")%></TD>
                    <TD colspan="2">电子邮件：<%=rs("email")%></TD>
                  </TR>
                  <TR bgcolor="f2f2f2"> 
                    <TD width=70 height=22 align=right>单位网址：</TD>
                    <TD colspan="2">　<%=rs("website")%></TD>
                    <TD align="center">&nbsp;</TD>
                  </TR>
                  <TR bgcolor="#FFFFFF"> 
                    <TD width=70 height=22 align=right> 交　　通：</TD>
                    <TD colspan="3">　<%=rs("traffic")%></TD>
                  </TR>
                  <TR bgcolor="f2f2f2"> 
                    <TD width=70 
                            height=93 align=right vAlign=top> 
                      <P style="MARGIN-TOP: 5px">公司简介：</P></TD>
                    <TD colSpan=3 vAlign=top> 
                      <table width="99%" border="0" align="center" cellpadding="0" cellspacing="6">
                        <tr> 
                          <td><%=rs("content")%></td>
                        </tr>
                      </table></TD>
                  </TR>
              </TABLE></TD>
          </TR>
      </TABLE>
	  <%
	    rs.Close
		SET rs = Nothing
	  
	  %>    </td>
    <td valign="top">
	<!--#include file="Inc_Ser.asp"-->
</td>
  </tr>
</table>
<!--#include file="../Include/CopyRight.htm" -->
</body>
</html>
