home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 March
/
PCWK0397.iso
/
novell
/
webserv3
/
nws30.exe
/
DISK1
/
NETBASIC
/
WEB
/
ABFORM.BAS
next >
Wrap
BASIC Source File
|
1996-09-13
|
2KB
|
81 lines
#include "html.h"
Sub Main
DOC:Heading("Address Book");
DOC:Print( "<BODY BACKGROUND=""/images/image1.gif"">")
DOC:Tag:Begin(DOC_TAG_CENTER)
DOC:Image( "/images/direct.gif", "",400,100)
DOC:Print:H3( "Corporate Employee Address Book")
DOC:Tag:End(DOC_TAG_CENTER)
' CGI script used to process the Address Book request
DOC:Form:Begin( URL("absearch.bas") )
' Creating Address Book HTML form for input
DOC:Paragraph;NewLine
DOC:Tag:Begin( "FONT", "size=+1" )
DOC:Print( "<DD></DD>" );DOC:Form:Input:Text("Name", "", "<IMAGE SRC=/images/eye95.gif ALIGN=MIDDLE HEIGHT=45 WIDTH=100>",50,25,DOC_ALIGN_MIDDLE);
DOC:Tag:End( "FONT" )
DOC:Paragraph
DOC:Print( "<B><DD></DD>Select a search type:</B>" );NewLine
DOC:Paragraph
DOC:Print( "<DD></DD>" );DOC:Form:Input:Radio( "theType", "SN", "Last Name", TRUE );
DOC:Form:Input:Radio( "theType", "GN", "First Name", FALSE );
DOC:Form:Input:Radio( "theType", "OU", "Department", FALSE );
DOC:Form:Input:Radio( "theType", "TL", "Title", FALSE );
DOC:Form:Input:Radio( "theType", "EM", "EMail Address", FALSE );NewLine
DOC:Print( "<DD></DD>" );DOC:Form:Input:Radio( "theType", "LC", "Locality", FALSE );
DOC:Form:Input:Radio( "theType", "DN", "Distinguished Name", FALSE )
DOC:Paragraph
DOC:Format(FALSE)
DOC:Print( "<DD></DD>" );DOC:Form:Input:Submit(" Submit")
DOC:Form:Input:Reset(" Clear form" )
DOC:Form:End
End Sub