• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Admin

Well-Known Member
Staff member
Administrator
Demo: Toàn bộ Trang mình đều dùng 100% bằng file list hết.
http://trangkhin.com

Minh chứng chia ra từng trang truyện bằng file list: http://trangkhin.com/teen-story

Code này hay là không cần dùng kiển gõ texlex hay vini để tạo đường dẫn
Demo truyện trớ trêu: http://trangkhin.com/teen-story/tro-treu
Demo truyện chị ơi anh yêu em: http://trangkhin.com/teen-story/chi-oi-anh-yeu-em
không ảnh hương lên kết quả tìm kiếm link tối ưu cho seo.

Tạo thư mục teen-story để post bài vào trong teen-story tạo thư mục ten

Code index:
<!--parser:xtscript-->
include /teen-story/ten/teen-story.xt
call @filelist $tm=data;$xem=xem
<!--/parser:xtscript-->
Tạo file teen-story.xt rồi post vào nhé:

#exportable
function filelist $tm=;$xem=
var $list = <xt:filelist sort_type="updated" sort_dir="desc" per_page="15" folder="/teen-story" template="&lt;div class='list1'&gt;› &lt;a href=&quot;/teen-story/.file_name.&quot; title=&quot; Xem truyện .file_name. &quot;&gt;~dau~.file_name.&lt;/a&gt;&lt;/div&gt;~cuoi~" filter="-ten"/>
@batdau
assign $end=call strrpos $haystack=$list;$needle=~cuoi~; $offset=0
assign $start=call strrpos $haystack=$list;$needle=~dau~; $offset=0
var $getname = call substr $val=$list;$start=($start+5);$length=($end-$start-15);
var $rename = call source $file=/ten/$getname
var $cut = call source $file=/$getname
var $cut = call substr $val=$cut;$start=0;$length=200;
var $list = call str_replace $subject=$list;$search=~dau~$getname</a></div>~cuoi~;$replace=$rename</a></div>;
if $start > 25
goto @batdau
endif
print $list
endfunction
 

Facebook Comments

New posts New threads New resources

Back
Top