<!--#include file="../conn.asp"-->
<%
dim type1
type1 = request.QueryString("type1")


if type1 = "yinan" then
	sql = "select * from article where Nclassid=24 and classid=17 order by articleid desc"
	xianshi = "疑难解答"
elseif type1 = "cuxiao" then
	sql = "select * from article where Nclassid=25 and classid=17 order by articleid desc"
	xianshi = "促销信息"
else
	sql = "select * from article where classid=17 order by articleid desc"
	xianshi = "更多信息"
end if

page_size=10
page=request.QueryString("page")
if page="" or isnumeric(page)=false then page=1
prm = "type1="& type1 &"&"
 

rs.open sql,conn,1,1

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>成功案例</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="fq_top.asp"-->
<!--#include file="daohang.asp"-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="270" valign="top" bgcolor="#F0F0F0"><div>
      <div align="center"><img src="img/Snap20.jpg" width="244" height="191" /></div>
    </div></td>
    <td width="10" valign="top"><div style="width:10px;">&nbsp;</div></td>
    <td width="633" valign="top"><div style="margin-top:5px;"><img src="img/Snap30.jpg" width="632" height="128" /></div>
      <div style="margin-top:20px;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" background="img/Snap32.jpg">
          <tr>
            <td width="16%"><div style="background-image:url(img/Snap31.jpg); width:99px; height:29px; line-height:29px; font-weight:bold; color:#999999; text-align:center; font-size:14px;"><%=xianshi%></div></td>
            <td width="84%">&nbsp;</td>
          </tr>
        </table>
        <table width="489" height="23" border="0" align="center" cellpadding="5" cellspacing="0" style=" margin-top:30px;">
        <%
		dim i
		i = 1
		do while not rs.eof and i <=page_size
		%>
          <tr>
            <td width="361" style="border-bottom:dotted 1px #CCCCCC;" class="moren"><div style="width:361px;" class="hiddfont"><%=i&".<a href='viewf.asp?id="& rs("articleid") &"' target='_blank'>"& rs("title") &"</a>"%></div></td>
            <td width="210" style="border-bottom:dotted 1px #CCCCCC;">[<%=formatdatetime(rs("dateandtime"),2)%>]</td>
          </tr>
          <%
		i = i + 1
		rs.movenext
		loop
		rs.close
			  %>
        </table>
        <table width="489" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:20px;">
          <tr>
            <td><%if have = 1 then%>
          <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>
          <%end if%></td>
          </tr>
        </table>
      </div></td>
  </tr> 
</table>
<!--#include file="../model_bottom.asp"-->
</div>
</body>
</html>
