

<table cellspacing=0 cellpadding=0 width="100%" border=0  >
          <tbody>
       	
          <TR> 
	    <td align="center" height=26  background="../images/skin/classmenu/mnu<% = webbg3 %>_bg.gif"><font color="#ffffff">网站新闻</font></td>
			 
            </TR>

            <tr> 
              <td valign="top"   class=tablenews> 
            <%
			 set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 10 articleid,articletitle,addname,adddate from sdx_article where lang=0 order By adddate desc",conn,1,1
			  if rs.eof and rs.bof then
			  response.write "暂无此类文章"
			  else
			  i=0 
			  do while not rs.eof %>
			
              
			<%  response.write "&nbsp;·<a href=article_show.asp?id="&rs("articleid")&" target=_blank >"
				if len(trim(rs("articletitle")))>20 then
				response.write left(trim(rs("articletitle")),18)&"..."
				else
				response.write trim(rs("articletitle"))
				end if
				response.write "</a><br>" %>
				
				<%
				i=i+1
			  if i>=10 then exit do
			  rs.movenext
			  loop 
			  rs.close
			  set rs=nothing
			  end if%>

            </td>
            </tr>
                <TR> 
			  <td   align="center" height=5 ></td>
			 
            </TR>
          </tbody>
        </table>
 

