<!--#include file="../Include/Conn.jsp" -->
<!--#include file="../Include/const.jsp" -->
<HTML>
<HEAD>
<TITLE><%=site_info(0)%> - 打折商家名录</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT src="../include/adload.js" 
type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<style type="text/css">
<!--
a:active {
	color: #333333;
	text-decoration: underline;
}
a:link {
	color: #000000;
	text-decoration: underline;
}
a:hover {
	color: #333333;
	text-decoration: underline;
}
a:visited {
	color: #000000;
	text-decoration: underline;
}
-->
</style>
</HEAD>
<BODY bgColor=#ffffff>
<TABLE style="TABLE-LAYOUT: fixed; WIDTH: 100%" cellSpacing=0 cellPadding=1 
border=0>
  <TBODY>
    <TR> 
      <TD colspan="2" 
    align=center style="FONT-SIZE: 24pt; FONT-FAMILY: '华文行楷','华文新魏','黑体','宋体'"> 
        <DIV id=title><%=site_info(0)%>打折商家名录</DIV></TD>
    </TR>
    <TR> 
      <TD style="FONT-SIZE: 14px; FONT-FAMILY: '宋体'" 
      align=right>&nbsp;</TD>
      <TD style="FONT-SIZE: 14px; FONT-FAMILY: '宋体'" 
      align=right>

        打印日期：<%=formatdatetime(now,1)%></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE style="TABLE-LAYOUT: fixed; WIDTH: 100%" cellSpacing=0 cellPadding=0 
align=left border=0>
  <COLGROUP>
  <COL width="4%">
  <COL width="22%">
  <COL width="6%">
  <COL width="2%">
  <COL width="30%">
  <COL width="2%">
  <COL width="12%">
  <COL width="2%">
  <COL>
  <TBODY>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
    <TR> 
      <TD style="FONT-SIZE: 10pt; FONT-FAMILY: '宋体'"><strong>荐</strong></TD>
      <TD style="FONT-SIZE: 12pt; FONT-FAMILY: '华文新魏','华文行楷','黑体','宋体'">名称</TD>
      <TD style="FONT-SIZE: 12pt; FONT-FAMILY: '华文新魏','华文行楷','黑体','宋体'" 
    align=right>折扣</TD>
      <TD style="FONT-SIZE: 12pt; FONT-FAMILY: '华文新魏','华文行楷','黑体','宋体'"></TD>
      <TD style="FONT-SIZE: 12pt; FONT-FAMILY: '华文新魏','华文行楷','黑体','宋体'">地址</TD>
      <TD style="FONT-SIZE: 12pt; FONT-FAMILY: '华文新魏','华文行楷','黑体','宋体'"></TD>
      <TD style="FONT-SIZE: 12pt; FONT-FAMILY: '华文新魏','华文行楷','黑体','宋体'">电话</TD>
      <TD style="FONT-SIZE: 12pt; FONT-FAMILY: '华文新魏','华文行楷','黑体','宋体'"></TD>
      <TD style="FONT-SIZE: 12pt; FONT-FAMILY: '华文新魏','华文行楷','黑体','宋体'">备注</TD>
    </TR>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
   
   
    <%
   m_SQL = "SELECT top 12 * from T_TradeType"
   SET rs1 = conn.Execute(m_SQL)
   Do while Not rs1.Eof
   %>
   
    <TR> 
      <TD height="26"></TD>
      <TD style="FONT-FAMILY: '黑体','宋体'" align=left colSpan=8><B><%=rs1("F_Value")%></B></TD>
    </TR>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
	    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>

<%
 m_SQL = "SELECT * FROM CityCard_League WHERE (isCard='1,0' or iscard='1,1') and ischecked=1 and hangyeid = "&rs1("F_ID")& "ORDER BY tuijian desc,companyid desc"
 Set rs2 = conn.Execute(m_SQL)
 Do While Not rs2.Eof
%>
    <TR style="FONT-SIZE: 9pt; FONT-FAMILY: '宋体'"> 
      <TD height="25"><%if rs2("grade") = "金牌商家" then Response.write "金"%><%if rs2("grade") = "银牌商家" then Response.write "银"%></TD>
      <TD><a target="_blank" href="Show.asp?id=<%=rs2("companyid")%>"><%=rs2("name")%></a></TD>
      <TD align=right><%=rs2("agio")%></TD>
      <TD>&nbsp;&nbsp;</TD>
      <TD><%=rs2("address")%></TD>
      <TD>&nbsp;&nbsp;</TD>
      <TD><%=rs2("tel")%></TD>
      <TD>&nbsp;&nbsp;</TD>
      <TD><%=rs2("agiocontent")%></TD>
    </TR>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
<%
rs2.Movenext
Loop
rs1.MoveNext
Loop
%>
	
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="1"></TD>
    </TR>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
    <TR> 
      <TD colSpan=9><IMG height=1 
      src="../Images/gray.gif" 
    width="100%"></TD>
    </TR>
  </TBODY>
</TABLE>


<SCRIPT language=javascript>adLoad();</SCRIPT>
</BODY></HTML>

