home *** CD-ROM | disk | FTP | other *** search
- <%@ LANGUAGE="VBSCRIPT" %>
- <% On Error Resume Next
- Set clsTes = Session("TES")
- If clsTes.LoggedIn = False Then
- Set clsTes = Nothing
- Response.Redirect("../loggedout.htm")
- End If
- tResource = Request("Resource")
- dDate = Request("Date")
- tGridBy = Request("GridBy")
- tViewBy = Request("ViewBy")
- tParam = ""
- If Len(dDate) > 0 Then
- tParam="Date=" & CStr(dDate)
- End If
- If Len(tGridBy) > 0 Then
- If Len(tParam) > 0 Then
- tParam = tParam & "&"
- End If
- tParam = tParam & "GridBy=" & tGridBy
- End If
- If Len(tViewBy) > 0 Then
- If Len(tParam) > 0 Then
- tParam = tParam & "&"
- End If
- tParam = tParam & "ViewBy=" & tViewBy
- End If
- If Len(tResource) > 0 Then
- If Len(tParam) > 0 Then
- tParam = tParam & "&"
- End If
- tParam = tParam & "Resource=" & Server.URLEncode(tResource)
- End If
- If Len(tParam) > 0 Then
- tParam = "?" & tParam
- End If
- If Session("NOFRAMES") = True Then
- Response.Redirect("gridview.asp" & tParam)
- End If %>
- <!-- #INCLUDE FILE = "settings/colours.txt" -->
- <HTML>
- <HEAD>
- <META NAME="GENERATOR" Content="Microsoft Visual InterDev 1.0">
- <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
- <TITLE>Timesheet Grid</TITLE>
- </HEAD>
- <% If clsTes.TimesheetViewAccess <> 2 Then 'US_NONE %>
- <FRAMESET SCROLLING="auto" rows="*,30%">
- <FRAME NAME="GRIDVIEW" MARGINHEIGHT=1 SCROLLING="auto" MARGINWIDTH=2 SRC="gridview.asp<%Response.Write(tParam)%>">
- <FRAME NAME="DETAIL" MARGINHEIGHT=1 SCROLLING="auto" MARGINWIDTH=2 SRC="blank.asp">
- <NOFRAMES>
- <!-- #INCLUDE FILE="tooldetail.asp" -->
- </NOFRAMES>
- </FRAMESET>
- <% Else %>
- <BODY BGCOLOR="<%= BackColor %>" LINK="<%= LinkColor %>" VLINK="<%= VLinkColor %>" ALINK="<%= ALinkColor %>" TEXT="<%= TextColor %>">
- <BASEFONT SIZE=2 COLOR="<%= TextColor %>">
-
- Sorry, you do not have access to view timesheets.
- </BODY>
- <% End If %>
- <% Set clsTes = Nothing %>
- </HTML>
-