<!--#include file="public.asp"-->
<!--#include file="record.asp"-->
<!--#include file="products.asp"-->
<!--#include file="showclass.asp"-->
<%
thisfile = "newszong"
thisname = "ÍøÕ¾¹«¸æ"

newscontent = "{@include("&thisfile&")/}"



' {@ShowNewsz()}{/ShowNewsz}

NewsId = CNum(Request.QueryString("id"))
If NewsId>0 Then
	Set Rs = Conn.Execute("select * from news where newsid="& NewsId )
	If Not(Rs.Bof And Rs.Eof) Then
		NewsName = Trim(Rs("newsname"))
		NewsContent = Rs("newscontent")
	End If
	Rs.Close
	Set Rs = Nothing
End If
						
Function ParseShowNewsz(PSize, Html, Pars)
	Dim sPrefix, sQuery, nTPage
	sPrefix = ""
	PSize = CNum(PSize)
	If PSize=0 Then PSize = 20
	nTPage = Request("page")
	sQuery = "select * from news  order by adddate desc"
	ParseShowNewsz = ParseRecord(sPrefix, sQuery, nTPage, PSize, Html)
End Function
%>