<%rs.open "select top 10 a.id,a.MenuCode,a.Title,a.AddDateTime,b.TypeName from Content a left join ContentType b on a.TypeID=b.TypeID where a.IsStop=0 and a.MenuCode in (select MenuCode from [Index] where AddressCode='02') order by AddDateTime desc",conn,1,1
MenuCode = ""
if not rs.eof then%>
<table width="407" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
	<td height="22" background="/images/L_2.gif" colspan="2">
	  <table width="88%" border="0" align="center" cellpadding="2" cellspacing="0">
		<tr> 
		  <td><strong><font color="#996600">×îÐÂ¶¯Ì¬</font></strong></td>
		</tr>
	  </table>
	</td>
  </tr>
  <tr> 
	<td bgcolor="FFF7E3" valign="top" style="padding-top: 10; padding-left: 5"><a href="content/list.asp?code=1001" target="_blank"><img src="images/index_pic1.jpg" border="0" hspace="8"></a></td>
	<td width="95%" bgcolor="FFF7E3">
	  <table width="100%" border="0" cellspacing="0" cellpadding="5">
		<tr>
		  <td>
			<TABLE width="100%" align="center" cellpadding="0" cellSpacing=0>
			  <%while not rs.eof
			  MenuCode = rs("MenuCode")%>
			  <TR> 
				<TD height="20"><img src="/images/news_dian.gif" align="absmiddle">&nbsp;&nbsp;<A class="ia" href="Content/cshow.asp?id=<%=rs("id")%>" target="_blank"><%=rs("Title")%></A></TD>
			  <TR>
			  <%rs.movenext
			  wend%>
			</TABLE>
		  </td>
		</tr>
		<tr>
		  <td align="right"><a href="Content/list.asp?code=<%=MenuCode%>" target="_blank"><img src="images/more.gif" width="55" height="16" border="0"></a></td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<%end if
rs.cancel:rs.close%>