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

if id = "" then
	response.write "参数发生错误，请<a href='/index.asp'>返回</a>"
	response.End()
end if

if type1 = "shili" then 
	sql = "select * from article where articleid="& id &""
else
	sql = "select * from tuangou_shuohua where id="& id &""
end if

rs.open sql,conn,1,1
if rs.eof then
	have = false
else
	have = true
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>
</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">
        <%if have = true then%>
        <div style="line-height:40px; text-align:center; font-size:14px;"><%=rs("title")%></div>     
          <table width="80%" height="26" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F5F5F5">
            <tr>
              <td align="center">
			  <%
			  if type1 = "shili" then
			  	response.write "发布时间："& rs("dateandtime")
			  else
			  	response.write "发布时间："& rs("shijian")
			  end if
			  %>
              </td>
            </tr>
          </table>
          <div style="line-height:180%; margin-top:20px; padding-right:10px;">
		<%
		if type1 = "shili" then
			response.write rs("content")
		else
			response.write rs("con")
		end if
		%>
        </div>
        <%else
			response.write "暂无相关信息"
		end if%>
        </td>
    </tr>
  </table>
<!--#include file="../model_bottom.asp"-->
</div>
</body>
</html>