TRYM.CF

Trang chủ | Giải Trí | WapMasTer | Share Code
Thông Báo
[new] Tải App Trym Cho Android Để Đọc Truyện
Trang chủWapMasTerShare Code
Tìm kiếm | Lượt xem: 2304 | Lưu Bài Viết
↓↓

Code bày tỏ cảm xúc giống facebook bằng X.T.C.A.T

Admin* Bm_VQT *
Cách đây 8 năm trước
Trước mìh có share code like rùi bây giờ thì thêm code này. Tại có bạn mún hỏi về nó nên mìh viết chỉ là đổi code 1 chút nhưng trên cơ bản là như cũ
Code bày tỏ cảm xúc giống facebook bằng X.T.C.A.T
Tải ảnh gốc
<!--parser:xtscript-->
Var $xturl1 = <tx:url type="path" />
var $xturl = call str_replace $subject=$xturl1;$search=.;$replace=_;
var $xturl = call str_replace $subject=$xturl;$search=/;$replace=_;
Var $xturl = a$xturl
Var $tlike = <tx:tdate format="H:i" tzone="7"/>
Var $d1 = <tx:tdate format="d" tzone="7" />
Var $d2 = <tx:tdate format="m" tzone="7" />
Var $d3 = <tx:tdate format="Y" tzone="7" />
Var $dlike = $d1-$d2-$d3
Var $ytday = -1-$d2-$d3
Get like
var $codelike=call cookie::get $name=camxuc3_$xturl;$default=0;
Var $timelike = call str_replace $subject=$codelike;$search=$dlike;$replace=hôm nay;
If $like==thich or $like==yeuthich or $like==haha or $like==wow or $like==buon or $like==phanno
If $codelike==0
call cookie::set $name=camxuc3_$xturl;$val=$tlike $dlike;$expire=9876543210;
Endif
Endif
Print <div class="menu"><div class="submenu" id="like"> Bày tỏ cảm xúc</div><div class="rmenu" align="center">
If $like==thich or $like==yeuthich or $like==haha or $like==wow or $like==buon or $like==phanno
If $codelike==0
Print <div style="display:none"><tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="$like$xturl1"/></div>
Endif
Endif
if not $codelike==0
Print <a class="list2" href="#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yF/r/TgAEdYq1f2o.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="thich$xturl1" type="display1" /></a> <a href="#like" class="list2"> <img src="https://static.xx.fbcdn.net/rsrc.php/v3/yZ/r/hW2384CGXQP.png" alt="like" width="32"> <tx:widget label_0="0" tool="Counter" id="xt.c.a.t." key="2130399" xtuser="muathu" idstring="yeuthich$xturl1" type="display1"/></a> <a class="list2" href="#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yU/r/R291QkfEhae.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="haha$xturl1" type="display1" /></a> <a class="list2" href="#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yV/r/ltkAOOk-PHI.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="wow$xturl1" type="display1" /></a> <a class="list2" href="#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yY/r/K9IxPOWrczW.png" alt="like" width="32"> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="buon$xturl1" type="display1" /></a> <a class="list2" href="#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yi/r/V7hJbT3mp1e.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="phanno$xturl1" type="display1" /></a>bạn đã đánh giá bài viết này vào lúc: $timelike
Else
Print <a class="list2" href="$xturl1?like=thich#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yF/r/TgAEdYq1f2o.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="thich$xturl1" type="display1" /></a> <a href="$xturl1?like=yeuthich#like" class="list2"> <img src="https://static.xx.fbcdn.net/rsrc.php/v3/yZ/r/hW2384CGXQP.png" alt="like" width="32"/> <tx:widget label_0="0" tool="Counter" id="xt.c.a.t." key="2130399" xtuser="muathu" idstring="yeuthich$xturl1" type="display1"/></a> <a class="list2" href="$xturl1?like=haha#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yU/r/R291QkfEhae.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="haha$xturl1" type="display1" /></a> <a class="list2" href="$xturl1?like=wow$xturl1?like=wow#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yV/r/ltkAOOk-PHI.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="wow$xturl1" type="display1" /></a> <a class="list2" href="$xturl1?like=buon#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yY/r/K9IxPOWrczW.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="buon$xturl1" type="display1" /></a> <a class="list2" href="$xturl1?like=phanno#like" /><img src="https://static.xx.fbcdn.net/rsrc.php/v3/yi/r/V7hJbT3mp1e.png" alt="like" width="32"/> <tx:widget tool="Counter" id="xt.c.a.t." label_0="0" key="2130399" xtuser="muathu" idstring="phanno$xturl1" type="display1" /></a>
Endif
Print </div></div>
<!--/parser:xtscript-->

Thường xuyên ghé thăm trym.mobie.in để có những code hay khác nhé
Nguồn: kusdinks
Chia sẻ bài viết ???
- Chia sẻ:G  T  Z
BBCode:

Link:
+ Còn “nhiều” Lắm!
Bạn đã xem chưa?
Trang Chủ[1-2304]
Tao.Rất.Yêu.Mày

XtGem Forum catalog