<%if Version=empty then%>
| 您的位置:首页 -> <%=PSort%> <%=Range%>
<%else%>
| Your Location: Homepage -> <%=ESort%> <%=ERange%>
<%end if%>
|
|
<% if ChStyle<> True then %>
| valign=middle colspan=2>
<% dim frontStr,midStr,backStr
if KeyWord<>"" then
i=InStr(1,rs("Title"),KeyWord)
if i<>0 then
frontStr=left(rs("Title"),i-1)
midStr=mid(rs("Title"),i,len(KeyWord))
backStr=right(rs("Title"),len(rs("Title"))-len(frontStr)-len(midStr))
%> <%=frontStr%><%=midStr%><%=backStr%>
<%else%>
<%=rs("Title")%>
<%end if%>
<%else%>
<%=rs("Title")%>
<%end if%>
|
| valign=middle width=50%>
<%
dim tem
'tem=len( cstr(trim(rs("Authors"))) )
'response.write len( trim(rs("Authors")) )
if rs("Authors")<>empty then
if rs("URLlink")<>empty then
if Version=empty then
response.write "作者:"
else
response.write "Author: "
end if
%>
class=linkto<%=left(Version,2)%> ><%=toHTML(rs("Authors"))%>
<% else
if Version=empty then
response.write "作者:"
else
response.write "Author: "
end if%>
<%=toHTML(rs("Authors"))%>
<% end if
else
if Version=empty then
response.write "创建者:"+UserNameByUserID(rs("CreatedBy"))
else
response.write "Created By: "+UserNameEnByUserID(rs("CreatedBy"))
end if%>
<%
end if %>
|
valign=middle width=50%>
<% if Version=empty then
response.write "输入日期:"&toHTML(rs("CreatDate"))&" 阅读次数:"&rs("Hint")
else
response.write "Date: "&toHTML(rs("CreatDate"))&" Hits: "&rs("Hint")
end if %>
|
|
<%else%>
|
<%end if%>
| >
<% dim bfrontStr,bmidStr,bbackStr
if KeyWord<>"" then
i=InStr(1,rs("Body"),KeyWord)
if i<>0 then
j=1
Do While not j=len(rs("Body"))
i=InStr(j,rs("Body"),KeyWord)
if i<>0 then
if j=1 then
bfrontStr=mid(rs("Body"),1,i-1)
else
bfrontStr=mid(rs("Body"),j,i-j)
end if
bmidStr=mid(rs("Body"),i,len(KeyWord))
j=i+len(KeyWord)
%> <%=bfrontStr%><%=bmidStr%><%
else
bbackStr=mid(rs("Body"),j,len(rs("Body"))-j+1)
%><%=bbackStr%>
<% exit do
end if%>
<%Loop%>
<%else%>
<%=rs("Body")%>
<%end if%>
<%else%>
<%=rs("Body")%>
<%end if%>
|
<% If not rs1.eof Then
if Version=empty then
response.write "附件"
else
response.write " | Attachment"
end if %>
<% While not rs1.eof %>
" target="_blank" class=linkto<%=left(Version,2)%>><% =rs1("Attachment") %>
<% rs1.MoveNext %>
<% Wend %>
<% End If %>
|
|
|
|