home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WinFiles.com 1998 June
/
WF0698_3.ISO
/
servers-websrv
/
websuite.exe
/
CALENDAR.AP_
/
CALENDAR.AP
Wrap
Text File
|
1998-04-01
|
3KB
|
106 lines
<[
// calendar.htm
// Calendar Active Page
// (c) 1997-98 SmartDesk, Inc., All Rights Reserved.
LIBRARY webdesk
desk = new( "PrivateDesktop", param( 1 ), param( 2 ), 0 )
if ( type( desk ) != "O" )
return( 0 )
end
TRY
]>
<HTML>
<HEAD>
<TITLE>Calendar</TITLE>
</HEAD>
<BODY BGCOLOR=<[ ! desk.bclrBody + " TEXT=" + desk.fclrBody + " LINK=" + desk.clrLink + " ALINK=" + desk.clrALink + " VLINK=" + desk.clrVLink ]>>
<p>
<CENTER>
<[ ! desk.templateHeader( ) ]>
<TABLE WIDTH=600 BORDER=0 CELLSPACING=0 CELLPADDING=1>
<TR BGCOLOR=<[! desk.bclrHdr ]>>
<TD VALIGN=bottom NOWRAP><FONT SIZE=+1 COLOR=<[ ! desk.fclrHdr + " FACE=" + desk.fontTitle + "><B> " + desk.fname ]>'s Calendar</B></FONT></TD>
<TD WIDTH=100% ALIGN=right><FONT SIZE=-1 FACE=geneva,arial COLOR=<[ ! desk.fclrHdr + ">" + cdow( jdate( ) ) + ", " + date( "MMMM dd, YYYY " ) + timetostr( time( ), 0 ) + "m" ]></FONT></TD>
</TR>
</TABLE>
<[ ! desk.templateNavBar( ) ]>
</CENTER>
</p>
<TABLE WIDTH=98% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR VALIGN=top>
<TD WIDTH=49%>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD ALIGN=center BGCOLOR=<[! desk.bclrHdr + "><FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr + "><B>" + date( "MMMM, YYYY" ) ]></B></FONT></TD>
</TR>
</TABLE>
<p>
<[
! DisplayCalendar( 1 )
]>
</p>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD WIDTH=48%>
<[ ! DisplayCalendar( ) ]>
</TD>
<TD WIDTH=4%> </TD>
<TD WIDTH=48%>
<[
! DisplayCalendar( )
]>
</TD>
</TR>
</TABLE>
<[
! "<br><CENTER><a href=\"public.htm\"><FONT SIZE=2>Public Desktop</FONT></a> | "
! "<a href=\"private.htm\"><FONT SIZE=2>Private Desktop</FONT></a></CENTER><br>"
]>
</TD>
<TD NOWRAP WIDTH=13 ALIGN=middle><IMG SRC=vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
<IMG SRC=vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
<IMG SRC=vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
</TD>
<TD WIDTH=49%>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "><CENTER><FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr + "><B>" + cdow( jdate( ) ) + ", " + date( "MMMM dd, YYYY" ) + "</B></FONT></CENTER></TD>" ]>
</TR>
</TABLE>
<[
! "<p>" + DisplayDay( ) + "</p>"
]>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
<[
CATCH ( err )
println( 3000, "Error [" + err.errornum + "] at line #" + err.errorline + " (" + ErrorAsText( err.errornum ) + ")" )
return( 0 )
END
]>