<!--#include file="../conn.asp"-->
<!--#include file="left_login.asp"-->
<%
type1 = request.QueryString("type1")			'辨别是团购实例还是我有话说

page=request.QueryString("page")
if page="" or isnumeric(page)=false then page=1

if type1 = "shili" then 
	sql = "select * from article where nkey='团购实例' order by articleid desc"
else
	sql = "select * from tuangou_shuohua order by id desc"
end if

rs.open sql,conn,1,1
page_size = 10
prm = "type1="& type1 &"&"
if not rs.eof then
	have = 1
	rs.pagesize     = page_size
	rs.absolutePage = page
	recordCountNum  = rs.recordcount
else
	have = 0
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%if type1="shili" then response.write "团购实例" else response.write "我有话说"%></title>
<link href="/css/comm.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/comm.js"></script>
<script type="text/javascript" src="/inc/showo_page.js"></script>
</head>

<body>
<div class="bodyDiv">
	<!--#include file="tuangou_top.asp"-->
	<!--#include file="daohang.asp"-->
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="267" valign="top" style="background-image:url(/images/leftbg.gif);">
		<%if session("userId23") = "" then call loginCon() else call logined()%>
		<!--#include file="model_paihang.asp"-->
        <br />
        <!--#include file="model_bidu.asp"--><br />
        <!--#include file="model_liucheng.asp"--><br />
        <!--#include file="model_shili.asp"--></td>
        <td valign="top" width="10">&nbsp;</td>
        <td width="636" valign="top"><div><img src="img/Snap28.jpg" width="631" height="80" /></div>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="4%" height="37" align="center" background="img/Snap29.jpg"><img src="img/Snap30.jpg" width="11" height="11" /></td>
              <td width="96%" background="img/Snap29.jpg" style="font-size:14px; font-weight:bold; color:#3c3837;"><%if type1="shili" then response.write "团购实例" else response.write "我有话说"%></td>
            </tr>
          </table>
        <div>
          <table width="100%" border="0" cellspacing="0" cellpadding="5">
          <%
		dim i
		i = 1
		do while not rs.eof and i <=page_size
		%>
            <tr>
              <td class="moren" style="border-bottom:dotted 1px #CCCCCC;"><%
			  if type1 = "shili" then
			  	response.write "·<a href='viewshili.asp?type1=shili&id="& rs("articleid") &"' target='_blank'>"&rs("title")&"</a>"
			else
				response.write "·<a href='viewshili.asp?type1=shuohua&id="& rs("id") &"' target='_blank'>"&rs("title")&"</a>"
			end if%></td>
            </tr>
            <%
		i = i + 1
		rs.movenext
		loop
		rs.close
			  %>
          </table>
        </div>
        <%if have = 1 then%>
          <div><Script Language="JavaScript">
ShowoPage("<table style='BORDER-COLLAPSE: collapse' borderColor='#111111' height='10' cellSpacing='0' cellPadding='0' width='95%' border='0'><tr><td vAlign='bottom'  style='font-family: Verdana,宋体; font-size: 11.5px; line-height: 15px'>","</td></tr></table>","页次:<font color='red'>","</font>/","","&nbsp;","&nbsp;每页<font color='red'>","</font>&nbsp;","&nbsp;共计:<font color='red'>","</font></td><td vAlign='bottom' align='right'  style='font-family: Verdana,宋体; font-size: 11.5px; line-height: 15px'>","<font face=webdings>9</font>","<font face=webdings>7</font>","<font face=webdings>8</font>","<font face=webdings>:</font>","&nbsp;&nbsp;跳转:","<font color='orange'>[","]</font>","","","<font color='red'>","</font>","","",<%=recordCountNum%>,<%=page_size%>,4,"?p=parm1&<%=prm%>")
</Script></div>
          <%end if%>
        </td>
    </tr>
  </table>
<!--#include file="../model_bottom.asp"-->
</div>
</body>
</html>