on error goto Fehler dim pname$(25) dim rname$(25) dim birth$(25) dim adress1$(25) dim adress2$(25) dim tele$(25) dim fax$(25) dim codenum$(25) dim master(25) dim mpasswd1$(25) dim mpasswd2$(25) cls color 15:print"USER VERIFICATION" locate 1,73:color 31:print"STRICTED"; color 7 print input "Type in tha name: ",nam$ print gosub GetInfo color 15:print"Real Name :";:color 7:? rname$;:color 23 if MASTER=1 then print" *** MASTER ACCESS ABILITY ***" else print color 15:print"Birthday :";:color 7:? birth$ color 15:print"Age (DATE$) :";:color 7:? compage$ color 15:print"Adress :";:color 7:? adress1$ print" ";adress2$ color 15:print"Telephone :";:color 7:? tele$ color 15:print"FAX :";:color 7:? fax$ print try=1 print"And now tha "; 3 print"Code-numba (";mid$(str$(try),2,20);". Try): "; gosub GetCode if try>=3 and cod$<>codenum$ then msg$="Your 3 Trys are out:":goto FuckHim if cod$=codenum$ and try<=3 then pass=1 else try=try+1:print:goto 3 if MASTER=1 then goto MASTERPROG else goto CONTBOOT GetInfo: msg$="Trying to cheat ??? --->" on error goto FuckHim open "I",#1,"access.dat" 1 input#1,pname$,rname$,birth$,adress1$,adress2$,tele$,fax$,codenum$,MASTER,mpasswd1$,mpasswd2$ if pname$=nam$ then datd=val(left$(date$,2)) datm=val(mid$(date$,4,2)) daty=val(right$(date$,2)) hed=val(left$(birth$,2)) hm$=mid$(birth$,5,3) if hm$="Jan" then hem=1 if hm$="Feb" then hem=2 if hm$="Mar" then hem=3 if hm$="Apr" then hem=4 if hm$="May" then hem=5 if hm$="Jun" then hem=6 if hm$="Jul" then hem=7 if hm$="Aug" then hem=8 if hm$="Sep" then hem=9 if hm$="Oct" then hem=10 if hm$="Nov" then hem=11 if hm$="Dec" then hem=12 if hem=0 then hem=6 hey=val(right$(birth$,2)) compage=daty-hey if datm0 and hem>0 and hey>0 then compage$=mid$(str$(compage),2,3)+" years" else compage$="" close #1:reset on error goto Fehler return else goto 1 end if GetCode: cod$="" 2 a$=inkey$:if a$="" then 2 if a$=chr$(13) then return cod$=cod$+a$ print"+"; goto 2 Fehler: cls color 31:print"!!! WARNING !!!" color 7 print print"An error has occured. The" print"program will stop here and" print"beep! To get access to ur" print"system, press the reset-" print"Button or switch ya compu" print"off and then on." delay 10 msg$="Ahh, an error:" goto FuckHim FuckHim: cls color 10 print msg$ locate 5,1 color 28,0,0 print" ммммм м ммммммм ммммм ммммммм" print" л л л л л л л" print" лмммммл л лмммм лммммп л" print" л л л л л пм л" print" л л лмммммм лмммммм л пм л" color 12 print print"Formatting Harddisk ..." sec=5 4 locate 12,1:print "... in";sec;"seconds! " if sec<=0 then dl=3:goto BOOTSTOP delay 1 sec=sec-1 goto 4 BOOTSTOP: color 31,0,0 cls print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"ллллллл лллл ллллл ллллл лллллллллллллллл"; print"ллллл ллллллллллллллллллл лллллллл ллллллл ллл ллллллл ллллллллллллллл"; print"ллллл ллллллллллллллллллл лллллллл ллллллл ллл ллллллл ллллллллллллллл"; print"ллллл ллллллллллллллллллл лллллллл ллллллл ллл ллллллл ллллллллллллллл"; print"ллллллл ллллллллл лллллллл ллллллл ллл лллллллллллллллл"; print"ллллллллллллллллл ллллллл лллллллл ллллллл ллл лллллллллллллллллллллллл"; print"ллллллллллллллллл ллллллл лллллллл ллллллл ллл лллллллллллллллллллллллл"; print"ллллллллллллллллл ллллллл лллллллл ллллллл ллл лллллллллллллллллллллллл"; print"ллллллл ллллллллл лллллллллл ллллл лллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; locate 25,1:print"лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл"; 6 for tim=1 to 5 delay dl for z=1 to 4 sound 2000,1.0 delay 1.5/18.2 next z next tim if dl>1 then dl=dl-1 elseif dl>0.1 then dl=dl-.2 else dl=0 end if goto 6 CONTBOOT: cls color 31:print"BOOT VERIFICATION ... OK":color 7 print system MASTERPROG: cls color 31:print"MASTER PROGRAM START SEQUENCE ..." color 7 print print"Enter Code #1 :"; gosub GetCode if cod$<>mpasswd1$ then goto CONTBOOT print print"Enter Code #2 :"; gosub GetCode if cod$<>mpasswd2$ then goto CONTBOOT goto MPR MPR: cls color 15:print"*** MASTER PROGRAM ***" color 7 print print"1 - User-Control" print"2 - System Files" print"3 - Informations" print"4 - Continue BOOT" print 7 locate 8,1:input"Ya choose :",i if i=1 then goto USA if i=2 then goto SYS if i=3 then goto INF if i=4 then goto CONTBOOT goto 7 USA: cls color 15:print"*** MASTER PROGRAM ***" color 31:print" USER CONTROL" color 7 print print"1 - Add a User" print"2 - Delete a User" print"3 - Change a User" print"4 - Back to Main Menu" print 8 locate 9,1:input"Ur choose :",i if i=1 then goto UserAdd if i=2 then goto UserDel if i=3 then goto UserChg if i=4 then goto MPR goto 8 UserAdd: cls color 15:print"*** MASTER PROGRAM ***" color 07:print" USER CONTROL" color 31:print" ADD A USER" color 7 print print"--------------------------------------------------------------------------------"; 10 input"Codename/ID :",pname$ input"Code Number :",codenum$ input"Real Name :",rname$ input"Birthday (dd. mmm yyyy):",birth$ input"Adress #1 (Street) :",adress1$ input"Adress #2 (City) :",adress2$ input"Telephone Number :",tele$ input"FAX Number :",fax$ input"MASTER access (0/1) :",master if MASTER=1 then input"MASTER Password #1 :",mpasswd1$ if MASTER=1 then input"MASTER Password #2 :",mpasswd2$ print"--------------------------------------------------------------------------------"; 9 locate 19,1:input"Is thiz correct (Y/N/B) ?",answ$ if answ$="y" or answ$="Y" then goto UserAddWrite if answ$="n" or answ$="N" then locate 6,1:goto 10 if answ$="b" or answ$="B" then goto USA goto 9 UserAddWrite: color 15 locate 19,1:print space$(70) locate 19,1:print"Opening Channel ... "; open "A",#1,"access.dat" print"OK" print"Writing Data ... "; write#1,pname$,rname$,birth$,adress1$,adress2$,tele$,fax$,codenum$,master,mpasswd1$,mpasswd2$ print"OK" print"Closing Channel ... "; close #1:reset print"OK" print"Resetting Data ... "; pname$="":rname$="":birth$="":adress1$="":adress2$="":tele$="":fax$="":master=0:mpasswd1$="":mpasswd2$="":codenum$="" print"OK" color 0,7:print"User Add Complete." color 7,0,0 delay 1.5 goto USA UserDel: cls color 15:print"*** MASTER PROGRAM ***" color 07:print" USER CONTROL" color 31:print" DELETE A USER" color 7 print print"Opening Channel ... "; reset open "I",#1,"access.dat" print"OK" print"Reading User Data ... "; x=0 11 x=x+1 if eof(1) then goto 12 input#1,pname$(x),rname$(x),birth$(x),adress1$(x),adress2$(x),tele$(x),fax$(x),codenum$(x),master(x),mpasswd1$(x),mpasswd2$(x) goto 11 12 endx=x:on error goto Fehler:print"OK" print"Closing Channel ... "; close#1 RESET print"OK" color 0,7:print"USER DATA INPUT COMPLETE":color 7,0,0 delay 1.5 goto UserDelChoose UserDelChoose: locate 10,1:print"--------------------------------------------------------------------------------"; x=1 13 locate 11,1:print"Codename/ID : ";pname$(x);space$(40-len(pname$(x))) if x=1 then print"Codenumber : ";:color 31:print"*** SECRET ***":color 7 else print"Codenumber : ";codenum$(x);space$(40-len(codenum$(x))) print"Real Name : ";rname$(x);space$(40-len(rname$(x))) print"Birthday : ";birth$(x);space$(40-len(birth$(x))) print"Adress : ";adress1$(x);space$(40-len(adress1$(x))) print" ";adress2$(x);space$(40-len(adress2$(x))) print"Telephone : ";tele$(x);space$(40-len(tele$(x))) print"FAX : ";fax$(x);space$(40-len(tele$(x))) print"MASTER access : "; if master(x)=1 then print"YES" else print"NO " if x=1 then print"MASTER Pswrd#1: ";:color 31:print"*** SECRET ***":color 7 else print"MASTER Pswrd#1: ";mpasswd1$(x);space$(40-len(mpasswd1$(x))) if x=1 then print"MASTER Pswrd#2: ";:color 31:print"*** SECRET ***":color 7 else print"MASTER Pswrd#2: ";mpasswd2$(x);space$(40-len(mpasswd2$(x))) print"--------------------------------------------------------------------------------"; print" PgUp/PgDn - Look Up/Down [ENTER] - Delete [ESC] - Back"; print"--------------------------------------------------------------------------------"; 14 a$=inkey$:if a$="" then 14 if mid$(a$,2,1)="I" and x>1 then x=x-1:goto 13 if mid$(a$,2,1)="Q" and x1 then x=x-1:goto 21 if mid$(a$,2,1)="Q" and x