Xuống Dưới↓ Bphuong,Sextgem.Com Luôn Miễn Phĩ
share code blog + filelist của wap
Không nói nhiều vào thẳng vấn đề luôn
Đầu tiên bạn tạo file blog.html ngang hàng với index xong coppy mã này dán vào (nhớ là mở bằng trình thảo văn bản và xóa hết code trong đó nha xong dán code vừa coppy vào .)
Mã
<!--parser:xtscript-->
#exportable
var $pass = matkhâu
var $ten = tên hiển thị
assign $blog=<xt:blog tzone="7" format="d/m/y-H:i" display="1" entries_per_page="20" comments_per_page="10" comments_sort="2" display_limit="60" display_symbol="..." t_back_to_posts="Giaitri8x.Mobi" t_comments="Bình Luận" t_post_a_comment="Gửi Bình Luận" t_name="Tên Bạn" t_comment="Nội Dung" t_post="Gửi" />
<!--/parser:xtscript-->
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="vi">
<head>
<meta http-equiv="content-type" content="application/xhtml xml; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="content-language" content="vi" />
<title>Blog Cập Nhật Mới,Blog Cập Nhật Thông Tin,Blog Cập Nhật Thủ Thuật,Blog Cập Nhật Game,Cập Nhật Tin Tức,Cập Nhật Đa Phương Tiện,...</title>
<!--parser:xtscript-->
var $daut = call strrpos $haystack=$blog;$needle=<div class="xt_blog_content">
var $cuoit = call strrpos $haystack=$blog;$needle=</div>
if $daut > 0
var $noidung = call substr $val=$blog;$start=($daut+29);$length=($cuoit-29-$daut)
var $des = call substr $val=$noidung;$start=0;$length=136
var $des = call strip_tags $val=$des
var $des = call htmlspecialchars $val=$des
var $spc = call chr $val=32
var $key = call str_replace $subject=$des;$search=$spc;$replace=,
var $key = call str_replace $subject=$key;$search=.;$replace=,
endif
print <meta name="description" content="$des" /><meta name="keywords" content="$key" />
<!--/parser:xtscript-->
<link rel="stylesheet" type="text/css" href="http://langsonxm.wap.sh/cssblog/sang.css" media="all,handheld" />
</head>
<body>
<div class="phdr"><xt:text><span style="color: red;">BLOG CẬP NHẬT LÚC .</span></xt:text><xt id="tdate" format="H:i" tzone="7" /> - <xt id="tdate" format="d/m/y" tzone="7" /></div>
<!--parser:xtscript-->
var $blog=call str_replace $subject=$blog;$search=<h2 class="xt_blog_title">;$replace=<h2 id="title" class="bmenu">
var $a=</h2>
var $b=</h2><div class="list1"><b>Chủ Đề Được Viết Và Kiểm Duyệt Bởi:<font color="red">Mr.Phương</font></b></div>
assign $blog= call str_replace $subject=$blog;$search=<div class="xt_blog_content">;$replace=<div class="rmenu"><table cellpadding="0" cellspacing="0" width="100%" style="margin-bottom:6px"><tbody><tr><td width="32" style="text-align:center"><img src="http://langsonxm.wap.sh/icon/Zing/icon.png" alt="" /></td><td style="text-align:left"><img src="http://langsonxm.wap.sh/icon/cf/sv.gif" alt="" /> <font color="red"><b>$ten</b></font> [<font color="red">Admin</font>] [<font color="green">ON</font>]</span><br/><font color="red"><b><img src="http://langsonxm.wap.sh/icon/muiten.gif" alt="" />Cấp Bậc: <img src="http://langsonxm.wap.sh/images/Super.gif" alt="Vip" /></b></font><br/><font color="black"><b><img src="http://langsonxm.wap.sh/icon/cf/clock_play.png" alt="LSStar" /> Nguời Sáng Lập</b></font></td></tr></tbody></table></div><div class="list1">
var $blog=call str_replace $subject=$blog;$search=$a;$replace=$b
assign $blog = call str_replace $subject=$blog;$search=<a class="xt_blog_title_link";$replace=<div class="menu"><img src="http://langsonxm.wap.sh/images/ic.gif" alt="" /> <a
assign $blog=call str_replace $subject=$blog;$search=</a> <br />;$replace=</a></div>
assign $blog = call str_replace $subject=$blog;$search=<div class="xt_blog" id="xt_blog"><div class="phdr">Bình Luận</div>;$replace=<div class="list1">
assign $blog = call str_replace $subject=$blog;$search=</div><br /></div>;$replace=</div>
assign $blog = call str_replace $subject=$blog;$search=</div><br />;$replace=
assign $blog = call str_replace $subject=$blog;$search=<div class="xt_blog_comments" id="xt_blog_comments"><span class="xt_blog_comments_title">Bình Luận</span>;$replace=</div><div class="phdr">Các Bình Luận</div>
assign $blog = call str_replace $subject=$blog;$search=<div class="xt_blog_comment"><span class="xt_blog_comment_date">;$replace=<div class="bmenu">
assign $blog = call str_replace $subject=$blog;$search=</span> <span class="xt_blog_comment_author">;$replace=</div> <div class="xt_blog_comment_author">
assign $blog = call str_replace $subject=$blog;$search=:</span><br /><span class="xt_blog_comment_content">;$replace=</div> <div class="xt_blog_comment_content">
assign $blog = call str_replace $subject=$blog;$search=</span></div>;$replace=</div>
assign $blog= call str_replace $subject=$blog;$search=<div class="xt_blog_comment_author">;$replace=<div class="rmenu"><table cellpadding="0" cellspacing="0" width="100%" style="margin-bottom:6px"><tbody><tr><td width="32" style="text-align:center"><img src="http://langsonxm.wap.sh/images/avatar.png" width="32" height="32" alt="" /></td><td style="text-align:left"><img src="http://langsonxm.wap.sh/icon/nam.png" width="16" height="16" align="middle" alt="" /><b>
assign $blog= call str_replace $subject=$blog;$search=</div> <div class="xt_blog_comment_content">;$replace=</b></font> [Memb] [Off]</span><br/><img src="http://langsonxm.wap.sh/icon/muiten.gif" alt="" />Cấp bậc:<img src="http://huuthuy87.wap.sh/icon/memb/gacon.gif" width="25" height="15" align="middle" alt="gà con" /><br/><img src="http://huuthuy87.wap.sh/icon/memb/mem.gif" alt="Mem" /> Thành Viên</td></tr></tbody></table></div><div class="list1">;
assign $blog= call str_ireplace $subject=$blog;$search=<div class="rmenu"><table cellpadding="0" cellspacing="0" width="100%" style="margin-bottom:6px"><tbody><tr><td width="32" style="text-align:center"><img src="http://langsonxm.wap.sh/images/avatar.png" width="32" height="32" alt="" /></td><td style="text-align:left"><img src="http://langsonxm.wap.sh/icon/nam.png" width="16" height="16" align="middle" alt="" /><b>$pass</b></font> [Memb] [Off]</span><br/><img src="http://langsonxm.wap.sh/icon/muiten.gif" alt="" />Cấp bậc:<img src="http://huuthuy87.wap.sh/icon/memb/gacon.gif" width="25" height="15" align="middle" alt="gà con" /><br/><img src="http://huuthuy87.wap.sh/icon/memb/mem.gif" alt="Mem" /> Thành Viên</td></tr></tbody></table></div>;$replace=<div class="rmenu"><table cellpadding="0" cellspacing="0" width="100%" style="margin-bottom:6px"><tbody><tr><td width="32" style="text-align:center"><img src="http://langsonxm.wap.sh/icon/Zing/icon.png" alt="" /></td><td style="text-align:left"><img src="http://langsonxm.wap.sh/icon/cf/sv.gif" alt="" /> <font color="red"><b>$ten</b></font> [<font color="red">SV!</font>] [<font color="green">ON</font>]</span><br/><font color="red"><b><img src="http://langsonxm.wap.sh/icon/muiten.gif" alt="" />Cấp Bậc: <img src="http://langsonxm.wap.sh/images/Super.gif" alt="Vip" /></b></font><br/><font color="black"><b><img src="http://langsonxm.wap.sh/icon/cf/clock_play.png" alt="LSStar" /> Người Sáng Lập</b></font></td></tr></tbody></table></div>;
assign $blog= call str_replace $subject=$blog;$search=<div class="xt_blog_write_a_comment"><span class="xt_blog_write_a_comment_title">Gửi Bình Luận </span>;$replace=<div class="bmenu">Gửi Trả Lời</div><div class="xt_blog_write_a_comment">
print $blog<script type="text/javascript">document.title = document.getElementById('title').innerHTML</script></div>
<!--/parser:xtscript-->
</body>
</html>
Xong rồi bạn coppy mã này dán vào nơi bạn muốn nó hiển thị nhé.
mã hiển thị
</div><div class="hdr">Blog cập nhật lúc <xt id="tdate" format="H:i" tzone="7" /> </div>
<!--parser:xtscript-->
assign $trangchu=index
assign $trangkhac=blog.html
assign $blog=<xt:blog tzone="7" display="1" entries_per_page="10" comments_per_page="20" display_limit="25" display_symbol="..." version="1" />;
assign $blog=call str_replace $subject=$blog; $search=$trangchu;$replace=$trangkhac
assign $blog=call str_replace $subject=$blog;$search=<a class="xt_blog_title_link";$replace=<div class="list1"><img src="http://huuthuy87.wap.sh/icon/ic.gif" /> <a
assign $blog=call str_replace $subject=$blog;$search=</a> <br />;$replace=</a></div>
assign $blog=call str_replace $subject=$blog;$search=<div class="xt_blog" id="xt_blog">;$replace=<div class="main">
print $blog
</div><div class="bmenu"><form action="http://$url">Đến trang:<input type="hidden" name="__xtblog_entry" value="$blet"/><input type="text" size="3" name="p" value=""/><input type="submit" value="Đi Đến >>"/> </form></div><div class="page">
<!--/parser:xtscript-->
Vậy là xong rồi nhé demo http://giaitri8x.mobi