|
|
|
<% if past = 1 then %>
<% else %>
<% end if %>
|
|
<% if past = 1 then %>

<% else %>

<% end if %>
<%
if rstemp.eof then %>
<% if past = 1 then %>
Sorry - no past projects information available at this time
|
<% else %>
Sorry ! No Projects are available
|
<% end if%>
<%
else
rstemp.moveFirst
rstemp.pageSize = numPerPage
totalPages = rstemp.PageCount
rstemp.absolutePage = curPage
count=0
%>
<%
i=((curPage-1)*numPerPage)+1
tlen = 0
do while not rstemp.eof and count < rstemp.pageSize
idinvestor = rstemp("idproject")
pname = rstemp("Title")
'strAryWords = Split(pname, " - ")
'pname1 = strAryWords(0) & " - "
'pname2 = strAryWords(1)
penterdate = rstemp("modifiedon")
jobtitle = rstemp("jobtitle")
projid = idinvestor
strimage = rstemp("imageurl1")
'tlen = tlen + clng(len(idinvestor))
tlen = tlen + clng(len(pname))
'tlen = tlen + clng(len(penterdate))
'tlen = tlen + clng(len(jobtitle))
'tlen = tlen + clng(len(projid))
tlen = tlen + clng(len(rstemp("description")))
if count mod 2 = 0 then
bc="#cccccc"
else
bc="#ffffff"
end if
pTotal=rstemp.RecordCount
currentPage=curPage
if pTotal=1 then
currentPage=1
else
if pTotal mod numPerPage=1 then
if i=pTotal then
currentPage=curPage-1
end if
end if
end if
%>
| <%call gfxSpex(Server.mapPath("backend/imageUpload/"&strImage), w, h, c, strType) %>
<%'call gfxSpex(Server.mapPath("backend/imageUpload/"&strImage), w, h, c, strType) %><%'=pname1%>
<%=pname%> |
<%
i=i+1
count = count + 1
tlen=0
rstemp.moveNext
loop
%>
|
Page <%=curPage%> of <%=rstemp.PageCount%>
|
|
Total <%=(rstemp.RecordCount)%> Projects(s)
|
<%if (rstemp.RecordCount) > (rstemp.PageSize) then %>
|
Pages :
<%if (curPage > 1) then%>
<< First
< Prev
<%end if %>
<%for i= 1 to rstemp.PageCount %>
<%if (cInt(curPage) = i) then %>
<%=i%>
<%else%>
<%=i%>
<%end if%>
<%next%>
<%
if ((curPage+1) <= (rstemp.PageCount)) then%>
Next >
Last >>
<%end if %>
|
<%end if%>
|
<%end if%>
|
|
|
|
| Copyright © Lund Martin Construction |
|
|