BTS

You are not connected. Please login or register

yfdfjfdhkkhfffgjjkkkgghjj

Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down  Thông điệp [Trang 1 trong tổng số 1 trang]

1 yfdfjfdhkkhfffgjjkkkgghjj on 19/8/2016, 17:25

Hangboby

avatar
Khách viếng thăm
Code:

{%set form_url='main.php?id=ch_topic_h&uid=230209&back_url=%2Fmain.php%3Ff%3D3526655'%}
<script type="text/javascript">
function writef(ff,vl)
{
var md=ff.desc.value;
ff.text.value=vl+"[-xcmt-]"+md;
}
function dang()
{
var ff=document.forms["formx"];
var nd=ff.desc.value;
if(nd==null || nd=="")
{window.location="{{api.r.getRequestUri()}}&error=null";}else{
ff.text.value=nd;
ff.submit();
}
}
</script>
{%if api.r.get("cmt")==true%}<div class="title">Bình luận - Chia sẻ</div>{%else%}
<div class="title">AUTO DỊCH (Vietnamese)</div>

 {% if api.u.get(api.user_id).level < 110 %}
<div class="f">[nick] không được chat ở room BTS nhé^^</div>{% endif %}
 {% if api.u.get(api.user_id).level > 120 %}
 
<form action="{{form_url}}" method="post" class="chungs" name="formx">
<textarea rows="3" cols="20" name="desc" class="khungnhap"></textarea><input type="hidden" name="text" value=""/><br>
<input type="button" value="Đăng" class="nutbam" style="margin-left:6px" onclick="dang()">
<div class="cll"></div>
</form>
{% endif %}
{%endif%}
{%set xmsg=message_list|split("[-end-]")%}{%set sid=0%}{%set sdata={}%}{%set sotrang=7%}{%set hiencmt="true"%}{%set hienform="false"%}
{%for i in 0..xmsg|length-1%}
{%if "[-uid-]" in xmsg[i] and "[-xcmt-]" not in xmsg[i]%}
{%set uid=xmsg[i]|split("[-uid-]")[1]|split("[-msg-]")[0]%}
{%set msg=xmsg[i]|split("[-msg-]")[1]|split("[-url-]")[0]%}
{%set date=xmsg[i]|split("[-date-]")[1]|split("[-lin-]")[0]%}
{%set nicks=api.u.get(xmsg[i]|split("[-nick-]")[1]|split("[-date-]")[0])%}
{%set socmt=0%}{%set comment=""%}{%set datecmt="-"%}
{%if "[-hidden-]" in msg and api.u.get(api.user_id).uid!=nicks.uid%}{%set ghidden="true"%}{%else%}{%set ghidden=""%}{%endif%}
{%set fuid%}{%if api.r.get("f")>=5%}main.php?f={{api.r.get("f")}}{%else%}main.php?{%endif%}{%endset%}
{%for i in xmsg|length-1..0%}
{%set amsg=xmsg[i]|split("[-msg-]")[1]|split("[-url-]")[0]%}
{%set adate=xmsg[i]|split("[-date-]")[1]|split("[-lin-]")[0]%}
{%set anicks=api.u.get(xmsg[i]|split("[-nick-]")[1]|split("[-date-]")[0])%}
{%if amsg|split("[-xcmt-]")[0]==uid and "[-xcmt-]" in amsg%}{%set socmt=socmt+1%}
{%set binhluan%}
{%set lmsg=amsg|split("[-xcmt-]")[1]|split("@[")%}{%set sbody=""%}{%for y in 0..lmsg|length%}{%if api.u.get(lmsg[y]|split("]")[0]).uid>5%}{%set sbody=sbody~'<img src="/files/953350/quote1.png"><a href="user_info.php?uid='~api.u.get(lmsg[y]|slice(0,8)).uid~'" class="'~api.u.get(lmsg[y]|slice(0,8)).levelCSS~'">'~api.u.get(lmsg[y]|slice(0,8)).nick~'</a><img src="/files/953350/quote2.png">'~lmsg[y]|split("]")[1]%}{%else%}{%endif%} {%endfor%} {%if sbody|length < 3%}{%set sbody=message%}{%endif%} {%set sbody=sbody|default(amsg|split("[-xcmt-]")[1])%}
<div class="message"><div class="binhluan"><table class="vtable" width="100%" cellpadding="0" cellspacing="1"> <tbody> <tr valign="top"> <td colspan="2" rowspan="2" scope="col" width="5%">• </td> <td width="94%" scope="col" align="left"><div class="ctime"><a href="user_info.php?uid={{anicks.uid}}">{{anicks.nick}}</a> {{sbody|raw}}</div></td> </tr> <tr> <td align="left"> </td> </tr> </tbody> </table></div></div>[-yota-]
{%endset%}
{%set comment=comment~binhluan%}
{%set datecmt=xmsg[i]|split("[-uid-]")[1]|split("[-msg-]")[0]%}
{%endif%}
{%endfor%}
{%if datecmt=="-"%}{%set datecmt=uid%}{%endif%}
{%set status%}
[-xtcmt-]{{datecmt}}[-page-]<div class="ongoai"><div class="status" {%if "[-hidden-]" in msg%}style="border: 1px solid #38F7C4;"{%endif%}><i class="arrowr"></i><table class="htable" width="100%" cellpadding="0" cellspacing="1"> <tbody> <tr valign="top"> <td colspan="2" rowspan="2" scope="col" width="18%"><div class="atk"> <img src="{{nicks.profilephotourl(3,true)}}"/></div> </td> <td width="82%" scope="col" align="left"> <a href="user_info.php?uid={{nicks.uid}}"><b>{{nicks.nick}}</b></a>

</td> </tr> <tr> <td align="left"><span style="font-size: smaller;text-align:right;color: rgb(203, 202, 200);">
{%set ngay=date|date("d-m-Y H:i:s")%} {%set b="now"|date("d-m-Y H:i:s")%} {% set c = date( b ).diff(date( ngay ))%} {%if c.h==0 and c.i==0 and c.s<=3%}Vừa xong.{%elseif c.h==0 and c.i==0%}{{c.s}} giây trước.{%elseif c.h==0 and c.i>=0%}{{c.i}} phút {{c.s}} giây trước.{%elseif c.h>=1 and c.d==0%} {{c.h}} giờ {{c.i}} phút trước.{%elseif c.d>=1%}{{c.d}} ngày trước.{%endif%}
</span></td> </tr> </tbody> </table>
 <div class="bts">
<div class="xlogin zlogin">{{msg|replace({"[-hidden-]":''})|raw}}</div><div> {% if api.u.get(api.user_id).level > 120 %}
 
<div class="right"><a href="/{{fuid}}&cmt=true&suid={{uid}}">{%if socmt>0%}{{socmt}}{%endif%} Bình luận</a></div>{% endif %}</div></div>
</div></div>{%if socmt>5 and api.r.get("cmt")!="true"%}<div class="p8"><img src="/files/1020011/icons-new%20copy.png"><a href="/{{fuid}}&cmt=true&suid={{uid}}">Xem thêm {{socmt-5}} bình luận</a></div>{%endif%}
{%endset%}
{%set form%}<form action="{{form_url}}" method="post" class="nhanh" onsubmit="writef(this,'{{uid}}')"><input class="nhaplieu" name="desc" type="text" value="{%if api.r.get("ten")>4%}@[{{api.r.get("ten")}}] {%endif%}"><input type="hidden" name="text" value=""><input type="hidden" name="suid" value="{{uid}}"/><input type="submit" value="Bình luận" class="nutnhan"></form>{%endset%}
{%set zcmt=comment|split("[-yota-]")%}
{%if api.r.get("cmt")=="true"%}
{%if api.r.get("suid")==uid%}
{%set messages=status~'<div class="vdata">'~comment|split("[-yota-]")|join("")~form~'</div>'%}
{%else%}{%set messages=""%}{%endif%}
{%else%}
{%set messages=hiencmt=="true"?status~'<div class="vdata">'~zcmt[socmt-5]~zcmt[socmt-4]~zcmt[socmt-3]~zcmt[socmt-2]~zcmt[socmt-1]~(hienform=="true"?form:"")~'</div>':status%}
{%endif%}
{%if ghidden=="true"%}{%set messages=""%}{%endif%}
{% set sdata = sdata|merge({ ("thaian"~sid): messages}) %}
{% set sid=sid+1%}
{%endif%}
{%endfor%}
{%for i in 0..sid%}
{%for j in (i+1)..sid%}
{%if (sdata["thaian"~i]|split("[-xtcmt-]")[1]|slice(0,14))*1 < (sdata["thaian"~j]|split("[-xtcmt-]")[1]|slice(0,14))*1 %}
{%set temp=sdata["thaian"~j]%}
{%set sdata=sdata|merge({("thaian"~j):sdata["thaian"~i]})%}
{%set sdata=sdata|merge({("thaian"~i):temp})%}
{%endif%}
{%endfor%}
{%endfor%}
{%set spage=api.r.get("pusl")|default(0)%}
{%if spage>0%}{%set dau=spage*sotrang%}{%set cuoi=((spage+1)*sotrang)-1%}{%else%}{%set dau=spage*sotrang%}{%set cuoi=((spage+1)*sotrang)-1%}{%endif%}
<div style="background-color:#e9eaed;padding-bottom:5px">{%for i in dau..cuoi%}{{sdata["thaian"~i]|split("[-page-]")[1]|raw}}{%endfor%}</div>
<center>{%if spage>0%}<a href="main.php?{%if api.r.get('f')>=5%}f={{api.r.get('f')}}{%endif%}&pusl={%if spage==null%}1{%else%}{{spage-1}}{%endif%}#chatne"><<Trang trước</a> | {%endif%}<a href="main.php?{%if api.r.get('f')>=5%}f={{api.r.get('f')}}{%endif%}&pusl={%if spage==null%}1{%else%}{{spage+1}}{%endif%}#chatne">Trang sau>></a></center>

2 owghhjkllljvcvgr on 19/8/2016, 17:26

Hangboby

avatar
Khách viếng thăm
Code:

{%set dates=message_date%}
{%if "[-xcmt-]" in message|slice(0,14)%}[-cmt-]{{message|split("[-xcmt-]")[0]}}{%endif%}[-uid-]{{dates|date("YmdHis")}}[-msg-]{{message}}[-url-]{{file_url}}[-nick-]{{nick|slice(27,8)}}[-date-]{{dates|date("d-m-Y H:i:s")}}[-lin-][-end-]

3 gkyxihuogfdfhpjp on 20/8/2016, 11:45

btdasgjkk

avatar
Khách viếng thăm

{% if api.user_id %}{%endif%} {% if api.user_id %} {%endif%}
IDOL ROOM


4 gkyxihuogfdfhpjp on 20/8/2016, 11:46

btdasgjkk

avatar
Khách viếng thăm
Code:
<style type="text/css" media="all">.center a,.center a {display:none;margin-top: -5px;padding-top:-5px;}</style>
</div><style> .tblink{ background:#4A708B;  text-align:center;  } .lk{ padding:11px 0; text-align:center; display:block; } .lk a:hover{ background:#2A506B; } .actlk{ background:#4A708B; padding:11px 0; text-align:center; display:block; } .actlk>.nav1{ background: url('/files/650259/y10.png') center center; } .actlk>.nav2{ background: url('/files/650259/y1.png') center center; } .actlk>.nav3{ background: url('/files/650259/y11.png') center center; } .actlk>.nav4{ background: url('/files/650259/y12.png') center center; } .actlk>.nav5{ background: url('/files/650259/y16.png') center center; } .actlk>.nav1,.actlk>.nav2,.actlk>.nav3,.actlk>.nav4,.actlk>.nav5{ margin:auto; height:24px; width:24px; background-size:100% 100%; display:block; } .nav1{ background: url('/files/650259/x10.png') center center; } .nav2{ background: url('/files/650259/x1.png') center center; } .nav3{ background: url('/files/650259/x11.png') center center; } .nav4{ background: url('/files/650259/x12.png') center center; } .nav5{ background: url('/files/650259/x16.png') center center; } .nav1,.nav2,.nav3,.nav4,.nav5{ margin:auto; height:24px; width:24px; background-size:100% 100%; display:block; } .header{ background:rgba(141,182,205,1); color:#f0f0f0; padding:10px; box-shadow:0 1px 1px rgba(96,123,139,1); text-shadow:0px 1px 1px rgba(96,123,139,1); margin-bottom:1px; } .nav{ padding:10px; } .menue{ float:right; background:#4A708B; border-radius:0 0 5px 5px; padding:5px; margin-top:-10px; color:#fff}.pm_oivl{background-color: #fa3e3e; border-radius: 3px; color: white; float:right; padding: 1px 2px; font-size: 11px; box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}
.pm0{display:none}</style>  <div id="top"><table width="100%"cellspacing="0" cellpadding="0" class="tblink"> <tr> <td width="20%"> <a href="main.php?" class="lk actlk" style="background:#2A506B"><span class="nav1"></span></a> </td> {% if api.user_id %}<td width="20%"> <a href="pm.php?" class="lk actlk"><span class="nav2"><span class="pm_oivl pm[pm_new]" style="margin-left:15px;">[pm_new]</span></span></a> </td>{%endif%} <td width="20%"> <a href="/galery.php?" class="lk actlk"><span class="nav3"></span></a> </td> <td width="20%"> <a href="{% if api.user_id %}user_info.php?uid={{api.user_id}}{%else%}main.php?id=reg{%endif%}" class="lk actlk" onclick="act(this)"><span class="nav4"></span></a> </td> {% if api.user_id %}<td width="20%"> <a href="main.php?id=logout" class="lk actlk"><span class="nav5"></span></a> </td> {%endif%}</tr> </table> <button class="c-menu__close" style="width:0;height:0;display:none"></button> </nav><!-- /c-menu push-top --> <div id="o-wrapper" class="o-wrapper"> <main class="o-content"> <div class="o-container"> <div class="header"> <b>IDOL ROOM</b>
 </div> </div></main></div>  </div> 

 <style type="text/css">
html{background-color:white;}
.wcontainer>.center div:not([class]){display:none;}
body{background-color:#dcdee3;margin:auto;max-width:1000px; font-size: 16px;}
body,div{text-align:left}
a {color: #3b5998; text-decoration: none;}
.title{text-align: left; background: #f6f7f8; border: none; color: #444; font-size: small; font-weight: bold; padding: 5px 6px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.head{background: #3b5998; padding: 0 6px;}
.clpm{float: right;color: #fff; display: inline-block; font-size: small; padding: 2px 4px 2px;}
.active{background-color: #6d84b4;}
.clink{color: #fff;display: inline-block;font-size: small; padding: 2px 4px 2px;}
.kungs{padding-bottom: 3px;}
.nutbam{background-color: #4e69a2; padding: 0 8px; border: 1px solid #4a5f90; font-weight: normal; color: #fff; display: inline-block; font-size: 12px; height: 28px; line-height: 28px; overflow: hidden; text-align: center; vertical-align: top; white-space: nowrap; border-radius: 2px; cursor: pointer;}
.khungnhap{resize: vertical; width: 70%; border: 1px solid #9197a3;}
.cll{content: ''; line-height: 0; clear: both; display: table;}
.chungs{ padding: 6px;}
.ongoai{background: #fff; margin:6px 6px 0px 6px; border-color: #ccced3 #c4c6ca #b4b6ba; border-style: solid; border-width: 1px;}
.message{word-wrap: break-word; overflow: hidden;margin:-1px 6px 0px 6px;border-color: #ccced3 #c4c6ca #b4b6ba; border-style: solid; border-width:0px 1px 0px 1px;}
.status{ padding: 6px;}
.lll{ float: left;}
.comment{padding: 4px 0;clear:both}
.time{margin-left:10px}
.nguoidung{ margin-left: 10px;float:left;}
.binhluan{background: #f6f7f8; padding: 4px 6px; border-top: 1px solid rgba(0, 0, 0, .101);}
.shadow {height: 1px; width: 100%; background-color: #dedede; border-top: 1px solid #b4b4b4; border-bottom: 1px solid #eeeeee;}
.p8{ padding: 8px;background: #f6f7f8;margin:-1px 6px 0px 6px;border-width:0px 1px 0px 1px;border-style:solid;border-color: #ccced3 #c4c6ca #b4b6ba;}
.nhanh{margin:0px 6px 0px 6px;padding: 8px; background: #f6f7f8;border-width:0px 1px 0px 1px;border-style:solid;border-color: #ccced3 #c4c6ca #b4b6ba;}
.nutnhan{ margin-left: 10px; line-height: normal; height: auto; background-color: #4e69a2; padding: 5px; border: 1px solid #4a5f90; font-weight: normal; color: #fff; display: inline-block;overflow: hidden; text-align: center; vertical-align: top; white-space: nowrap; border-radius: 2px; cursor: pointer;}
.nhaplieu{ height: 36px;padding: 3px 4px; border: 1px solid #ccc;}
.atk img{padding:2px;border:1px solid #bbb;border-radius:3px;box-shadow:0 0 1px 1px #ccc;}
.bts{border-top:1px solid #ccc}
</style>

Sponsored content


Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang  Thông điệp [Trang 1 trong tổng số 1 trang]

Permissions in this forum:
Bạn không có quyền trả lời bài viết