<%
constr= "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\Inetpub\websites\gpem\crssis\dbs\crssis.mdb"
Set comdb = Server.CreateObject("ADODB.Connection")
comdb.Open constr
if ProjID>0 then
SQLQuery = "SELECT * from people, PersProj B where PersId=B.PrsId and B.PrjId=" & ProjId
elseif PersId>0 then
SQLQuery = "SELECT * from people where PersId=" & PersId
elseif FId>"" then
SQLQuery = "SELECT * from people where field='" & FId & "' order by worder, cat1, name"
imgsize=" width='72' height='103'"
else
SQLQuery = "SELECT * from people, peoplecat where people.cat1=peoplecat.category order by peoplecat.order, worder, name"
imgsize=" width='72' height='103'"
end if
Set stli = comdb.Execute(SQLQuery)
pcat=""
response.write "
"
do until stli.EOF
if pcat<>stli("cat1") then
response.write "| " & stli("cat1") & " |
"
tdcount=0
pcat=stli("cat1")
end if
' style='border:1px #e0e0e0 solid;background-color:#f0fcf0'
if PersId=0 then
response.write " "
response.write " " & stli("Name") & " "
response.write stli("Field") & " "
else
response.write " | "
response.write " " & stli("Name") & "
"
response.write stli("Degree") & " " & stli("Roles")
response.write " Email: " & stli("email") & ""
response.write " - Ph: " & stli("phone") & " - Location: " & stli("Building Room") & " "
if stli("PersURL")>"" then
response.write " My HomePage"
end if
if stli("PublishURL")>"" then
response.write " My Research Publications"
end if
if stli("UQPublishURL")>"" then
response.write " UQ Research Publications"
end if
if stli("UQProjURL")>"" then
response.write " UQ Research Projects"
end if
response.write " "
response.write "CRSSIS Projects/Research
Experience: " & stli("Experience") & "
Interests: "
response.write stli("Interests") & "
<-back"
end if
response.write " | "
tdcount=tdcount+1
if tdcount=5 then
response.write "
"
tdcount=0
end if
stli.MoveNext
loop
response.write "
"
set stli=nothing
set comdb=nothing
%>