<html>
<body>
<script type ="text/vbscript">
dim a,b,x(2,2),i,j
x(0,0)="Volvo"
x(0,1)="BMW"
x(0,2)="Ford"
x(1,0)="HONDA"
x(1,1)="Mercedz"
x(1,2)="Bonaza"
x(2,0)="volks"
x(2,1)="walsfoken"
x(2,2)="sex"
a=inputbox("enter your name.=")
b=prompt("enter password:=")
msgbox a
If b=10000 Then
alert("you are authorized to see the name of cars")
document.write("<h2>hi you are NITESH!! WelcomeYOU</h2>")
document.write("<h3>welcome...!you are Authorised person..:</h3>")
for i=0 to 2
for j=0 to 2
document.write(x(i,j) & "<br />")
next
next
else
alert("you are not authorized to see the name of cars")
document.write("<h1>hi you are not authorized..!!</h1>")
document.write("<h3>welcome...!you are fAKE person..:</h3>")
End If
</script>
</body>
</html>
<body>
<script type ="text/vbscript">
dim a,b,x(2,2),i,j
x(0,0)="Volvo"
x(0,1)="BMW"
x(0,2)="Ford"
x(1,0)="HONDA"
x(1,1)="Mercedz"
x(1,2)="Bonaza"
x(2,0)="volks"
x(2,1)="walsfoken"
x(2,2)="sex"
a=inputbox("enter your name.=")
b=prompt("enter password:=")
msgbox a
If b=10000 Then
alert("you are authorized to see the name of cars")
document.write("<h2>hi you are NITESH!! WelcomeYOU</h2>")
document.write("<h3>welcome...!you are Authorised person..:</h3>")
for i=0 to 2
for j=0 to 2
document.write(x(i,j) & "<br />")
next
next
else
alert("you are not authorized to see the name of cars")
document.write("<h1>hi you are not authorized..!!</h1>")
document.write("<h3>welcome...!you are fAKE person..:</h3>")
End If
</script>
</body>
</html>
No comments:
Post a Comment