Bắt đầu tạo 1 tập tin rồi thêm shoutbox lịch sử
(Start creating one file and then add shoutbox history)
Bố trí Shoutbox (Shoutbox layout):
<div class="title">Icon nick </div>
{{message_list}}<div style="background-color:#fff0f0;color:#444;padding:4px;margin:4px;
border:1px solid #ffd0d0;">Hệ thống bảo lưu icon
cũ<br> Giá khởi tạo: 10.000 xu<br>Cấp độ yêu cầu:
50 lever</div>
Copy code
{{message_list}}<div style="background-color:#fff0f0;color:#444;padding:4px;margin:4px;
border:1px solid #ffd0d0;">Hệ thống bảo lưu icon
cũ<br> Giá khởi tạo: 10.000 xu<br>Cấp độ yêu cầu:
50 lever</div>
Copy code
Ô 2 (Shoutbox message layout):
{% if
api.user_id==nick|slice(27,8) %}Icon <a
href="user_info.php?uid=[ user_id]"
style="background-repeat:no-repeat;padding-left:25px;font-weight:700;background-image:url('{{message}}')">[@nick]</a>
{{delete_post_button|replace({'[X]':'Xóa'})|raw}} {% endif
%}
Copy code
api.user_id==nick|slice(27,8) %}Icon <a
href="user_info.php?uid=[ user_id]"
style="background-repeat:no-repeat;padding-left:25px;font-weight:700;background-image:url('{{message}}')">[@nick]</a>
{{delete_post_button|replace({'[X]':'Xóa'})|raw}} {% endif
%}
Copy code
Xóa ký tự @ ở biến [nick] (Delete the character @
in [@nick])
_________________
Thêm HTML (Add HTML)
<form
action="main.php?id=ch_topic_h&uid=58800"
method="post" style="text-align:justify">
<input type="radio" name="text" value="http://kenhadmin.yw.lt/files/881598/08.gif"/><img
class="item" src="http://kenhadmin.yw.lt/files/881598/08.gif"/>
<input type="radio" name="text" value="http://chia-se.wap.mu/files/1060233/hoa.jpg"/><img
class="item" src="http://chia-se.wap.mu/files/1060233/hoa.jpg"/>
<input type="submit" value="Chọn"/>
</form>
Copy code
action="main.php?id=ch_topic_h&uid=58800"
method="post" style="text-align:justify">
<input type="radio" name="text" value="http://kenhadmin.yw.lt/files/881598/08.gif"/><img
class="item" src="http://kenhadmin.yw.lt/files/881598/08.gif"/>
<input type="radio" name="text" value="http://chia-se.wap.mu/files/1060233/hoa.jpg"/><img
class="item" src="http://chia-se.wap.mu/files/1060233/hoa.jpg"/>
<input type="submit" value="Chọn"/>
</form>
Copy code
Sửa số 58800 thành uid shoutbox (Substitution
58800 = uid shoutbox)
______________________
Sao chép tập tin vừa lập, sau đó xóa
hết để lại shoutbox lịch sử (Copy the file has set,
then erased leave shoutbox history)
Sửa shoutbox lịch sử ô 1 (edit Shoutbox layout):
Ô 2 (edit Shoutbox message layout)
<style>a[href="user_info.php?uid=
{{nick|slice(27,8)}}"]{background-repeat:no-repeat;padding-left:25px;background-image:url('{{message}}')}</style>
Copy code
{{nick|slice(27,8)}}"]{background-repeat:no-repeat;padding-left:25px;background-image:url('{{message}}')}</style>
Copy code
Tiếp theo vào tập tin header ( hiển thị đầu các
trang tạo lập ) và thêm phần tử Bao gồm các tập
tin khởi tạo khác chọn tập tin vừa sao chép (Next
to the file header (first display page creation) and
add elements Including other initialization files
just the selected files )