get post
assign $blog=;
var $post1={{♥[$post]♥}}
var $post2={{♥[/$post]♥}}
var $dau = call strrpos $haystack=$blog;$needle=$post1
var $cuoi = call strrpos $haystack=$blog;$needle=$post2
var $bot = call substr $val=$blog; $start=($dau-0); $length=($cuoi+18-$dau)
var $dau = call strrpos $haystack=$blog;$needle=$post1
var $cuoi = call strrpos $haystack=$blog;$needle=$post2
var $data = call substr $val=$blog; $start=($dau-0); $length=($cuoi+18-$dau)
If $post==0000
var $data =
Endif
var $tdau = call strrpos $haystack=$data;$needle=[1]
var $tcuoi = call strrpos $haystack=$data;$needle=[/1]
var $ten = call substr $val=$data; $start=($tdau+3); $length=($tcuoi-3-$tdau)
var $idau = call strrpos $haystack=$data;$needle=[2]
var $icuoi = call strrpos $haystack=$data;$needle=[/2]
var $info = call substr $val=$data; $start=($idau+3); $length=($icuoi-3-$idau)
var $dau = call strrpos $haystack=$data;$needle=[3]
var $cuoi = call strrpos $haystack=$data;$needle=[/3]
var $tag = call substr $val=$data; $start=($dau+3); $length=($cuoi-3-$dau)
If not $tag
var $tag = (chưa có từ khóa)
endif
Var $key = $tag
If not $tag
Var $key = $ten
Endif
var $mota = call substr $val=$info;$start=0;$length=100;
assign $mota=call str_replace $subject=$mota;$search=
;$replace=. ;
assign $mota=call str_replace $subject=$mota;$search=
;$replace=;
Print
var $dau = call strrpos $haystack=$data;$needle=[4]
var $cuoi = call strrpos $haystack=$data;$needle=[/4]
var $time = call substr $val=$data; $start=($dau+3); $length=($cuoi-3-$dau)
var $ldau = call strrpos $haystack=$data;$needle=[7]
var $lcuoi = call strrpos $haystack=$data;$needle=[/7]
var $idm = call substr $val=$data; $start=($ldau+3); $length=($lcuoi-3-$ldau)
If ($lcuoi-$ldau)>2
var $idp = $idm
else
var $idp = 09
endif
If $idp==09
var $cm = Linh tinh
var $lcm = linh-tinh
Elseif $idp==01
var $cm = Game online
var $lcm = game-online
Elseif $idp==02
var $cm = Game Java
var $lcm = game-java
Elseif $idp==03
var $cm = Wapmaster
var $lcm = wapmaster
Elseif $idp==04
var $cm = Truyện hay
var $lcm = truyen-hay
Elseif $idp==05
var $cm = Góc tâm sự
var $lcm = tam-su
Elseif $idp==06
var $cm = Hỏi và đáp
var lcm = hoi-dap
Elseif $idp = 07
var $cm = Giải trí media
var $lcm = giai-tri
Endif
@mrduc
var $pdau = call strrpos $haystack=$info;$needle=[8]
var $pcuoi = call strrpos $haystack=$info;$needle=[/8]
var $img = call substr $val=$info; $start=($pdau+3); $length=($pcuoi-3-$pdau)
assign $info=call str_replace $subject=$info;$search=[8]$img[/8];$replace=;
If ($pcuoi-$pdau)>5
goto @mrduc
endif
var $dau = call strrpos $haystack=$data;$needle=[tk]
var $cuoi = call strrpos $haystack=$data;$needle=[/tk]
var $tk = call substr $val=$data; $start=($dau+4); $length=($cuoi-4-$dau)
#thời gian
assign $space=call chr $val=32
assign $time=call str_replace $subject=$time;$search=Sunday;$replace=Chủ nhật;
assign $time=call str_replace $subject=$time;$search=Monday;$replace=Thứ hai;
assign $time=call str_replace $subject=$time;$search=Tuesday;$replace=Thứ ba;
assign $time=call str_replace $subject=$time;$search=Wednesday;$replace=Thứ tư;
assign $time=call str_replace $subject=$time;$search=Thursday;$replace=Thứ năm;
assign $time=call str_replace $subject=$time;$search=Friday;$replace=Thứ sáu;
assign $time=call str_replace $subject=$time;$search=Saturday;$replace=Thứ bảy;
assign $time=call str_replace $subject=$time;$search=,;$replace=,$space;
assign $time=call str_replace $subject=$time;$search=.;$replace=;
assign $tkp=call str_replace $subject=$tkp;$search=Admin;$replace=Admin;
var $link_forum = {{/forum/share/index?__xtblog_entry=$ms&__xtblog_block_id=1}}
Print $ten ›› Bài viết mới ›› IsMe.Yn.Lt
Print {{}}
var $pro = {{• Người post: $tkp
› $time
Từ khóa: $tag
}}
var $tes = {{}}
Print $pro