| Hall |
Subject |
Professor |
Start Time |
End Time |
<%
x=now()
current_date_time=year(x) & "-" &month(x) & "-" & day(x)
sql1="select * from info1 where day='"+cday+"' and hall='Seminar Hall (KReSIT)' and ldate is NULL or day='"+cday+"' and hall='Seminar Hall (KReSIT)' and ldate<>'"+current_date_time+"' order by start_time"
response.Write(sql1)
set rs1= objConn.Execute(sql1)
do until rs1.EOF
%>
| <%=rs1("hall")%> |
<%=rs1("course_name")%> |
<%=rs1("prof")%> |
<%stime=rs1("start_time")
etime=rs1("end_time")
stime=replace(stime,".",":")
etime=replace(etime,".",":")
stime1=split(stime,":")
etime1=split(etime,":")
if stime1(1)="3" then
stime=CStr(stime) & "0"
end if
if etime1(1)="3" then
etime=CStr(etime) & "0"
end if
%>
<%=stime%> |
<%=etime%> |
<%
rs1.MoveNext
loop
rs1.close
%>
|
| Hall |
Subject |
Professor |
Start Time |
End Time |
<%
sql1="select * from info1 where day='"+cday+"' and hall='GG' or day='"+cday+"' and hall='A1A2' or day='"+cday+"' and hall='VideoLab' order by hall,start_time"
set rs1= objConn.Execute(sql1)
do until rs1.EOF
if rs1("ldate")=cdate(current_date_time) then
rs1.movenext
else
%>
| <%=rs1("hall")%> |
<%=rs1("course_name")%> |
<%=rs1("prof")%> |
<%stime=rs1("start_time")
etime=rs1("end_time")
stime=replace(stime,".",":")
etime=replace(etime,".",":")
stime1=split(stime,":")
etime1=split(etime,":")
if stime1(1)="3" then
stime=CStr(stime) & "0"
end if
if etime1(1)="3" then
etime=CStr(etime) & "0"
end if
%>
<%=stime%> |
<%=etime%> |
<%
rs1.MoveNext
end if
loop
rs1.close
end if
%>
|