
Admin
Well-Known Member
Staff member
Administrator
demo
demo ảnh:
Hướng Dẫn:
1. Post code sau vào _footer của wap :
Post tiếp code này vào _header:
2. Tạo 3 thư mục sau trên wap: web, mobile và touch
--Trong mỗi thư mục bạn tạo 2 file là head.html và foot.html
.. . .Ở đây mình đã có 2 file head.html và foot.html của thư mục web.. Các bạn chỉ việc down về ,giải nén lấy 2 file bên trong và up vào thư mục web là đc ....
File đây: tải
Còn trong thư mục mobile và touch thì các bạn đổi tên _header,_footer cũ của wap thành head.html và foot.html rồi up vào là được. khỏi phải tạo head,foot khác......
Nguồn: DVPDA
demo ảnh:


Hướng Dẫn:
1. Post code sau vào _footer của wap :
HTML:
<!--parser:xtscript-->assign $vinhbao3g=<xt:get_device_template/>/foot.html
call source $file=$vinhbao3g
call source $file=../$vinhbao3g
call source $file=../../$vinhbao3g
call source $file=../../../$vinhbao3g
call source $file=../../../../$vinhbao3g
call source $file=../../../../../$tvinhbao3g
call source $file=../../../../../../$vinhbao3g
call source $file=../../../../../../../$vinhbao3g
call source $file=../../../../../../../../$vinhbao3g
call source $file=../../../../../../../../../$vinhbao3g
call source $file=../../../../../../../../../../$vinhbao3g
call source $file=../../../../../../../../../../../$vinhbao3g
call source $file=../../../../../../../../../../../../$vinhbao3g
<!--/parser:xtscript-->
HTML:
<!--parser:xtscript-->
assign $vinhbao3g=<xt:get_device_template/>/head.html
call source $file=$vinhbao3g
call source $file=../$vinhbao3g
call source $file=../../$vinhbao3g
call source $file=../../../$vinhbao3g
call source $file=../../../../$vinhbao3g
call source $file=../../../../../$tvinhbao3g
call source $file=../../../../../../$vinhbao3g
call source $file=../../../../../../../$vinhbao3g
call source $file=../../../../../../../../$vinhbao3g
call source $file=../../../../../../../../../$vinhbao3g
call source $file=../../../../../../../../../../$vinhbao3g
call source $file=../../../../../../../../../../../$vinhbao3g
call source $file=../../../../../../../../../../../../$vinhbao3g
<!--/parser:xtscript-->
--Trong mỗi thư mục bạn tạo 2 file là head.html và foot.html
.. . .Ở đây mình đã có 2 file head.html và foot.html của thư mục web.. Các bạn chỉ việc down về ,giải nén lấy 2 file bên trong và up vào thư mục web là đc ....
File đây: tải
Còn trong thư mục mobile và touch thì các bạn đổi tên _header,_footer cũ của wap thành head.html và foot.html rồi up vào là được. khỏi phải tạo head,foot khác......
Nguồn: DVPDA