Admin gộp 2 script này lại thành 1 và để nó hiện trong HTML & JAVASCRIPT
- Code:
<script>$(function () {
$.ajax({url: "/feed/?f={FORUM_ID}",success: function (a) {
$(".post-entry:first").after('<ul id="cungchuyenmuc"><a href="/f{FORUM_ID}-forum" style="color:#333;text-decoration:none!important;font:bold 13px tahoma">Bài viết cùng chuyên mục :</a><div style="height:1px;background:url(http://i16.servimg.com/u/f16/16/18/15/10/113.png)repeat-x left;margin:10px 0px;width:97%"></div>');
22 < $(a).find("title").length ? so = 22 : so = $(a).find("title").length;for (i = 2; i < so; i++)
$('<li><span><a href="' + $(a).find("link:eq(" + i + ")").text() + '">' + $(a).find("title:eq(" + i + ")").text() + "</a></span></li>").appendTo("#cungchuyenmuc")}})});</script>
- Code:
<script type="text/javascript">
$(".options-button a").addClass("small_textbutton");
$(".options-button a[href*='?thank=']").text("Cám ơn");
$(".options-button a[href^='/post?p='][href*='&mode=quote']").text("Trích dẫn");
$(".options-button a[href^='/post?p='][href*='&mode=editpost']").text("Sửa");
$(".options-button a[href^='/post?p='][href*='&mode=delete']").text("Xóa");
$(".options-button a[href^='/modcp?mode=ip']").text("Xem Địa chỉ IP");
$(".options-button a[href^='/report?mode=report']").text("Báo cáo");
$(".options-button a[href^='/report?mode=unlock']").text("Mẫu báo cáo");
$(".options-button a[href^='/report?mode=lock']").text("Chọn báo cáo");
</script>