<%
set rs=server.createobject("adodb.recordset")
sql="select top 8 * from jiameng order by jiamengid desc"
rs.open sql,conn,1,1
if rs("name")="" then
response.write("暂无信息！")
else
do while not rs.eof
%>

<table border="0" cellspacing="1" width="96%">
  <tr>
    <td>
<%
    if rs("lx")=1 then
    response.write "<b>[招商]</b>"
    end if
    if rs("lx")=2 then
     response.write "<b>[加盟]</b>"
     end if
      if rs("lx")=3 then
     response.write "<b>[代理]</b>"
     end if
      if rs("lx")=4 then
     response.write "<b>[合作]</b>"
     end if
     %>&nbsp;<a href="zslist.asp?id=<%=rs("jiamengid")%>"><%=left(rs("name"),8)%></a></td>
  </tr>
  <tr>
  <td background="imagess/please_dot_2.gif"></td>
  </tr>
</table>
<%
rs.movenext
loop
end if
%>
