home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
IPADMGR.ZIP
/
SOURCE.ZIP
/
FILECHK.PRG
< prev
next >
Wrap
Text File
|
1996-05-01
|
73KB
|
2,711 lines
*:*****************************************************************************
*:
*: Program: D:\IPADMGR\SOURCE\FILECHK.PRG
*:
*: System: IPADEDIT
*: Author: Jeff Johnson
*: Copyright (c) 1996, BBS Consultants, Inc.
*: Last modified: 05/01/96 22:36
*:
*: Called by: IPADEDIT.PRG
*:
*: Calls: INSTALL.PRG
*:
*: Uses: TEMP.DBF
*: : IPADCFG.DBF
*: : IPADFEES.DBF
*: : IPADMGR.DBF
*: : IPADTEMP.DBF
*: : PAYMENTS.DBF
*: : TRASHCAN.DBF
*: : STATS.DBF
*:
*: Indexes: IPADMGR.NX1
*: : IPADMGR.NX2
*: : IPADMGR.NX3
*: : IPADMGR.NX4
*: : IPADMGR.NX5
*: : IPADMGR.NX6
*: : PAYMENTS.NX1
*: : PAYMENTS.NX2
*: : PAYMENTS.NX3
*: : PAYMENTS.NX4
*: : PAYMENTS.NX5
*: : TRASHCAN.NX1
*: : TRASHCAN.NX2
*: : STATS.NX1
*:
*: Documented 10/01/96 at 13:17 SNAP! version 5.02
*:*****************************************************************************
STORE Space(8) TO Message
SET EXCLUSIVE OFF
*If .Not. File("Ipadcfg.dbf")
* ? "Please run the INSTALL.EXE Program"
* Wait
* Quit
*Endif
IF .NOT. FILE("Ipadcfg.dbf")
? "Please Standby --- Creating Ipadcfg Data Base"
SET EXCLUSIVE ON
CREATE TEMP
USE TEMP
APPEND BLANK
REPLACE field_name WITH "DNS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPMAILS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SLIPUSERS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FTPUSERS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPUSERS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPHEADER",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LOGFILE",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SYS_LOG",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MAIL_LOG",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BILL_LOG",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "VISA",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MASTERCARD",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AMEX",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DISCOVER",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BILLING",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BILL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FORCE_BILL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPMAIL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "EXP_DAYS",;
field_type WITH "N",;
field_len WITH 3,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LOGINS",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MENU",;
field_type WITH "C",;
field_len WITH 4,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AUTH",;
field_type WITH "N",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FLAGS",;
field_type WITH "C",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PRIV",;
field_type WITH "N",;
field_len WITH 3,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NOTIFY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LETTER1",;
field_type WITH "C",;
field_len WITH 12,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LETTER2",;
field_type WITH "C",;
field_len WITH 12,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MESSAGE",;
field_type WITH "C",;
field_len WITH 16,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "KEY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "VERIFY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER1",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER2",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER3",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER4",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ICVERIFY",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "TRANS_TYPE",;
field_type WITH "N",;
field_len WITH 1,;
field_dec WITH 0
DELETE
USE
CREATE ipadcfg.dbf FROM TEMP
USE ipadcfg
APPEND BLANK
REPLACE logfile WITH "Ipadmgr.log",;
visa WITH .y.,;
mastercard WITH .y.,;
billing WITH .y.
REPLACE exp_days WITH 10,;
logins WITH .y.,;
popmail WITH .n.,;
bill WITH .y.
REPLACE trans_type WITH 0
DO install
ENDIF
USE
USE ipadcfg
IF Field(36) = "TRANS_TYPE"
ELSE
STORE dns TO mvar1
STORE popmails TO mvar2
STORE slipusers TO mvar3
STORE ftpusers TO mvar4
STORE popusers TO mvar5
STORE popheader TO mvar6
STORE logfile TO mvar7
STORE sys_log TO mvar8
STORE mail_log TO mvar9
STORE bill_log TO mvar10
STORE visa TO mvar11
STORE mastercard TO mvar12
STORE amex TO mvar13
STORE discover TO mvar14
STORE billing TO mvar15
STORE bill TO mvar16
STORE force_bill TO mvar17
STORE popmail TO mvar18
STORE exp_days TO mvar19
STORE logins TO mvar20
STORE Menu TO mvar21
STORE auth TO mvar22
STORE flags TO mvar23
STORE PRIV TO mvar24
STORE notify TO mvar25
STORE letter_bod TO mvar26
STORE Message TO mvar27
STORE KEY TO mvar28
STORE verify TO mvar29
STORE filter1 TO mvar30
STORE filter2 TO mvar31
STORE filter3 TO mvar32
STORE filter4 TO mvar33
STORE icverify TO mvar34
? "Please Standby --- Modifying Ipad Manager System Data Base"
SET EXCLUSIVE ON
CREATE TEMP
USE TEMP
APPEND BLANK
REPLACE field_name WITH "DNS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPMAILS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SLIPUSERS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FTPUSERS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPUSERS",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPHEADER",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LOGFILE",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SYS_LOG",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MAIL_LOG",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BILL_LOG",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "VISA",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MASTERCARD",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AMEX",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DISCOVER",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BILLING",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BILL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FORCE_BILL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPMAIL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "EXP_DAYS",;
field_type WITH "N",;
field_len WITH 3,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LOGINS",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MENU",;
field_type WITH "C",;
field_len WITH 4,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AUTH",;
field_type WITH "N",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FLAGS",;
field_type WITH "C",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PRIV",;
field_type WITH "N",;
field_len WITH 3,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NOTIFY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LETTER1",;
field_type WITH "C",;
field_len WITH 12,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LETTER2",;
field_type WITH "C",;
field_len WITH 12,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MESSAGE",;
field_type WITH "C",;
field_len WITH 16,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "KEY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "VERIFY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER1",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER2",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER3",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER4",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ICVERIFY",;
field_type WITH "C",;
field_len WITH 50,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "TRANS_TYPE",;
field_type WITH "N",;
field_len WITH 1,;
field_dec WITH 0
DELETE
USE
CREATE ipadcfg.dbf FROM TEMP
USE ipadcfg
APPEND BLANK
REPLACE dns WITH mvar1,;
popmails WITH mvar2,;
slipusers WITH mvar3,;
ftpusers WITH mvar4
REPLACE popusers WITH mvar5,;
popheader WITH mvar6,;
logfile WITH mvar7,;
sys_log WITH mvar8
REPLACE mail_log WITH mvar9,;
bill_log WITH mvar10,;
visa WITH mvar11,;
mastercard WITH mvar12
REPLACE amex WITH mvar13,;
discover WITH mvar14,;
billing WITH mvar15,;
bill WITH mvar16
REPLACE force_bill WITH mvar17,;
popmail WITH mvar18,;
exp_days WITH mvar19,;
logins WITH mvar20
REPLACE Menu WITH mvar21,;
auth WITH mvar22,;
flags WITH mvar23,;
PRIV WITH mvar24
REPLACE notify WITH mvar25,;
letter1 WITH mvar26,;
Message WITH mvar27,;
KEY WITH mvar28
REPLACE verify WITH mvar29,;
filter1 WITH mvar30,;
filter2 WITH mvar31,;
filter3 WITH mvar32
REPLACE filter4 WITH mvar33,;
icverify WITH mvar34
USE
ENDIF
*********************************************************************
SET EXCLUSIVE OFF
IF .NOT. FILE("Ipadfees.dbf")
? "Please Standby --- Creating Ipadfees.dbf Data Base"
SET EXCLUSIVE ON
CREATE TEMP
USE TEMP
APPEND BLANK
REPLACE field_name WITH "DESC",;
field_type WITH "C",;
field_len WITH 40;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PPP_SLIP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FTP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPMAIL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_SLIP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_POP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_FTP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ROUTE",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_MAX_IDLE",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_MAX_CONN",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MAX_LOGINS",;
field_type WITH "N",;
field_len WITH 4,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FTP_DIR",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "READ",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "WRITE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CREATE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DELETE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MKDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RMDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NOREDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ANYDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ANYDRIVE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NODRIVE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PUTANY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SUPER",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_MAX_IDLE",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_MAX_CONN",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DAYS",;
field_type WITH "N",;
field_len WITH 3,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AMOUNT",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "HOURLY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DAILY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_RATE",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "F_RATE",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "MINUTES",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
DELETE
USE
CREATE ipadfees.dbf FROM TEMP
USE ipadfees.dbf
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
USE
ENDIF
USE ipadfees
IF Reccount() = 6
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
APPEND BLANK
REPLACE route WITH "DYNAMIC",;
ppp_slip WITH .y.,;
ftp WITH .y.,;
popmail WITH .y.
REPLACE free_slip WITH .n.,;
free_pop WITH .n.,;
free_ftp WITH .n.
REPLACE READ WITH .y.,;
write WITH .n.,;
CREATE WITH .y.
REPLACE DELETE WITH .n.,;
mkdir WITH .n.,;
rmdir WITH .n.
REPLACE noredir WITH .n.,;
anydir WITH .n.,;
anydrive WITH .n.
REPLACE nodrive WITH .n.,;
putany WITH .n.,;
super WITH .n.
REPLACE max_logins WITH 1,;
ftp_dir WITH "C:\Pub",;
hourly WITH .n.
ENDIF
SET EXCLUSIVE OFF
STORE .F. TO newfile
IF .NOT. FILE("Ipadmgr.dbf")
? "Please Standby --- Creating Userlog Data Base"
STORE .T. TO newfile
SET EXCLUSIVE ON
CREATE TEMP
USE TEMP
APPEND BLANK
REPLACE field_name WITH "S_LOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_PASSWORD",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_LOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_PASSWORD",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_LOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_PASSWORD",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POP_DIR",;
field_type WITH "C",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POP_DOMAIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "KEEP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "HOLD",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LOGIN_NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ADDRESS1",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ADDRESS2",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CITY",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "STATE",;
field_type WITH "C",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ZIP",;
field_type WITH "C",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PHONE",;
field_type WITH "C",;
field_len WITH 12,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "WORK_PHONE",;
field_type WITH "C",;
field_len WITH 12,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BIRTHDATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PPP_SLIP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FTP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_SLIP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_FTP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_POP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AUTO_RENEW",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPMAIL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ROUTE",;
field_type WITH "C",;
field_len WITH 19,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_MAX_IDLE",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_MAX_CONN",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MAX_LOGINS",;
field_type WITH "N",;
field_len WITH 4,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FTP_DIR",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "READ",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "WRITE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CREATE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DELETE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MKDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RMDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NOREDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ANYDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ANYDRIVE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NODRIVE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PUTANY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SUPER",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_MAX_IDLE",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_MAX_CONN",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "JOIN_DATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "EXP_DATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RENEWAL",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DAYS",;
field_type WITH "N",;
field_len WITH 5,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RENEW_LEV",;
field_type WITH "N",;
field_len WITH 2,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RENEW_AMT",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "TOTAL_FEES",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "CARD_NUM",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CARD_DATE",;
field_type WITH "C",;
field_len WITH 5,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CARD_NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_SLOGINS",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_STIME",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_FLOGINS",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_FTIME",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_SMSG",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_RMSG",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_SLOGINS",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_STIME",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_FLOGINS",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_FTIME",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_SMSG",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_RMSG",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "HOURLY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DAILY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BASE_RATE",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "BASE_MIN",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "OVR_T_MINS",;
field_type WITH "N",;
field_len WITH 8,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "S_RATE",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "F_RATE",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "BILL_DATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BILL_AMT",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "LT_BILL_DT",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LT_BILL_AM",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "UPDATE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LOGICAL1",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NOTES",;
field_type WITH "C",;
field_len WITH 70,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "HOST_NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SPARE_1",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
DELETE
USE
CREATE ipadmgr FROM TEMP
USE ipadmgr
INDEX ON Upper(name) TO ipadmgr.nx1
INDEX ON Upper(s_login) TO ipadmgr.nx2
INDEX ON Upper(f_login) TO ipadmgr.nx3
INDEX ON Upper(p_login) TO ipadmgr.nx4
INDEX ON Upper(pop_dir) TO ipadmgr.nx5
INDEX ON Upper(login_name) TO ipadmgr.nx6
SET INDEX TO
USE
USE ipadmgr INDEX ipadmgr.nx1, ipadmgr.nx2, ipadmgr.nx3, ipadmgr.nx4, ipadmgr.nx5
APPEND BLANK
REPLACE f_login WITH "anonymous",;
f_password WITH "*",;
ftp_dir WITH "C:\Pub",;
name WITH "ANONYMOUS FTP LOGIN"
REPLACE ftp WITH .y.,;
free_ftp WITH .y.,;
READ WITH .y.
REPLACE CREATE WITH .y.,;
keep WITH .y.,;
hourly WITH .n.
APPEND BLANK
REPLACE f_login WITH "ftp",;
f_password WITH "*",;
ftp_dir WITH "C:\Pub",;
name WITH "ANONYMOUS FTP LOGIN"
REPLACE ftp WITH .y.,;
free_ftp WITH .y.,;
READ WITH .y.
REPLACE CREATE WITH .y.,;
keep WITH .y.,;
hourly WITH .n.
USE
ENDIF
SET EXCLUSIVE OFF
USE ipadmgr
IF .NOT. FILE("Ipadmgr.nx1")
? "Please Standby --- Rebuilding Ipadmgr.nx1"
USE ipadmgr EXCLUSIVE
INDEX ON Upper(name) TO ipadmgr.nx1
SET INDEX TO
USE ipadmgr INDEX ipadmgr.nx1
USE
ENDIF
USE ipadmgr
IF .NOT. FILE("Ipadmgr.nx2")
? "Please Standby --- Rebuilding Ipadmgr.nx2"
USE ipadmgr EXCLUSIVE
INDEX ON Upper(s_login) TO ipadmgr.nx2
SET INDEX TO
USE ipadmgr INDEX ipadmgr.nx2
USE
ENDIF
USE ipadmgr
IF .NOT. FILE("Ipadmgr.nx3")
? "Please Standby --- Rebuilding Ipadmgr.nx3"
USE ipadmgr EXCLUSIVE
INDEX ON Upper(f_login) TO ipadmgr.nx3
SET INDEX TO
USE ipadmgr INDEX ipadmgr.nx3
USE
ENDIF
USE ipadmgr
IF .NOT. FILE("Ipadmgr.nx4")
? "Please Standby --- Rebuilding Ipadmgr.nx4"
USE ipadmgr EXCLUSIVE
INDEX ON Upper(p_login) TO ipadmgr.nx4
SET INDEX TO
USE ipadmgr INDEX ipadmgr.nx4
USE
ENDIF
USE ipadmgr
IF .NOT. FILE("Ipadmgr.nx5")
? "Please Standby --- Rebuilding Ipadmgr.nx5"
USE ipadmgr EXCLUSIVE
INDEX ON Upper(pop_dir) TO ipadmgr.nx5
SET INDEX TO
USE ipadmgr INDEX ipadmgr.nx5
USE
ENDIF
USE ipadmgr
IF .NOT. FILE("Ipadmgr.nx6")
? "Please Standby --- Rebuilding Ipadmgr.nx6"
USE ipadmgr EXCLUSIVE
INDEX ON Upper(login_name) TO ipadmgr.nx6
SET INDEX TO
USE ipadmgr INDEX ipadmgr.nx6
USE
ENDIF
USE
USE ipadmgr
IF Field(85) = "SPARE_1"
ELSE
? "Please Standby --- Modifying Ipad Manager Data Base"
ERASE ipadtemp.dbf
COPY TO ipadtemp
SET EXCLUSIVE ON
CREATE TEMP
USE TEMP
APPEND BLANK
REPLACE field_name WITH "S_LOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_PASSWORD",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_LOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_PASSWORD",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_LOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_PASSWORD",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POP_DIR",;
field_type WITH "C",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POP_DOMAIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "KEEP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "HOLD",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LOGIN_NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ADDRESS1",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ADDRESS2",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CITY",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "STATE",;
field_type WITH "C",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ZIP",;
field_type WITH "C",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PHONE",;
field_type WITH "C",;
field_len WITH 12,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "WORK_PHONE",;
field_type WITH "C",;
field_len WITH 12,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BIRTHDATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PPP_SLIP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FTP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_SLIP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_FTP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FREE_POP",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AUTO_RENEW",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "POPMAIL",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FILTER",;
field_type WITH "C",;
field_len WITH 15,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ROUTE",;
field_type WITH "C",;
field_len WITH 19,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_MAX_IDLE",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "S_MAX_CONN",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MAX_LOGINS",;
field_type WITH "N",;
field_len WITH 4,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FTP_DIR",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "READ",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "WRITE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CREATE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DELETE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "MKDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RMDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NOREDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ANYDIR",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ANYDRIVE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NODRIVE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PUTANY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SUPER",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_MAX_IDLE",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "F_MAX_CONN",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "JOIN_DATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "EXP_DATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RENEWAL",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DAYS",;
field_type WITH "N",;
field_len WITH 5,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RENEW_LEV",;
field_type WITH "N",;
field_len WITH 2,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "RENEW_AMT",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "TOTAL_FEES",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "CARD_NUM",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CARD_DATE",;
field_type WITH "C",;
field_len WITH 5,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CARD_NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_SLOGINS",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_STIME",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_FLOGINS",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_FTIME",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_SMSG",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "C_RMSG",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_SLOGINS",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_STIME",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_FLOGINS",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_FTIME",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_SMSG",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "P_RMSG",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "HOURLY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "DAILY",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BASE_RATE",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "BASE_MIN",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "OVR_T_MINS",;
field_type WITH "N",;
field_len WITH 8,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "S_RATE",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "F_RATE",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "BILL_DATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "BILL_AMT",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "LT_BILL_DT",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LT_BILL_AM",;
field_type WITH "N",;
field_len WITH 6,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "UPDATE",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "LOGICAL1",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NOTES",;
field_type WITH "C",;
field_len WITH 70,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "HOST_NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SPARE_1",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
DELETE
USE
CREATE ipadmgr FROM TEMP
USE ipadmgr
USE
SET EXCLUSIVE OFF
SELECT 2
USE ipadmgr
SELECT 1
USE ipadtemp
DO WHILE .NOT. Eof()
@ 5,10 SAY "Record in: " + Str(Recno(),7)
STORE s_login TO mvar1
STORE s_password TO mvar2
STORE f_login TO mvar3
STORE f_password TO mvar4
STORE p_login TO mvar5
STORE p_password TO mvar6
STORE pop_dir TO mvar7
STORE pop_domain TO mvar8
STORE keep TO mvar9
STORE hold TO mvar10
STORE login_name TO mvar11
STORE name TO mvar12
STORE address1 TO mvar13
STORE address2 TO mvar14
STORE city TO mvar15
STORE State TO mvar16
STORE zip TO mvar17
STORE phone TO mvar18
STORE birthdate TO mvar19
STORE ppp_slip TO mvar20
STORE ftp TO mvar21
STORE free_slip TO mvar22
STORE free_ftp TO mvar23
STORE free_pop TO mvar24
STORE auto_renew TO mvar25
STORE popmail TO mvar26
STORE FILTER TO mvar27
STORE route TO mvar28
STORE s_max_idle TO mvar29
STORE s_max_conn TO mvar30
STORE max_logins TO mvar31
STORE ftp_dir TO mvar32
STORE READ TO mvar33
STORE write TO mvar34
STORE CREATE TO mvar35
STORE DELETE TO mvar36
STORE mkdir TO mvar37
STORE rmdir TO mvar38
STORE noredir TO mvar39
STORE anydir TO mvar40
STORE anydrive TO mvar41
STORE nodrive TO mvar42
STORE putany TO mvar43
STORE super TO mvar44
STORE f_max_idle TO mvar45
STORE f_max_conn TO mvar46
STORE join_date TO mvar47
STORE exp_date TO mvar48
STORE renewal TO mvar49
STORE days TO mvar50
STORE renew_lev TO mvar51
STORE renew_amt TO mvar52
STORE total_fees TO mvar53
STORE card_num TO mvar54
STORE card_date TO mvar55
STORE card_name TO mvar56
STORE c_slogins TO mvar57
STORE c_stime TO mvar58
STORE c_flogins TO mvar59
STORE c_ftime TO mvar60
STORE c_smsg TO mvar61
STORE c_rmsg TO mvar62
STORE p_slogins TO mvar63
STORE p_stime TO mvar64
STORE p_flogins TO mvar65
STORE p_ftime TO mvar66
STORE p_smsg TO mvar67
STORE p_rmsg TO mvar68
STORE hourly TO mvar69
STORE daily TO mvar70
STORE base_rate TO mvar71
STORE base_min TO mvar72
STORE ovr_t_mins TO mvar73
STORE s_rate TO mvar74
STORE f_rate TO mvar75
STORE bill_date TO mvar76
STORE bill_amt TO mvar77
STORE lt_bill_dt TO mvar78
STORE lt_bill_am TO mvar79
STORE UPDATE TO mvar80
STORE logical1 TO mvar81
STORE notes TO mvar82
STORE host_name TO mvar83
STORE work_phone TO mvar84
SELECT 2
APPEND BLANK
@ 6,10 SAY "Record out: " + Str(Recno(),7)
REPLACE s_login WITH mvar1,;
s_password WITH mvar2,;
f_login WITH mvar3
REPLACE f_password WITH mvar4,;
p_login WITH mvar5,;
p_password WITH mvar6
REPLACE pop_dir WITH mvar7,;
pop_domain WITH mvar8,;
keep WITH mvar9
REPLACE hold WITH mvar10,;
login_name WITH mvar11
REPLACE name WITH mvar12,;
address1 WITH mvar13,;
address2 WITH mvar14
REPLACE city WITH mvar15,;
State WITH mvar16,;
zip WITH mvar17
REPLACE phone WITH mvar18,;
birthdate WITH mvar19,;
ppp_slip WITH mvar20
REPLACE ftp WITH mvar21,;
free_slip WITH mvar22,;
free_ftp WITH mvar23
REPLACE free_pop WITH mvar24,;
auto_renew WITH mvar25,;
popmail WITH mvar26
REPLACE FILTER WITH mvar27,;
route WITH mvar28,;
s_max_idle WITH mvar29
REPLACE s_max_conn WITH mvar30,;
max_logins WITH mvar31,;
ftp_dir WITH mvar32
REPLACE READ WITH mvar33,;
write WITH mvar34,;
CREATE WITH mvar35
REPLACE DELETE WITH mvar36,;
mkdir WITH mvar37,;
rmdir WITH mvar38
REPLACE noredir WITH mvar39,;
anydir WITH mvar40,;
anydrive WITH mvar41
REPLACE nodrive WITH mvar42,;
putany WITH mvar43,;
super WITH mvar44
REPLACE f_max_idle WITH mvar45,;
f_max_conn WITH mvar46,;
join_date WITH mvar47
REPLACE exp_date WITH mvar48,;
renewal WITH mvar49,;
days WITH mvar50
REPLACE renew_lev WITH mvar51,;
renew_amt WITH mvar52,;
total_fees WITH mvar53
REPLACE card_num WITH mvar54,;
card_date WITH mvar55,;
card_name WITH mvar56
REPLACE c_slogins WITH mvar57,;
c_stime WITH mvar58,;
c_flogins WITH mvar59
REPLACE c_ftime WITH mvar60,;
c_smsg WITH mvar61,;
c_rmsg WITH mvar62
REPLACE p_slogins WITH mvar63,;
p_stime WITH mvar64,;
p_flogins WITH mvar65
REPLACE p_ftime WITH mvar66,;
p_smsg WITH mvar67,;
p_rmsg WITH mvar68
REPLACE hourly WITH mvar69,;
daily WITH mvar70,;
base_rate WITH mvar71
REPLACE base_min WITH mvar72,;
ovr_t_mins WITH mvar73,;
s_rate WITH mvar74
REPLACE f_rate WITH mvar75,;
bill_date WITH mvar76,;
bill_amt WITH mvar77
REPLACE lt_bill_dt WITH mvar78,;
lt_bill_am WITH mvar79,;
UPDATE WITH mvar80
REPLACE logical1 WITH mvar81,;
NOTES With Mvar82,;
host_name WITH mvar83
REPLACE work_phone WITH mvar84
SELECT 1
SKIP
LOOP
ENDDO
ENDIF
USE
SET EXCLUSIVE OFF
IF .NOT. FILE("Payments.dbf")
? "Please Standby --- Creating Payments Database"
SET EXCLUSIVE ON
CREATE TEMP
USE TEMP
APPEND BLANK
REPLACE field_name WITH "DATE",;
field_type WITH "D",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "SLOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "PLOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "FLOGIN",;
field_type WITH "C",;
field_len WITH 25,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AMOUNT",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 2
APPEND BLANK
REPLACE field_name WITH "CARD_NUM",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CARD_DATE",;
field_type WITH "C",;
field_len WITH 5,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CARD_NAME",;
field_type WITH "C",;
field_len WITH 30,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "AUTO_RENEW",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CARD",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CASH",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "VOID",;
field_type WITH "L",;
field_len WITH 1,;
field_dec WITH 0
DELETE
USE
CREATE payments FROM TEMP
USE payments
INDEX ON Lower(name) TO payments.nx1
INDEX ON Lower(slogin) TO payments.nx2
INDEX ON Lower(plogin) TO payments.nx3
INDEX ON Lower(flogin) TO payments.nx4
INDEX ON Date TO payments.nx5
USE
ENDIF
SET EXCLUSIVE OFF
IF .NOT. FILE("Payments.nx1")
? "Please Standby --- Rebuilding Payments.nx1"
SET EXCLUSIVE ON
USE payments
INDEX ON Lower(name) TO payments.nx1
SET INDEX TO
USE payments INDEX payments.nx1
USE
ENDIF
SET EXCLUSIVE OFF
IF .NOT. FILE("Payments.nx2")
? "Please Standby --- Rebuilding Payments.nx2"
SET EXCLUSIVE ON
USE payments
INDEX ON Lower(slogin) TO payments.nx2
SET INDEX TO
USE payments INDEX payments.nx2
USE
ENDIF
SET EXCLUSIVE OFF
IF .NOT. FILE("Payments.nx3")
? "Please Standby --- Rebuilding Payments.nx3"
SET EXCLUSIVE ON
USE payments
INDEX ON Lower(plogin) TO payments.nx3
SET INDEX TO
USE payments INDEX payments.nx3
USE
ENDIF
SET EXCLUSIVE OFF
IF .NOT. FILE("Payments.nx4")
? "Please Standby --- Rebuilding Payments.nx4"
SET EXCLUSIVE ON
USE payments
INDEX ON Lower(flogin) TO payments.nx4
SET INDEX TO
USE payments INDEX payments.nx4
USE
ENDIF
SET EXCLUSIVE OFF
IF .NOT. FILE("Payments.nx5")
? "Please Standby --- Rebuilding Payments.nx5"
SET EXCLUSIVE ON
USE payments
INDEX ON Date TO payments.nx5
SET INDEX TO
USE payments INDEX payments.nx5
USE
ENDIF
USE
SET EXCLUSIVE OFF
IF .NOT. FILE("Trashcan.dbf")
STORE .T. TO newfile
? "Please Standby --- Creating Trashcan Database"
SET EXCLUSIVE ON
CREATE TEMP
USE TEMP
APPEND BLANK
REPLACE field_name WITH "PHRASE",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "CARD",;
field_type WITH "C",;
field_len WITH 20,;
field_dec WITH 0
DELETE
USE
CREATE trashcan FROM TEMP
USE trashcan
INDEX ON Upper(phrase) TO trashcan.nx1
INDEX ON card TO trashcan.nx2
SET INDEX TO
USE trashcan INDEX trashcan.nx1, trashcan.nx2
APPEND BLANK
REPLACE card WITH "5454545454545454"
APPEND BLANK
REPLACE card WITH "4321123443211234"
APPEND BLANK
REPLACE card WITH "4242424242424242"
USE
ENDIF
SET EXCLUSIVE OFF
IF .NOT. FILE("Trashcan.nx1")
? "Please Standby --- Rebuilding Trashcan.nx1"
SET EXCLUSIVE ON
USE trashcan
INDEX ON Upper(phrase) TO trashcan.nx1
SET INDEX TO
USE trashcan INDEX trashcan.nx1
USE
ENDIF
IF .NOT. FILE("Trashcan.nx2")
? "Please Standby --- Rebuilding Trashcan.nx2"
SET EXCLUSIVE ON
USE trashcan
INDEX ON card TO trashcan.nx2
SET INDEX TO
USE trashcan INDEX trashcan.nx2
USE
ENDIF
USE
SET EXCLUSIVE OFF
IF .NOT. FILE("Stats.dbf")
STORE .T. TO newfile
? "Please Standby --- Creating Statistics Database"
SET EXCLUSIVE ON
CREATE TEMP
USE TEMP
APPEND BLANK
REPLACE field_name WITH "DAY",;
field_type WITH "C",;
field_len WITH 8,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "INC_TELNET",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "OUT_TELNET",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "IN_MAIL",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "OUT_MAIL",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "IN_FTP",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "ANY_FTP",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "IN_PPP",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "OUT_SLIP",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "OUT_PPP",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
APPEND BLANK
REPLACE field_name WITH "IN_WWW",;
field_type WITH "N",;
field_len WITH 10,;
field_dec WITH 0
DELETE
USE
CREATE stats FROM TEMP
USE stats
INDEX ON Day TO stats.nx1
SET INDEX TO
USE stats INDEX stats.nx1
USE
ENDIF
SET EXCLUSIVE OFF
IF .NOT. FILE("Stats.nx1")
? "Please Standby --- Rebuilding Stats.nx1"
SET EXCLUSIVE ON
USE stats
INDEX ON Day TO stats.nx1
SET INDEX TO
USE stats INDEX stats.nx1
USE
ENDIF
SET EXCLUSIVE OFF
ERASE temp.dbf
RETURN
*: EOF: FILECHK.PRG