home *** CD-ROM | disk | FTP | other *** search
/ WinFiles.com 1998 June / WF0698_3.ISO / servers-websrv / websuite.exe / TRANS.AP_ / TRANS.AP
Text File  |  1998-04-01  |  3KB  |  83 lines

  1. <[
  2. // WINC - Trans(cript).ap
  3. // (c) 1997 SmartDesk, Inc., All Rights Reserved
  4.  
  5. _apGenerate( )
  6.  
  7. websrvr = 0 + param( 1 )
  8. sessionId = 0 + param( 2 )
  9.  
  10. session  = new( "session", websrvr, sessionId )
  11.  
  12. channel = 0 + session.var( "channel" )
  13. if ( channel < 1 )
  14.     channel = 1
  15. end
  16.  
  17. alias  = session.var( "alias" )
  18.  
  19. id = session.var( "id" )
  20. if ( strempty( id ) || strempty( alias ) )
  21.     session._redir( "One Moment Please...", "sdchat.htm?channel=" + channel )
  22.     return( 0 )
  23. end
  24.  
  25. channels = new( "iniFile", fileFixPath( webServerHome( websrvr ) + "\\chat\\channels.dat" ) )
  26. if ( type( channels ) != "O" )
  27.     session.error( "Unable to locate CHANNELS data file.", "FFFFFF", "000000" )
  28.     return( 0 )
  29. end
  30.  
  31. channelTitle = "<FONT COLOR=\"#FFFF00\">CHANNEL " + channel + "</FONT> " + strextract( channels.getstring( "channels", "" + channel, "" ), "|", 1 )
  32.  
  33. qstr = "?id=" + id + "&channel=" + channel + "&alias=" + alias
  34.  
  35. ]>
  36. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  37. <!-- SmartDesk Active Page, www.smartdesk.com -->
  38. <HTML>
  39. <HEAD>
  40. <TITLE>WINC Chat</TITLE>
  41. </HEAD>
  42. <BODY BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#00FFFF" VLINK="#00FFFF" ALINK="#00FFFF">
  43. <FONT SIZE=1>
  44.  
  45. <TABLE BORDER=0 WIDTH=600>
  46.  <TR>
  47.   <TD WIDTH=100 VALIGN="top">
  48.    <A HREF="chatcmd.htm<[ ! qstr ]>&cmd=logoff" TARGET="_top"><IMG SRC="chathdr.jpg" WIDTH=100 HEIGHT=75 BORDER=0></A><BR>
  49.   </TD>
  50.   <TD WIDTH=500 VALIGN="top">
  51.  
  52.    <FORM ACTION="chatcmd.htm" METHOD="GET" TARGET="winc_bottom">
  53.     <INPUT TYPE="hidden" NAME="cmd" VALUE="transcript">
  54.     <INPUT TYPE="hidden" NAME="id" VALUE="<[ ! id ]>">
  55.     <INPUT TYPE="hidden" NAME="alias" VALUE="<[ ! alias ]>">
  56.     <INPUT TYPE="hidden" NAME="channel" VALUE="<[ ! channel ]>">
  57.  
  58.     <B><[ ! channelTitle ]> - Transcript</B><BR>
  59.     <INPUT TYPE="Submit" VALUE=" ---------------- Download the Transcript File ---------------- " ><BR>
  60.  
  61.     <CENTER>
  62.     <FONT SIZE=2>
  63.     <B>
  64.     <A HREF="chat1.htm<[ ! qstr ]>" TARGET="winc_top">Chat</A> | 
  65.     <A HREF="comments.htm<[ ! qstr ]>" TARGET="winc_top">Comments</A> |
  66.     <A HREF="users.htm<[ ! qstr ]>" TARGET="winc_bottom">Users</A> | 
  67.     <A HREF="links.htm<[ ! qstr ]>" TARGET="winc_top">Links</A> | 
  68.     <A HREF="images.htm<[ ! qstr ]>" TARGET="winc_top">Images</A> | 
  69.     <A HREF="sounds.htm<[ ! qstr ]>" TARGET="winc_top">Sounds</A> |
  70.     <A HREF="sdchat.htm<[ ! qstr ]>&cmd=Preferences" TARGET="_top">Preferences</A> | 
  71.     <A HREF="chatcmd.htm<[ ! qstr ]>&cmd=logoff" TARGET="_top">Logoff</A>
  72.     </B>
  73.     </FONT>
  74.     </CENTER>
  75.    </FORM>
  76.   </TD>
  77.  </TR>
  78. </TABLE>
  79.  
  80. </FONT>
  81. </BODY>
  82. </HTML>
  83.