
Admin
Well-Known Member
Staff member
Administrator
Đầu tiên bạn chèn code này vào file "_header"
Và chèn code này vào file "_footer"
Sau đó bạn tạo thư mục web và thư mục mobile, xong rồi các bạn tạo 2 file head.html, foot.html trong thư mục web và mobile vừa tạo.
Các pạn vào sửa head.html và foot.html rồi chạy domain test thử hàng.
Xong rồi đó.
Demo : http://theky21.xtgem.com
Ảnh web :
HTML:
<!--parser:xtscript-->
assign $wapdidong=<xt:get_device_template/>/head.html
call source $file=$wapdidong
call source $file=../$wapdidong
call source $file=../../$wapdidong
call source $file=../../../$wapdidong
call source $file=../../../../$wapdidong
call source $file=../../../../../$twapdidong
call source $file=../../../../../../$wapdidong
call source $file=../../../../../../../$wapdidong
call source $file=../../../../../../../../$wapdidong
call source $file=../../../../../../../../../$wapdidong
call source $file=../../../../../../../../../../$wapdidong
call source $file=../../../../../../../../../../../$wapdidong
call source $file=../../../../../../../../../../../../$wapdidong
<!--/parser:xtscript-->
HTML:
<!--parser:xtscript-->
assign $wapdidong=<xt:get_device_template/>/foot.html
call source $file=$wapdidong
call source $file=../$wapdidong
call source $file=../../$wapdidong
call source $file=../../../$wapdidong
call source $file=../../../../$wapdidong
call source $file=../../../../../$twapdidong
call source $file=../../../../../../$wapdidong
call source $file=../../../../../../../$wapdidong
call source $file=../../../../../../../../$wapdidong
call source $file=../../../../../../../../../$wapdidong
call source $file=../../../../../../../../../../$wapdidong
call source $file=../../../../../../../../../../../$wapdidong
call source $file=../../../../../../../../../../../../$wapdidong
<!--/parser:xtscript-->
Các pạn vào sửa head.html và foot.html rồi chạy domain test thử hàng.
Xong rồi đó.
Demo : http://theky21.xtgem.com
Ảnh web :
