Không được
HỏiCode thời gian như này ko?
cho code mà cho 'new' 'now' mới đúng.
cài bẫy vọc hết 1h mới ra
![]()
Chữ new này đặc biệt nhỉ, chữ gì cũng được chữ new thì lỗi. Ko nhất thiết phải now đâu, ví dụ {{'z'|data('H:i')}} hay {{z|date('H:i')}} cũng được
<div class="khung_menu"><table width="100%" cellpadding="0" cellspacing="1"> <tbody><tr><td width="50%" valign="top"> <font color="#000" style="text-shadow:-1px 0 #ff0000, 0 1px #ff0000,0 -1px #ff0000, 1px 0 #ff0000" size="20">
<b>{{now|date("H")}}:{{now|date("i")}}</b></font><br><font color="#696969"><b>{{post.published_at|date("D")|replace({'Mon':'Thứ Hai','Tue':'Thứ Ba','Wed':'Thứ Tư','Thu':'Thứ Năm','Fri':'Thứ Sáu','Sat':'Thứ bảy','Sun':'Chủ nhật'})|raw}}, {{now|date("d")}}/{{now|date("m")}}</b></font><br></td> <td width="50%" align="left" style="font-size:17px"> <b style="color:#777">Xin chào <a href="user_info.php?uid={{ api.u.get(api.user_id).uid }}" style="font-weight:bold;color:{{ api.u.get(api.user_id).city }}">{{ api.u.get(api.user_id).nick }}</a><br>
<b style="color:#777">Level:</b> <b style="color:#FF7F50;">{{ api.u.get(api.user_id).level }}</b> <b style="color:#777"></b><br>
<b style="color:#777">Xu:</b> <b style="color:#FF7F50">{{ api.u.get(api.user_id).plus }}</b> <b style="color:#F00">ONLINE:</b> <i style="color:#9900Cc">{{api.u.get(api.user_id).loged}}</i> phút
</td></tr></tbody></table></div>
Tui ko biết new lỗi bạn nói tui test biết
![[OFF]](/assets/images/off.gif)