 |
<%
'顯示圖片
if Trim(rs("abimg") & " ") <> "" then
addName = UCase(Right(rs("abimg"), 3))
if addName = "JPG" or addName = "GIF" or addName = "PNG" then
%>
" style="background-position:center;background-repeat:no-repeat ">
|
|
 |
" src="http://www.lopon.org.tw/images/spacer.gif" width="296" height="196"> |
 |
|
|
|
<%
js = js & "window.document.images[""abimg_" & i & """].height=imgobj1_" & i & ".height-4;"
js = js & "window.document.images[""abimg_" & i & """].width=imgobj1_" & i & ".width-4;"
else
response.Write(rs("abimg"))
end if
end if
%>
|
 |
| <%=rs("Abstract")%> |
<%
'顯示相關連結
sql_rn = "select p.FilePath, p.PID, p.Subject, p.CatID from tblPost p, tblGP g where p.PID = g.PID and g.GID = " & rs("GID") & " and p.onLine = 'y' order by g.OrderNo "
set rn = server.CreateObject("ADODB.Recordset")
Set rn = conn.Execute(sql_rn)
if not rn.EOF then
%>
|
|
<% end if %>
|