HTML 1
HTML 1
head
LlLle PCML ACL /LlLle
/head
body bgcolorCllve green
cenLerbh1marqueefonL slze23 colormagenLa Welcome Lo Amazoncom /fonL
/marquee /h1/b/br
form meLhodposL acLlonloglnhLml
lnpuL LypesubmlLvaluecllck br/br/br/ 8eglsLeraLlon user Logln Pere
/cenLer
/body
/hLml
hLml
head
LlLlePome page/LlLle
/head
body bgcolor #c9dc32
Lable cellspaclng 33 wldLh170 allgncenLer
LrLd/Ld/Lr
LrLd/Ld/Lr
LrLda hrefloglnhLml LargeLf3fonL color#ff6666 slze4b
slgn ln/b/fonL/a/Ld/Lr
LrLda hrefreglsLraLlonhLml LargeLf3fonL color#ff6666 slze4b
new user/b/fonL/a/Ld/Lr
LrLda hrefuserprofllehLml LargeLf3fonL color#ff6666 slze4b
userproflle/b/fonL/a/Ld/Lr
/Lable
/body
/hLml
hLml
head
LlLle Logln age /LlLle
/head
body bgcolorplnk
cenLer
h1b Logln age /b/h1
form meLhodposLacLlonloglnhLml
psLrongname/sLrong
lnpuL LypeLexL nameuser name slze23
/p
psLrong assword /sLrong
lnpuL nameass Lypepassword slze6/p
pSLrong Male /sLrong
lnpuL Lyperadlo namegroup1 valueMale Male nbsp nbsp /p
psLrong lemale /sLrong
lnpuL Lyperadlo namegroup1 valuelemale lemalebr/p
lnpuL LypesubmlL valuesubmlL nbsp nbsp
lnpuL LypereseL value8eseL
a hrefreglsLraLlonhLml new users 8eglsLer here /a
/form
/cenLer
/body
/hLml
hLml
head
LlLle 8eglsLraLlon /LlLle
/head
body bgcolorCllve Creen
cenLer
h1b 8eglsLraLlon form /b/h1
form meLhodposL acLlonloglnhLml
psLrong name /sLrong
lnpuL LypeLexL nameuser name slze23/p
psLrong assword /sLrong
lnpuL namepass Lypeassword slze6/p
lnpuL Lyperadlo namegroup1 valueMale Male nbspnbsp
lnpuL Lyperadlo namegroup1 valuelemale lemalebr
/p
psLrong Address /sLrong
LexLarea nameaddress row6 cols20
/LexLarea
/p
psLrongMoblle no/sLrong
lnpuL LypeLexL namephno slze14
/pbrbr
lnpuL LypesubmlL valuesubmlL
lnpuL Lype8eseL valuereseL
/form
/cenLer
/body
/hLml
hLml
head
LlLleproflle
/LlLle
/head
body bgcolor#f4e600
h1 allgncenLeruuser roflle/u/h1
brbrLable border4 allgncenLer
LrLhname/LhLhuser ld/Lh
LhSex/LhLhAddress/Lh
LhMoblleno/Lh/Lr
LrLd8adha/LdLdpn3124/Ld
Ldlemale/LdLdc28/2 Mohan nagarSalem30/Ld
Ld8080123436/Ld
/Lr
LrLdArul[oLhl/LdLdpn3123/Ld
Ldfemale/LdLd12 ra[a sLreeLmadural/Ld
Ld9876304321/Ld
/Lr
LrLdSamyukLha/LdLdpn1234/Ld
Ldlemale/LdLdno4gandhl nagar koval/Ld
Ld9789626366/Ld/Lr
LdAnlLa/LdLdaa1276/Ld
Ldlemale/LdLd2elecLronlc clLy 8anglore/Ld
Ld9246368636/Ld
/Lr
LrLdSam/LdLdsp2786/Ld
Ld Male/LdLdWllllams roadnewyork/Ld
Ld9906341328/Ld/Lr
Lr Ld!enlfar/LdLd[[1292/Ld
Ldlemale/Ld
Ld Ceorge 8oadWashlngLon/Ld
Ld9786180036/Ld
/Lr
/Lable
/body
/hLml
8lodaLas
8lodaLa
nameLLlavarasl/name
CourseMCA/Course
userld101/userld
ercenLage90/ercenLage
/8lodaLa
8lodaLa
namekSaslkala/name
CourseMCA/Course
userld102/userld
ercenLage80/ercenLage
/8lodaLa
8lodaLa
nameSulvya/name
CourseMCA/Course
userld103/userld
ercenLage99/ercenLage
/8lodaLa
/8lodaLas
hLml
head
scrlpL LypeLexL/[avascrlpL
funcLlon searchuser()
suserld parselnL(documenLgeLLlemenL8yld(Lld)value)
lf(lsnan(suserld))
alerL(lease enLer a lnLeger)
reLurn false
LCb[ecLdocumenLgeLLlemenL8yld(Lable2wrlLe)
for(l0l xlengLhl++)
userld parselnL(xlgeLLlemenLs8y1agname(userld)0chlldnodes0nodevalue)
lf(userld suserld)
LCb[ecLrows1cells0lnnerP1ML xlgeLLlemenLs8y1agname(name)0chlldnodes0nodevalue
LCb[ecLrows1cells1lnnerP1ML
xlgeLLlemenLs8y1agname(Course)0chlldnodes0nodevalue
LCb[ecLrows1cells2lnnerP1ML xlgeLLlemenLs8y1agname(userld)0chlldnodes0nodevalue
LCb[ecLrows1cells3lnnerP1ML
xlgeLLlemenLs8y1agname(ercenLage)0chlldnodes0nodevalue
break
lf( l xlengLh)
alerL(no records found)
/scrlpL
/head
body
scrlpL LypeLexL/[avascrlpL
lf (wlndowxMLPLLp8equesL)
xmlhLLpnew xMLPLLp8equesL()
else
xmlhLLpnew AcLlvexCb[ecL(MlcrosofLxMLP11)
xmlhLLpopen(CL1searchxmlfalse)
xmlhLLpsend()
xmluocxmlhLLpresponsexML
var x xmluocgeLLlemenLs8y1agname(8lodaLa)
/scrlpL
h1Search user/h1
Lable
Lr
LdlnpuL LypeLexL ldLld slze10//Ld
LdlnpuL LypebuLLon oncllcksearchuser() valuesearch//Ld
/Lr
/Lable
Lable border 1 ld Lable2wrlLe wldLh300 cellpaddlng3
Lr
Lhname/Lh
LhCourse/Lh
Lhuser ld/Lh
LhercenLage/Lh
/Lr
Lr
Ld /Ld
Ld /Ld
Ld /Ld
Ld /Ld
/Lr
/Lable
/body
/hLml