Cơ quan thực tập: !"#"$!%&%'()'*+*
Tên đề tài: , /%-(!!012312,"454-//
Nhóm sinh viên: 67!8(9
:7;(<(=>
?7;(<4@>
A7B C%DE%
F74G=(<H>(=
Lớp: %?I
Giáo viên hướng dẫn: JK8=
Nghệ An, tháng 4 năm 2014
1
4L
Website Nhà Hàng Sử Dụng Ứng Dụng Word Press!"#$#
%&'()*+(",-.'$/0
1"'))23$4#5
6*7895)':&-;<1,&=>
)<?&)&-6*72@0
<A>%B)Lê Văn Sơn C)5D
EB)Nguyn Thnh NghaE=>&-F1,GHI
,JK#LCJ5<?F1,GHI,JK
#L3M8'NF
AOPF>%6BQ5<?F1,GHI,
JK#L0RF5S,(#TQ(
))&AU95B0
<A>%VVV
2
4L
F5WXYZYX[\Z(X]YZYX[\Z
GH&-2$&- ?2^
?2_ GL`a1, [\bbbZc\dd]
e6 <?J^d
5P 55X[\Xf^g5P0
<%$_ ! "#$#%&'%#%()%(*0
1D5/ b[1hiLi?j
?F6*7 +,-./
R: [f]c0[][0\X]5P $P gA0&
?%) <<1,&=>)<?A0
<;&+ _S
=)&-*klP)&-Q5m 01&&&23
?:*# Website Nhà Hàng Sử Dụng Ứng Dụng Word Press4
e,M
)"n*+op?-;#oAp
M"#<opJ)oAp
q+r-#B#
,:.$?G0
<2)+596#6*70000
J)G2"sP-#5-.'$950
OPT)%5)00000
RQ(Q(4#>
t*+PT#(&(M"#$#&(
G'))@-#B#95Q5F50
?:*#&
<&\ J>$)$%':&FP&%M0
<&X M"#&@,%M0
<&^ M"#&;*+.*$$
<&Z ,:.'$$O*+;*+.*$$
3
4L
5
?555$@Qu#-95Q5Hs'
P0F,'Cv&2h#%
;#,M%;#'!$@P
5&v'(h#F(h0<
Q/*WP,_+r+&+Q5HQK#$#&F
$@rDQ(A3:_-Bw5P,#Pr
Fs'Px&Q(3$2#
224#5H&4#>PT4#>)$>y2595
)Ar*5P6z0?{;*+95
35P,#PrQz,#4#>Q({Ar
20q#@')&5)$>yHF'(:):3&
52MB>4#>)0LM&A*:.'$4#>)&
'))$>yP#@B(@&6H*5"N,
&)"Q(DF,5Q@P50
().'$')#(#A**5-)3
#NA*$|2##"*52"55
95MP-DF0
<r&M&3H“Thiết kế website bán hng trực tuyến bằng mã
nguồn mở Wordpress”.
L6Q(,}F5-;#Q*P#5Q>25
#*&N)Q)Qz{$5$20q4#TBC)',
5$~2T"N)0
4
4L
66
78
5
4L
9,:;<=<>
?4?4 @&'##AB; *C%*(DD
•*$$P:3#N.'_"4#>D:*#l<qIE<
q555I$m&wP:>€Pl€PP5•m&(-
{G$O*+4#>D%$_*{P#q‚Iƒe)B#-
&XdYcYX[[^'_q5q#PP.&qQeP0
5•*$$PB#6'@52QAP:
<qI&M$;,952w26,r#-P2:NA
•*$$/P:3#NP5H")"'P)'M
F&6)r`h%'>P„,5x,'&(2
r`'MP#'&("&-2"%)0
#&$&6P'hFM•*$$w32{'6
(&'$&6{@9Q))4#5HhPr%)
%>"2"Bw&6F$O*+Q#-0LM&P2
•*$$3'aB#_:3#N_#FT(&
22W{F$O*+"2")"@%0
:$@•'5$2QM•*$$,:}r@
#-0•*$$*…$O*+h^<qI2',2:€P
&0G%{5)P#95.*$$2h#&ff†P…r&',
2"s&h)P#5B4#>PT95•*$$
QB>*.P5*0
•*$$r;)&`X[[^(M
95232s&`X[\\0e2M$)"95_L
?555$@F$O*+)*D&+'P…rPQ)P69(#P
*5&*D&+'P…r95‚501@&6:NF*C•*$$
F"wS,('_{-'>B#-95•*$$
5$#F*C'F0L$5#F5%\[`M
&)"6F",M•*$$$O*+-
M'PP6z&26%\[#P##&5995
•*$$„0
•*$$P:':3#N_2P‡&M#,-$
95•*$$501#2x5P•*$$,5
'_:N&+&+Pr95:N2)"'_
`M#&--(6&hh#PM&-Q)322
6
4L
&0L"$O*+•*$$M',QB>>'hQˆr
':3#N0
?4E4 FG&DH%&'*#I
€XY5•PF'((&6)-%>P€X55•PP
95.*$$0€XY5•P6P3$O*+X[[['P
)c`X[[^0?23&('!{PMG$O*+&6
qIƒe '_ qP L5P* F 3 _ ) " r 95
•*$$50qs*C•*$$P#*#r;:*)
Q)'X&P#w5$$)"0
?`X[[ZF,hU952$>y,5q&5'P'D
5v'_IAj5#F*C#"$5$O*+•*$$,-
:'6sP6$h"&v'(95•*$$0
?`X[[d•*$$>_5Q‰I#<qI`X[[f
•*$$*7B#&3#N_<qI@h0
?`X[\\$@F$O*+•*$$3P-($@c[#$
?4J4 'GKLGM&N#OPGQ3.; *C%*(DD
G@P#&P-+',w2"&(P#
M0
G„#{l'5N>(Lm0
1&)P„&„P-+0
<2h#$…r#-&I‰h@0
R…*4#>PT&5)&4#>PT'P'&(@)B
(Q(.'#-0
r$|e5AE+$,>;)H',2"&(;
)H5'&(0
ŠP5*&4#>PTM>:)*…*s'P;`,#'5P
h50
7
4L
<2:@•*5*,l;*+,-m@Q-$@F#
R5 $))' &( 6) '&( v ' A #
#eQ-)#-+eQ-)5€&(
)002(-X^•*"',5NP5H0
@Q-$@#W@&6„'&(95'P0-%$_2',2
"D6&(M(0
G@4#>PT&*#<h52"s$50
G@4#&6#h:Q)5# j*$5j#
*<'#I#''0q„4#$‡2)4#,Q)5#
U`'&($O5'&(A25'&(*#0
I5P#*{P#:)*…*"'5Q#s#"$5:%Q)0
G„ 5 ` W ) 'P Q) €P$ #'P €P
e&‹#5PŒ
•*$$„^="P#M>&&`'>0
G!•*$$$‡@Q-\[['&(-)'P(L#
FHh0?F2','()4#5Hh5*…50
Ls'6h•*$$„&4#>PT'P4#5'Ph#
&*…*0
8
4L
78
@R.ST,UVSW=;>.>UU
2.1 XG#+0"+0GY0)ZC[&A&\
2.1.1 Mục tiêu
5.'A*!'6#)$>y&6
Q)Q54#55.'0
*5)2`#Q)'()
$>y_*5+0
e#)2`#6:)52Q)a
'a5h&kh2"0
<UMQ($>y:)520
2.2.1 Yêu cầu hệ thống
‚-#B#&B;&B
• q)rP.'$&0
• G#e#A
• B5$&rG&qIƒe•*$$^0]0X
‚-#B#&•'$
•'$5P5B
• B*Q)0
• B*4#>D0
‚-#B#&;`
• <;`4#>D&-
1"#&;`@4#>D&-B2:Q>"`
$5#Q`4#>D&-2");`$5#
E1` ƒ#>D&-`&@"4#>PT':@0
Eƒ#>PT*5+$>y €5N)&-$O5A25)
&$>y0
Eƒ#>PT$>y €5N)&-$O5A25&$>y
$@PS5(0
9
4L
Eƒ#>PT% OPT)%95Q)5)&5
6Q)0
Eƒ#>PT*5$)Q)&TQ(95Q)0
E@Q-*5$)&*5#0
• <;`Q)
6-Q)>`QT:Q>$5#Q`QTAQ)
2"`&@&);`$5#
EJ)2"MQ($>yMB*5-*5+&-
$>y0
EI5#QMQ(Q)2"A(&$>y0
EJ)2"2&z'!)s#5&A
&{$>yQ)0
EI5#QHz2"s#54#5.'$0
EJ)2"4#>PT%M3#50
E?5Q)2"OTQ(>N0
E‚-#B#&5*
•'$BM'*…"#5*BwQ)*…Mh
HBM#hQ){$>y'),$>
y6000
:767 @&$ D'&#A*!GQ3*3](OO'& ^#(
2.2.1. Hiện trạng của trang web bán hng online
ƒ#5M"#&-;#)•'$')P
YY5#&0
YY55P50&Y
35:$@&h$5#
<)5•'##h)2`5*, z$;5'a'Sz#
5#-%N0000
<)2`6P-+&6)2`6P,&
Bh*70
<#hF*C#;`%>`QTQ>-
5.'MQ($>y52W.'4#5
5P0
e-Q(&6)5,A3:"F*C*…*Q
260
2.2.2. Yêu cầu đặt ra để phát triển trang web
10
4L6M
=5**…M*…$O*+0
?#N2`5*,0
2`FA#-0
<);`MQ(-&z);P-P-Q(&6)
5,A3:0
<;`$O5A250
I%N/F
1@&6F*C
<U`QT&-0
<UMQ(2T0
1@&6j*
ƒ#>PTF*C -$O5A25F*C&j*0
<FA#-)$>y
G"D2*5+
E4J4 &ZMG&&A&\
2.3.1. Yêu cầu chi tiết về Website
GD)*5+$>y0
G"D(&2`2*5+0
G"DQ(4#>95&MQ(`QT`-@0
G"D)$>y6
2.3.2. Đối với người truy cập l người dùng
<U`QT&-0
<UA;2`0
<U-&z#(0
2.3.3.Đối với Admin
ƒ#>PTF*C -$O5A25F*C0
<)P-4#5$O5A252`0
J"5$>y6Q`'0
G$>y2*5+
11
4L66
E4_4 'GG&`G-GX&I
2.4.1. Mô tả các chức năng
1B#& ƒ#>PT0
<l$O5A25-6m0
?&4#>PT2`Q#2$|0
1B#5 GD2`
G"D2`*5+0
G"DMQ(2`0
2.4.2. Phân tích chức năng
J#$>y
Eq3$>y e$@QT>'>r*#h950
E-2` ":*#2`)('(0
E2` "D2`&)('(0
EGM> "M>H52`0
?:*#2`
E(Q( 32`>'!555>')
(#C;0
E?:*#2` k952`&)('(
EGM>952` 2')(#Q2>0
<2` <U/$O5A25s-)2`
60
25 <2"A25+5A25W2`0
e- J)>N4#5•'$O:*#&5P95j*0
<UF*C))"Q•DrA)PF
20
<;`MQ( <UQ)MQ($>y-$>
y0
E4a4 #KL; *C%*(DD*+ D#
2.5.1. Ci đặt Wordpress trên Hosting
€MF",).'$$O*+3#N•*$$‹P5
?#QLR#5P55Œ&)3#NQ)M',>#P5*P-
$5$&0LM&2„:$@B(3#N*&&
$Pe0
12
4L6:
<h#MjI&
I5#Q*.P5* jI& &>U&vRs)v<lv s
•*.$m"$5#QsP,.*.$$‡Q'Dh*{P#0
?U)P,&2*#Pz%Xq'
I5#2&5 YY•&0Y$#0(`QT$…r
13
4L6?
I5#Q`Qr5`& YY5P0•&0
14
4L6A
I5#2'h&‰PŽP55"#P5*•*$$P-$
15
4L6F
I5#Q#P5*•*$$P-$5&+q5*",
%$_*{P#
( L YY550•&0Y.E5*Y$5PP0 "
•*$$-$
16
4L6N
JsA55*$5#M',3s
I5#Qs5& YY550•&0Y.EP0
"`
17
4L6I
I5#Qs•*$$M5$‡h#M•*$$
M01P%)s.'$0
18
4L6O
2.5.3. Việt hóa Wordpress
1"*…$O*+5-&25•*$$w)P#0
1B#-',B>ŽP]%b"#4c#%&)0I5#2>U5$‡:$@ŽP
(0
19
4L6P
I5#2',*C•P•PP5&$4#5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',0?(#',5'hQˆM@$‡*CsDl
.m0
a) Tìm kiếm theme v ci đặt ngay trang quản trị
?(#)',QPS&65*sDM2"MQ(&
s:5*Q55,54#>D0<)s%
P#0<)',&h%%(3*3G(bn&(B(D#"4#55'D3^^&(B(
&M-#Q"#5:900&0&ŒGs2"M{
#F$O*+,+r(30*(C5-MQ(0
I5#QM)',H*("#(]"A6&HD3^^"(
s0
22
4L::
I5#QhD3^^ ])',hhG#"("Qr,&'aB#$O*+0
23
4L:?
b) Ci đặt theme bằng cách upload len host
?(#)',Q"M:T&2$|95
.*$$M2"&)5#hQ)"P5H2h#
.'$#h{•*$$&W5}P,&W5…r0
I5#QM:TM',(#P5*+&
]%bG (q&(B(D4I5#2)',&h%%(3*3G(bn&(B(D&hhG#"(
&&W5#P5*0
24
4L:A
78
s@s;>.>U
J4?4 #3 C#A*3G&Q
59'5N)B€55#B:*#B
B'0
G"D*5+2`62`s0
<2{*5+2`5MQ(-•`@Q-$@
P2`3&z&*6#2`Œ
M.'$2-Pq$P#0I5#QsM2_*,
sD0<5$‡5v'5&5*0
25
4L:F