<%side_news_list_show=site.object_p%>
<!-- object[<%=site.object_p%>]::side_news_list_show -->
<%

site.object(site.object_p).rs.open "select top "&site.object(site.object_p).qu&" * from jins_news_list where news_open=1 order by news_addtime desc",conn,1,1
%>
<table cellpadding="0" cellspacing="0" width="17%" height="109"<%=site.object(site.object_p).style%>>
   	<tr><td height="2%" width="100%" valign="top"><a href="temp.asp?tr=news|search&order_name=news_addtime&order_action=desc"><img border="0" src="<%=site.object(site.object_p).image%>/menu.gif" width="175" height="46"></a></td></tr>
	<tr>
		<td  width="99%" valign="top" align="center" style="padding-bottom: 5px; padding-top:5px">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
<%
if site.object(site.object_p).rs.eof then
response.write "<tr><td><center>目前还没有新闻</center></td></tr>"
else
response.write "<tr><td height='24' background='"&site.object(site.object_p).image&"/dp_bg.gif' style='line-height: 24px; padding-left: 18px'>"
do while not site.object(site.object_p).rs.eof
response.write "<a href='temp.asp?tr=news|detail&id="&site.object(site.object_p).rs("news_id")&"' title='新闻由【"&site.object(site.object_p).rs("news_writer")&"】发布，此新闻已浏览"&site.object(site.object_p).rs("news_clicknum")&"次'>"
if len(trim(site.object(site.object_p).rs("news_title")))>12 then
response.write left(trim(site.object(site.object_p).rs("news_title")),11)&".."
else
response.write trim(site.object(site.object_p).rs("news_title"))
end if
response.write "</a><br>"
site.object(site.object_p).rs.movenext
loop
response.write "</td>"
response.write "</tr>"
end if
site.object(site.object_p).rs.close
%>
		</table>
		</td>
	</tr>
</table>