home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
WinFiles.com 1998 June
/
WF0698_3.ISO
/
servers-websrv
/
websuite.exe
/
PRIVATE.AP_
/
PRIVATE.AP
Wrap
Text File
|
1998-04-01
|
8KB
|
222 lines
<[
// private.htm - Private Desktop Active Page
// (c) 1997-98 SmartDesk, Inc., All Rights Reserved.
LIBRARY webdesk
desk = new( "PrivateDesktop", param( 1 ), param( 2 ) )
if ( type( desk ) != "O" )
return( 0 )
end
]>
<HTML>
<HEAD>
<TITLE>Private Desktop for <[! desk.FullName ]></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 Private Desktop</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=22%>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Jump</B></FONT></TD>
</TR>
</TABLE>
<p><CENTER><FONT SIZE=2><a href="/desktop/public.htm">Public</a>, <a href="/chat/dir.htm">Chat</a>, <a href="/system/server.htm">Server</a>, <a href="http://www.smartdesk.com/webdesk.html">Help</a>, <a href="/system/srvstats.htm">Stats</a>, <a href="http://my.excite.com">Excite</a>, <a href="_public.htm">Personalize</a></FONT></center></p>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Drives</B></FONT></TD>
</TR>
</TABLE>
<p>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<[
// Drives
y = 1
drives = drivestr( )
cnt = len( drives )
! "<TR>"
for ( i=1; i<=cnt; i++ )
if ( y > 3 )
! "</TR><TR>"
y = 1
end
filename = strextract( driveGetIconName( drives[i] ), ".", 1 ) + ".jpg"
if ( strat( "cdrom", filename ) )
filename = "cdrom2.jpg"
end
! "<TD ALIGN=center><a href=\"drvmgr.htm?Drive=" + drives[i] + ":\"><img src=\"" + filename + "\" width=38 height=37 border=0></a><br> <font size=2>" + drives[i] + ":</font></TD>"
y++
end
! "</TR>"
]>
</TABLE>
</p>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>System Information</B></FONT></TD>
</TR>
</TABLE>
<FONT SIZE=2>
<[
// System Information
host = webHostName( )
addr = webAddrFromHost( host )
! "<P><CENTER>"
! "DOS version " + sysGetDosVersion() + "<br>MS-Windows v" + sysGetWinVersion() + "<br>"
! "http://" + addr + "<br>"
! "</P><P><CENTER>"
prefix = "viewfile.htm?filename="
! "<a href=\"" + prefix + "c:\\autoexec.bat\">autoexec.bat</a>, <a href=\"" + prefix + "c:\\config.sys\">config.sys</a>, "
! "<a href=\"" + prefix + dirwindows( ) + "\\system.ini\">system.ini</a>, <a href=\"" + prefix + dirwindows( ) + "\\win.ini\">win.ini</a>, "
! "<a href=\"" + prefix + dirwindows( ) + "\\protocol.\">protocol</a>, <a href=\"" + prefix + dirwindows( ) + "\\services.\">services</a><br>"
! "</CENTER></P>"
]>
</FONT>
</TD>
<TD NOWRAP WIDTH=13 ALIGN=middle><IMG SRC=<[! desk.dirImages ]>/vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
<IMG SRC=<[! desk.dirImages ]>/vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
<IMG SRC=<[! desk.dirImages ]>/vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
</TD>
<TD WIDTH=54%>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Applications</B></FONT></TD>
<TD BGCOLOR=<[! desk.bclrHdr ]> VALIGN="center" ALIGN=right><a href="_apps.htm"><img src="more.jpg" border=0 width=16 height=16></a></TD>
</TR>
</TABLE>
<[
// Application List
! DisplayApps( desk )
]>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Useful Stuff</B></FONT></TD>
<TD BGCOLOR=<[! desk.bclrHdr ]> VALIGN="center" ALIGN=right><a href="_stuff.htm"><img src="more.jpg" border=0 width=16 height=16></a></TD>
</TR>
</TABLE>
<[
! DisplayUsefulStuff( desk, 2 )
]>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Documents</B></FONT></TD>
<TD BGCOLOR=<[! desk.bclrHdr + " VALIGN=center ALIGN=right><a href=\"apprun.htm?cat=_system_&item=FileManager&data=" + webServerHome( desk.websrvr ) + "\\desktop\\docs" + "\">" ]><img src="more.jpg" border=0 width=16 height=16></a></TD>
</TR>
</TABLE>
<[
// Document List
fname = fileFindFirst( desk.dirDocs + "\\*.*", 0 )
if ( ! strempty( fname ) )
i = 1
while ( ! strempty( fname ) )
files[ i++ ] = lower( fname )
fname = fileFindNext( )
end
asort( @files )
! "<TABLE BORDER=0 WIDTH=100% CELLSPACING=0 CELLPADDING=0>"
for ( i=1; i<=len( files ); i++ )
filename = webServerFile( desk.websrvr, "/desktop/docs/" + files[i] )
! " <TR>"
! " <TD VALIGN=\"top\" WIDTH=55%>"
if ( IsWin32( ) )
f = lfnShortToLong( filename )
f = right( f, len( f ) - atlast( "\\", f ) - 1 )
! " <a href=\"/desktop/docs/" + files[i] + "\"><FONT SIZE=2>" + f + "</a></FONT>"
else
! " <a href=\"/desktop/docs/" + files[i] + "\">" + files[i] + "</a>"
end
! " </TD>"
! " <TD ALIGN=right WIDTH=15%><FONT SIZE=2>" + right( "0" + alltrim( fileDate( filename ) ), 8 ) + "</FONT></TD>"
! " <TD ALIGN=right WIDTH=15%><FONT SIZE=2>" + fileTime( filename ) + "</FONT></TD>"
! " <TD ALIGN=right WIDTH=15%><FONT SIZE=2>" + strcommas( "" + fileSize( filename ) ) + "</FONT></TD>"
! " </TR>"
end
! "</TABLE>"
end
]>
</TD>
<TD NOWRAP WIDTH=13 ALIGN=middle><IMG SRC=<[! desk.dirImages ]>/vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
<IMG SRC=<[! desk.dirImages ]>/vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
<IMG SRC=<[! desk.dirImages ]>/vspots.gif WIDTH=1 HEIGHT=249 HSPACE=6><BR>
</TD>
<TD WIDTH=22%>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Calendar</B></FONT></TD>
<TD BGCOLOR=<[! desk.bclrHdr ]> VALIGN="center" ALIGN=right><a href="calendar.htm"><img src="more.jpg" border=0 width=16 height=16></a></TD>
</TR>
</TABLE>
<p>
<[
! DisplayCalendar( )
]>
</p>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BGCOLOR=<[! desk.bclrHdr + "> <FONT SIZE=+0 COLOR=" + desk.fclrHdr + " FACE=" + desk.fontHdr ]>><B>Links</B></FONT></TD>
<TD BGCOLOR=<[! desk.bclrHdr ]> VALIGN="center" ALIGN=right><a href="_links.htm"><img src="more.jpg" border=0 width=16 height=16></a></TD>
</TR>
</TABLE>
<[
// links
! DisplayLinks( desk, 2 )
]>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>