C
cvg brown
Hi guys,
I try to use frames on my ASPs. But nothing appears on the screen.
Below you can find the code.
<%@LANGUAGE="VBSCRIPT"%>
<% If Session("teUserName")="" or Session("teUserName")<>"admin" Then
Response.Redirect("index.asp") End If %>
<!--#include file="header.asp"-->
<table border=0 cellspacing=1 cellpadding=2 bgcolor="#ffe4b5"
width="100%">
<tr>
<td class="smallertext"><a href="index.asp">Home</a> » <a
href="protected.asp">A.S.A. Record Form</a> » <a
href="reports.asp">Reports</a></td>
<td class="smallerheader" width=130 align=right valign=bottom><a
href="manage.asp">DB Manage</a></td>
<td class="smallerheader" width=130 align=right>
<%
if session("teLastAccess") <> "" then
response.write "<span title=""User last access was on '" &
formatdatetime(session("teLastAccess"), 1) & "'" & vbCrLf & "at '"&
formatdatetime(session("teLastAccess"), 3) & "'"">"
else
response.write "<span title=""First time access, Welcome."">"
end if
response.write session("teName") & " " & session("teSurname")
&"</span>"
response.write " (<a href=""logout.asp"">Logout</a>)" &"</span>"
response.write "<a href=""passchange.asp"">Change Password</a>"
&"</span>"
%>
</td>
</tr>
</table>
<table width=100%>
<hr class="hrBar" size="1" noshade>
</table>
<frameset framespacing="2" rows="62,*">
<frame name="toolbar" scrolling="no" target="contents"
src="toolbar.asp" marginwidth="0" marginheight="0">
<frameset cols="49%,*">
<frame name="contents" src="contents.asp" scrolling="yes"
marginwidth="0" marginheight="0" target="main">
<frame name="main" src="main.asp" scrolling="auto"
marginwidth="0" marginheight="0">
</frameset>
</frameset>
<!--#include file="footer.asp"-->
I try to use frames on my ASPs. But nothing appears on the screen.
Below you can find the code.
<%@LANGUAGE="VBSCRIPT"%>
<% If Session("teUserName")="" or Session("teUserName")<>"admin" Then
Response.Redirect("index.asp") End If %>
<!--#include file="header.asp"-->
<table border=0 cellspacing=1 cellpadding=2 bgcolor="#ffe4b5"
width="100%">
<tr>
<td class="smallertext"><a href="index.asp">Home</a> » <a
href="protected.asp">A.S.A. Record Form</a> » <a
href="reports.asp">Reports</a></td>
<td class="smallerheader" width=130 align=right valign=bottom><a
href="manage.asp">DB Manage</a></td>
<td class="smallerheader" width=130 align=right>
<%
if session("teLastAccess") <> "" then
response.write "<span title=""User last access was on '" &
formatdatetime(session("teLastAccess"), 1) & "'" & vbCrLf & "at '"&
formatdatetime(session("teLastAccess"), 3) & "'"">"
else
response.write "<span title=""First time access, Welcome."">"
end if
response.write session("teName") & " " & session("teSurname")
&"</span>"
response.write " (<a href=""logout.asp"">Logout</a>)" &"</span>"
response.write "<a href=""passchange.asp"">Change Password</a>"
&"</span>"
%>
</td>
</tr>
</table>
<table width=100%>
<hr class="hrBar" size="1" noshade>
</table>
<frameset framespacing="2" rows="62,*">
<frame name="toolbar" scrolling="no" target="contents"
src="toolbar.asp" marginwidth="0" marginheight="0">
<frameset cols="49%,*">
<frame name="contents" src="contents.asp" scrolling="yes"
marginwidth="0" marginheight="0" target="main">
<frame name="main" src="main.asp" scrolling="auto"
marginwidth="0" marginheight="0">
</frameset>
</frameset>
<!--#include file="footer.asp"-->