<!--#include file="ljconn.asp"-->
<%

Function RemoveHTML(strText) 
Dim RegEx 
Set RegEx = New RegExp 
RegEx.Pattern = "<[^>]*>" 
RegEx.Global = True 
RemoveHTML = RegEx.Replace(strText, "") 
End Function


str="select * from jl where jgid="&request.QueryString("id")&" order by id"
set rs=server.CreateObject("adodb.recordset")
rs.Open str,conn,1,1
if rs.recordcount=0 then
else
while not rs.eof
%>
<table width="663" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="663" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="7"><img src="images/bg_01.jpg" width="7" height="100"></td>
        <td background="images/bg_02.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="127" align="left"><table width="117" border="0" cellpadding="0" cellspacing="1" bgcolor="#E4E4E4">
              <tr>
                <td height="87" align="center" bgcolor="#FFFFFF"><a href="showjl.asp?id=<%=rs("id")%>" target="_blank"><img src="<%if rs("img")="" then%>images/120_0_0.gif<%else%><%=rs("img")%><%end if%>" width="112" height="85" border="0"></a></td>
              </tr>
            </table></td>
            <td align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="25" style=" font-size:12px;"><strong><%=rs("xm")%></strong></td>
              </tr>
              <tr>
                <td align="left" style=" font-size:12px; line-height:20px;color:#666666;"><%=strvalue(RemoveHTML(replace(rs("content"),"&nbsp;","")),100)%></td>
              </tr>
            </table></td>
            <td width="162" align="right" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="6"></td>
              </tr>
              <tr>
                <td align="right"><a href="showjl.asp?id=<%=rs("id")%>" target="_blank"><img src="images/more_dw.jpg" width="32" height="13" border="0"></a></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="8"><img src="images/bg_03.jpg" width="8" height="100"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<%
rs.movenext
wend
end if
rs.close
set rs=nothing
%>
<%
conn.close
set conn=nothing
%>

