A

AnhSaker

New Member
Với thời kì hoàng kim của filelist xtgem hiện nay thì ngày càng có nhiều pro tạo ra các filelist mới và khủng.
Tuy nhiên vẫn có rất nhiều bạn chưa thể tạo ra các filelist đơn giản để làm 1 số chuyên mục. Nhân tiện đang rảnh nằm đắp chăn vì hôm nay bỏ học :D lên dv share cho ae ai chưa biết làm 2 filelist này. Ae có thể áp dụng làm gì tuỳ thích. Hiện tại thì mh áp dụng làm chuyên mục phần mềm. Cũng rất đơn giản thôi.
*Bản thứ nhất:
-Demo: Demo1
-Code:
Code:
<!--parser:xtscript-->
var $f=/phan-mem/chat/
var $in=xt:include file="$f
var $list=<xt:filelist sort_type="updated" filter="-index" sort_dir="desc" per_page="7" folder="$f" template="&lt;h4 class=&quot;rmenu&quot;&gt;› .file_name.&lt;/h4&gt;&lt;div class=&quot;noidung&quot;&gt;&lt; [in].file_name.&quot;/&gt;&lt;/div&gt;" />
assign $filelist=call str_replace $subject=$list;$search=[in];$replace=$in;
print <div class="tieude">Phần Mềm Chat</div>$filelist
<!--/parser:xtscript-->
-Hướng dẫn:Tạo thư mục "phan-mem", trong thư mục đó tạo thư mục "chat" và tạo file index và post code trên vào.Ae có thể chỉnh sửa biến f theo tên thư mục. Để hiển thị theo demo, ae tạo 1 file tên bất kì, địng dạng text, ở đây mh tạo file X-Yahoo(đây sẽ là tên phần mềm). Trong file vừa tạo ae post nội dung gồm giới thiệu,link tải phần mềm vào.
*Bản thứ hai:
-Demo: Demo2
-Code:
Code:
<!--parser:xtscript-->
var $f=/phan-mem/van-phong
var $in=xt:include file="$f/mota/
var $list=<xt:filelist sort_type="updated" filter="-mota" sort_dir="desc" per_page="7" folder="$f" template="&lt;h4 class=&quot;rmenu&quot;&gt;› &lt;a href=&quot;.file_url.&quot; title=&quot;Tải phần mềm .file_name. miễn phí &quot;&gt;.file_name.&lt;/a&gt; (.file_size.)&lt;/h4&gt;&lt;div class=&quot;noidung&quot;&gt;&lt; [in].file_name.&quot;/&gt;&lt;/div&gt;" />
assign $filelist=call str_replace $subject=$list;$search=[in];$replace=$in;
print <div class="tieude">Phần Mềm Văn Phòn</div>$filelist
<!--/parser:xtscript-->
-Hướng dẫn:Tạo thư mục "phan-mem", tạo thư mục "van-phong" trong đó. Rùi tạo thư mục "mota" trong thư mục van-phong và file index dán code trên vào.
Hướng dẫn up dữ liệu: trong thư mục "van-phong" up file .jar, .jad, .sis, .sisx, .zip,...(đây là file game,ứng dụng... Để khách tải). Trong thư mục mota ta tạo 1 file có tên giống file trong thư mục van-phong vừa up với định dạng text và dán mô tả vào đó.
Test and thanks nào ae
 

Facebook Comments

Similar threads

Admin
Replies
0
Views
3K
AdminAdmin is verified member.
Admin
Admin
Replies
4
Views
1K
TranDucTranDuc is verified member.
TranDuc
Yeukodamnoi
Replies
4
Views
1K
TranDucTranDuc is verified member.
TranDuc
Back
Top