Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as text by sirin ( 17 years ago )
<%
Sub ShowArticles_None()
%>
<p>Ðа данный момент раздел не Ñодержит материалов.</p>
<%
End Sub
Sub ShowArticles_Content(id,dt,title,subtitle,info,img,note)
%>
<p><%=img%>[<%=Left(dt,10)%>] <a href="<%=location%>?ID=<%=ID%>" target="_blank"><%=title%></a><br><i><%=info%></i><br><%=note%></p>
<%
End Sub
Sub ShowArticles_Number(path,numID,nGlobal,nLocal,numDT)
%>
<div align="center" style="font-size: 11pt; font-weight: bold; color: white; background-color: deepskyblue;">№ <%=nLocal%> (<%=nGlobal%>) <%=GetFullDate(numDT)%> <a href="<%=path%>?ID=<%=numID%>">»</a></div>
<%
End Sub
Sub ShowArticles_Pages(recsCount,pageCount,pageSize,page)
Dim i, istart, istop, iflag
If pageCount > 1 Then
%><p>Ð’Ñего запиÑей <%=recsCount%> | <%
istart = (((page-1)10)*10+1)
iflag = (pageCount10-(page-1)10)
If iflag >= 1 Then
istop = (((page-1)10)*10+10)
Else
istop = (pageCount)
End If
If page > 10 Then
%> <a href="?page=<%=istart-1%>" class="page"><<</a> <%
End If
For i=istart To istop
If i<>page Then
%> <a href="?page=<%=i%>" class="page"><%=i%></a> <%
Else
%> <span class="page"><%=i%></span> <%
End If
Next
If iflag >= 1 Then
%> <a href="?page=<%=istop+1%>" class="page">>></a> <%
End If
%></p><%
End If
End Sub
Sub ShowArticles_ContentArchive(id,dt,title,subtitle,info,img,note)
%>
<p><%=img%>[<%=Left(dt,10)%>] <a href="<%=location%>?ID=<%=ID%>" target="_blank"><%=title%></a><br><i><%=info%></i><br><%=note%></p>
<%
End Sub
%>
Revise this Paste