Sie sind auf Seite 1von 180

!

"

! " #

"

!! " #
$%
%

&'
!

'
"

.
#

.
#

"
'

"

&.

#"

"+
#(

"

$
"
/
00*
*

*
+ # ,

"

'#

(
#

("#

* *
0 *
*

/
00

* "
#

#
!

(
*
/
00*

"

)
(

""%

0 (
) *
0 10 0
0 *
0 (
) *
0 10

"
(
)

"

%
.
(
! " #
"
!
'

(
'

'

(
#

" "
"6
"

"

",%
"
+ "%

" (

( #
"
"
"
. ",

( 2 *"
7 ( +
"

"

3 "
(

4'532
"
(
(
*
"

" *
#

#
"

+
("
"%

)
")
)
)
)

"

(
'

(
"

&

#
(

"
(

.)

" # +

'

'
"

)
"
""

#
*"
("

#(
#

""

" , ' (
"#
. "#
+
"
+ 8
)
(
, )) "% " #
6
" ,7

(
'

; ,
%
2 *"

" +
""% %
8 %
<

/
00==== *
/
00=

9*

* 0
0

"

(
"

""%% 8

#
"%%

" ""

>

) %*
5

" * "

"
%

"% (
"

"
(

"

"+
" #

)) ,

,"

(
"

)
"

"

"%

"

"

.'

/ 012
'

"
B* "

+
#

"
%"

'
(
(""

( !"%
"
"
"

B* "#
"

@ A
)
"
" '"
A
("

= )
+

, "@

*B*
"
"% (
+

*B*
)
(
B
"

" "
C
%

,
A

( @

", = )
""
"

>

"

$,3
2
%

"%
D A
" +(

*
( !

""%
"'
" =

"

"
"

(
#

!
"

"
)

""

=
'
+
"#

*
* "
. %
FG5@)
"
F
"

"% (
"
,"
"

# /F

"+

#
#(

(
(H99)
"
(=

=
"
*

""

"
'#

"
",%
" ""
"

"

"
(

#"

)
#)

=
( ""% "
#
( !
!

"

")
(
""

"

!"

" ""

( !"%%
!"% #
(
, "$

( (

" ")

"

; ,

( "% (
=

"

/
00===
>

/
00

/
00===

A 0
(

0
0

"
(

"

) )

77

-+ .

"

"

'

+
(
,"
"
. ""%, * " (
,"
"%
" "#
"

*
""
+ )*

"

"

'

(
,

"

"% "

"

' *

5(
9L@1

KFK1 : > M KFK> > ) : M K.'N

KFK)9= * =

J'5KKH

J'5KK9 *

9L@

!"%

"

6
77< ' J'5K#
" #
/

= :1

:
(:

O :1
99@ Q O

5(
'

O:

5 * (5

3 S

>O
G

3GK9

9(

> :

Q :<*

:):
S

P
" "

'

%%
+

<

/
00===

+
(/

* #

B
(

" ""

@
"

"
"

"

'RP

"
" #
%
"
"

!#
+

"
#

<

'

(#

'

+
(

9
,
J'5KKH

*
K

,"
"

"

"

'
!

+
"

#
/

-.

' ' * =
+

T
O

#
/
00

"

-+#

/
00=
0

0*"""0
=

%
" "%, "% "

"

% ,"
"

#
"

+
/

( '

9
(

+
" #

'"

"
+

+
"

"

%
"

'

+
"
#
*
U
"
*"
* " # *,*,
G

*
+ " )
*
+
)
("
"
"
+

!#

+!)

"
+

*
+

"/

" ' * 5

9"

Q
'5

"
%

'" #

" (

=
*

# /'" #
"

# /'" #

+
"

(
"

#
,

*"
' * 5

+"

%
%

"* "
'
"

'

+ #(
'
( (

" #

N
#

#(
,"
""%

+
%

'

#(

+(

"
,"

"'
(

"

%
(

"
)
" # )
+
)

'#

%
(
B
)
( ( =
KFK
( " "V
"
"
# %

' *
(

"
" +

"

"

"

" 0 .'

( ( )%

%
"

#
" ,

"

-.

(
(! %
(
+

"
2

+
"

()
"

"
%

"

(
%"

'" )
#

-+#

+
#
%
" #
* "
,"

'

"+

"

*
"

797

'KFK

" +
"
$ "

" *
" #
*
&
%'
( "
(

) 2

!
%

KFK) "
+
"

KFK)

.
%
" KFK
+

"

(
B

"
(
/

"

LoadModule php5_module "c:/php/php5apache2.dll"

' # "
*"
""
+ /

"

("
#

KFK
".
"% "

AddType application/x-httpd-php .php

9,"

# %

"/

PHPIniDir "C:/php"

#
/
00

/
00===

"/
0

/
00=
0 0
0

0*"""0
=
=

"

"
"

:
; , &
(
' *
%

)2

"*
%
B

"%%"

"
%

"

(
"

"

+
* H

"
)"

! .(

"
"
W9V W4
+ ! * ,# + "
("B (
"
" +
(
=
* ,"
.
"
"
K
.
"%%" "
(
,"
( "/
"
!
"
"
"

'
B(

"
+

"

'
"%%""%, $ ( %
= #
%
K
- K M::

%
#)

%*

'

(
""

= #
" (
( #(
#
"
" "%
"
" "
+ V (
#
* ":) (
'"
+
A:
(8 % ""%% 8
(

"

"%%"

,"

""
""%, "
(B
#,
%

" "
""%,

"" )
)
!
" )
("
'
)
+
)
(

); < " 0 5
,

(
*"

::

/
00 (

/
00===*

0
A*
A0

#"
(

#0

"

"

= #

"

")

::
'#
(
" *
(
%
(

'
(

% ( " "#
"
(
%
#
%
( #
#(
" " .
#
#
(
" +
FG5@ H99"
6 B 7
#(
" " ' #"
"
" "
"B
" "
#(
" "
+
+" "*
+
.#
"
K
#
"
(
#
"

"
$ *K
K
-.G

4("

+
,"

9!

4V
3 $K4

"* "

" "
"/
K-4#

"%

("

("

)
)
)
)
)
)
)

'

5 !"*
"
8 #

# /' !

% "#

) =

"
"* "
",% %

"

"
*

"
")

"
"

/
00===

"
"

# 0

"

"
)
)

"
'
"
/'"%
"
(
(
"X

"%
"
" Y(
! "

"
"
"
"

"
8 %

(
X; (

" " "


"
"%

)
'
"% +

"# (
"

"
X-

4'53:

" (

"
"

""

" (
("" *

"
"

""

"

"

"

"
% " "
(8 "
#
*

"
(
" "X@
#
%
%
"
#(
"
" " ,/

(
(

""
"
"" #

(
+

X5

(
"#
"+ "" G "
B(
(
(

"

##
(

"
#

"2 "
," X

#
"
"

"

"

. (#

'
*
"
"

# /.
/"

(
( #

"
#
"
")%
+
*
"
# +

"

"
#

"
"

"
(
,"

F
%
"

(
B)

"+,

* "
X5 ( #
(
"
(*
( %

"
" (

"

" +

'
"%%
.(
"
(
"

+
#

,"

# >"*

. (=
#
"
( #(

))

-*

" +, " " +


"
" "'
#
8
"
(
(
#(

#
*
*"

" *
&@ (
(
.( ( 6 *
" *

"R
)

"
"7

"

)
'
"

.'

0 ?

"
""
""%%
*
" '"% "

#
#
#

"

!#

"
/

"

"
(

"

,"

!#

(
"%,

("%

"

'

"%%

(
*

(* "#

("

.'
'"% "
( ""

"+

( (
"

"

"
*

( #
"
*
" !

'

"+

"

:>

2,

"
(
/

)2

5
(

"

"

"
" #)

"

"

( ,"

' F

,"

"
#
"

#
*
""

(
*
"

# /G

""
'>)

(
(

( "% "

U
/

"#

"""

#
#

"
"

"

"

" # "%

"

, "5 )
%
(
)

FG5@#
(%
(
"

+"

*
+ "
*
+

""
*

(
) F
+!

"F
! (
( "

#
"" 6
*

"

"" "

" *

"

!
"

")

(
"

:1

"

"

( "

"

"%

"%

"

"

"B

B
K *

T )

""
"""

+ ,"

"

(
("

"

!
"#
'

*
#

# /'

'
(

"

F
(

(
$

9*
(

( 4

":1
"

" *

"

(
A

"

"
"
:<

'

@
"

!#
"

/
00===

/
00=

"

("
"'
%

( #
"

0*""0*""
#
0

"/
(

%
"

.)

B
(

"

,
"

"

!
,

( "

"
"

"

'

5
"

:<

!
#(

" *
+ ""%%

.'

:1

"#

/
00===

"

( "
,

:>

:>

"

"
( ""

'

"

B"

"

" ,% T )
"

% "

'
V)V
V
V*""

"

"

/
0 1

XZ O
2

"

%)

(*"" H"""

(
#

%
(

"

)
)

:<
*
# /'
(" (
("

(
("#
" *
"

'

"

%
*

"

?
9
#

"V
%
%

"

" *

(
#
*"
"%%

"

"

"

" *
B )
(
" ( #)
. (#
"
(
," "
(

/
(
'
"

( "
*
+
"

FG5@#
"

"
(
(

(
"

)
%)

!
"
" *

(
5

",
%
"
F
"
"
%

" "
" (

"

"

", #

"
-

"

+ B
)
( *
+ ""
"
!)

(B

"% "

" "" (
*

"
"

(
"

#
( #
#(

'
"

"

+
"% + 3
*
+ ""
(" *
"
""%% % ) % " *
'*
+ "" % #
"
*
+ ""
+ ("
/

'

"

"

*" #

"

.'

"
(

"

""
"

!
".

"

(%

'
"

" *
"

" %
"
" ""

+(
# 6
7
*"
%

#)
%)

# % )

:T

"

"+
G% "

);
F

"

%
( "

'

%% "
+!
"
:T

K
$
&5 (
"% "
*
78
9*
+ !#
>
*
%
:
+ "

# %

* #

*"
(
""
"% (

("

#
. (",
"

<

"

"

+ " "

#(

3
4 )5 5
%"
(
" (

6.
" )
)

&

# /.
" = #

"

"

'B

'

%
(

"
(

"

# "
/
(# "

""

"
"

'

( #
(

( "
"
"
("
( , "
(#
"
#
* %
"
'#
(
%
(
" :Q : *
%
"
,
( "%
"
(
(
"
(
" "
"
(
#(
"
.

(
< (
% #
#(
"
#

; ,
%
A)
(

)C

"
-

"
(
"

*
%

(
(" )
)
+)

(
"%
#
*"
*
! O A
< )
:<
*
% # %
(:)
,
#
%
" "N
*

"
(#
#

"
*
0

)
)

"% (
A
:
) #)
9
)
"
)

#
A
( B (" "
(
#
""
(" " %
" "
(
/ '#
" (
!"% %
/
(

!
(
/
(

/
00

9
(

"

9 "#
#

""

B(
"

:T

"")
(

"

*
A

(
( +

"
'
+)
(

'B
"

(%
6

(#
*"

7
"
/"

5*
,
[

#V
.A )
K
+(
"
(
'
)

:O
"
"

2
"

"

(
"

"#
" %

" " #

; ""
=

" "" "


=
9
" (

"

"

, %
"
#

" %

G
,

"%,
( .
%
%
"%
G
"
( "*
(
"

'
*""

5 !

*"

(
( (8
" ( ,
# " "% "

"
"

",

"

"
+
,
"#
%

; , "
"
(""%
:O

/
00=

F
*

)
)

"

)
":O

" (" ",


" ",% % %
'
"" "+
.
(
=
(" "
#
"
"
"+, %
""
(
( ' ("
%
"
(
)"%
"
(

( " \"
+
"
(

(
'"

'= #

F *

#
" (E
# "
"
N
( %)
"
%
%)
(
"" B (
""
,"
"
#
)
H
- "
3
(FG5@
,"
"
( (
*"

#(
"

, "

*
( (=
#
/
(
(
(
"

" "" .A
+
"+
' ("
# +
)
" *
()

("

#A

"
"

"

" "

%
"
"

""
" +, " V
""
+

)8

"

"

!
( "
( "

" ""B ( "


"
) *#"
,""%"
"
"#
"
(" "
("
0*"" "0 "

,""%"

"
"

= :

"
"

"

%
",% % #
'
(" "
"
B
"
"

"
(
)
)

( "
*" (

"
("
"

"%
"" +
(
"

"

" ,"
F
B
9" )
)

:Q

G E
=
("

)@

4 !D

"
%

:QQ>)
.
' #

"
""

V
E5

5*

'

'

'

5 *

9 5* (

)
:

E
4 2DF
+
" (
/

H
=

(
)

#
*P

'"
V
(" #

(
"
*

" *

"
<

""
"

:O)

H5

H5 (
= 5!)

&
'

" " +
"

"

(
+

"

'#

"

"

"
#
"
(

5 ("

" % +

H#

5 ("

5 (

FG5@

/
00====

JFG5@&

/FG5@

"

HX

X
(
"%

"

"X
!

/
00==== * 0
:

/
00==== * 0

("0

<0

= 0

"
'

# #

:Q

"

""

" (
( "

"X

(""
" )

2 9= /
'FG5@ (
. #

= #
+

FG5@
""

'

"+,

"
"
"% "

"
"

)
)
)

" "

( FG5@
"

"

,"
#
*

*"

E
(
+( "

"
("

2) $
5

"
"

" %
* ""

" "
"V
'H99
(
+
'FG5@
("
"
"B
#(
"

")
""

"

"

FG5@X

'FG5@ :"

'FG5@

( (

' %

'FG5@

(#

'FG5@

%
! %

"

(%

( "

"
(

% +
"

" "
! %

""

$ (

"

*
A
=
"

*
/

+ "

$ (

% %

,"

"%)

<html>
<head>
<title>Az oldal cme</title>
</head>
<body>
Ez az els honlapom. <b>Ez a szveg flkvr</b>
</body>
</html>

,"

-( "
,"
" %

&

"

3
#

"

,
(
(& '"% "

*
%

"
"

)
)

-#
' "
FG5@
' #
%

+
""%%

'

""%%
"%

2
#

'
'

""%%

"

' %

#
2
#

'

# * #

(
%

"

"
)

* '

,
%

"

#
"

*
+

"
%

"

# "%

"

9= /
@

" (
FG5@
# "
" ,
" (

"
"
"
"

"
U

"
B

(
+ "
(

<

#
/'
( 5
7

/'
"

H M31

"
"" "
+
( +

FG5@

=
( "
"/
#
+
"%%
+ "" *

(# # /;
%
5
&
"

"
-

""

FG5@" #
%%
+"

"

"

# #

(# # /' %
&

"
(""
(
FG5@
" ",
. "
" ,+!*
,+- # "
%
+ "
< %$
( ,
"
FG5@
"
"
. "
)
(
" 6
"7 "
.
)
(,
)
=

FG5@

""

(
,
+

U
!% 6
V

%
$ ( %
(
"
(+ "

"

"

#
"

5
"

X
)
(

"
"
"

%
,"
("
"%% E
(
"
%
", B
"
# V( "
(
!"
* "
+

# + "
*"
"%
( +
( +
",+

)
)
(

(# # /5 (" %
&

/'

*
! (
'
##
"

"%
"

(
" ( "
<

("
%

"% "

)
)
)

"/

1< T[ V

.A

1 T[ 5

<

3 #A:): 1

> 1[ V

.A

[ 5
: 1[ P
: :[

T)O

.A

'FG5@

( (

'FG5@

"

9= /

! %

(%

" #

"

"

'FG5@

'FG5@
" +

'FG5@

'

' %

'FG5@

" % "" FG5@


]
"

"

^+
"
( ! %

""%,
"

"

"
"

"

"
"

"" )

"%%
( !

( " "

"

9= /
'

"% "

<b>Ez a szveg flkvr</b>

'FG5@
2

"

'"% "

(FG5@
<body>
Ez az els
</body>

'

"

#
5

>)

5 >)5

honlapom. <b>Ez a szveg flkvr</b>

"

0
FG5@ (
" "
JFG5@

!
" ( ")
U

"

B
( !"

FG5@
+

#
"

0 *

'

"

"

'

"

!? 0
"

"
(

%
K

>*

. "

"

"

*"

(
(
" "% "

"
%

+
, "/

"

<body bgcolor="red">

'

(
(
+

'

(
/

"
'"% "

(
", )

<table border="0">

'
"

"

"

""

"

"%

# *

0B

' (

"
#

22

"

"

' FG5@
*
+ "
"

+
(

' %

"

"

9= /
"

("
% "

'FG5@

"
""

("

"

D+
'*
+ "
)

#? @ #A
" +
!*
+
#A
"
"
""
<*
+ /

<h1>Ez
<h2>Ez
<h3>Ez
<h4>Ez
<h5>Ez
<h6>Ez

egy
egy
egy
egy
egy
egy

cm</h1>
cm</h2>
cm</h3>
cm</h4>
cm</h5>
cm</h6>

"
"
?
#? #B "

#?
(
'

#)
#
#

>

'*
+

"

"%%"

" *

' "

"

<p>Ez egy bekezds</p>


<p>Ez egy msik bekezds</p>

' "

"

'"% "
" " )
%
<p>
Ez egy
tbb
sorbl
ll
s
sok
szkzt
tartalmaz
bekezds.
</p>

"%%"
B
(

%
"%"
%

" *
"% " "
' (

%
%

'"% "
/

"%%

"

! %

" )

<p>
Mikor trsz mr az eszedre, te Sndor?
Tivornya jjeled s napod;
Az istenrt! hisz az rdg elvisz,
Ha mg sok gy folytatod.
</p>

'
"

'

B
"" (

""

"

<p>Ez itt<br>egy tbb<br>sorra trdelt bekezds</p>

'

"B

"

<

*
'
(

#
(

( "
+ %

"' %

#)

<!Ez egy megjegyzs -->

'

,+

" "%

",

' "% "

FG5@

")

<html>
<head>
<title>Srga</title>
</head>
<body bgcolor="yellow">
<h2>Sznes httr!</h2>
</body>
</html>

--

' " FG5@


"
"
(
"#

' %
"

9"

'

H
=

"%%""

"

,"

" "

"" .
%

%
"

%%

"%%"

)
"%)

"

("
"

"

"

' !
/+

+
' JFG5@

"

"

#(
"
% "" (

" %

"
",

T
FG5@ "

'

"

"

H+

#? @ #A

%
"

E"

;+

C@

4("

B
(

9= / ' * B

( =
'
",

,"

%
!

#
"#
#
"% (
"
",
(" *

(
"

"
/
00

"(

%
(

"D5
,

'

'"
+

# A

#
""
2

.(

2; 9

" (
("
F (
,

<
"
+

<
! %

"
,"
(F

(
% "%,
2% "

X
E

" )
( FG5@
(

"

+"
(
0

""
0

"

"

O
2

.
"

" "
"

"

" ""

" (
+)

* )

"

'"
(

/
00
>

#
(+

"

/
00===

* 0 *
=

* 0 #=

"
""

0; =N
0#

#)
"

9
0

'FG5@ #
#

"

(#

# "%

'
/+
3 "%

- (

"

'

3
E

A
B

G%%
'"% "

%
%

#
#
%
%
"

<b>Ez a szveg flkvr</b>


<br>
<strong>Ez a szveg
kiemelt</strong>
<br>
<big>Ez a szveg nagyobb</big>
<br>
<em>Ez a szveg hangslyos</em>
<br>
<i>Ez a szveg d lt</i>
<br>
<small>Ez a szveg
kisebb</small>
<br>
Ez a szveg tartalmaz
<sub>als</sub> indexet
<br>
Ez a szveg tartalmaz
<sup>fels </sup> indexet

%)

+' #-

"
/+
3

"

. #
"

I#

'

>

%
FG5@)

##

" +
.'

/+
N% +
%"

"

H+
9%

#
#
#

# /
"

#
"

" ")

B "

N%

V
%

"
"

R#+
*

<address>
Nagy Gusztv<br>
Kecskemt
</address>
<br>
<abbr title=
"United Nations">UN</abbr>
<br>
<acronym title="World Wide
Web">WWW</acronym>
<br>
<bdo dir="rtl">
Ez a szveg jobbrl
olvashat
</bdo>
<blockquote>
Az ilyen hosszabb idzeteket
a bngsz trkzkkel is
kiemeli
</blockquote>

%
,

2C (
E

( " "

"
" #(
"" " "

]
^
*
F
((
"
"

%
"

'" "

/H

! " FG5@)
" "
"
"

"

"%%

(" J
F
]
HJAKI " "
*

#/

"

"
"" )

""

"

H I

,"
( !

" ("&

'
' ("
%
"
FG5@ %
(
"%
"%"
+
V(
"
"
(
"
(
#
FG5@
*
"
#
" +
"
.

"

"
"
%

(
" ,
" , /

"K

Nagy&nbsp;Gusztv

" "
B
#
"
H%
I
#(
* "
" ""

*
( %
%
"% "

%
"% '
" " " *" ( )
(
%
%
%
.
" "
9+
"

"#
" "#
(

(
"
%

*" (
)
"
", #

J
'
"
"

*
)

" " " +(


" FG5@
"
" "
" +
" (
! "
" "
F (
"
#(
# +

( (
"
.
"
'
(
"

"
"

"
")
)

!!

/+

#
-

"%

H%

'

HJ?
AKI

H I

HJAKI

- (

H I

HJABI

HJLMI

HG

HJLNI

'

HJLOI

H (

'

#
#

"

28

HJ?
API

"I

HJ?
AOI

FG5@ #

"

'FG5@
" " *

""

"

.(

"

(
("
(

"

"
A

0 *
(

"% "

'#
""
" "
(

"FG5@

szveg</a>

"
V
* "" ""
G'E +
(
'"
" ""
( "

<a href="url">Megjelen

'"% "

"

E
K LF

'

" "
"

(
(
!

%
" (
(
!
"
"%%
%
("
(
"" +
B
"
/

<p>A <a href="http://weblabor.hu/">Weblabor</a> honlapja.</p>

)
)
)

>

0 *
'

""
+

" (B

"

.
'"% "

"

"

<a href="http://weblabor.hu/" target="_blank">Weblabor</a>

.
"
,"

9" #
( #
= #

" "
"
(

JFG5@
/5 XV
%
(
% %

)
-

0 *
.(
"

"
(

FG5@
+

'"% "

"

"

"*

")
)

.
/

<a name="term107">PHP</a>

" *

"
F

"

"

"

( ""

""

"% "

"

")

"/
<a href="http://weblabor.hu/szojegyzek#term107">

"

""

"

<a href="#tipp">Ugrs</a>

--

F
( "% (
"
= "
(#
"
"% (
F

"
.

"
"
%

(
,"
""" . "+,
"
"
(
(

DN@
"% (
(
"
"
(

(
,"" 0 " "
(
#
( "
( "
#

#
("
J

Y(
)

#
(

"
. "
,#

2M (
'"
%

"

'"
"
"
U

+
"

(
(

"%%""
( "

FG5@

(
!
FG5@ H99 %
(
"
(
(
"

"
"%

"9 +
"

( "
(

(
,""

)
5

(
"

"
" '

1
(

",

"

" "

"

'#

- (

*
+

'

F 8
!

"%

"

" "

" (
"% (

("
"

DN@)

(
" ""
+

'

"

" "
"

"

*" #

"
"

)
"

#(

'

.(
"
*

"
(#
,

(+
#/

,"

'

"
(

"#

"
"#

")
)

"

( (
) (

"

( FG5@

+
'"% "

"
"T1[) #
"

"

" '
#

'

"
"

" 1[)
"
)

<frameset cols="25%,75%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
</frameset>

'

"

(
A
" e" "
#

F
""

"

"""

8"
"
'""
",
-

," (

"
(" %

"

(
)

""
"
" %
+
"%
"
"
" V
)
8 6%
JW %
7+ B,
"
)
"
" ", !"%
'
)
( "
#
( "
" ", %"
# "*
+
" +)
" #
% "
(
"%
")
+
(
+( "
"

<
<html>
<frameset cols="25%,50%,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
<noframes>
<body>Ez a bngsz
</noframes>

nem jelenti meg a kereteket!</body>

</frameset>
</html>

'

, "

9
F

" ,

-"
"

"
" F
"

( ""
" " ,

)
"

"%

"

'"
"+

" (
" '"% "
#

"
+

" %
Q #
:/
( #

"
" "
"# # #
""

)
)

"/
<html>
<frameset rows="50%,50%">
<frame src="frame_a.htm">
<frameset cols="25%,75%">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</frameset>
</html>

.'
"

"

"
(

*
'#

"
"

"

+
!

*
.

"+
",

"
"

" )

"
"

"

<html>
<frameset cols="120,*">
<frame src="tryhtml_contents.htm">
<frame src="frame_a.htm" name="showframe">
</frameset>
</html>

"

"/

T
'

"

""

"

"

/
<a href ="frame_a.htm" target ="showframe">Frame a</a><br>
<a href ="frame_b.htm" target ="showframe">Frame b</a><br>
<a href ="frame_c.htm" target ="showframe">Frame c</a>

_(

* "
* "
/

+(

FG5 "
"

"
#

""
'

<html>
<head><base href="showframe"></head>
<a href ="frame_a.htm">Frame a</a><br>
<a href ="frame_b.htm">Frame b</a><br>
<a href ="frame_c.htm">Frame c</a>

"

' !

/+
"
"

#
)*

"

%
,"

2:

=!

"
*
!

" B

," ( (

! f*

<table border="1">
<tr>
<td>1. sor, 1.
<td>1. sor, 2.
</tr>
<tr>
<td>2. sor, 1.
<td>2. sor, 2.
</tr>
</table>

+
"
"

'
/

cella</td>
cella </td>
cella </td>
cella </td>

*
"

.(
%

"
"

"

=!

'

"
(

("
+

=!

("
"
(

",

"

/
'

"

"*#.

'

" # * #
.

""

*"

.
*

(
#

"" "

/
<table border="1">
<tr>
<th>1. fejlc</th>
<th>2. fejlc</th>
</tr>
<tr>
<td>1. sor, 1. cella</td>
<td>1. sor, 2. cella</td>
</tr>
<tr>
<td>2. sor, 1. cella</td>
<td>2. sor, 2. cella</td>
</tr>
</table>

G
*

"

# * #
#

"

""

"

'

", ,
*

* "
"%

%
"% "

"
"/

9 "

( "
(

=!

.+

5
"

"

(
+

"% H%

@
"%,

*
+ '

%
""
%

"" (

*
+
(

"" )
(
""
)

( +

"

"/
<table border="1">
<caption>Tblzat cme</caption>
<tr>
<th>1. fejlc</th>
<th>2. fejlc</th>
</tr>

D
'

"

"

>
<table border="1">
<tr>
<th>Nv</th>
<th colspan="2">Telefon</th>
</tr>
<tr>
<td>Bill Gates</td>
<td>555 77 854</td>
<td>555 77 855</td>
</tr>
</table>

= -' #
"
'

"

"

' !
/+
#
# *

#
#

*
+

# *

#
%

"
*

"

(
""

"

* "
""

"+

" *

"
%

"

"

"

"

>:

2)
O/
'FG5@

#+
*)

"

%
'#
+

"

" (
"
(
(#
""

'#

"

("

"

)
(#"

" "

+
<ul>
<li>Kv</li>
<li>Tea</li>
</ul>

,
'

"

'

(
"

"
"

"

<ol>
<li>Kv</li>
<li>Tea</li>
</ol>

3 " +
.'
' #+
*
*
.( # +
*

"

(#
%

"

#+
* "

>
'

#+
*

#+
*

#
<dl>
<dt>macska</dt>
<dd>nyvog, sz rs
llat</dd>
<dt>kutya</dt>
<dt>eb</dt>
<dd>ugar, sz rs llat,
kergeti a macskt</dd>
</dl>

!! -#

3
*"

"
! + "/

"

" '"% "

<ol type="a">
<li>alma</li>
<li>bann</li>
<li>citrom</li>
</ol>

'

" (

" +(

<ul type="square">
<li>kv</li>
<li>Tea
<ul>
<li>Fekete tea</li>
<li>Zld tea</li>
</ul>
</li>
<li>Tej</li>
</ul>

*"

"

"

"

"+

"

>

"

' !
/+
#
#

#
#
#+
*

#
#+
*

2)
)P
'!

"
"

"

"

"

"

'

'

(",% %

"

. " !

("

"

'"
"

%
(

"

,
' %

"

"

!"

"

"

" ")

>>
<form>
Vezetknv:
<input type="text" name="vezeteknev">
<br>
Keresztnv:
<input type="text" name="keresztnev">
</form>

#(
"F
% %
"

(
(

.
"
( e" " "

Q
'
,"
U

# /'

'

" "
%

"

"

+ B "
*" (
"

*" "

" "

*"
"
+
.

"
%)

(
!

"

)
)

"

!
"

""

#(
"

"% "
"
+&

"
'
(*

"
""%,
( %
G

<form>
<input type="radio" name="nem"
value="no"> N
<br>
<input type="radio" name="nem"
value="ferfi"> frfi
</form>

(
*"

("

"%)
"+
)
)

>1

F
(
+

("
,"

" "
!

"%

," ""

"% (
)

<input type="radio" name="nem" value="no"


checked="checked">N

#
'

"

"

( #

"
( ( %
"

#
,

")

(
""%, 5
( " *

(%
"% +

"
B(

)
)
#
,)

<form>
<input type="checkbox" name="bicikli">
Van biciklim
<br>
<input type="checkbox" name="auto">
Van autm
</form>

V
+

,"
%
(

"

<input type="checkbox" checked="checked" name="bicikli">

U
#(
"%
(
" %
", " % #
,

(
"B ,
#
,

"
"

%
(
"'
"
%
" *

"

,
% )
(

><
'

#
,
".

"+ " *
<form>
<input
<label
<br>
<input
<label
</form>

'
+

"

"

( )

"
"

A #
"

#
# ",

'

%
%

type="radio" name="nem" value="ferfi" id="ferfi">


for="ferfi">frfi</label>

'

/ %
" ""

type="radio" name="nem" value="no" id="no">


for="no">N </label>

"
"

,
(

% "
"

" " #
+
(",
(
"
(
"%
8
%
#

"

. %
# "*
5

" ",

(!

#
B
(

"

"
(
" )
8 ( " "% )
("
""

<form name="input"
action="feldolgoz.php"
method="get">
Felhasznli nv:
<input type="text" name="nev">
<input type="submit" value="Klds">
</form>

#
+

-(

" ,
"

+'

E
V

"

"

2,

( *

! "
"" "

""

#
%

"
"

(
+

" "

>T
2

," /
%
"

"

"

<form>
<select name="autok">
<option value="audi">Audi
<option value="fiat">Fiat
<option value="skoda">Skoda
<option value="suzuki"
selected="selected">Suzuki
</select>
</form>

'

.
#

""

" %
%
"

"

"

F
"

= !!
@

%
.
%

B "

"
'"% "

"

<textarea rows="10" cols="30">Kezd szveg</textarea>

"

' !
/+
!

#
#

%
%

*
+"
(
+

(
+

%
%

#
#

2 ) (#' FG5@ (
,
*

+
#

"" "
"

)
)

>O
'"

+
"

%
(

"

'

(
A

"% "

"

<img src="url">

'

0 *
'
#
" *

+ %
" "" "
+
" " %

*
#/ 5 *
," " #
%

#V
.A
FG5@

"
"
"

#
%

'

"
%

""

%
+

(
%

"

<img src="hajo.gif" alt="1 rbcos vitorls haj">

#
' %
!

(
# # #

",
"
"
8 #

"
"

+
"
*)
@ B" *
( " (" )
(B
"
%
" 8
"" )
6 "7

<img src="hajo.gif" width="144" height="50">

" #"
("
+

(
+

(#-

"
(

" "" "* (


+
)

@ " "+ # ,
"% " " /

( "

<p>
<a href="lastpage.htm">
<img border="0" src="kovetkezo.gif"
width="65" height="38">
</a>
</p>

(#- # #5

"
,

;
"

)
(

"
"" *
)
"

"
" " "
K
"
," +

.""
"

"
(
5 "B

>Q
<img src="bolygok.gif"
width="145" height="126"
usemap="#bolygoterkep">
<map id="bolygoterkep"
name="bolygoterkep">
<area shape="rect"
coords="0,0,82,126"
alt="Nap" href="sun.htm">
<area shape="circle"
coords="90,58,3"
alt="Merkr" href="mercur.htm">
<area shape="circle"
coords="124,58,8"
alt="Vnusz" href="venus.htm">
</map>

U
%

"
*
"

#(
,
+

# /'
"

%
#

+
"
#

'
%

'

"
" "%
(
)

""

.
"

*" "

"

" (
(
( "
" ",

"
"

"
"
"%

," 9
#

" )
")
",)

--

'

"

H99

#
'
K

(
"
"
"
;
" "% #

H
=

"

' !
/+

(
"%%
"
" 5

+
""
"%

"
""
#

#
"
"

",% +)
"
H99)
)

1
"

"

"

2)
2 @
'

" ""

"

("

'
/ A

"

+
N4E

"

""

' +
( +)

#
/

<body bgcolor="#000000">
<body bgcolor="rgb(0,0,0)">
<body bgcolor="black">

#"

'

%
+

+
"
DN@

'

"

<body background="hatter.gif">
<body background="http://honlapom.hu/hatter.gif">

--

F
"
%
"
, %
"%
( +! "
( "
B %
H99

+
(

#(
"

"

"

"

"" %
+

(
" "
+

+
(

)
+)

"

,"

2)
;,+
' +"
"

% #

""
+)
N4E
"% +
)

"

' '-R + "


5
(
"
.

"% + ,"
= #

%
"
" (
",
11 "%%
A
33"%%
:<
+ "%,
(""

"+, :<
+
S
%S% )"S )S

""

"
.

" " G S
S S # S
S ) S S# S "

"S

B
("
, '4
* " ("
"
"

*
%
%

%S

2) , !
' FG5@ (
"
=
D

" #
D)

%
"

1:
#

"
( "9
" "
"

" ( FG5@
"
("
" "
"
( # / "6 "+ 7 B (
"
("

= #
("
("

'FG5@ (
RGR
+
+ "

(B (
#
(

'FG5@> :

' %
("

(
"
"

"

)
#)
)

& %

( +

'
"

% ;"
"

+
"

"

"
(

&

"

# RGR)

#
""

" %
" '"% "

"
(

( #
"

<!DOCTYPE HTML PUBLIC


"-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

'

RGR

"

<!DOCTYPE HTML PUBLIC


"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

"

"% "

RGR) "

% /

<!DOCTYPE HTML PUBLIC


"-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

'

"FG5@

3 #A %

2
2
)

"

,"

2
1

, G (FG5@;

2)
C , +0
'FG5@> :

' +
"

*"

(A

+0

'",
#

+
+
"

' FG5@
", H99

",% +

"

,"

"
",
#

H99

FG5@

.""
(

FG5@
%
(
!

"^

"

(
+
)

"
(

#
(/

<head>
<link rel="stylesheet" type="text/css" href="stilus.css">
</head>

/
00

"(

(
0

"

1
2,

+
(

+0

FG5@
(# "
H99# B

(
* ,"

(
"

"

(
"

)
)

""

"

"
E

" ",% )",%


" " +
Y(
%

"

(
",
! +

"

<head>
<style type="text/css">
body {background-color: red}
p {margin-left: 20px}
</style>
</head>

! A

+0
+

""
#

("
*

# /'

"

"

,(

, +
'"% "

"

"
" ,

"

"

+
"

"
(

H99

"
/

<p style="color: red; margin-left: 20px">Ez egy bekezds</p>

#
F

"
"

"
""

""
' )
*
'"
+

%
"

"*

(
FG5@"

"%%
%

(
,

",%

"

,"

"
( #
"

/+
+

",

)
%

""

#+
*
+

" *
!

#
#

#
" (
( "

", H99#
+)
" "
"
)
" #)

"

' !

"

)
(

( H99#
""

2)
8 % *#
'#

(
" '#

"

*"
S %

(" FG5@ "


S
S "

"
'

#
"% (

"

" !"%
""
+
'#

%
"

"

"

F
"

"

*
FG5@#
DN@

(
'

) #

<meta name="keywords" content="HTML, CSS, XHTML, JavaScript"


/>

'"

"

"*

"

"

<meta name="description" content="Web programozs jegyzet" />

N%

<meta name="revised" content="Hege Refsnes, 6/10/99" />

'

' %

"

""%%

9*

"

"

' !
/+
"

"

",

""

2)
M,

"

*"

"

'
"

"

"+

" FG5@
( (

"
*

*"

# "" *
) #

*
+

H99

# /'$
(

9*

(
"#

"
(

+
"

"

"
(

"

(
E *

(
"

E *9*
5 * #%

"
'

1>
<html>
<body>
<script type="text/javascript">
document.write("Hello Vilg!")
</script>
</body>
</html>

'

%
$ 9*

( "
" *

"

1 EC %

""

"

"

<script type="text/javascript">
document.write("A bngsz tmogatja a JavaScriptet.")
</script>
<noscript>
A JavaScript nem tmogatott.
</noscript>

' ""

9*

" *

#
'

.
(
"

'"% "

"

#
H*

'

)
)

""

"

"

<object data="pelda.mov" type="video/quicktime"


title="pldavide" width="200" height="200">
<param name="pluginspage"
value="http://quicktime.apple.com">
<param name="autoplay" value="true">
</object>

'

"

"

")

"
'

"

""
(
",
.

(
#

"
K

.
< #

' !
/+
"

#
#

%
.

"
"

"
#

"

""
"

#(
(

"

11
(

"

2)
: R
'FG5@

0 *
" "

"

"'
"
".
"" , " "%

"

"

-0 *
-

"

=0 *

/+

S#

S#

"

S" S

(
(

"
%

#+
*
#

0 *
-

"

=0 *

/+

S S

S#S

")

0 *

=0 *

/+
(

"

(!
%

2 OG
' %

#(

0 *
"

("
K

#
"

"
"
(FG5@

"

(",% %

+
" ""

% ( #
" (
(

)
)

1<

.( ,

"

"

=0 *

/+

"" #

% %

"" #

"

"

"

"

=0 *

"

/+

% #%

"" #

"

"" #

"

"" #

"

"" #

"

"" #

"

"" #

"

=0 *

",

"

"
"

#
#"
"

S S S
"

S" S

S#

#"

S#

/+
"" #

"

"

"" #
#

"

"" #

"

"

(
!

"

(
!

(
!#

#
#

S S S
"

S" S
=0 *
%

. ( ,!

G#

S#

S#

" ""

/+
"" #

"

1T
%

"" #

"

" ""

"" #

"

"" #
"

"

"" #
"

"

"" #
"

"

"" #

"

%
%

%
(

2 ) SQ/ '
' DN@ ( #
"
*
+
( " " "
"
" DN@)
"
#
'"

" "
K

"

g
"
" , "
!

!
'

!"

" ([
"% "

"
TBK

"4.G
+
V(

",
#

"

","" +)

!
"

" DN@)
( )

" FG5@
K

FG5@
"

"
(

" "
K
( ("
FG5@

"%
#

("

'*
+
] :^)

'
*
+

' "

'",% %

" ] e^
" ,"
" (

"
,"

"
%

B(
"

" # *
] ^
(] 0^

"
(

/
(

"

"h

"

(*
+ M

"
,"

""
+(

"

"+

" "

"

)
,"

" FG5@
(#

"" " *

""
*
+

*
+

" %
,"B
(B "

"

"
"#

"

"

( "

""

E)
)

0 9= /

*
+
(

"% "%% " " "


" "%
,
(

( " "

'

"
( +

*" " )
"
)

" ] ^ ] ^ ] ^ G
'
,
"
(
#

1O

2 2 &
'FG5@"
*5 " ;

2 ;G

"
*<

#
2

0 " #-+# B
U 2

"

2
#

U 2

" (

2
#

" (

"

# B

<p>Ez itt
egy prba

2
#

2
#
2

" (

2
#
U 2

>) >

"

>) >
*

2
#

>) >
#

G (
"%

# #
9= /

+
(

szveg </p>

.
(
*

.
(
%

!! #

"*#.B

#?
#A
*

#P

+ ##

<

/
00

# +

1Q

+ ##

# +

"

"

(=

"

"
#

2
2

%
*

#
#

2
2

2
2

2
2

"

# 2

>

-(4<: %

-(4<: %

-(4<: %

.+

>

( "

X
#

.
.

V%

# #

V%

# # 2
.

>)

V%

# #

V%

# #

>)

#
*
#

>
"

+0
*

"

"
*

' #-!
#
*

## B

<

/=-

K
<IMG src="kids.jpg" ALT="gyerekek">

"

"

"

" ," "

("

!"

%)

%
*

"

" %

"

"

"
" ""+

"
(

B
')
*"

"

*"

"0 %

"

+ "

"+

"""

# ! #
%

("

"

"

+
-0 ?

"#

"

>)

"

>)

"

%
%

@@@

@@@@ 2#
"

B
2
%

>)

"

2%

"

!
%

"

"#

<:
*

"

'

>

+ "

!"

G )

% % ;"

%
*

G )

% %

% % ;"

#
% %

2
#

I #

MMWOB

B
<meta http-equiv="Refresh"
content="5;url=http://vww.gamf.hu/">

*" #
"+
*

"

# +

* B

#
FG5@ # FG5@ #

2
2
#

"

!! "

'FG5@
#

"

"#

#2
#

*
Q 2

"%
"
%#

")
H+ /

<

; 69= /
' JFG5@ =X %
:"
; 4
%
8 "
FG5@
FG5@
' FG5@ > :
"
'
JFG5@ J5@ ( "
( J5@ "%%""
#
D( )
""
* "FG5@)
%
" "
(
"
" "
JFG5@ (
#, "
FG5@> :) ' JFG5@
FG5@)
J5@)
(
+
'

H
: :)

JFG5@: )
" )

;) 6 /
.

"%

"

,"

J5@

JFG5@B

,"

6 /B

=X %

FG5@)

% (

" +

J5@#

"
#
+

#
"

"

( &

% ;"

' FG5@=
"
+

7#

(X4 !#

+)

:
(

%
" +
=

*
0

J5@*
+ FG5@
" *

"

""
(
,)
+
# " "
" "=
)

6 / B

" +
G

"

J5@
" +

"

,"

J5@
(

% RGR

& %

()

% +

;))

"

( J5@ "

"

' J5@
FG5@
#
' J5@
' J5@8
"
"
"

"

#
,

"

)#
,
#

+
"

"
.'

+
/2

"
9"

*
*
.

,"

( (
" "
*
(

("%
* " "
"
6
*

'
7
#

#
"
"

"

#
#(

""%%
" (J5@ (

"B
"

*
(*

"+

*
*

(
+
)
)
!
,"
)

<
"
+

*
(

G
(
,
%

"
*
,
"

!"%
*

.(
"
(

#,

"

% "
B "

"
(

( #
5
( ,
J5@

+
(
" V

"*

/2

,"
+( "
( #
" "% (
"
""
" +
"

"

Y( "

"%

B)

*
#
"
(

" '"
7#
*

(J5@*
"%

"$
!"%
" (
"
( #
,

,"

(
",%)
""%)

,
$$ R %
; R %
(" " *
"
=
""%%
"
"*
( ,
"
#
""
(
J5@

"

" * )
)
)

("% (
("
*" (
%
(
" "
" )
(
"% (
)
(" "
)
+
)
""
G (
,"#
(
(" " "
"
)
"
(J5@
(=
#
)
(
" .""
(
#
"
( "% (
"
"
(
B
"*
+
J5@ )

"
. "

"# (
"
+ "

()
("
+!

"
*" (

'

"
J5@

;)

"
*

"#
+

,
(

!"% ( "
+(
#
"
*

(
"
+

)
+

"

(
"

"/

"

," ( (

"
"
("% ( "
,
# %
@
+
""

#(

6 /

' J5@
"% (
-

B 2% (
(

<?xml version="1.0" encoding="ISO-8859-1"?>


<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

'
"
' %
'"% ,

'"
J5@ "

"
" " "
+

/
U
"

"
(

2
%
(

(
(

0
""

"

"

"%

)
T)
'9HV
V
" " ")
(
%"

0
,"

<>

'

'

' J5@ "

'
"

"

""

!)

( !

"
" ("

"

"

%
""%%

" "

J #

" ((
%"
"

'

"

" "

J5@ "

#
,

'

" (
(
)
%
"
*" #
' ("
RGR &
% ;" & % %
+
" J5@ "
(", RGR
(

"
%

U
(
% "
( + '"% )

" "/

<?xml version="1.0" encoding="ISO-8859-1"?>


<!DOCTYPE note SYSTEM "InternalNote.dtd">
<note>
...

- (
(

%
"

RGR
"

"

(
"

"

" (
" "

"
(
"

(""%

)
)
)

"
' "% "
%

",
""

#
#

(
%"

RGR)
" "/

<?xml version="1.0"?>
<!DOCTYPE note [
<!ELEMENT note (to,from,heading,body)>
<!ELEMENT to
(#PCDATA)>
<!ELEMENT from
(#PCDATA)>
<!ELEMENT heading (#PCDATA)>
<!ELEMENT body
(#PCDATA)>
]>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend</body>
</note>

69= /

' JFG5@

#"

"%
(

G
'

"

( FG5@ (
%

!
"* "

'"% "

(
(

(
(

"
/

'= )
=

<1
<b><i>Ez egy flkvr s d lt szveg</b></i>

'

/
<b><i>Ez egy flkvr s d lt szveg</i></b>

!
'

"

"

+
" +

"% "

<BODY>
<P>Ez egy bekezds.</P>
</BODY>

'

/
<body>
<p>Ez egy bekezds.</p>
</body>

G
'FG5@

"

"

<p>Ez egy bekezds.


<p>Ez egy msik bekezds.

'

(/
<p>Ez egy bekezds.</p>
<p>Ez egy msik bekezds.</p>

T 'S
"

# A
",
/

"

"

(% +

Sortrs<br />
Elvlaszt vonal<hr />
Kp <img src="happy.gif" alt="Happy face" />
*

#/ 0
"% * "
( * "FG5@)

0 *
.
""
JFG5@)

# "
"

# #

"

"
+

JFG5@

# *!

FG5@)

"
"%

"%

<table width="100%">

0 *
F
FG5@
!"% " ""

# #
+
"

"
(
( "

"

"

<<
<input checked="checked" />
<input readonly="readonly" />
<input disabled="disabled" />
<option selected="selected" />
<frame noresize="noresize" />

0 *
F

'

/
<img src="picture.gif" name="kep" />

F (/
<img src="picture.gif" id="kep" />

5
"

( /'
/

""

"

"

"" )

<img src="picture.gif" id="kep" name="kep" />

;2
E
(

FG5@
.

0
+
"+,

+
-0

.'

RGR
(
%"

"

"

<!DOCTYPE dokumentum-tpus>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Cm</title>
</head>
<body>
Az oldal trzse
</body>
</html>

' RGR
"

;2 )

""

( " "#

69= /)O3=3

.
+
"% ,

"

"

*"
" "

"

( ("

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

.(

"

"

"

"

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

<T

'

"

"

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

;2

69= /))3=3

'

*" (
#

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

"% " "

;; &
'

"#

(= #
"
"
(
"
( "
*

( : :)

"

"

"

% " ,"
%
# "
* "FG5@)

("

# /'FG5@ (
"
" (" "
",
"
B
BFG5@
"
"# (
' JFG5@)

U
%
(
"

" ( )
#(
"

"
%
#

"
B
%

"
#(

'"% "

",

%
"%

""

"
] " )

*" /

0
"

"

"

" "

"

5 (

"

'" " "


F

""

FGGK % % "
J5@ "

"
"

!! "

FG5@V#

D(

J5@

H
#+
*

/
00

0A

/
00

0A i #
0 *
)A

: 0*

"# +

)
)

<O

D,,
) $

D,,B

'H99

' +
"

" FG5@
%

' +

"

' +
"

' +

"

2,

G%

(
5
-

.
%

% !"

5 (

"

"

FG5@

"% (

"
"

",%

( +

"

"

"

"

'
H99

"

"

B
+

""

"
(
H99
",

+
"

"

% +

!#

FG5@
(
("

"
"
.
*
%
(
H99) "
(
" !
" ") "",% %
" * " "*
(" /

/
00===*

* 0 0

( 0

! !!Y %
( H99)
)
"
"
)
.
#
8*
'
(

<Q

+0

'

'FG5@
"
"' "
" #?
%
(
2
B
(

"
(*
+

"
" '
+

(%
D
"
%
(
+
#(
"
( B+
,

H99

(
"
+

D)
"
" 5

' +
+
H99

"%

= #

H99)

%
("
(
""%

("
#)
" )
")

,
(

"

"

.
!

-'

"
#
"
( (
" ",%
"
!
(
+
(
"
F
(
"
+
"

/
00====

"

*
# /'5 *
( #
,
,
(
#
'%

+0

""
+

#)
)
)
+
)

=
B
#
FG5@
"
" FG5@ ( )
"* "
"

%
"

"
"
%
"
*
%

%
Y(
%

,
%
'FG5@> )
%
(

"
(
(
"

"
FG5@

'
"

# #

""

*
)
#(
"+
)
3 #A
)
"
" )

0
"
(
%

"
"

( FG5@
"'
(
Y("% (
%
(
(
*"

!! +0

" +
.'

' +

" ( (%
"
#
, +
#
#
" % ", H99
",% % FG5@
(

/#-.

"
( 9
(H99

)
(FG5@
( %

5 (" +
X

(,

'"% "
"

(
# ,+

("
5 # + / (
" ", H99
(
,"
,"

%
( ,

"

FG5@
,"%

",

+
#

#
>

+
,

# ,+

!#

D,,
' (

",% %

/"

"/

kivlaszt {tulajdonsg: rtk}

'"
(

(
(

!
"
"

"
("

(FG5@
+
+
"

"
(

'
"

(
, " *
body {color: black}

"%

"

p {font-family: "sans serif"}

("

% #
,"

+
"

"
p {text-align:center; color:red}

' +
/

#+
*"
p {
text-align: center;
color: black;
font-family: arial
}

"

"

" "% (
)
"

T:

%
.(
"

"

% "
"

"

(+
" #

," #
'

.""

"
*
+

)
%

h1,h2,h3,h4,h5,h6 {
color: green
}

'

P
("
("
"
)

+
"
#

"

)
'
"/

"
" ",% %

+
(

)
" )

p.right {text-align: right}


p.center {text-align: center}

"

"% "

"

"

<p class="right">
Ez egy jobbra igaztott bekezds.
</p>
<p class="center">
Ez egy kzpre igaztott bekezds.
</p>

' FG5@
"

" "
"

"%
"

("
"

" "

)
)

"

'

(
+ 5

!"
(
"
#
("FG5@

"%
'
(

"%
%
"%

" #
,
(
B
"%
+
"

.center {text-align: center}

'#

(
B

"%

+/

<h1 class="center">
Ez egy kzpre igaztott cm.
</h1>
<p class="center">
Ez egy kzpre igaztott bekezds.
</p>

+'
'FG5@
"
"

-?
" "
*

"

"

Y(
(
)
H99)
j +

"

'"% "

+ B

! +

+ "/

#menu {color: green}

'

+ B "

"%

"/

)
)

T
p#para1 {
text-align: center;
color: red
}

'H99#
+ "% (
(

" "
( H99
/

( "
( "

( "
( , H (

2
Z Z2

)
)

/* Ez itt egy megjegyzs */


p {
text-align: center;
/* Ez itt egy msik megjegyzs */
color: black;
font-family: arial
}

D,, #-.
E

"

("

(
+

H99
H (

H99#

("

" )
"

0 *

.(

+
#
,

"

"
+

#
%

"

"'
(

2)
'

+
+

%
'"
"G

+
%

"

"

""%,
%

body {background-color: yellow}


h1 {background-color: #00ff00}
h2 {background-color: transparent}
p {background-color: rgb(250,0,255)}

+
)
)

2
'

# #-

( +!
"

"

"
+

,"

"

background-image: url('bgdesert.jpg')

I #

'
,"

"

"

"

G
(
"

+
"

'"% "

#
,
(

* ""

)
)

" /

background-image: url('bgdesert.jpg');
background-repeat: repeat-y

'

"

(
B

"" *

" "

"

7 +
.'
'

"

+
*

"

"
*

# /.

"

""

"

"

"

'"% "

"#

"%

"

*" "/

background-image: url('smiley.gif');
background-repeat: no-repeat;
background-position: top center;

'
"
' ) "
+
*
*

% #
,
S % S

# /5
#

"

"%,
"

S %

("

+
S #
"

+
* "

"
"

" (

!)

# #-

%
"
9"

*"
"

"
(
,

#A

+
*

(
"

)
)

,""

background-image: url('smiley.gif');
background-repeat: no-repeat;
background-attachment: fixed

!
F % #
%

+ " % %
Y( (
"

+
+

(
"

% )

background: #00ff00 url('smiley.gif') no-repeat fixed center;

T>

; ,

'H99 %

+#

"

+
' %

h1 {color: #00ff00}
h2 {color: #dda0dd}
p {color: rgb(0,0,255)}

$
'

!""%%
"+

%
!+ /

'

"

h1 {letter-spacing: -3px}
h4 {letter-spacing: 0.5cm}

,'
'

+
'"% "
"

(
+

"%

h1 {text-align: center}
h2 {text-align: left}
h3 {text-align: right}
p {text-align: justify}

"* "

'
*

""

+
# /'
"%%"

"
+
( *B (

(
B

*+
"2 " ( %

""

"
",% %

(
" ,

.'*
'"% "
B

(
+

h1 {text-decoration: overline}
h2 {text-decoration: line-through}
h3 {text-decoration: underline}
a {text-decoration: none}

," #
% B

T1

! ?
' "

"% "

":* )

B /

" )"

p {text-indent: 1cm}

>#

"

'"% "

( ! "

p.uppercase {text-transform: uppercase}


p.lowercase {text-transform: lowercase}
p.capitalize {text-transform: capitalize}

'

' (
" #

"
(

K ""
"
*
% %
%

"

"%

"

FG5@
"%
(

+
".

+
(

" "

"

B
(B

"

"
+

" " )
#
,
,
"
#

'

"" )

"

'

"

"

+
-0

'"% "
"

#L*
+ " "

"

" "

!+

h3 {font-family: times}
p {font-family: courier}
p.sansserif {font-family: sans-serif}

' !+
"
#

""%,
2
( %

"

+ )
+"

!+
+

' !"
" (
( #

%
"
(

" '
+
"* (
+

"%

)
"

(
+

p {font-size: 1,1em}
h1 {font-size: 130%}

'

!
S
S
+"

B
S

%
S

"
S

/
' +(

S
"

T<

+0

'

!+

"

" (

p {font-style: italic}

$
'
%

!"
S

#(
kQ

9%
""

"

"
"

p.normal {font-weight: normal}


p.vastagabb {font-weight: bold}
p.legvastagabb {font-weight: 900}

"

'%

!#

"

"

p {font: italic small-caps 900 12px arial}

C ,

'H99

("
%

# /-

'

""%

p.dotted
p.dashed
p.solid
p.double
p.groove
p.ridge
p.inset
p.outset

"

{border-style:
{border-style:
{border-style:
{border-style:
{border-style:
{border-style:
{border-style:
{border-style:

(" +

"

" "

dotted}
dashed}
solid}
double}
groove}
ridge}
inset}
outset}

(+

'"% "

TT
p.egy {
border-style:
border-color:
}
p.ketto {
border-style:
border-color:
}
p.haron {
border-style:
border-color:
}
p.negy {
border-style:
border-color:
}

solid;
#0000ff
solid;
#ff0000 #0000ff
solid;
#ff0000 #00ff00 #0000ff
solid;
#ff0000 #00ff00 #0000ff rgb(250,0,255)

#
'
#(

(
(
: A)

"

+
(

#
"

"

'"% "
%

p {
border-style: solid;
border-width: 15px
}

'

(
/

*" (

" ",% )",%

" +)

p {
border-style: solid;
border-left-width: 15px
}

= !!# #
F %

""

,"
F

"

"
#

#
2

""

"

#
(

"
( #
(

"
"

#(

.'

'

(
"
"

"
+

"
K

p {border-bottom: medium solid #ff0000}

"
(%

% )
)

TO

=#

'H99

""

"
(
( "+,

)*
%
+
'
""
A # "% "

("%%
#
+

* " ",

'"% "

! A # +A

5
"
",% %

+
#

"

'

%
)
)

"/

,"
( (
(* " (

" "
H "

"

p.leftmargin {margin-left: 2cm}

"" /

p {margin: 2cm 5px 2em 5%}

p {margin: 0}
*
"'
B

# /'
H99

(
"
(

"
"
(+("

+
B

" " ,

"

"
"

)
( (

body, p, h1, h2, h3, table, tr, th, td, img {


margin: 0;
padding: 0;
}

M /
'H99
+

"%%"

"

TQ

"

"% "
"

(
( #
%

"

"

U
(

*
#( )
"

"

ul.disc {list-style-type: disc}


ul.circle {list-style-type: circle}
ul.square {list-style-type: square}
ul.none {list-style-type: none}

9
"

"
("

%
""%

,"

""%,

*"

ol.decimal {list-style-type: decimal}


ol.lroman {list-style-type: lower-roman}
ol.uroman {list-style-type: upper-roman}
ol.lalpha {list-style-type: lower-alpha}
ol.ualpha {list-style-type: upper-alpha}

'
"

"

"
%

"
"/

%"

list-style-image: url('arrow.gif')

*
'

- +
.'*
%

ul.inside {
list-style-position: inside
}
ul.outside {
list-style-position: outside
}

")

.'

'

"
"%% "

* .

" (

"
/

list-style: square inside url('arrow.gif')

'

"
#(

G% #
/ "

"

)
O

+#

+#

'*

*
'

"%,
"# #

"

"

"#

+
)
""%%

#(

"
"

'
. ( FG5@
" "

# #

(
+
% %

#(

% %

" "
#?#AS S S S )
S %
% %

," ( ( !
" ,
/

"

" % % )"

p {display: inline}
div {display: none}
<p>Els bekezds.</p>
<p>Msodik bekeds.</p>
<div>Nem lthat div
elem.</div>

.(
#

"8 ("
,

"
" (
"

"
"
(
(

"
(
"%, * " (#
= V
("
(
. $ 9*
(
(

" ,

"
"

" 8
H99
.
(
*

#
% %
"% "

""
"

,
)
)

"" *
9" )
!
,"
"%
'
V
""
( # )
* "
(
*
"
( !
/"
" % %
(
"

O:

)
O)
F (

!
(

"

"

"
#(
-

"
.

, " ("
B(

"

+
"% (

% H99 ", '"


( (
!

""

,
"%,

"
#

"
!

"
#( )

<p>
Ez egy szveg. Ez egy szveg.
Ez egy szveg. Ez egy szveg.
Ez egy szveg. Ez egy szveg.
<img src="logocss.gif"
width="95" height="84" />
Ez egy szveg. Ez egy szveg.
Ez egy szveg. Ez egy szveg.
Ez egy szveg. Ez egy szveg.
Ez egy szveg. Ez egy szveg.

"

"
"% "

"
"
+

"% #
%
""
(
, "
#

F
"%
"

##
/

"

"%
(
(
,"
F
"
#
,""
+
'
,"
( )
+
*
+ )
,"

div {
float:right;
width:120px;
margin:0 0 15px 20px;
padding:15px;
border:1px solid black;
text-align:center;
}
<body>
<div>
<img src="logocss.gif"

"

""
(
(

"%)

""
"
(
"

O
width="95" height="84"
/><br />
A CSS szuper!
</div>
<p>Ez egy szveg. Ez egy
szveg. ...

'
!

"
(
," (

( *

(
"#

!#

G /
" *

"

,"

"

'

, (

!FG5@

<ul>
<li><a href="#">Men 1</a></li>
<li><a href="#">Men 2</a></li>
<li><a href="#">Men 3</a></li>
</ul>

'"% "

"

# /'"

,"

"

"%

"

4 %[?#

ul {
float:left;
width:100%;

'

"

"

padding:0;
margin:0;
list-style-type:none;
}

H "

"%%"

",

a {
float:left;
width:6em;

3A

!
%

"
# "

"

(
"

text-decoration:none;

"

color:white;
background-color:purple;
padding:0.2em 0.6em;
border-right:1px solid white;
}

'

, "+,

( +

a:hover { background-color:#ff3300}

"

O
'

"

+
#

U
""

#(
!"% "

"

li {display:inline}

'= #
"
(
N

" (

# A
B

"

" ,

"

+
" *
*"

"

"
"

!
"+

'"
"
"
%

"

7
""
"+
# *# ,
*
+
*
%
"
" ) )>
"
( + * " * " "% " "+
"8
(
,
% 8 l
(
((
" !
(
(
l
7'H99 )
,"
(
* ""

"
,"

'FG5@

"+

," (
"

"

"

'"% "

# *
*
"

"+
#
"%
G
%
(
( !
%
% #
(#
(
(
#
*
'
FG5@
"
/

,"
'
()
"

"
(
#
) "7'"

)
)

*
*
/

,
5
" "

O>
<body>
<div class="container">
<div class="header">
<h1 class="header">Praesent...</h1>
</div>
<div class="left">
<p>Phasellus wisi nulla...</p>
</div>
<div class="content">
<h2>Aenean nummy odio orci</h2>
<p>Phasellus wisi nulla...</p>
<p>Adipiscing elit praesent...</p>
</div>
<div class="footer">Praesent...</div>
</div>
</body>

' %

% #

("
#(
(

"

"
(

"
+
* " ("%%

% %
,"

"

div.container {
width: 100%;
margin: 0px;
border: 1px solid gray;
line-height: 150%;
}

' %
(
"
#
(

%
"#
%
"* "
"
(

"

'
"

"
)

%
+ % # # %%"
+"
!+ "
"

div.header,div.footer {
padding: 0.5em;
color: white;
background-color: gray;
clear: left;
}

'
(

"

( "

O1
h1.header {
padding: 0;
margin: 0;
}
div.left {
float: left;
width: 160px;
margin: 0;
padding: 1em;
}
div.content {
margin-left: 190px;
border-left: 1px solid gray;
padding: 1em;
}

'

"
'

, "/
""

#
%

% %
" ,
"% "
#
% %

"
(
( #
"
. "+,
+ +(

( )

% %
(
% %
"

)
#

"

(
*

# /'
"

"
F

'
"
+
V(
!
"%%
"G
+
"

)
O

"
(

"
%
B ( !"% "
( ( !
( ,"
,(
"

"
"

+
#"

"

*
B*

(
#

/
(
+
" "%%

#)

" ,

)
"

(
)
"

#
+
"

%
B

H99)
#

7 +
.

'

"+

+
*

,"

+- +
.'

'

"
+

#
,
""

#S
(,

#
"

"
'
"

*B

+
' +(
.
(

+
+
*)
"
S
l
7
)

"

'"% "
"

( ,"
(

(""
+
+
*
(
+

,"

*
+

"
'

FG5@#
/

(
(

*
( *
+
(

% )
# )

O<
<h1 class="shadow">F cm</h2>
<h1 class="main">F cm</h2>
<p>
Bekezds. Bekezds.
Bekezds...
</p>
h1 {
font-size:
}
h1.main
{
color:
position:
top:
left:
}
h1.shadow {
color:
}

'

'

black;
relative;
-1.9em;
-0.1em;
#bbb;

(
G

, *
+

2em;

" "

/ *
+
(

"%
"
"%
,""%"" "", % %

?- +
.'
+

+
*

*"
.

#
( ,
'
+
*"
"% "
'

"

"% (

+
*

+
*"

"

+(
h1 {
font-size:
margin:
}
h1.main {
color:
top:
left:
position:
}
h1.shadow {
color:
margin:
}

+
*

+
*

"

2em;
0px;
black;
6px;
6px;
absolute;
#bbb;
2px;

'
"

- (

"

"

%1- +
.'
'#A

"%)

( "

"" ,
(
"

+
*
(
+
)" "

",

OT

)
O2 /
')
"
K

'
+

"
(

,"

"

,"
( ( (
* #,
"% ( )
(% #
,
#
#
,
"" " # "
.""
(
(
B %
(
"
+
(
"'
( (
( %
)
*" (
%
'#
,
+
)
(
"
("
#
,)
"
"

"
( " "
""
%
K

"

+
"
*"

"
#
,)"

" +

"

)
O; T

"
"

"
"

" (
F

"

)
)/
'"
(
*

""%%
*
#
"
"
"
"",%

;
+!
(
)
""
a:link
a:visited
a:hover
a:active

'
-

""
""

""

"

"
#"

("

(" . " (
"% (

#
+

("
"" " *
"F (
( ! ""
" "" "%
"" /

"
"

{color:
{color:
{color:
{color:

#FF0000}
#00FF00}
#FF00FF}
#0000FF}

"
" "

#)
! +"

"
"

"

%
+

G
( (

#
," "% "

a:first-child {
text-decoration:none
}

'

)
)) /

)
)

"

@ %
"

5
*

)
#

/
00= # * 0

" "

"

)
)

OO
.
#

"

(
K

""

<p>Nzze meg a
<a href="http://www.gamf.hu">GAMF</a>
s az
<a href="http://informatika.gamf.hu">
Informatika tanszk</a>
honlapjt!</p>

"
" #

"
(
"

""
'"% "

"% (

)
%

<p>
<strong>Nzze meg</strong> a
<a href="http://www.gamf.hu">GAMF</a>
...

)
)2

'

!
"
*

"

#
+
#

!
"

,"

+ /
# )
( *

+
(# "%

/
<p>
Tetsz leges szveg
</p>

bekezds

p:first-letter {
color: #ff0000;
font-size:300%;
vertical-align: top;
float: left;
}
p:first-line {
font-variant: small-caps;
}

)
F
=
E
-

+
-0

(=
, ""
( #
,"

"* " (
+ "
!+ "
!+
"

"
"

% # "% (
+
(" " (
"

"
#

"

". (

-(
" "% "

"
"
+

"" /

OQ
@media screen {
p.test {font-family: verdana, sans-serif; font-size: 14px}
}
@media print {
p.test {font-family: times, serif; font-size: 10px}
}
@media screen, print {
p.test {font-weight: bold}
}

" ("
"
(" " +, "/

"

FG5@"

",% )",%

<link rel="stylesheet" type="text/css"


href="screen.css" media="screen" />
<link rel="stylesheet" type="text/css"
href="print.css" media="print" />

'#

"/
"%
#

"

+
(

(" "

"

91
*

"

)
2 G

# #
+#

H *

9( 9

9( 9

D,,B

# 9( 9

9( 9

00

"

"

+0

" "

2"

- 9= /
#

" "
"

"

" "

-.

9= /
B

'

"

'

"

'

"

'#

# #!

9= / 0 *
B

"

"

! A

+0

+0

D,,

"I

"\

"

1 B

"]

"

# !

2
2#

2
2#

% 2
2

2
Z #

% Z2

^ #

D,,"*! B

0 *

+ B

00
#?\

#?\
#?

J<<<<<<]
%

J<<<<<<]

J<<<<<<]

+ !

Q:

+# !

0 *

'!

"

"

>
*

\%

"

\%

%%

?
%
%%

# A

% ]
%

% ]

% % % ]
%% % ]

0*
0
%

+
-0

"

00

"

0*
0

]
"

"
#

"
#

0*
0 !

'* B

%
%

0*
0 !

>

"

"

"

"

"

)
;&
' H99"
(
H99

"% '
(

) =

*""
"+,

"+, %

/
00

"

(* "

HH99;
9
( FG5@"

!! "

5 ( (
%
:
*""
* " ""
.

#(

==

'

#
#
*""*
+ /# 2
2
#
" +"
"

0* )

2
2

" *""
#2
2
.?'
" "# "
"
B

# (
!

+
)

,. -

'$

9*
(
"
"!
" ( "%
"
( %
9
" (
" %* B
+
( '$'J
* ""
#
(%

C) $
5

9"

FG5@

'

HMM

9*

"
; ,
+" $ 9*

,. -

"
#
)
$ 9*
"
#)

"

!"%

FG5@

(""

"

"
*

" *

A
( +

(' !

"
(
, ""

.H5'9*

9= /

"%

' FG5@
"'
%
#
:
1 EC %

*#" *

(
#
+

9* "
" * )
%
"
)
FG5@ "
(

"
"% " "

K
/

<body>
<script type="text/javascript">
document.write("Hello Vilg!")
</script>
</body>
*
%%

# /F

"

'

- (
(

," %
$ 9*

"

($

#
"

(
C
#
/

9*

"#

!"

"
!"%
(

""

+
!

"
"
"

,"
"% +

%
",

"

"
" "

"
$ 9* "
#
,
("#
$ 9*
( -

"
" "
,"

)
"

Q>
<head>
<script type="text/javascript">
function message() {
alert("This alert box was called with the onload event")
}
</script>
</head>
<body onload="message()">
...
</body>

'

"

!#
,

"
(# (
.

("
" "

(
,"

"

(#
# F
""

%
"

( ,"

#
#
, )
"%)

<script type="text/javascript" src="message.js"></script>

&

'

'

" (
"
"

"
("
" #
"
(

"

'

"" )

( !

"
'
+

" ("

," '

"
"

"
!

" "

" )

"

&

'

.'

') " *

"% "

"

var strname = "Hege"

", /

strname = "Hege"

'

&
F

#
,

"

"

' #

>

"

"

'

(
#
,
(
,
"
F " ," #
,
(
'" "
," F % ",% % #
,
""
" (
#
,
(
"

F
(
(
"

#
,
"

" "

( " "+,
'
""
#

*" #
,
(
! ". "
"
(
" (
"
"
("* "

"
%

" ""
"

"

"

#
,
)
""
!)

=+
-0
.( !
$ 9*

"
"

B " " #
"

"

" + ""
" +

Q1
"
"
+ B"#

(
'
%

"+
(

C2

"

"
"

#
,

" %

"

.( ( !
% ," , "
#
2 + "%
"%% ",%
'$

9*

'""
9

" *"
",% %
(
"

H)

"
A/

("
"

!#
"
"
"
( "

"

"

"

@ % )
"

(",% %

% #

"

if (felttel) {
utasts
}

'"% "

" $

"+

*Q

<script type="text/javascript">
var d=new Date()
var time=d.getHours()
if (time<9) {
document.write("<strong>J reggelt!</ strong >")
}
</script>

'"% "

#(

<script type="text/javascript">
var d=new Date()
var time=d.getHours()
if (time==12) {
document.write("<strong >Ebdid !</ strong >")
}
</script>

"
'""
,

+
," , "
"

"

+
( #

if (felttel) {
utasts ha igaz
} else {
utasts ha hamis
}

,"
9
A/

Q<
.

+ ,"" 6
$

"/

<script type="text/javascript">
var d=new Date()
var time=d.getHours()
if (time<9) {
document.write("<strong>J reggelt!</ strong >")
} else {
document.write("J napot!")
}
</script>

0
.
"

+
""
"
)
#

(
"

"

!
"

(
9

"#
",% %
A/

switch(n) {
case 1:
utasts 1
break
case 2:
utasts 2
break
default:
utasts
}

% "#
%
'

"

"

"
F

,"

* ""
"

*
'"% "

"

"

<script type="text/javascript">
var d=new Date()
theDay=d.getDay()
switch (theDay) {
case 5:
document.write("Vgre pntek!")
break
case 6:
case 0:
document.write("J kis htvge!")
break
default:
document.write("Mikor lesz htvge?")
}
</script>

""%%
*
+ " # ")
"

QT

C; @-

AZ
(Z
AM(

"

AZ1
(Z
A)(

AZ1
(Z>
Ae(

:101
10

MM

))

J #

-#

*%""

#
>

""

1[
: [O
: [

:)

AZ1
AMM

AZ<

AZ1
A))

AZ>

:)

' -

-#

A
Z(

AZ(

MZ

A
MZ(

AZAM(

)Z

A
)Z(

AZA)(

eZ

A
eZ(

AZAe(

0Z

A
0Z(

AZA
0(

[Z

A
[Z(

AZA
[(

+' -

-#

QO
ZZ

ZZZ

&Z

"

AZ1
(
Za
1a
AZZ(
AZZZ(

1&ZO

1^O

"

^Z

1]O
(

]Z

1ZZO

( (

"

1^ZO

( (

1]ZO

-#

``

A
Z<
(
Z
A] : ``(^ :

m
m

&

A
ZZ1 m
m(ZZ1
&A
ZZ(

"%

#
!

"

txt1="Ez egy nagyon "


txt2="szp nap!"
txt3=txt1+txt2

% #

'

B#
9

"

A/

vltoznv=(felttel)?kifejezshaigaz:kifejezshahamis

'

,
. 5# #

'"% "

)E
"
$

7%5
)

"
/

. 5#

"

",%

")

QQ
<script type="text/javascript">
var d=new Date()
var time=d.getHours()
var message = "J " + ((time<9)?"reggelt":"napot") + "!"
document.write(message)
</script>

C
V

'0 !

"
," , "
"
( #
"" + " #
,

,"

(
*
)

(
#
,
"

( #
" +
(
"
" "

#(
. "

(
+)
)

' ,
*" (
% ,

"*

( (
"

! #
" '#

* "%%

#
,
%

( "
"%)

<head>
<script type="text/javascript">
function disp_alert() {
alert("Figyelmeztet ablak!")
}
</script>
</head>
<body>
<form>
<input type="button"
onclick="disp_alert()"
value="Gomb">
</form>
</body>

(# #
E

(
"
( %
"
(
!
U
"
",

' %

#
,

#
(

",%
"
#(

"
""
(* "

" ," )
(
"
)

"" &
"

( #

<head>
<script type="text/javascript">
function disp_confirm() {
if (confirm("Krds")) {
document.write("OK")
} else {
document.write("Mgse")
}

("

:
}
</script>
</head>
<body>
<form>
<input type="button"
onclick="disp_confirm()"
value="Gomb">
</form>
</body>

'
#
,

#
,

(
"%
" #

( (
,
V
F

%
%
#
,
#

""
"

," #

"

"

'
)
)

45

"
<head>
<script type="text/javascript">
function disp_prompt() {
var name=prompt(
"Add meg a neved","Nvtelen")
if (name!=null && name!=""){
document.write(
"Szia " + name + "!")
}
}
</script>
</head>
<body>
<form>
<input type="button"
onclick="disp_prompt()"
value="Gomb">
</form>
</body>

CC %A
'#
,
#
,
#
,

(" B #
"
( " ",% %
(
("
"
( FG5@"
+ $ 9*
F
H99)
",% +,"

'#
,
("
"% " "

(
"

" ("
( !
(
"
#
,
( "
"% +

!
"

"%

.( (
+
"5
"
(
+

"
"

+
")
)

(
'

(
#

: :

%A

' "

.'

A /

function fggvnynv(par1,par2,...,parX) {
fggvnytrzs
}

' %
% "*
,"
"*
(
+(
#
,
("
("
" + ,"

&

"
"
"

("* # *
"
G
""
"

H0HMM (
'" "

""%%
", #
,
)

""

## # #

.( #
,
+

("

'"% "

"

'"
+ "
"
!#
,

"'
#
,
(

"

"

( "

function prod(a,b) {
return a*b
}

'#
,

"% "

"

+ /

product=prod(2,3)

'#
,

(<)

C8

'*"

"

" ,

"

"

( ("

*"
"
A/

"

. 0
'
"

*"

""
*"

"
" #

"

for (vltoz=kezd rtk; vltoz <=vgrtk; vltoz++) {


ciklusmag
}

3
#
'"% "

%
"
#
,

)E 7
*"
(

"

( *"
"

"
"

"

"

<script type="text/javascript">
for (i = 1; i <= 10; i++) {
document.write("<input type=button value=" + i +
" onclick=\"alert("+ i +")\"> ")
}
</script>

'*" )
%)

#
. "

'=
"

. 0

"

*" " ""


" #
?
(
*"
4("

"
"
*"

"
,"

(
#

"
*")
#

7*"
#
"

*"

#
%

+ #
(

'" 6
+
B "

while (felttel) {
cikusmag
}

'

# *"
*"

"

*"
"
"" #

"

*" )

do {
cikusmag
} while (felttel);
*

# /.

"
*

"

" "% "

,""% "

/' )

"% "

"

for (vltoz=kezd rtk; vltoz <=vgrtk; vltoz++) {


ciklusmag
} while (felttel);
.

% "
*
"% " #

"
"

( ( *"
"
#
( " #
,

"

"
*"

(
"%

# '#
%
", h/

+ "

for (vltoz=kezd rtk; vltoz <=vgrtk; vltoz++) {


ciklusmag
}
while (felttel);

& # #
-

"

# %
+
.

"
"B
+

'H
*"

B (
"

'"% "
" "

"
*"
"

%
" !""

"
""%%

"

"* "

"
+

% %
#

"+

"
'

" *"
#

(
"

#
"

"

(/

<script type="text/javascript">
for (i = 1; i <= 10; i++) {
if (i%3 == 0)
continue;
document.write("<input type=button value=" + i +
" onclick=\"alert("+ i +")\"> ")
}
</script>

" . 0
'

*"

("
*
"
9
A/

% *"

"

(
V(

"

!+

for (vltoz in objektum) {


ciklusmag
}

'*"

(
)E

#
7"#

'"% "

#
"%

(%

(
,

+ "

"

.
"
(

*")

"
/

<script type="text/javascript">
var mycars = new Array()
var x
mycars[0] = "Saab"
mycars[1] = "Volvo"
mycars[2] = "BMW"
for (x in mycars) {
document.write(mycars[x] + "<br />")
}
</script>

CM G
$

9*
(
"

+
" +
",% % #
(

$
=

( (
(

" '
(" "

"

"

%
"

" ,

",

(
!,

'

#
(

. "
"

*"

(" "% "

"

" ( ,

'

" =
%

"

,"

(" "% " "/

,"
/

(#
,

"

,"

# "*)

#
(" "" "% "
"
(
"
(

(
#

"

"

: >

' ,"

#
"
(

%
" F
# "

!)

"
"

F
,"

%
#
"
"
)

"
"
*
+

*
+ "
"

#
("

%<
(

,"
( !
" "" , " ( "
* ""
,"

>
. "
" (

"

%
"
"

'

!
"

"

"" "% " "


(
!

' %R

"

( "
"% " "
/

"

"

"

""
(
)

% #%
- ," (

" ""

*
+

%)
A)

<input type="text" size="30" id="email"


onchange="checkEmail()">

C
," #
(

" B!
"
"K
"
"

#
"
/

"% "

% #
,
"
( %
(
(
"%

)
" ""
.(

<input type="checkbox" onclick=


"document.getElementById('info').style.visibility =
this.checked ? 'visible' : 'hidden'"> Dologozok
<br>
<div id="info" style="visibility:hidden">
Munkahely: <input name="munkahely" type="text">
</div>

",
"
+
( !

%
'
",

(
"

"

"

"
,"

(
"

)
"

"#
,

) /

<form method="post" action="xxx.htm"


onsubmit="return checkForm()">

' # <
(
"

#
,
+

(
"

"

: 1

!>
' %
"

( "" "% " "


("
( )
"
""
"
(
'
/

#
"
(
"
" " %

H " ")
" "%
(#
)
( (# (
" )
(
!"
"

<img src="sbergamot.jpg" alt=" "


onmousedown="document.images['large'].src='bergamot.jpg'">
<img src="sfoxglove.jpg" alt=" "
onmousedown="document.images['large'].src='foxglove.jpg'">
<img src="spansy.jpg" alt=" "
onmousedown="document.images['large'].src='pansy.jpg'">
<br>
<img src="space.jpg" alt=" " id="large">

"
(

"
9"

"

(
("

9
"

"

&

&

("

%
%4
_
" "% " " K

("

( "

%4
*

%4
#

"
+

( FG5@

"
"

"

"
_

%4

"
("
"

"

""
*
B" *

+
H99)

"

)
)
"

C:

( #

' "
'
'$

"#
"
"

9*
"

"%
""
"

"",% %
"

"

"
,

""
(

"

(" "
"

, ""
!"%)

'

%
#

")
"#

("
"

"
' "
,9

# (
A/

"

"

"

"

try {
// norml kd
}
catch(err) {
// hibakezel kd
}

' "
"

""
"
""#

" # #
#
"
"

#
""

+
+
" V(
"" # # (

(
"
"% "
'* * "

)
#

: <
-

," ( ( !
5
%
(
#
G (
,"#
( (#
,
(
, " .""
" #
@
(
#
"
#
"
, ,"

B
,"/
(
$ 9*
F
"

)
)
"

<head><script type="text/javascript">
var txt=""
function message() {
try {
adlert("Welcome guest!")
}
catch(err) {
txt = "Hiba trtnt.\n"
txt += "Hiba lersa: " + err.description + "\n"
alert(txt)
}
}
</script></head>
<body>
<input type="button" value="zenet" onclick="message()" />
</body>

( #

*" "
#
*

" "
-

," (

"' #
%

+
"

"

"
(

)
")

"

)
")

var x=prompt("rjon be egy szmot 0 s 10 kztt:","")


try {
if(x>10)
throw "Err1"
else if(x<0)
throw "Err2"
else if(isNaN(x))
throw "Err3"
}
catch(err) {
if(err=="Err1")
alert("A szm tl nagy!")
if(err == "Err2")
alert("A szm tl kicsi!")
if(err == "Err3")
alert("Ez nem szm!")
}

C)
O @!* 0
'$

9*

"
(

()

( 5
( HMM $
KFK
," +
( " "

"
(

""
+
(

"

: T
' %
,"
2
(

$ 9*
" "
"
$ 9*
"% (
PPK

" #
, =

"

"

"

"
"
(#
," , "

"

3 " +
.'/'
"
""
" "

"

",% %

" )
("

,"
"

# ",% %

"
($ 9*
)

"
"(
!

( G

""

=0 *
' "% "
/

"

" )

<script type="text/javascript">
var txt="Hello World!"
document.write(txt.length)
</script>

'#

(?
B

'0
'
"

"
(9

(
"

" (
D
H

"

"

' "% "


( ! "+
)

/
<script type="text/javascript">
var str="Hello world!"
document.write(str.toUpperCase())
</script>

'

(
/:= F,F' &C

@!* 0

'$ 9*
* "
. " *
A
"
( #
,
(
"

(" '
%
,

# "#

"

" #
,
(""
"
'"% "
"

" )
"

function osztaly() {
this.tulajdonsag = 5;
}
var objektum = new osztaly();
alert(objektum.tulajdonsag);

'"

(1

!! "

'
U
%
/
00=

F *" 4
*
+ !*""
0*"" "0

(F .
"

% E `)!

: O

C)
)%
.

!! !* 0
*
" "

(
,N

"
#

#,
*

"
FG5@ # >

,
'9

" "
"

"
( %

'"% "
/

"

A
P# )

var str="Hello world!"


document.write(str.indexOf("World") + "<br />")

'

(<

3
' "

"

", +

"

document.write(Date())

(
/
Fri Aug 18 2006 15:15:11 GMT+0200

'&

"
+

""

#
&"

*" "
+

, "K
/

"% ")

var d=new Date()


var weekday=new Array(7)
weekday[0]="vasrnap"
weekday[1]="htf "
weekday[2]="kedd"
weekday[3]="szerda"
weekday[4]="cstrtk"
weekday[5]="pntek"
weekday[6]="szombat"
document.write("Ma " + weekday[d.getDay()] + " van.")

'

(
/
Ma pntek van.

F
"

"

'

#
(

4%
(

"

'"% "

!
"

" ,
1

/
var myDate=new Date()
myDate.setDate(myDate.getDate()+5)

'"% "
( !
>

/
00

"
% *"
#

0 :

#
0*

"% %

#(

"

: Q
var x
var mycars = new Array()
mycars[0] = "Saab"
mycars[1] = "Volvo"
mycars[2] = "BMW"
for (x in mycars) {
document.write(mycars[x] + "<br />")
}

U
A "
@

#(

% *"

A"#

"
% %" %
.%

#
!

%
(

! % )

#
!

( "

(%

C) 9= /3@
'FG5@&
FG5@

% F. 4
"
$ 9*

"B

( (
#

*
# /'RP5
/H
",% % , "@
:0 0 RP5) " /

'#

"B

RP5 J5@RP5

"

" %

"
FG5@RP5 .

(
"

"

"

"+,

'
"

"

(
'"% "

" ""

+ /

<head>
<script type="text/javascript">
function ChangeColor() {
document.body.bgColor="yellow"
}
</script>
</head>
<body onclick="ChangeColor()">
Klikkeljen az oldalon!
</body>

'
%
FG5@ "
#
'

"

"

%
"'

"

(
%

"

(" (
,
"

"

"'
"

"

"

"

(
"

"
"

+ "
"/ %

'
#%

/
0)
'"% "
+
/

(
' "

(
H99)

(
B
+

" #

"%)
%)

document.body.style.background="yellow"

'#
#

"

"

",% %
" "

"
,

"#

::

C) )

&

'
("
("
"
FG5@ "
(
'"% "
#
#(
"
,"
+
'"% "
/

"
(* "
( "

+
(

)
)

"
"

<body>
<a id="micro" href="http://www.microsoft.com"> Microsoft</a>
...

'$

9*

" /

var link = document.getElementById('micro')


link.innerHTML="Visit W3Schools"
link.href="http://www.w3schools.com"
link.target="_blank"

' =
(
B/
!

"

% R"*
(

"

#"
'
" .""

"
",
#

"
,

"! "
(

9*

+
+( (" ""

" "

"

""

!* 0

'&
%
#
*"
B

"
(

+
$

""

"

*
# /G
+
"

C)

"

"
+
"" (
%

(
/

"
'"% "

"
*
+

<head>
<title>Cm</title>
</head>
<body>
<p>Az oldal cme:
<script type="text/javascript">
document.write(document.title)
</script>
</p>
</body>

U
"
6 "

(
7

( =
F (
% R"*

! (
%% :;4

"
+

(
%

'&
% (
B
;
" (
(
%
"
K

(
("

(
%

"
("
%

("
"

" "
"
%

"
(
) (
!)

:::
A
"
"
!

" FG5@
A
"
" +
"
#
"% +

C) 2

"

%
+

' $ 9*
;
"

+
(

'

B
%
"

"
(
(

#
"
("

(""
"
"
.
(
(

"

(
")
"
)
( " )

,. - 2
"

# "*
("

"

"
"

9* # #
""
# #
* +( 9 "#
(
"
" *
" $ 9*
" $ 9* " " +(
$ 9*
# #(
(
"

$ 9* "#
"
",
!"% "
" '$ 9* * "

" (
" (
" (

C)
2) G 0 ' !
'
(

"
(
"
")
F
(
!
"
=
% R"*/
^
%^0 ")
"
( )

"

C)
2 3

!
#

!* 0

(
(
!
( (

#
,
" (
"

. " "
" B
!
"
"
5

'

"

(
"
"*
"
"
"
)
*
4
)
9*
)
("$ 9*
)
!"% )

-#

"
"(
"

#
#
. "+,

( * "$
" " +, "
, A " ",
"

"
"

% %%

#"

,"

(#

% #

"! "

'#
"

/
<a href="javascript:window.open('popup.html','popup');">
popup nyits</a>

'"% "

9*

",/

<a href="#"
onclick="window.open('popup.html','popup');return(false);">
popup nyits</a>

' "
"
"
(+" %
%
(
"* j # (
" %
.(
1

- (

"% "
*""

/
00=

j $

9*
%/ 0
I
$ 9*

)
%
",

/
0*"""0

"

::
<a href="popup.html"
onclick="window.open('popup.html','popup');return(false);">
popup nyits</a>

.""
$
""
#

9*
"
"

#
'

" "
( #

(
+

"
#

(
)

9*

",

# !!

" $
"
+
"
*
("

9*

, " '$
( FG5@
H
!

( B(
""
#
H99% "
",% +
FG5@ "

# /.
"

"

"
",% .

'"% "
(
", "
#

(
("

( #
* "

'FG5@"

"
" "

"

*
( "

( $

(
#
,

"!
("
"

( $

9*

9*

" FG5@
)
$ 9*

"

"

#
, )

#
""
", "

9*

"

<a href="popup.html" class="popup">popup nyits</a>

'
# #

FG5@"

*" .

'#
/

9*

#
,

9*

"

"% "

addEvent(window, 'load', classPopupHandler);

.
*

"
"
" %

'

"
$

#
:%
$
:%

=)%

*"
" *
$
:%
"% " "

(
(
"

"
. ""
FG5@"

#
#
,

"

(
(

" )

" , " )
(
B "
$
)

(
(
"

function classPopupHandler() {
var elems=getElementsByClass('popup');
for(i=0;i<elems.length;i++) {
if (elems[i].href && elems[i].href!='') {
addEvent(elems[i],'click',doPopup);
}
}
}

. %
"(
!
! ,"
*

2% "

"
(
B
,"
#/ "
(
%

"

" ,
" '*"
(

"
@ %

% R"
$

(
"

""

( FG5@"

" ""

" #

(%
+
"

::
function doPopup(ev) {
ev || (ev = window.event);

' )
.A

"
"

#
,
"

"

"
V)
" " (

"

var source;
if (typeof ev.target != 'undefined') {
source = ev.target;
} else if (typeof ev.srcElement != 'undefined') {
source = ev.srcElement;
} else { return(true); }

""

+
(
("
"
",% % %
"

"

"

( ' % #

,"

window.open(source.href,'popup');

'

"

if (ev.preventDefault) {
ev.preventDefault(); ev.stopPropagation();
} else {
ev.cancelBubble = true; ev.returnValue = false;
}
return false;
}

; ,
(

"
"

""

(
.

(
"

"
,/

FG5@

C)
2

.+

- ( #
"
"
("%
%

"

"

"

'
"

()
*
+ "
(=
( =
""
(! " ' ( )
(
!
""
#
#
" (

*
+

"

n(
*
+ "
("
"
"
)

/ "
%

"

V
*
+

"
*"

)
$

(
(

#
9*
""

<a href="mailto:nagy.gusztav#KUKAC#gamf.kefo.hu"
>nagy.gusztav#KUKAC#gamf.kefo.hu</a>
/

/
00=

" +
" "
" ()
.)
9*
"

"+
(
$

'

"
""

#
"

*
+
9*

"
(

"% "

(
"

" "

"

2C

*#

2
)
*
+
" " #
5
" " *+
" %
((
"% (
%
+

<

%)

0*"""0=

)
)
"
")
'FG5@"
'

::>
F
%
," V " "

9*

""

Ja_a( J " "

function whatCorrector() {
var replaces = 0;
while (document.body.innerHTML.indexOf('#'+'KUKAC#')!=-1
&& replaces<10000) {

' %% :;4
"
*"

#
.(
" ,

" %
"
(

"

' %
#

" "
#
(

document.body.innerHTML =
document.body.innerHTML.replace(
'#'+'KUKAC#',String.fromCharCode(64));

'

*
"

*
! %

(
#

,""
/
AN0 +

( o" "
+ "

replaces++;
}
}

; , *

addEvent(window, 'load', whatCorrector);

C)
;G
'$

9*

(
" "
!

"

.0

'FG5@
# #
R"; D

*
""

," "

" "
(

"% " "

"
"
+"

"

"

=
=

"
% R"*
%

"

"
" ,

RP5
%
)

( =
; D

B
*

# /. "

FG5@
(

'"

(
!

9*
"

/
00=

"
(
+

%
#
#

"% +

"

)(>

'(
'$

* ""

"
"

0*"""0

"
$
$

9*

!'(

"
"

(
", $
"

9*
"
" *

"#

*""

)
)
" ,

)
(
"

," FG5@

::1

UVWV
'H99 # ) "

"

C) <
.
"

"
A

( #
,

(""% "

"

2M

"

(" "# #

"

C) ) ,A
' , " * " )"
" "
*"
=
("
"
E
B

#
FGGK
("

B"
=
"

,"
"% +

.( ( !
/ (
"% (
+ ,"
"
,"
"
"%%
'"% " FGGK
"
"
+ (,
"'
" /

"
"
(",% % =
"% (
+
"

"

,"

"

"
,"

"

%
"%%
"

," , "
* B
"%

+ "
%

'
(

%
,

"
"

"

"

",

/
HTTP/1.x 200 OK
Server: Apache/2.4.12 (Unix) Debian GNU/Linux PHP/6.0.0
Last-Modified: Sun, 25 Apr 2006 13:57:03 GMT
Set-Cookie: sessionId=krixkrax
Content-Length: 177
Content-Type: text/html; charset=iso-8859-2
<html>
<head>
<title>Cikkek</title>
</head>
<body>
<a href="cikk.php?id=1">1. cikk</a>
<a href="cikk.php?id=2">2. cikk</a>
</body>
</html>

Minden tobbbi krs:

/
00===

* 0

9*
)
)

GET /cikkek.html HTTP/1.1


HOST: felho.hu

)
)

::<
GET /cikkek.html HTTP/1.1
HOST: felho.hu
Cookie: sessionId=krixkrax

'"% "
KFK9.99V
R
"

*
" "

# '
8

" *
3 #A . "%%"0E +

+ "
6

9, ""

" *
- ,"

+
7" *

"
" (

, ""%,
"
, 9, "#
, 9, "

".

"

(
"

#
!

" #
/

+
)

8
Q

"

, / ,

function setCookie (name,value) {


document.cookie=name + "=" + escape(value) +
";expires=Thu Feb 10 2028 12:00:00
GMT+0100;path=/;domain="
+ document.domain;
}

' ,"
"
"

(
%

(
,
%
*
%

"

"
,"
%
+
O)
( " "
,"

9, "

B
",

'
(
%"
"
' (

*"

function getCookie( name ) {


var name = name + "=";
var cs = document.cookie.split(';');

* "/

/
00=

)
( ", % "

0*"""0

"

"

,"
")
)
0 ', )
"

::T
' ," (
#

"

" '

,"

for (var i=0; i<cs.length; i++) {


var c = cs[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(name) == 0)
return c.substring(name.length,c.length);
}
return null;
}

5 "

C)
'

, ""%, "

"

=
% R"* RP5 #
,
(
" "% ( "
"(
!
'"% "
(
@
!"+
"
+ B

(
(
B
!
*" "
* " (+ B
"

)
)
(

function getElementsByClass(name) {
var found = 0;
var elems = new Array();

"

"

var alltags = document.getElementsByTagName("*");

"
#Z *
+ "

'Z
'

(
"

*"
%

"
""

"
! /

if (alltags) {
for (i=0; i < alltags.length; i++) {
if (alltags[i].className==name) {
elems[found++]=alltags[i];
}
}
}
return(elems);
}

C) 2
.

#
,
#
,

%
( (
%
(
("

"
,"

::O
function addEvent(obj, evType, fn) {
if (obj.addEventListener) {
obj.addEventListener(evType, fn, true);
return true;
} else if (obj.attachEvent) {
var r = obj.attachEvent("on"+evType, fn);
return r;
} else {
return false;
}
}

E
)

#
,
"

C) ;

"% (
.A

'RP5
",%
"

=)%

*
%

"

"
"
!"% " + "% "

'

function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
}

. %
( !

,"
"

(
"

else {
window.onload = function() {
oldonload();
func();
}
}
}

"
B#
,

(B #
,
(
"

C)
C ('

'
#

$ 9*
("

B
(
B"
"
"
(# "*
#
"
*

'$
"

9*

# /'$ *
"
H99
"

(#
(
(

( " % #
"
#

(
" B
"
"% +
(

"
(

""
!

"
6

6#
#" 7

B"

%
#

)"

." , " (
"
( (
B

( "
" +
(
#) "

7 Y( $

( "
9*

"

(
+
"
"

#
)
"
# +

(
B %)

::Q

- *
>

'
(
'$'J0
( "% (
( (
B
'

(
#
"
"

#
,

#
"% (
("

"

5
"

"

>

(
"
" (

C)
8 =
(
q
Q )
+ "
DN@)

(#"
( +
#

(
!
4

"#

( 3
(

'N%

# /.

"
0

>:

". / !

" "+,
" 2% "

A$9

"

9*

(
"
"
* " J5@FGGKN p
RP5
" *
" "+
"
"%

'@

" ,
" (
"" +
"

'W

(
"

! "
(
= "
" $
+ B

"
(
9*
9*

" ," '


*
`
)
*B " #
!

"

*
"
+

"

.#
#* @
#(
"
:
*

"

)
")
>
(
#)

"

!! "
!

(
" ,

"
"

: )

9*

9*

N#

/
00

( *

>:

/
00

>

/
00===

>

/
00 *

/
00

*0

A0

0
0
0

#
"
)
"% + . ( ,
FG5@V# (
(

/
00

(
* 0

'
+
" , /

>

#
#

(
(

0 :
0 :

0* )
#
0* )

$
#

" *""

>>

"
( #

'
"%%

"

' '$'J
"
"
' '$'J
@ (
#
#

(B (
'#
"
"
+

("

%
+
(

'$'J")
=
B
"

!
)

( "% # %
`) !
(% X4 "#
% + "
%
( '$'J "
%
"
" ",
FGGK
"
"
, '"
"",
#
$ 9*
"
%
" 5+
(
(
*
B %
"
'$'J "
*
*%""

'= #

"

"% (

"+
( 6

- ,"
#
" (

B
(

"
=
7 "

(
#, " " +
" " +

! (
'
"F (
( $ 9*
"
(
A
)
*"
" "
#
*" !
",

"
' '$'J

"
+

(
,"
)
'
'$'J +)

"
(

"
' "% "

8) $

"

"

-#

'"% "
B

(
(=
", - , " ( (

"
! %

"

(" (

9= /
'"
%
"

"

,
#

:%
6
'7

# " ,
"

6
'7

<form>
Keresztnv:
<input type="text" id="txt1" onkeyup="showHint(this.value)">
</form>
<p>Javaslat: <span id="txtHint"></span></p>

>>

/
00===

* 0

(0 *

O1

: :

5
(
(
!,
# : % $ 9* #
,
(U
)
"
%
#
"
( "

#
#(
" )
(

#
,

/ % "
'#
,
/

#
/ #
("% )

function showHint(str) {
if (str.length==0){
document.getElementById("txtHint").innerHTML=""
return
}
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null) {
alert ("Browser does not support HTTP Request")
return
}
var url="gethint.php"
url=url+"?q="+str
xmlHttp.onreadystatechange=stateChanged
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}

,
*
#/
'$'J

( "
(

2% "

"
(
"
*" (

""

""
%
!"

"
(

"*

%% :;4

(
%

'$'J !"%
"
%
#
,
"

5
F
(

% # K

.( (

(
(

"

"

,"

"

(
(

(
"

""
DN@%
+ "% " " V
+
" ,
#% #
"
/ 6
'7 !
"% "

/
gethint.php?q=A

"
"
"
"
*

(
%
+
( "
"" '
" %

"

"
"% "
"
(

#
"*

% +
)
"
"
"
"
"
. B(
)
(
#
(
"
)
G
"

# /V

"
"

( (

(
! "% "

"% (
%

(
"

(
," /

SELECT nev FROM nevek WHERE nev like "A%"

'

"*

'"
(
(

%
(
( ' '$'J
"
!"%
(
# ", % "
$ 9*
)
#
(
,"
"*
"
"
(B
+
#
, )
:
%
"
#%
#%
' "
" "
""
$ 9* "
"
B (#
,
#%
#
,
("
5 " #
/

:
#
,

#%
'

(" "
%#
,

,"

( "

"

/-=;

# /'

"
" *

",

" "
"

"
#

",)

( %

"

. ",% %
"

"

; ,

% #
,

"

",

function stateChanged() {
if (xmlHttp.readyState==4 ||
xmlHttp.readyState=="complete"){
document.getElementById("txtHint").innerHTML=
xmlHttp.responseText
}
}

'#
,

(%
%
"!

'

%
""

+ "
# "
"%

"

'
%

"

9
+
"

" B ()
"

"
"

%
X4 :
%

"

" FG5@ . (

(
!

! "*
J5@
"

")
%"

"
'G
"

(
"

"

"

.
"

( "
(
(
/

>1

%)
"% )

function GetXmlHttpObject(handler) {
var objXMLHttp=null
if (window.XMLHttpRequest) {
objXMLHttp=new XMLHttpRequest()
} else if (window.ActiveXObject) {
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}

'#
,
'$'J
%

>1

(
% 5
= '* J
$

/
00====

B %
9*

0GN0J5@F

Np

"%
'*

"
'"
J

"% " "


,"

"
(

82

!! "

FG5@V#/'$'J
/
00
#
(
A
/
00

* 0

A0

: >

M 797

r
5
( /. #
><
KFK5
8 ( "
# "
'

KFK5

M)

,Y/

#
(
: ):O #

' "% " #


5(
9L@

" , .
"
8#
s

-.
)"

("
"

'"% "

"

,
+

<?php
// Csatlakozs, adatbzis kivlasztsa
$kapcsolat = mysql_connect('mysql_hoszt', 'mysql_azonosito',
'mysql_jelszo')
or die('Nem tudok csatlakozni: ' . mysql_error());
echo 'A kapcsolds sikerlt';
mysql_select_db('az_en_adatbazisom') or die('Nem sikerlt
kivlasztanom az adatbzist');
// SQL krs vgrehajtsa
$keres = 'SELECT * FROM az_en_tablam';
$eredmeny = mysql_query($keres) or die('Hiba a krsben: ' .
mysql_error());
// Az eredmny kirsa HTML-ben
echo "<table>\n";
while ($line = mysql_fetch_array($eredmeny, MYSQL_ASSOC)) {
echo "\t<tr>\n";
foreach ($sor as $egy_oszlop) {
echo "\t\t<td>$egy_oszlop</td>\n";
}
echo "\t</tr>\n";
}
echo "</table>\n";
// Eredmnyhalmaz felszabadtsa
mysql_free_result($result);
// Kapcsolat lezrsa
mysql_close($kapcsolat);
?>

><

/
00===

: 1

'KFK
"
5

"

"
""%% . "

() ( (
+'
%
+ .
( DN@)
"% " "

'
"
KFK
"
"
F
#(

"

"
"

B(

B
" " =
5
" "B

'
(

##
# " )
KFK (
+

"
"
"
"" "%
/
0#
,
(
+ "

"
"

0
"

" KFK

(
,
"
"
)

#
" "

" #)
#( )

"

"%

# /9
(

'"% "

"

"
'
#
% "B

"
(
*

(
"%
"" +

" *
KFK
F
*
" *
(
("%
%Q
0
"
F
(
(
"% (
+
" ,

+ "
( (,

""%% F
(# (
+ "

Q
"
%Q
/
0#
,
"
#(
+
"

'
,

"

""%)

"

KFK (
bQ!=!!*
FD

"

" #

+
"%

( #

"
"

(+ "

(
*

'
!

")

<?php
session_start();
if (!isset($_SESSION['szamlalo'])) {
$_SESSION['szamlalo'] = 0;
} else {
$_SESSION['szamlalo']++;
}
?>

'"% "

"

<?php
session_start();
unset($_SESSION['szamlalo']);
?>

2 # "

a
"% "

"

+/

9, #
DN@0 !
'

"
+
(

"
+
'

" "
"

" #
#

' ,"
" ,"
+ "%

DN@) "

"
"
!

)
)
")

: <
'KFK"
*
" *
.""
KFK
"
#
%Q%
%Q
(, " "
'"% "

+
+ DN@) "
!
+ '
+
"
",
"
"
(

%
"

"
"

" !*
&" )
, '!*
&
(
+ #
B
(

("% "

"" +
)

/
<?php
if (!isset($_SESSION['szamlalo'])) {
$_SESSION['szamlalo'] = 1;
} else {
$_SESSION['szamlalo']++;
}
?>
<p>dv ltogat, eddig <?php echo $_SESSION['szamlalo']; ?>
alkalommal lttad ezt az oldalt.</p>
<p>A tovbblpshez <a href="kovoldal.php?<?php echo
SID?>">kattints ide</a>.</p>

'

"

"%%
%Q Q )Q# %
(
'
"
php.ini

M2

"
"% +
("

/
0#
,

"

#
,
(

797#

K
"+
'

"

+
(

%
(
5

"# "

( KFK)
= "

"

"
( " )

#
,

"

"

" "
"
("
!"% " 2
# " #)
" (
. "
"
=
#
"
"
'
(
( H4V
"+
# +
#
!
+ " (
)
"
)
#
"

(
"! " " " +!
'KFK
"" +
(
#
( !b
* b
) " " "*
"
(
'
( ( " " "+
("% (
KFK#
B"
"

!"%
"# "
+

" ( (
H4V#
" *
(
"
B (#
"
(H ( " 'KFK
#
+
*
+

" " +!
) "

"F
"

("
(
,"

' KFK (
"
(",%
* "
KFK)

("

"
#
""

'

* " "

KFK)
"
(
(

"

" #

)
)
B)
(
*

(
(
"

"

: T
.

#
"

(
"

*
(
",% %
("
"
",% %
!

("

M2 )

'
" ,
B(
"
!
% %"
'

" "+
"
"% +
"*
"
% " "F
#
( +
)
(
a
#
a *
*
(#
"%
(
%
#
"
(
(
" , "
"

.(

(
"* +
+
"
(

% %

"
D )

("
"
"
(
#
"%
(" "
",
" "
(B
;
(
" +
"
(

#
#

""
+

#(
( !
" "
"
"
"
+%
.

" ,%
"!

/'

"

", %
( ""
( .
!

#
,
(

"
(

*"
(
"*
# ( " ,
*" ( ( !, * "
"
"* ""% %
(

-.

'KFK) ' *
"
%
"
.
KFK) "
,
#
( (
#

0 #

"
",% " ""
("
(
("
( # "
(
*"
((
!
"
"% +
"
"
"
%
"#
"

-+
%%"

(
(
#
,)

"

' V
(
"" ""
"
"
" "
(# % "
%"
"
(
% "#
"
() "
X
"+
("
(
(=
(
"
(
" *
(
( *
"
" %
# " "
""
( ! *" (
"" "
"
" "
"K
"
"%,,"&

M2

( )
"
)
)
)

"
( # ! #
(
" (
#
"
+
"B
!
()
""
( #
B)

("
'

"
%
",
%
"

"%

)
",)
(
)
%
( )
( )
(

)
)

#
(

9"
!V
K
( )

797
' * )

")

"% #

+
"

"
B "
", @

"

+
+
( ("

.
"
"

: O
)

" ("
' *

"
+
KFK"

"
?

",+
%
+
* " ""
""
(",%
*
*
+(

""

"
#

' * )
" "*
"
( # "+
"% (
" @
(
G "
(
+
"
( (
"* "
(
4("
(

+" ' *

' ' * #
" ,
;

"

'

%Q
KFK 2
*"

B !

%*

'

( KFK#
"
(
" # "
B

)
" )

"

"
",% %

(
"%%"

%" )
)
(
* )

% B *"
"

" ",% %
.
'
" ( #

KFKB (" ,
(#
(
" +
(
0 *
0
= #
" *
"
",
.
((
" (
"
," "% "
"% (
# "
# "%
#

)
+)

)
,)
#)

'KFK
+
" "% (
"
#
(# "
"
,( "
(
"
("#
"

"
+
(

*
"

( ( !
( ("% (
"
"
(
=
# " "

M2 2

( ' * )
0

""
"

G
(@R'K
# ""

"
. %

"

!#
+
"% "
(

#
(=
#,
' * ) #
#

"

#)
(
)
# "
)

#
# "
(
! (

)
#

"
)

( # "
(

"% (
/

<?php
// egy fjl trlse a user knyvtrbl
$usernev = $_POST["user_altal_beadott_nev"];
$konyvtar = "/home/$usernev";
$torlendo_file = "$userfile";
unlink ($konyvtar/$torlendo_file);
echo "$torlendo_file trlve!";
?>

"

+
%%
(
(KFK
(
"

: Q
5

% ) (FG5@!
" " #
#
+( "
"% (
( #
)
+
"
" a0 *
0a
a
"
(
+ /

b
%

"
= a'"

#)
.
"
@
"
"" +( "

<?php
// egy fjl trlse akrhonnan, ahol a PHP usernek
// joga van erre. Ha a PHP root userknt fut:
$usernev = "../etc/"
$konyvtar = "/home/../etc/";
$torlendo_file = "passwd";
unlink ("/home/../etc/passwd");
echo "/home/../etc/passwd trlve!";
?>

2 #

"

"

H ""
5

#(

KFK) #

"
#

.(

,"

"/
"

%
%"

"

<?php
// egy fjl trlse akrhonnan, ahol a PHP usernek
// joga van erre.
$usernev = $_SERVER['REMOTE_USER'];
// ez a user azonostott neve (ha volt el tte azonosts)
$konyvtar = "/home/$usernev";
$torlendo_file = basename("$userfile");
// elrsi trkkzs eldobsa
unlink ($konyvtar/$torlendo_file);
$fp = fopen("/home/logging/filedelete.log","+a");
// trls naplzsa
$logstring = "$usernev $konyvtar $torlendo_file";
fputs ($fp, $logstring);
fclose($fp);
echo "$torlendo_file trlve!";
?>

(
"
".

#%
%
("," a2 2
a)
"

"
#

F
""

"
" "

(
( (
"% " "

+)
)
)
" /

<?php
$usernev = $_SERVER['REMOTE_USER']; // hitelesites
$homedir = "/home/$usernev";
if (!ereg('^[^./][^/]*$', $userfile))
die('rossz fjlnv'); // vge, nincs feldolgozs
if (!ereg('^[^./][^/]*$', $usernev))
die('rossz usernev'); // vge, nincs feldolgozs
//stb...
?>

'
"%

*
"

"

#
,
2 )2

"+ # " "


( F4? " #
* # " 0 *
0

:
% # "
"% (
( (
#
,"

M2 ;

5
+ "
"

'KFK (
"*
+
'

=
"
"

#
(
" ",
"

"

(
/

"
"
,

"

"
*"
"

" "

B
"

"

" "

"
"

"

"

"
(
) "

#
"

",% %
("
("
#
"5
*"
" ,
( (
#
"
.
(
+
#
* Z#
"
"

) "

)
'
+

!
""

@
"

"

B "
,"
M

#
,

(
"

(" F
"
""
(" 5
#,
"
"
"
" (
"
(
%
"0 %
(
(
"
"
"

(
(
," '

*"

'
" ?

"

""%

"

)
"

"

"
"
"

(
" )
9L@
)

'"% "
"
%
" "
)
"

" )

,"

)
"

"

"

)
+)

'

' "
"
#
%

"

"
,"

( "

5
%
"
+!
(
"
( #
"# (

" "

"

*
"
(""
!
c

"

( ")

(
"
(KFK

. "
"+,

%
"

( " (

"

*"
( "
*
5
("

2&

!
"
"5

V#

"

(" 2
#
" +

("+,
" #
)
(
#
(
"

#
"

"
(

""

B
)#
)
* " (
) (",% %
)
"
(
"
"
(
",% %
(" (
+
""
* " ""
=

"

KFK "
/ =)"
"
)
#
"
"
"
*
)
(" B "
"
"
(
)
(" ("
"
"* "%
( (
" )

: :

,Y/ * .'
9 "= #
*
+ "
9L@
( 9L@ "
" ,
(
*
'a
"%
+ "
"
#
(" #
9L@ "
'

"
( (
9L@ )
+ "
+
* " "#
".
)
"" "
#
(
"
(
#(
"
9L@ "
""
!
#

9L@
+

+
"* a (
(
(B "
"
"
"
(# ,+
"
(
(
. (
"
"
"
"
" 9
"% "
"
%

(
*
"
(

'"% "

"

(
"
"

"

9L@ )
#
*)
* "
)
+ "%
"
"

( "
!
"
"

"
(

"

)
)

#
K

9L@

"

<?php
$offset = $_GET['offset'];
// hiba: nincs beviteli ellen rzs!
$query = "SELECT id, name FROM products ORDER BY name LIMIT
20 OFFSET $offset;";
$result = pg_query($conn, $query);
?>

'
"
DN@)

( #
"

b
' "
"% "

bb
"% " b "" "
(
*
+
%
/
0 "
#
!

5
DN@)

"
/

0;
insert into
pg_shadow(usename,usesysid,usesuper,usecatupd,passwd)
select 'crack', usesysid, 't','t','crack'
from pg_shadow where usename='postgres';
--

'
"
, 8" " "
#

"
(

" "
" 9L@

"
*

# #
(

.(

;)
)

"
"
("
" "
" )
" "
'
"
%
( "
(
(" ", % 9L@ "
*
#
)
"
. "
(
!
+
(
"
!= = ;
+ ,:='=SF'&='R+S *
4*
; F<<!=;
" F
"
_D*
FD
"
""
#
!
(
B "
%
("
("
)
"
'"% "

*""" 8

:
<?php
$query = "SELECT id, name, inserted, size FROM products
WHERE size = '$size' AND inserted BETWEEN '$min_date' AND
'$max_date'
ORDER BY $order LIMIT $limit, $offset;";
$result = odbc_exec($conn, $query);
?>

' "

"
"

"!= = ;

"

% )

'
union select '1', concat(uname||'-'||passwd) as name, '197101-01', '0' from usertable;
--

"

^
" ,

("bG
""

")

% (#

9L@DKR'G.
* " ( * ""
"
"
". "
+ "
# (
"
"
#
!
* "" ?
+
!=;
#
*
"
"
"
. "
#
*"
!
"
"
!
'
" #
( ",% % " (

")
% +
.
( "
)
( ( )
)

<?php
$query = "UPDATE usertable SET pwd='$pwd' WHERE uid='$uid';";
?>

'

B#
"
# # #^S

^T

% ^" ^S
".
9L@

?
KK
*

%T^I

"%
"+(# +" /

"
( (
"

b
!

b
%

)
"

// $uid == "' or uid like'%admin%'; --"


$query = "UPDATE usertable SET pwd='...' WHERE uid='' or uid
like '%admin%'; --';";
// $pwd == "hehehe', admin='yes', trusted=100 "
$query = "UPDATE usertable SET pwd='hehehe', admin='yes',
trusted=100 WHERE ...";

.
"

'
"

#
(

,
(

#
"

(
+#

"
0
(

(
"+,

#(
%

"%

# +
(
"
"
"'
""% (
" B
( ( (
"
(" (#
(
(
""

*
. ",% %
"
. "

(
*

" " "


(
,
"9
"
" "

"
.

"

%)
"
)
)" )
)
"
(
"
""

("
+

:
(

"
5
# "
9
5

,
( (
*
"

"

"

% ,
")

"
"

"
"

)"

"

"&
.

,"
" )

"
F
(
#
,

%
+
(
#
,
("
"%
"" " *
#
,
"#
"

"
(

""
(*

+
(

'

"

"
#
" ""
(""%, Q%

) & 'KFK
)
( !)
/
0) K

Q%
/
0#
,
+
"
% /
0#
,

"

(
)
/
0
(

settype($offset, 'integer');
$query = "SELECT id, name FROM products ORDER BY name LIMIT
20 OFFSET $offset;";

Vagy:
$query = sprintf("SELECT id, name FROM products ORDER BY name
LIMIT 20 OFFSET %d;", $offset);

""% "

!#
) *#"
* #
,
(
" GQ
Q % /
0GQ
Q % /
0
F
* (
) *#"
*
*
""
(
"
# /
0
Q
/
0#
,
("
#
,
' (
"
+
"
"
"
"% ( # %
9

(
#
"+
%"
"
G "
( #
"%
"
"
,
"

G
,
(

"
"

#
(
"

. " "+,

"
"
" #
"

"
(" "
"
#
*" "
,

"

"!

"

"

"
"
"

"
+

'
"

(
B
%

"

)
#
+ "

"
"

( #
. "

"
-(

"
(
(

* ) ",% %

"

"

(
"%

)
*)
)
)

, "
" (
"#
+
*"
)

: >

: 797
.
"

#
#

""

:) G
'
(

E
"
#

"
( !
= #
B( "

("
"

"

(
"

555

"
(#
(

(
@

)
( )
")

"
*

()

"

"0

'4'53

( KFK (
# +
"
U

"

"
"

"

: ))

"

" +

" ,

'
"% (

"

'
("#
"
(
"
"% "
#
" ,

'
B

(
"
)+
," . " (" "%
DN@
DN@)
B
"
*"
DN@) "# "

/
00===

# 0

/
00===

# 0

X Z" "

/
00===

# 0

X
" Z

"
(

"
(
'#

+"

*
# /K
("

%
b"

#A

!!

#
,

* "
("

)
' (
" "% " )
/

Z"

(
(%
)
" "
"'
.

"

"'
"%
FG5@
#A"
%
+
"
" (
"
+

#(
(
+ KFK %

/
0#
,

"

'
=

#
(
(

"
+( 4'53
! "% (

,
*

"

"# "
(

: 1
#

"

"
b%

"

"

b %
,"
"

#
)

Q
(

" %

DN@

"

"

"+,
# " #
b )

")

"
%

(
,

%% %

"

)
)

,
"

"

$menu = array(
array (
"cm" => "Kari informcik",
"osztly" => "kariinfo",
"linkek" => array (
array (
"modul" => "kezd",
"szveg" => "Kezd oldal"
),
array (
"modul" => "keprend",
"szveg" => "Kpzsi rendszer"
), ...
$tovabbi_modulok = array (
array("hallgvelemeny",
"Hallgati vlemnyek az intzmnyr l"),
array("meghirdetett",
"Meghirdetett szakok, szakirnyok"), ...

SQ/

' DN@
" K

(
"

,"

$modul = $_GET["modul"];
if (!isset($modul))
header("Location: " . $gyoker_oldal);

""

"

else if (file_exists ("$gyoker/modul/$modul.php") == FALSE)


header("Location: " . $gyoker_oldal);

DN@)
)

""

,"

"

"

: <
$engedelyezett_modulok = array();
foreach ($menu as $doboz) {
foreach ($doboz["linkek"] as $link) {
if (isset($link["modul"]))
$engedelyezett_modulok[$link["modul"]] =
$link["szveg"];
}
}
foreach ($tovabbi_modulok as $m) {
$engedelyezett_modulok[$m[0]] = $m[1];
}

'#

,
"

"%

if (!isset($engedelyezett_modulok[$modul]))
header("Location: " . $gyoker_oldal);

* " ""

'= #

*
#
#

".
G* "
"

<?

<?

<?
<?

:)

+#

"

,""

"

#
(

*
"% +

%
"

" "
"" " (
""%

"
KFK"
" . "# (
'
"

"

KFK #
#

FG5@")
",% ,
)
""
( !)

, ".
( % #
,
(
, (
/

"

(
(
",% ,
(
"% "

<div id="menu">
foreach ($menu as $doboz) { ?>
<h2 class="<?= $doboz["osztly"] ?> menu_cim">
<?= $doboz["cm"] ?></h2>
<ul class="menu_lista">
foreach ($doboz["linkek"] as $link) { ?>
<li><a class="<?= $doboz["osztly"] ?>" href="<?
if (isset($link["modul"])) {
echo $_SERVER["PHP_SELF"] .
"?modul=" . $link["modul"];
} elseif (isset($link["kls "])) {
echo $link["kls "];
}
?>"><?= $link["szveg"] ?></a></li>
} ?>
</ul>
} ?>
</div>

("

"

=' R

2
4'53

+"

/s

-*
/
00#
"

# 0

" 0
N%

(
/

: T
'

*"
"4

DN@)

'

DN@
#
#
A
)
" "

#(
E

"
'
%
%

"

"% (
(
(

( (

X%

"

( "5

(
(

"% (

(
(

DN@)
+

DN@)

" )
' * " #
)
" ,

( ! )
" #
*

(
%"
" (
%
)
"%)

<?
$akt = 'en';
$gyoker = '../';
$oldal = 'introduction';
include "{$gyoker}config.php";
include "{$gyoker}index.tpl.php";
?>

' %

$ny = array (
'hu' => array (
'kezd'
=> '.',
'szoveg' => 'Magyar vltozat',
'kar'
=> 'iso-8859-2',
'cim'
=> 'Tth kos honlapja',
'menu'
=> array (
'.'
=> 'Bemutatkozs',
'szakmai_oneletrajz' => 'Szakmai nletrajz',
'oktatas'
=> 'Oktats',
'zenei_oneletrajz'
=> 'Zenei nletrajz',
),
),
'en' => array (
'kezd'
=> 'introduction',
'szoveg' => 'English version',
'kar'
=> 'iso-8859-2',
'cim'
=> "kos Tth's homepage",
'menu'
=> array (
'introduction' => 'Introduction',
'cv'
=> 'Curriculum Vitae',
'music'
=> 'Music',
),
)
);
?>

' %

#
/

"

: O
<div id="header">
<div class="headtitle"><?= $ny[$akt]['cim'] ?></div>
<div class="lang">
<? foreach ($ny as $k => $e ) {
if ($k != $akt) { ?>
<a href="<?= $e['kezd'] ?>"><?= $e['szoveg'] ?></a>
<?
}
} ?>
</div>
</div>
<div id="menu">
<ul>
<? foreach ($ny[$akt]['menu'] as $k =>$e) {
if ($k == $oldal) { ?>
<li>&nbsp;<?= $e ?>&nbsp;</li>
<?
} else { ?>
<li><a href="<?= $k ?>"><?= $e ?></a></li>
<?
}
} ?>
</ul>
</div>

: )2

'

" "+ "


5
'
" "
"
!
,
"
(

0
,

8 ; =8 H
( #A#
(
(
(

, (
#A
( +)

" , #(
)
=5#
" +
( "
)

,
B
!

( "
'
"
#

#(
"
"; ,
* ""
( "
"%

+"
"
, ""

#
,

( "
(
!

N99

!
'

(
"

"
"
" ",

(
"!

" , "

( !%
!"% "

7# "*

G
"

CREATE TABLE `hir` (


`kod` int(11) NOT NULL auto_increment,
`blognev` varchar(32) NOT NULL default '',
`url` varchar(32) NOT NULL default '',
`datum` date NOT NULL default '0000-00-00',
`tartalom` tinyint(1) NOT NULL default '0',
`publikus` tinyint(1) NOT NULL default '1',
`lehethozza` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`kod`)
) ENGINE=MyISAM DEFAULT CHARSET=latin2;

'

% /

"
+ K
+ 6

)
)
)

: Q
$oldalak = array (
'Szemlyes' => array(
'elerhet' => array(
'cim' => 'Elrhet sgek',
'tipus' => 'statikus'
), //...
'csaladomrol' => array(
'cim' => 'Csaldomrl',
'tipus' => 'blog',
'felirat' => 'Sok-sok fnykp'
),
), // ...

1- '"

!#

include_once('adat/config.inc.php');
include_once('lib/Sablon.php');
include_once('lib/Oldal.php');
include_once('lib/Vezerlo.php');
$vezerlo = new Vezerlo($_SERVER["QUERY_STRING"]);
echo $vezerlo->general();

*
'1

(#

"

DN@

,"

"

+
'

"

"

"

"

"

'

+
(

KFK)

"

"

$!

'2 *"
(
"*
" /

E
"

>T

("!

"

/
00" (

4(
,"
( E
%
'"% " " "
%

">T " +

" #

" "% (
"

,
( (
",% %
)
# "% )
"

" #

:>
"

,"

'

"

!"%

(
(
+
"
"
*
"

# /V
"

"
'

(+(

,"

"% ( "

"%
"% (
#

(" #
"

"

"""
,"
)
P

#
"

9*
/ "% (
( "% (
(":1 #

#
(" (

'"% "

'# (
#

"

"

"

" .#

> #
" "

" (
"

# /'

""

# /. (
"
. "
B %
"
(

"
#

( (
)"
"
"

"
"
!"% %
/
%
""
%

"::):
%

'
)

"% (

"
B
(
.(
"
"
" * ""

(
"

( (
.
$ 9*

(
"
+(

+!

" (

")

($
(

""

"% ()
%
9*

:>:
' "% "
"

=
'

"
"

"% "

( ::): )

#
(

"

"

F
(
<< "% ( ::OQ #

F (

'

"

" E
%
X
<T< T1: " "

,"

DN@) X

"
'"
*
(
""
"
%
"% ( ( "
#
! "% (
" (
) ( %
(
"
:< "% "
(
/ 0 A :<

' DN@
()
"
"

"
""

"

B
"*

"
'

2
2

" # 2%

#8

2
?

2
2

" # 2%

#8

22
N2
?
??
B

$
"
'"% (
#
"

'E
"% (
"
". %

,"

% %"
"% (

$biblia_gepi_nevek = array (
"1moz",
"2moz",
"3moz" ...

"% ( " % +

#)
$)
"

"

)
Y(

2
N

( DN@)

"

,
K

" "
%"
"% " "/

"DN@)

,"
"

#
4("

:):

'

*"
,

DN@)

"
"

*" "

" ' % %"


"% )
"
% + "/

:>
$biblia_nevek = array (
"1moz" => "1Mz",
"2moz" => "2Mz",
"3moz" => "3Mz" ...

'"% ( "

*
+ /

$biblia_cimek = array (
"Mzes els knyve",
"Mzes msodik knyve",
"Mzes harmadik knyve" ...

; ,

"% ( "#

$biblia_fejezetszamok = array (
"1moz" => 50,
"2moz" => 40,
"3moz" => 27,

2% "

"
""

!
+

'"

"

%
6

DN@
#
#"
"
" ' "% " "
".
(#
DN@#
"

DN@#
7
/

#(
" (R

'b#

(
F
"

DN@" )

$this -> keresek = explode ('/', $k);

2% "
F

"

"

* "% (

"% (

",

if (!isset($this -> keresek[1])) {


$this -> kezdoOldalra($this -> keresek[0] . '/'
. $biblia_gepi_nevek[0] . '/1');
}

", /

elseif (!in_array($this -> keresek[1], $biblia_gepi_nevek)) {


$this -> kezdoOldalra($this -> keresek[0] . '/'
. $biblia_gepi_nevek[0] . '/1');
}

*#

""

"% (

", /

elseif (!isset($this -> keresek[2])) {


$this -> kezdoOldalra($this -> keresek[0] . '/'
. $this -> keresek[1] . '/1');
}

( ""

", /

elseif ($biblia_fejezetszamok[$this -> keresek[1]]


<$this -> keresek[2]) {
$this -> kezdoOldalra($this -> keresek[0] . '/'
. $this -> keresek[1] . '/'
. $biblia_fejezetszamok[$this -> keresek[1]]);
}

:>
; ,

+#

" " !

" , "/

elseif ($this -> keresek[2]<1) {


$this -> kezdoOldalra($this -> keresek[0] . '/'
. $this -> keresek[1] . '/1');
}

$
'

(
" "/

""

"

*"

("%)

<ul class="menublokk">
<li><a href="index.php?biblia/1moz/1">1Mz</a></li>
<li><a href="index.php?biblia/2moz/1">2Mz</a></li>
<li><a href="index.php?biblia/3moz/1">3Mz</a></li>
...
</ul>

0
'
(%

"

"
/

" '"% "

"

$fejezet_file_nev = 'adat/biblia/' . $this -> keresek[1]


. '/' . $this -> keresek[2] . '.txt';
$fejezet_sorok = array();
$f = fopen($fejezet_file_nev, "r");
while (!feof($f)) {
$sor = fgets($f);
if (strlen($sor) == 0) {
break;
}
$fejezet_sorok[] = $sor;
}
fclose($f);

'"% "

"
(
(

#
#(
"

"

"+,

,"
( "V
"

" DN@

"" #
A (
"

" "F
""

if (isset($this -> keresek[3])) {


$t = explode ('.', $this -> keresek[3]);

'.

(
! ," "

"

$jelolt = array();
foreach ($t as $resz) {

,"

"%

* ""

"

""

$pos = strpos($resz, '-');


if ($pos === false) {
settype($resz, "integer");
if (($resz > 0) && ($resz <= count($fejezet_sorok))) {
$jelolt[$resz-1] = 1;
}
}

:>>
F

"%

""

#(

,"/

else {
$eleje = (integer)substr($resz,0,$pos);
$vege = (integer)substr($resz,$pos+1);
if ( ($eleje <= $vege) &&
($eleje > 0) &&
($vege <= count($fejezet_sorok)) ) {
for (; $eleje <= $vege; $eleje++) {
$jelolt[$eleje-1] = 1;
}
}
}
}

; ,

%"

(! %

"

"

foreach ($jelolt as $k => $e) {


$fejezet_sorok[$k] = '<strong>' . $fejezet_sorok[$k]
. '</strong>';
}
}

:2

b.

"+

"

$ #-

'#
"
9

%
,"
(B
"

'#

"
(

)
"#

,"
" " (
B
(
#
"
*
"
("

'
"% "
(
" G
6 5
*
("
"
"
*
+
.
PP

(
%

*
"

"
"
+ "-

+
"#

(
"

"
"

>O

/
00===

" 0

>Q

/
00===

0KFK)@

!)
'# )

""

!
#
>O
*
+ !*""
" , '
" "
. ( "" "
(
#
$:$
% !"
#(

$# d
)
%<

!
'#
"
," , " . "

)
)
)

"%

V
"

'

"% "

"0
)9(

(
9L@

i i (pi

)= )'

)3

*
* "

(
"+
/

NO

:>1
CREATE TABLE users(
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
nick VARCHAR(30),
jelszo VARCHAR(32),
email VARCHAR(60)
);

'

*"

'
" , "

)" *
%

<?
$dbhost
$dbuser
$dbpass
$dbname
?>

,"

" +

,"
)

%
=
=
=
=

#
"/

%
*"

'
"

"localhost";
"root";
"***";
"test";

.'

'#

"
# "

,
"

"

*
" +
"+

'

"
"

(
"
"

( (
8

"

"

"" %
(
" +

#
" (

" "
' (
("

'
)
+ B#
"
%
", %

<?
if (isset($_POST['regisztracio'])) {
include "config.php";
include "reg_check.php";
$reg_check_result = reg_check($_POST);

'
"

"

Q#
" , "

#
,

"% " " F

"

" ")

if ($reg_check_result === true)


{
$sql =
"INSERT INTO belepteto_users (id,nick,jelszo,email) "
. "VALUES('','".$_POST['nick']."','"
. md5($_POST['pass1'])."','".$_POST['email']."')";
$query = mysql_query($sql)
or die ("Valami baj van az adatbzissal.");
}
}
?>

.
F

"% " "


"

FG5@"
*
( !

"%

"
,"

#
#

KFK

""
"/

:><
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu">
<head>
<title>Regisztrci</title>
</head>
<body>
<h1>Regisztrci</h1>
<? if ($reg_check_result === true) { ?>
<p>Sikeres regisztrci!</p>
<p><a href="index.php">Kezd oldal</a></p>
<? } else { ?>

F
"

"

"" "% " "

/
<form method="post" action="<?= $_SERVER['PHP_SELF']?>">
<table>
<tr>
<td>Nick:<br />
<small>legalbb 4 bet </small></td>
<td><input type="text" name="nick"
<? if ($_POST['nick']) { ?> value="<?= $_POST['nick'] ?>"<?
} ?> /></td>
<td><?= $reg_check_result['nick'] ?></td>
</tr>
<tr>
<td>E-mail cm:<br />
<small>ktelez </small></td>
<td><input type="text" name="email"
<? if ($_POST['email']) { ?> value="<?= $_POST['email'] ?
>"<? } ?> /></td>
<td><?= $reg_check_result['email'] ?></td>
</tr>
<tr>
<td>Jelsz:<br />
<small>legalbb 5 bet </small></td>
<td><input type="password" name="pass1" /></td>
<td><?= $reg_check_result['pass1'] ?></td>
</tr>
<tr>
<td>Jelsz mgegyszer:</td>
<td><input type="password" name="pass2" /></td>
<td></td>
</tr>
<tr>
<td colspan="2"><input type="submit"
name="regisztracio" value="regisztrlok" />
</td>
</tr>
</table>
</form>
<? } ?>
</body>
</html>

:>T
U

#(
)
(%
*

'

# /'#
("
,
(
#
"

( KP9G
""%,
,
"
Q#
(

" (
"
(
'
,
#

- ,"
Q# # # "
, ,"'
"
(%
( "

"

", ," "


#
,
( +

"
" ( +
"
#

"%%
U "
(

)
)
")

( " 1)<)
$ 9*

'

(
"

(
! ," '

# " ")
#)

<?
function reg_check($adatok){
$hibak = array();
if(strlen($adatok['nick']) < 4) {
$hibak['nick'] = 'A nick legalbb 4 bet s legyen';
} else if (!ereg('^[a-zA-Z0-9\-\_ ]+$',
$adatok['nick' ])) {
$hibak['nick'] = 'A nickben csak a magyar bc kis - s
nagybet i, a szmok, illetve a _ s - jelek engedlyezettek';
} else {
include "config.php";
mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db($dbname);
$sql = 'SELECT * FROM belepteto_users'
. ' WHERE nick="' . $adatok['nick']. '"';
$query = mysql_query($sql)
or die ("Valami baj van az adatbzissal.");
if (mysql_num_rows($query) !== 0) {
$hibak['nick'] = 'A nick mr foglalt';
}
}

"

" '$'J)A

if($adatok['email'] == '') {
$hibak['email'] = 'Az e-mail cm kitltse ktelez ';
} else if ($adatok['email'] == (!eregi('^[_\.0-9a-z-]+@([09a-z][0-9a-z-]+\.)+[a-z]{2,6}$',$adatok['email']))) {
$hibak['email'] = 'Hibs e - mail cm';
}
if (strlen($adatok['pass1']) < 5) {
$hibak['pass1'] = 'A jelsz legalbb 5 bet s legyen';
}
if ($adatok['pass1'] !== $adatok['pass2']) {
$hibak['pass1'] = 'A kt jelsz nem egyezik';
} else if ($adatok['pass1'] == '' || $adatok['pass2']==''){
$hibak['pass1'] = 'A jelszavak kitltse ktelez ';
}
if ($hibak)
return $hibak;
else
return true;
}
?>

:>O
'"

# *

"

/
<?
session_start();
ob_start();
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu">
<head>
<title>Belptet rendszer</title>
</head>
<body>
<h1>Belptet rendszer</h1>
<?php include "login.php"; ?>
<p>Ez itt a mindenki szmra elrhet rsz </p>
<p><a href="vedett.php">Vdett rsz</a></p>
</body>
</html>
<?
ob_end_flush();
?>

'

% # * " "" "


" *
" F
""
,"/

+
B

"
%

"
KP9G

"#

<?
if ($_SESSION['belepett']!== true) {
if (isset($_POST['login']))
{
$nick = addslashes($_POST['nev']);
$pass = md5($_POST['jelszo']);
$sql = "SELECT * FROM belepteto_users "
. "WHERE (nick='".$nick."'"
. " AND jelszo='".$pass."')";
include "config.php";
mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db($dbname);
$query = mysql_query($sql);
if (mysql_num_rows($query) !== 0) {
$_SESSION['nick'] = addslashes($_POST['nev']);
$_SESSION['belepett'] = true;
header("Location: ".$_SERVER['PHP_SELF']);
} else { ?>
<p>Hibs nick/jelsz</p>
<? }
} ?>

)
,"

:>Q
<form action="<?php echo $_SERVER['PHP_SELF'];?>"
method="post">
<table>
<tr>
<td>nick:</td>
<td><input type="text" name="nev" /></td>
</tr><tr>
<td>jelsz:</td>
<td><input type="password" name="jelszo" /></td>
</tr><tr>
<td colspan="2" align="center"><input
type="submit" name="login" value="Belps" /></td>
</tr>
</table>
</form>
<p><a href="register.php">regisztrci</a></p>
<? } else { ?>
<p>Bejelentkezve: <?= $_SESSION['nick'] ?></p>
<p><a href="logout.php">kijelentkezs</a></p>
<? } ?>

')
"
(

#
#

" 'ti9.99V
P-r
b
)
%

(
b
s

"

*"

#
+

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"


"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu">
<head>
<title>Vdett tartalom</title>
</head>
<body>
<?
session_start();
if($_SESSION['belepett'] == true) { ?>
<p>Vdett tartalom, ha ezt olvasod, sikerlt belpned,
gratullok</p>
<p><a href="index.php">kezd oldal</a></p>
<? } else { ?>
<p>Csak szeretnd... :)</p>
<? } ?>
</body>
</html>

; , "

,"

<?
session_start();
unset($_SESSION['belepett']);
unset($_SESSION['nick']);
header("location: index.php");
?>

:1

:; =

'= #
" "
(
"
"
'=

"
"
" + ,"

"
("
% W?*""

*
%

(#

#(
" (
" ("
B

""

"%
'
"+, S

$:$$

"
")
"
(
%

" , #
'
("
(
+
+
"% (

"
"

( !#
K
(

%
(
+!
(
%
"
%

+!
" "%
B
. "#
+
"

)
"
)
" " +)

,"
.#

: ;)

'< %
"
5;H

'

"

D
=

"

"
H

"

"
'3

#
H

"
( "%

"

"% " /

<?php // index.php
switch ( @$_GET['action'] ) {
case 'edit':
include ('actions/edit.php'); break;
case 'post':
include ('actions/post.php'); break;
case 'delete':
include ('actions/delete.php'); break;
case 'default':
include ('actions/view.php'); break;
} ?>

'

"

"

+"
/

/
00===

1:

/
00

(
(
#
( "
""%

* 0
* 0

=0 0

"
#
' "% "

"

"* " #
)
" #
*
)
KFK)- "

:1:
if (!isset($file)) { $file="index"; }
...
$modpath .= "modules/$name/$file.php";
if (file_exists($modpath)) {
include($modpath);
} else {
die ("Sorry, such file doesn't exist...");
}

:;

'
",% +

(
"
"
(
"
1

'#
-

," (

'
%%"

+
# "

", %
""

"

"% (

*)

"

"% + /

if ( isset ($_POST['submit']) ) {
if ( $_POST['user'] < '6' ) {
echo ('Username is too short');
} else if ( $_POST['pass'] != $conf ) {
echo ('Passwords do not match');
} else if ( $_POST['fullmoon'] == true ) {
// ...
}
}

"

( " "

- ,"
(
"

"

(
"

';
# %

+
"

"

class Validator {
var $errorMsg;
function Validator () {
$this->errorMsg=array();
$this->validate();
}
function validate() { }
function setError ($msg) {
$this->errorMsg[]=$msg;
}
function isValid () {
if ( isset ($this->errorMsg) ) {
return false;
} else {
return true;
}
}

'

/
00===

* 0

*0

(
i

"

:1
function getError () {
return array_pop($this->errorMsg);
}
}

"

(
'

'"% "

"#
" b

( #

"

(
! "
(

class ValidateUser extends Validator {


var $user;
function ValidateUser ($user) {
$this->user=$user;
Validator::Validator();
}
function validate() {
if (!preg_match('/^[a-zA-Z0-9_]+$/',$this->user )) {
$this->setError(
'Username contains invalid characters');
}
if (strlen($this->user) < 6 ) {
$this->setError('Username is too short');
}
if (strlen($this->user) > 20 ) {
$this->setError('Username is too long');
}
}
}

U
"
'

#(
"

(
("

.
)

*
+

"
"

+ KFK>)
+
( "
"

"
"
!"%
,/

class ValidatePassword extends Validator {


var $pass;
var $conf;
function ValidatePassword ($pass,$conf) {
$this->pass=$pass;
$this->conf=$conf;
Validator::Validator();
}

:1
function validate() {
if ($this->pass!=$this->conf) {
$this->setError('Passwords do not match');
}
if (!preg_match('/^[a-zA-Z0-9_]+$/',$this->pass )) {
$this->setError(
'Password contains invalid characters');
}
if (strlen($this->pass) < 6 ) {
$this->setError('Password is too short');
}
if (strlen($this->pass) > 20 ) {
$this->setError('Password is too long');
}
}
}
class ValidateEmail extends Validator {
var $email;
function ValidateEmail ($email){
$this->email=$email;
Validator::Validator();
}
function validate() {
$pattern=
"/^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([azA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/";
if(!preg_match($pattern,$this->email)){
$this->setError('Invalid email address');
}
if (strlen($this->email)>100){
$this->setError('Address is too long');
}
}
}

'

( "#

!/

:1>
<?php
if ( $_POST['register'] ) {
require_once('lib/Validator.php');
$v['u']=new ValidateUser($_POST['user']);
$v['p']=new ValidatePassword($_POST['pass'],$_POST['conf']);
$v['e']=new ValidateEmail($_POST['email']);
foreach($v as $validator) {
if (!$validator->isValid()) {
while ($error=$validator->getError()) {
$errorMsg.="<li>".$error."</li>n";
}
}
}
if (isset($errorMsg)) {
print (
"<p>There were errors:<ul>n".$errorMsg."</ul>");
} else {
print ('<h2>Form Valid!</h2>');
}
} else { ?>
<h2>Create New Account</h2>
<form action="<?php echo ($_SERVER['PHP_SELF']); ?>"
method="post">
<p>Username: <input type="text" name="user"></p>
<p>Password: <input type="password" name="pass"></p>
<p>Confirm: <input type="password" name="conf"></p>
<p>Email: <input type="text" name="email"></p>
<p><input type="submit" name="register" value="Register"></p>
</form>
<?php } ?>

: ;2

..

@!*.

'

+
"
"*
K

,"
&

%
(

"% (
!
(

#
'R'P
"# "

)" *
(/

9 "#
( (
'

9L@

* "#

class DataAccess {
var $db;
function DataAccess ($host,$user,$pass,$db) {
$this->db=mysql_pconnect($host,$user,$pass);
mysql_select_db($db,$this->db);
}
function & fetch($sql) {
return new DataAccessResult(
$this,mysql_query($sql,$this->db));
}

/
00===

* 0

*0

i*
* i

*i

i=

"
" !

:11
function isError () {
return mysql_error($this->db);
}
}

#(
# "

"
"

(9L@ "
#
(

#
'

&

(
"

'
+ B
" (

class DataAccessResult {
var $da;
var $query;
function DataAccessResult(& $da,$query) {
$this->da=& $da;
$this->query=$query;
}
function getRow () {
if ( $row=mysql_fetch_array(
$this->query,MYSQL_ASSOC) )
return $row;
else
return false;
}
function rowCount () {
return mysql_num_rows($this->query);
}
function isError () {
$error=$this->da->isError();
if (!empty($error))
return $error;
else
return false;
}
}

,"
/

"

"+

class Dao {
var $da;
function Dao ( & $da ) {
$this->da=$da;
}
function & retrieve ($sql) {
$result=& $this->da->fetch($sql);
if ($error=$result->isError()) {
trigger_error($error);
return false;
} else {
return $result;
}
}

"%%

",%

:1<
function update ($sql) {
$result=$this->da->fetch($sql);
if ($error=$result->isError()) {
trigger_error($error);
return false;
} else {
return true;
}
}
}

'R'P
K

(
(" "

"

"
)

"
*"

( " "
+
"

"

( @ R'P
"
"

(" "
'

#
"

"
/

#)

CREATE TABLE log (


id int(11) NOT NULL auto_increment,
host char(100) NOT NULL default '',
address char(100) NOT NULL default '',
agent char(100) NOT NULL default '',
date datetime default NULL,
country char(50) NOT NULL default '',
provider char(100) NOT NULL default '',
os char(50) NOT NULL default '',
wb char(50) NOT NULL default '',
PRIMARY KEY (id),
KEY id (id)
) TYPE=MyISAM;

'

"

"

+ /

class LogDao extends Dao {


function LogDao ( & $da ) {
Dao::Dao($da);
}

'
"

#
,

(" " "


K
#( #
,
(
9.@.HG + B "
"

,"
%

"
+

,"

9L@
)#
,

)+

"

*
( "

"
(

function & searchAll ($start=false,$rows=false) {


$sql="SELECT * FROM log ORDER BY date DESC";
if ( $start ) {
$sql.=" LIMIT ".$start;
if ( $rows )
$sql.=", ".$rows;
}
return $this->retrieve($sql);
}

'

"

("%,
)+
(" "
" "
"

"

" #
"" *

'*
*
R '*
* N
5(
9L@
*
"
'R'P
(
'
K

)
"
)

:1T
)

5;H
#

"

""

("

:1O

)
O, !
'
5

"
); =)H

'= #
(
(
"
(
* ""
' "
"
# "
N

:QO )

"
"
Y(
( (
"

(
"
(""

"
"

!
+

"

5;H
"

".

"
""

"

+
+ "

"

"

" )
)
)

(B

"

"

#
(
#"

",
(
, !"%

)
O) ,
'9

B
)

"

B
'

% #
(

)"

"

)
O))
E

(#

"

<
1>
'9
(
% %

(
B
G
(

" # +
#
") " *

"

"
" #

" ",)
*"

" 0 .'

.(
#

(%
* "N
* ,"

#
" #

" ",%
+ "
"

("

" #

$
'

"
""%
(

.
"
"

*%"" ," (
(
%
( N
," 9
(

#"

'
FG5@)
1>

"KFK"
%
%

/
00

"
"
(

"

KFK

'
(
+

A
) (

"
"

"

:1Q

&

' '

'

"
( !

" "% (
* "+

"

,!

"
A

'

#
,

+
"%%" !

" #

"

#
("

"

"

(
)

,
'
"
" +
* " ""
!"% "
!
"% (

"
K

$ 9*
o" "

#
"

"

(
!)
*
+
.( )

# +#

'

"# "
, ""

" #

)
O)

+ %
+

"

"

" "%

( *#" *

'

'
,""
#
" *
#
.
,

)
O)2
'9

"

'9
!

,
"

("

"

FG5@

,
"#

"*

#,
)
"

"

"
#

#(
#
,

""
,

)
)

(# *

"% "

"

"*

,"
"
"

(
/

" +
" + (

+
FG5@

KFK)

("

'

)
)

"

"

(*"""
"
'
@
"# *
U
#(
(
"
" "
N
'K "
( #

#
(
( "

(KFK
(

(#
( "

( *"""
* *
+ +

+
"

)
)
)
)

"
#
+
"

"
5
"(

(
"%
")

:<

)
O); =
'9

-+#

(#

KFK>)

% ," 9
( #
(
". "
"% (
"
,"
+ "&

,"

""

"% (
+

'9
( "% (
, "U
( (
*
! ( , "3
9
(
+
-

11

"
(

"

"
(
%"

(
9 "

( % %+
. "
'"% (
)
)
)

(
!

<?
require_once('Smarty.class.php');
$smarty = new Smarty();
?>

'9
(
9
(
(

* " ""
("

'

,"
!!

'!4(';+Q&*
'

"+(

"
"

(
#

"/

<?
define('SMARTY_DIR', 'c:/webroot/libs/Smarty-v.e.r/libs/');
require_once(SMARTY_DIR . 'Smarty.class.php');
$smarty = new Smarty();
?>

!!

'9

("% (

," /

templates/
templates_c/
configs/
cache/

. " "% (
" "
=
%
"% (
"
(
"
*
( "" , "
,"
'=
# "% (
("

11

/
00

#
"

#
(
(

"(
%"

"+

" , "'
/
" " #)
"

"
FG5@

"

"
("

# +

i*
KFK )

:<:

)
O)

"
(

&
!"%
/

2%

"

"

,"

{* Smarty *}
Hello {$name}, welcome to Smarty!

'

+ " /
<?php
require_once(SMARTY_DIR . 'Smarty.class.php');
$smarty = new Smarty();
$smarty->assign('name','Ned');
$smarty->display('index.tpl');
?>

'
\
b%

"

!#
""*
" (
" '

]
%
( + B

"

"

/
00

0*

/
00

/
00

)
O

'9
(
;

"
"

("

.
/

"
"

"
(#
+

"
(
!)
)

*
0

0
0

797>

i:

(
(

" ( #
""
(
+ B
(
( #
" 8 "% ,"
KFK (
#

" %
"
= #)
"
(" 9
( ()
(
"
"
) ""
(
(",%
(
)

"
.

"
,"
'
9
(
#

"
U
"

*
"
(
"# (

",%
(

"
",%

(
(
KFK
"

,"
"

"

)
,"

#
+

"
(

(
KFK
(

R
B
"

"
""

(
9

)
;
+

:<

)
O ) ,!
F KFK

"
"
("

"
"
"% "

)
!

""
( .

1<

(
(

<?
class Sablon {
var $dir = 'sablon/';

'

("

( #

var $fajl;
var $cserek = array();

'

"

function Sablon ($f) {


$this -> fajl = $f;
}

'"

"

function berak($nev, $ertek) {


if (is_object($ertek)) {
$this -> cserek[$nev] = $ertek->cserel();
} else {
$this -> cserek[$nev] = $ertek;
}
}

'

("

" *

"

function berakTomb($tomb) {
if (is_array($tomb)) {
$this -> cserek = ($this -> cserek) + $tomb;
}
}

#
,

"

( "

"

function cserel() {
extract($this -> cserek);
$cimsor;
ob_start();
include($this -> dir . $this -> fajl . '.tpl.php');
$tartalom = ob_get_contents();
ob_end_clean();
return $tartalom;
}

'

(
(

!
(

*
"

"

+
#
#

"

function torol() {
$this -> cserek = array();
}
}
?>
1<

/
00===

* 0

* 0

U
Q#
,

#(
("

:<
; , %% #
,
",
B
(
""

)
O
-

(B
( "

"

!*

"

( +

, " (" "


( .
R. "
R

(
#

"
(

'"% "
# " +

"

)
)

<? /* Csak az el zetes megjelentsre, hozzszlsok szmval


*/ ?>
<div class="hir">
<? if ($lehethozza || $tartalom) { ?>
<h2><a href="<?= $index ?>?<?= $blognev ?>/<?=
$url ?>"><?= $hirCim ?></a></h2>
<? } else { ?>
<h2><?= $hirCim ?></h2>
<? }?>
<? if ($datum) {?>
<acronym class="datum" title="<?= $datum['hosszu'] ?>">
<span class="honap"><?= $datum['honap'] ?></span>
<span class="nap"><?= $datum['nap'] ?></span>
</acronym>
<? } ?>
<?= $hirSzoveg ?>
<? if ($lehethozza || $tartalom) { ?>
<p class="hozzaszolasszam">
<? if ($tartalom) { ?>
<a href="<?= $index ?>?<?= $blognev ?>/<?= $url ?>">
Teljes bejegyzs&raquo;</a>
<? }?>
<? if ($lehethozza) { ?>
Eddig
<? if ($hozzaszolasSzam == 0) { ?>
nincs
<? } else {?>
<?= $hozzaszolasSzam ?>
<? } ?>
<a href="<?= $index ?>?<?= $blognev ?>/<?=
$url ?>#hozza">hozzszls</a>.
<? }?>
</p>
<? } ?>
</div>

'"% "

"

$ujBejegyzesek = $this -> adatbazis -> ujBejegyzesek(10);


foreach ($ujBejegyzesek as $k => $e) {
$ujBejegyzesek[$k]['blogcim'] = $this ->
joOldalak[$e['blognev']]['cim'];
}

:<>
$sablon = new Sablon('ujBejegyzesekBlokk');
$sablon -> berakTomb($GLOBALS['portal_adatok']);
$sablon -> berak('ujBejegyzesek', $ujBejegyzesek);
$szoveg .= $sablon -> cserel();

%
4

9 9*
/
00===" "

/KFK#
0

/KFK
/
00

/G
/
00===

(
<0 T0 O0

K
/KFK
/
00===

#"

( 0

G
* 0

*0

.
* 0

* 0

:<1

)
)(
'= #
(
("

"
"

"
(" #
" "

'"
*"

"
(
" (
B

""%%
" ( "
" *
" (
"
( (
"
"
( ,"

7
'"

"
"

"

"

"

#"
(" "
"
6
(
7
/ ("
B (
""%
("
"
"
"
U
%

)
)) D

(" "
"
("
"
%
N (

1T
"
'HG
"
, '6
N 1O
%

"*)
; )
("
"

"% (
!
#

"

#
"

/ "% 1 "
7% (
#
" +( H V

(
#
!%
"" )
( )
)
)

I
1Q

#
( KFK
/

( (
B= #

"
"

(
(
+#

KFK>

(1

!"% "

"% (
!B(
B
(
5;H

B
DN@) "

"

(
B
"
#
,
" (
+
"
" *"
6 " *)

( *" (
H
V
( "
" "

#(

*
# /.
"%,
%
"'

(! )
"

("

(
") "
"
"%, '
# +
" 'KV
)
F
(

'%
*
%"

( "
( !+
"

"
"%
"
)"
(
"
)"
#
)"
(""
5;H
"
, "
"
"%% '$'J
B"
"*
( " "%

'H

"

"

+
,"

1T

/
00===

=*

1O

/
00===

1Q

/
00*

0
0

* 0

*
i#

= "

#
"%%""

"

"
'#

:<<
"

)
))) =
'H
K

-+#

V
"
P * 9L@

'
" "% (

%
B

#/
,"

)
))

KFK
(PREH ,"
% %+
"

*"

SQ/

' DN@) "#


"

# "

5(
9L@ 5(
9L@ 599L@

," '#

"% (

"

"

",%

(
%)
)

" #-+#

+
*
+
"
*

(
( " ' DN@
,
+
* /

"

"

)
)

www.your-site.com/news/article/my_article

' DN@

"% "

"

, "/

www.your-site.com/class/function/ID

"
(
( +
"

( "
"
V
R

"
#
,

(
"

" '
+

( %
#
H

%
V

!#
,
( %
#

"
)
#)

DN@

(%

"

"
www.your-site.com/index.php/news/article/my_article

%
'"

""%%
#

(#

/
00 = "
= "
/
00===
/
00===
/
00

0= "0@ i #
i= i
=*

* 0

*
i#
i

0KFKi' Ai3

i#

): )

= "jK

= "
iT i

= "

*
)#

= "

:<T

) =
E
#

!!

- "

= #

"
"
Y(

"

!
KFK (
#
"
% #
#

%
( = #

,"

(
.

#
- #
"*

"
%
#

"
+"

F (1): )

"
(
B

(
#

B
#

#)
"
"

) )

GG

'$ "
$ 9.*
"
! "

"
" "
"

.
"

"
,"
$ ..*
"
(
*

"
"+, #
!
"
""%%

(
B
)
(

%
E
$

"/$
/
00===*
9
/
00

K
0

E *
";
/3
/
00=== # )

#(
0u

"

"0

" "
"
0 0$ 9

K
0u

G*
*
" 0# i

K
"V
V
<i:0

#
A

G=

' -.G 5 * #= )
.( ( B #
(
(
( =
"
"#
"
*
! "" P(
(
"% (
"

"B

"
=

)
"

'RP-.G
'9K-.G
= 3
'"

(
("

!#
$
' -.G#

",

"G
(
" *

( ",% % ( " "


HMM Hj ;
E *$9*
" "
/ .#
# K K(
" ;

-.G#

"% (

"%
H
9

)
()
"

:<O

) 2 7
%
"
/
00===
4

9=
/
00

) ; Q0!
6
'N ( N
(
%
, "=
"
'N N#

"K(
0

(
0>:

/G

"

"
K(

Q
(

(
+#
"
" 7

("

B N ( ( !=
"
=

%
/
00===

"

"
% %
"

()
" +)

:<Q

)
2=
'H59 H
"
"
%
=
'

9(

(
%
(
5 ( (
( "%%
(

=
(

"

"

#
H59
<

"
H59) "

/
00*
/
00

"

**

(
+#
"

$
H59
"

<

/
00

<:

/
00

B
(
B #

<:

!"

"
"

)
'

"" "
"% "

"

* 0
#

(
B

.
"

"
(

"

"

"

!"%

* #,
"#

!"%

:T

)
;R
.

- '! "

#
#
+ ,""

(#
"

)
;) G

?
(

"

""%

! #-

'"% " #
" "%
%
'#
B(

" "
(KFK

2
#
+!

797 #

!
"

"

( "

"#

)
)

,"
#, "

"+

"
KFK/* "
#,
"
* " 9L@ "
'
5
*
"

,"
#
#,
"
(
" +

' 9L@

" "+,
*
*"

,"

G (
,"#
#

" +
"

(
"

"

"

F (
+ #

(K
,"

'

*
+

)
9L@ )

9L@
""

" (
"X

+ "
"
A

"
9L@ "

%)

,"

+
""

" 5(
9L@

"

(
"& F
"

'
""+ * "

"

*
"

H
.(
, "'

)
;

'"% "
FG5@ H99

'
" "%

)
)

(
,

0
= #
"
"#
#

+
"

"

"

")

"

'
(
)"

# / "
. ("
"
"
A
(

" (
" "

"

KFK
( "
(
( #)
(#
"

)
)

:T:

"
Y

( !
("
( '!

(
!"% FG5@!
"
(

'!

,"
+

"

'!

*
+

"
'

"
(

"

)
#

#
'
FG5@# "

# %)

",

"B

"

"

'!

"

( ""

%
!

B %

'

'

* " #

'

'9

'

'

/ %

( KFK (

Ah

"

B %

"

"

,"
5(
9L@>

<
(
) "

"
( 9L@

K.'N/
/
RE
( "
*
)"

'!

'!

.(

E
FG5@# "

" "
(#
9L@

(%

#
"8

'

"
(

" +
",

# 8

9L@

H99#
+

h* *
" A

/
"

/
00

<

' !
H99
+

"

""

:T

H
'#

+
" +

,"
*
" (

(" "

(
"

*
+

"

/
00===

/
00===
) )KFK)E
/
00*

(
(" # ,

* 0

)3 * ()K )

"#

*
+

"#
"

""
)

"%

*
+ #

"%

#
<A :::
*
+

"%

*
+

"

G
FG5@0H99h
"h
+

"

*
T "%

AZ

"

"% #

"
+

"
""%%
" (
%%
F ( "
%% "
" , "
a
9* )

"/ #i
Z
KFK>
(1

* *a
"
*
ip

a
(

a
"*
+

"
$ 9*

i *
Z #
#

((
+#

/
00===*

Z.i'@@ 9,")

/
00

/
0

* 0

0
0#

/
00===* ( # "

:0 0
0

"

" B

"

h#

H
-

"

# "* "/
"

* 0

* 0*
0 0KFK0G )9
) )3 )4
)H

= "

)
;2 D+ *

"% " "


/

"
#

"

(
#

/
"

"
"

,(

9,"

#
"

"

(
V

"
( "%

"

:T

)
;; R
; ,
"

#
(
, "

"% " "

("

797"*
%

'*

"

#,

"

G
!KFK
9L@
FG5@

H99

("

*
G

*
#"

"

"*
%

$
n

"
(

"

9" " #
R

"

"

"

" +

FG5@

""
B

797"*
G
"

(
B#

"

#"B

(
#

"

KFK1
9L@
J5@0J9@
H99:) hJFG5@
'$'J
@

"

A#
(

!
"

"
*)

:T>
@

(' RE

"
*

"

K.'N
"

9L@

)@
$

" 9HPN5

P * RE
"
*

( ( PN5 r
( "

S
D
3

s "%

". 3

V #* R
P @
' *
#

'

#
"%
3A *
"

"

,"
"
"
,

" RFG5@ '$'J


NV
' N* V )

797"*
%

KFK

"

"

"

AFG5@ H99
9L@
@

"

"

#"B

(' RE

5!"%

"

*"

4 !

"*

%
KFK) "

#
"

"

"

KFK1
AFG5@ H99
9L@

"

*#"
+

G
%

"

"
#
#

"

:T1
5(
9L@
J5@ J9@
G

*
K

9L@

"

"

$9 RP5
'$'J
G

"

"

9= /-

'

G
%

"

("

FG5@ JFG5@ RFG5@ $

9*

'$'J H99

"
+
"
*

&

"

G
$9K '9K-.G
(
",% %

"@

A5 *P9J

6Z
Q0! "*
"

"

'

"*

G
@
$

"

'

"
(

G
$ .. $9K#
'
H

#
)

"

, "'$'J0N (#

:T<
'

'

G="*

G
@

"

'9K-.G#
V

'

"

G
-.GHj#
'
9

#
K

'

E G " V#K
"
(

"%%"

:TT

: 3
"% ( " "+
:: 9
*
: 9
"
"
: : J'5KK
+ *
:
'' *
+
:
'KFK
+
: 3
"%%"
: > 4 #"
"
'= #
: G
#
"
::F
: *
"B
: P
: > 3 ( ,"
"
:15 (
"
:<5 ( %
"
:T5
, "" X
'=
(
:'
H
;
"
.
"
"
FG5@
: E
G "
'
FG5@
"
> F (
,"
(
FG5@"
1 3
< 2 "
"
T @ ""
O 2
"
Q G
"
: @ "
:: g
"
: 2 "
: P
:> 9+ "
:1 9
(
:< 9+ "
:T 3
:O 9"
"
:Q ?
"
.
(
"
: DN@)"
9
" FG5@
;
> .
"
"
1 G
#
"

>
>
1
1
T
Q

"X
"X
H

:
:
:
:
:
:
:>
:T
:T
:T
:O
:O
:Q
:Q
:Q

T
Q
>
T
>:
>
>T
1
1
1
1:
1
1
11
11
1T
1T
1O
1O
<:

:TO
> JFG5@
> : J5@
"
>::5
" J5@) X
> : J5@
A
> JFG5@ ("
"
> R"
+ ) " *
> : JFG5@: RGR)"
>
JFG5@: : RGR
>> ;
# "
>1 G
#
"
1 H99
1: E
1 'H99 (
1 ' *
"
"
1 :F
+
1
F
"
1 > 9%
"
+
1 1 E !"#
1< 9
("
1 T G "%%"
(
, "+,
1O @ "
1Q 5
"
1: 5
+
1: :'
1:
K +
*
"
1:
@
1 : > S)
A
1 :: @
("
1 :: : @ ""
"
1 :: .
(
"
1 :: .
!
1: 5
+ "
1: .
"
"
1 :> ;
1 :1 G
#
"
< $ 9*
<: E
$ 9*
(
< ;
"
< .
"
<> P
"
<1 R
""
< < 3,
("
< T H" "
<O .
(
"
<Q 2
"
<: P "
< :: 3
"
"%
< : FG5@RP5
<: :
.
E(
V
<:
'R *
"
<:
'.
"

<
<
<
<
<>
<<
<<
<T
<T
<T
<O
<O
T
T
T
T
T>
T1
T<
TO
TO
O
O
O:
O1
OT
OT
OT
OT
OT
OO
OO
OQ
Q
Q
Q
Q
Q>
Q1
QT
QQ
:
: :
:
: 1
: <
: O
: Q
::
::
:::

:TQ
< : R " $ 9*
<: :.
"
<:
.)
*
+
< :> .
* ""
< :1 4("
#
,
("
< :1 : 9, ""
< :1
.
E(
H
< :1
.
< :1 >
@ .
< :< 2
"
"
"
< :T G
#
"
T '$'J
T: E
T ' %
"'$'J
T G
#
"
O KFK (
"% (
O : 5(
9L@
)" *
O 5 "
"
O 'KFK
O :?
"
O
' *
"
+ KFK
O
3
O >'
Q KFK
"
Q : .(
Q : : ===
#
Q : G ?"
Q:
(
Q E
Q E
)
Q> G
"
Q>:3
H
Q> 9
(
Q > R '*
* P *
: 9
"
: : 9
(
: ::$
"
: : 5 "# (
9
(
: : 9
(
"
: :>G +
: :1F
; &
:
'KFK
(
:
:9
(
:
E
(
:: 2
"
:: : H V
:: : : G +
:: : ' DN@) "# +
: G
#
"
: : $ ..
:
5 * # -.G

:::
:::
::
::>
::1
::1
::T
::T
::O
::O
::Q
:
:
:
:
: >
: >
: 1
: <
: T
: T
: O
:
: >
: >
: >
: <
: O
: Q
:>>
:1
:1
:1:
:1>
:1O
:1O
:1O
:1Q
:1Q
:<
:<:
:<:
:<
:<
:<1
:<1
:<<
:<<
:<T
:<T
:<T

:O
:
: >
: G
:> ?
:> :
:>
:>
:> >

K(
N ( N
"
"
"
#
"
.( !
)
R
" !
H+ ( " "
?
"

:<O
:<O
:<Q
:T
:T
:T
:T
:T

Das könnte Ihnen auch gefallen