Cho mình hỏi tại sao viewtopic của mình lại như vậy: giúp mình với
like cho ai trả lời
Với lại Viewtopic của mình là
link của forum mình là
http://coderforumotion.forumvi.com/
link là:
http://coderforumotion.forumvi.com/
like cho ai trả lời
Với lại Viewtopic của mình là
- Code:
<script type="text/javascript">//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
_atc.cwait = 0;
$('.addthis_button').mouseup(function(){
if ($('#at15s').css('display') == 'block') {
addthis_close();
addthis_close();
}
});
});
//]]>
</script>
<div class="main paged">
<div class="paged-head clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authpost -->
<a class="large_textbutton" href="{U_POST_REPLY_TOPIC}" rel="nofollow"><span>+</span> Trả Lời Chủ Đề</a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a class="large_textbutton" href="{U_POST_NEW_TOPIC}"><span>+</span> Viết Chủ Đề Mới</a>
<!-- END switch_user_authreply -->
</p>
</div>{POLL_DISPLAY}<br />
<div class="main-head clearfix" style="background-color: #993333;border: 0px solid #DDD;box-shadow:-2px 2px 2px #c8c8c8;">
<p class="h2">
<a href="#bottom">{L_GOTO_DOWN}</a>{L_MESSAGE} [{PAGE_NUMBER}]</p>
</div><br/>
<div class="main-content-topic2">
<!-- BEGIN postrow -->
<div class="main-content-topic">
<!-- BEGIN displayed -->
<span class="baigui" style="display:none">{postrow.displayed.COUNT_POSTS}</span>
<div class="post" {postrow.displayed.THANK_BGCOLOR}>
<a name="{postrow.displayed.U_POST_ID}"></a>{postrow.displayed.POSTER_NAME}
<div class="postmain" {postrow.displayed.THANK_BGCOLOR}>
<div id="p{postrow.displayed.U_POST_ID}" class="posthead" {postrow.displayed.THANK_BGCOLOR}>
<h2>
<a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a>?{postrow.displayed.POST_DATE_NEW}
</h2>
</div>
<div class="postbody" {postrow.displayed.THANK_BGCOLOR}>
<div class="user">
<div class="user-ident" id="userinfo{postrow.displayed.U_POST_ID}" style="position: relative;">
<div class="posthead">
<span style="font-size: 10pt; "> {postrow.displayed.POSTER_NAME}</span>
</div>
<div onmouseover="show_user({postrow.displayed.U_POST_ID})" onmouseout="hide_user({postrow.displayed.U_POST_ID})" class="userInfoF">
<div class="useravatar" style="float: left;"><span class="avatar97">{postrow.displayed.POSTER_AVATAR}</span></div>
<div class="user-info">
<div class="manuUserF">
<strong><span class="tennick">{postrow.displayed.POSTER_NAME}</span></strong>
<span class="fmviOnoff">{postrow.displayed.ONLINE_IMG}</span>
</div>
<dl class="cl" style="float:right; width: 370px;">
<!-- BEGIN profile_field -->
<dt>{postrow.displayed.profile_field.LABEL}</dt>
<dd>{postrow.displayed.profile_field.CONTENT}</dd>
<!-- END profile_field -->
</dl>
<div>
<span style="color:blue">Phương châm:</span>
<marquee class="status"></marquee>
</div>
<div class="morelink">
<a target="_blank" class="Upro5"><img alt="Tường nhà" src="http://i48.servimg.com/u/f48/16/58/89/73/profil10.png" />Tường nhà</a>
<a target="_blank" class="Utopic"><img alt="Xem bài viết" src="http://i48.servimg.com/u/f48/16/58/89/73/total_10.gif" />Bài viết</a>
<a target="_blank" class="Ufrien"><img alt="Kết bạn" src="http://i48.servimg.com/u/f48/16/58/89/73/friend10.png" />Kết bạn</a>
<a target="_blank" onClick="javascript:alert('Ðang phát triển')" class="Umoney"><img alt="Tài sản" src="http://i48.servimg.com/u/f48/16/58/89/73/table_10.png" />Tài sản</a>
</div>
</div>
</div>
<div class="user-basic-info">
<div onmouseover="show_user({postrow.displayed.U_POST_ID})" class="useravatar" style="padding: 15px 0 15px 9px">{postrow.displayed.POSTER_AVATAR}</div>
<table width="155px">
<tr>
<td>
<div class="">
<fieldset style="border: 1px solid; margin: 5px; padding: 5px 10px;"><legend><b><font color=red>Tước Hiệu</font></b></legend>
<FONT face="Times New Roman">
<B>
<font size=3 style="text-shadow: 0px 0px 6px rgb(800, 0, 100), 0px 0px 5px rgb(800, 0,100), 0px 0px 5px rgb(800, 0,100);" color="#ffffff">
<marquee scrollamount="4">{postrow.displayed.POSTER_RANK}</marquee></font>
</B>
</FONT>
</fieldset>
</div></td>
</tr>
</table><br />{postrow.displayed.RANK_IMAGE}
</div>
</div>
</div>
<div class="post-entry"><h3 class="psth xs1"> </h3>
<div class="entry-content">
<div>
<div class="quotene">
{postrow.displayed.MESSAGE}
</div>
<!-- BEGIN switch_attachments -->
<dl class="attachbox">
<dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
<dd>
<!-- BEGIN switch_post_attachments -->
<dl class="file">
<dt>
<img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}"
/>
<!-- BEGIN switch_dl_att -->
<a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a>{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
<!-- END switch_dl_att -->
<!-- BEGIN switch_no_dl_att -->{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT}
{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
<!-- END switch_no_dl_att -->
</dt>
<!-- BEGIN switch_no_comment -->
<dd>
<em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
</dd>
<!-- END switch_no_comment -->
<!-- BEGIN switch_no_dl_att -->
<dd>
<em>
<strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong>
</em>
</dd>
<!-- END switch_no_dl_att -->
<dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE})
{postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
</dl>
<!-- END switch_post_attachments -->
</dd>
</dl>
<!-- END switch_attachments -->
<div class="clear"></div>
</div>
</div>
</div>
</div>
<!-- BEGIN switch_signature -->
<div class="sig-content">{postrow.displayed.SIGNATURE_NEW}</div>
<!-- END switch_signature -->
<div class="postfoot">
<div class="options-button user-contact"><center>{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}</center>
<!-- BEGIN contact_field -->{postrow.displayed.contact_field.CONTENT}
<!-- END contact_field -->
</div>
<div class="post-options">
<div style="float: left; left:153px;position:absolute;top:1px;">
<!-- BEGIN switch_vote_active -->
<div class="vote vote-button" title="Thích Vì Bài Viết Hay !">
<!-- BEGIN switch_vote -->
<a target="v{postrow.displayed.U_POST_ID}" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" alt="c3zplus" class="c3zplus lvote"><span style="font: normal 11px Tahoma, Arial, Helvetica, sans-serif;margin-left: -2px; color: #3B5998;">Thích</span></a>
<!-- END switch_vote -->
</div>
<div class="vote vote-button" title="Không Thích Vì Bài Viết Chưa Tốt !">
<!-- BEGIN switch_vote -->
<a target="v{postrow.displayed.U_POST_ID}" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}" alt="c3zminus" class="c3zminus lvote"><span style="font: normal 11px Tahoma, Arial, Helvetica, sans-serif;margin-left: -2px; color: #3B5998;">Không thích</span></a>
<!-- END switch_vote --></div><div id="v{postrow.displayed.U_POST_ID}" class="loadding" style="display: none"><img src="http://i43.servimg.com/u/f43/16/03/04/56/icon_l12.gif"/> Đang Vote.Chờ chút nhé ^^! </div>
<!-- END switch_vote_active --></div>
<span class="options-button">{postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG}<a href="#quickreply" onclick="quick($(this))" class="small_textbutton">Trả Lời Nhanh</a>
{postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG}
{postrow.displayed.REPORT_IMG}</span></div>
<div style="clear:both;"></div>
</div>
</div>
<p style="border-bottom: 1px solid #ddd;">
<div class="hihi clearfix" style="background-color: #fff;"><font color="black">
<!-- BEGIN switch_vote_active -->
<iframe name="v{postrow.displayed.U_POST_ID}" class="ajaxvote" style="display:none"></iframe>
<!-- BEGIN switch_no_bar -->
<span class="c3zvau v{postrow.displayed.U_POST_ID}" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">{postrow.displayed.switch_vote_active.L_VOTE_TITLE}</span>
<!-- END switch_no_bar -->
<!-- BEGIN switch_bar -->
<span class="c3zvau v{postrow.displayed.U_POST_ID}" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">{postrow.displayed.switch_vote_active.L_VOTE_TITLE}</span>
<!-- END switch_bar -->
<!-- END switch_vote_active -->
<div style="float:right;font-weight:bold;text-align:right"><span class="ost"><strong>#{postrow.displayed.COUNT_POSTS}</strong> - <a href="#" onclick="link_bbcode();return false">BBCode</a></span> <a target="blank" class="share" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">Chia sẻ</a><div align="center" style="width:600px;display:none; padding-top:6px" ></div></div>
</font></div> </span>
</div>
</div>
<!-- END displayed -->
<!-- END postrow -->
</div>
<script type="text/javascript" src=""></script>
<div class="main-foot clearfix" style="background-color: #993333;border: 0px solid #DDD;box-shadow:-2px 2px 2px #c8c8c8;">
<p class="h2">
<a href="#top">{L_BACK_TO_TOP}</a>{L_MESSAGE} [{PAGE_NUMBER}]</p>
<p class="options options-button">
<input type="hidden" name="t" value="{TOPIC_ID}" />
<!-- <input type="hidden" name="sid" value="{S_SID}" />-->
<input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
<!-- BEGIN viewtopic_bottom -->{S_TOPIC_ADMIN}
<!-- END viewtopic_bottom -->
</p>
</div>
<a name="bottomtitle"></a><br />
<div class=" clearfix">
<!-- BEGIN topicpagination -->
<p class="paging">{PAGINATION}</p>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authpost -->
<a class="large_textbutton" href="{U_POST_REPLY_TOPIC}" rel="nofollow"><span>+</span> Trả Lời Chủ Đề</a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a class="large_textbutton" href="{U_POST_NEW_TOPIC}"><span>+</span> Viết Chủ Đề Mới</a>
<!-- END switch_user_authreply -->
</p>
</div>
</div>
<p style="padding: 10px 0; text-align: center">«
<a href="{U_VIEW_OLDER_TOPIC}"> Xem bài trước </a>|
<a href="{U_VIEW_NEWER_TOPIC}"> Xem bài kế tiếp </a>»</p>
<!-- BEGIN switch_forum_rules -->
<div class="main" id="forum_rules">
<div class="main-head clearfix">
<p class="h2">{L_FORUM_RULES}</p>
</div>
<table class="main-content frm">
<tr>
<!-- BEGIN switch_forum_rule_image -->
<td class="logo">
<img src="{RULE_IMG_URL}" />
</td>
<!-- END switch_forum_rule_image -->
<td class="rules entry-content">
{RULE_MSG}
</td>
</tr>
</table>
</div>
<!-- END switch_forum_rules -->
<!-- BEGIN switch_user_logged_in -->
<div class="ruled"></div>
<a name="quickreply"></a>
<div class="quotenhanh" style="display:none"></div>
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->
<div class="fmviToggle" style="width: 300px">
<div class="main">
<div class="main-head clearfix">
<p class="h2" style="width: 220px !important">Quyền hạn của bạn:</p>
</div>
<div id="onlinelist">{S_AUTH_LIST}
</div>
</div>
</div>
<script type="text/javascript" src="/22469.js"></script>
<script type="text/javascript">
//<![CDATA[
$('.postbody img').click(function(){$(this).toggleClass('imgmax');});
//]]>
</script>
<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>
<script src="http://hotro7.forumvi.com/11071.js"></script>
<style>
/*vote*/
.ost,.share,.c3zvau .qua,.no{background-position:5px 50%;background-repeat:no-repeat;border:1px solid #C2D5E3;margin:6px 2px 0;padding:5px 8px 5px 25px}.share{background-image:url(http://i43.servimg.com/u/f43/16/03/04/56/fav10.png)}.qua{background-image:url(http://i43.servimg.com/u/f43/16/03/04/56/no10.gif);padding-left:29px!important}.no{padding:5px 8px}.no .vop{background:url(http://i43.servimg.com/u/f43/16/03/04/56/like-f10.png) no-repeat left center;padding:0 0 0 18px}.no .vom{background:url(http://i43.servimg.com/u/f43/16/03/04/56/dislik10.png) no-repeat left center;padding:0 0 0 18px}
.vote-button{float:left;width:60px}
.c3zplus:hover{background-color:#ebedf4;border-color:#9dacce}
.c3zminus:hover{background-color:#ebedf4;border-color:#9dacce}
.c3zplus {
background: url(http://i43.servimg.com/u/f43/16/03/04/56/like-f10.png) no-repeat scroll 0 0 #ECEEF5;
background-position: 6px 36%;
background-repeat: no-repeat;
border: 1px solid #CAD4E7;
border-radius: 3px 3px 3px 3px;
color: white!important;
display: block;
float: left;
height: 13px;
margin: -4px 2px 0;
padding: 4px 4px 5px 24px;
position: relative;
text-align: left;
width: 25px;
}
.c3zminus {
background: url(http://i43.servimg.com/u/f43/16/03/04/56/dislik10.png) no-repeat scroll #ECEEF5;
background-position: 6px 36%;
background-repeat: no-repeat;
border: 1px solid #CAD4E7;
border-radius: 3px 3px 3px 3px;
color: white!important;
display: block;
float: left;
height: 13px;
margin: -4px 0px 0;
padding: 4px 4px 5px 24px;
position: relative;
text-align: left;
width: 55px;
}
</style>
<script type="text/javascript">
function chvote(a, b) {
"Message not voted" == b && (b = "c3zone z vietk 0% (0 vote)");
var d = parseInt(b.split(" ")[3], 10) / 100,
c = parseInt(b.split(" ")[4].substr(1), 10),
b = "Message reputation : " + Math.round(100 * ("c3zplus" == a ? (d * c + 1) / (c + 1) : d * c / (c + 1))) + "% (" + (c + 1) + " vote)";
return votetrans(b)
}
$(".c3zvau").each(function () {
var a = $(this).text();
$(this).html(votetrans(a))
});
function votetrans(a) {
if ("Message not voted" == a) return "<span class='qua'>Hãy là người đầu tiên thích điều này</span>";
var b = parseInt(a.split(" ")[3], 10) / 100,
a = parseInt(a.split(" ")[4].substr(1), 10),
d = 0 != b ? "<span class=vop>" + Math.round(b * a) + "+</span>" : "",
c = 0 != b && 1 != b ? ' <span style="color:#C2D5E3">|</span> ' : "",
a = 1 != b ? "<span class=vom>" + Math.round(a - b * a) + "-</span>" : "",
b = Math.round(100 * b);
return "<span class=no>" + d + c + a + "</span> <span class=qua>Đánh giá: " + b + "%</span>"
}
$(".lvote").click(function () {
"c3zplus" == $(this).attr("alt") ? $(this).parent().html("").next().html("") : $(this).parent().html("").prev().html("");
var a = $(this).attr("target"),
b = $(this).attr("alt"),
d = $("." + a).attr("title");
$("#" + a).show();
$("." + a).html(chvote(b, d));
$("#" + a).fadeIn("slow").animate({
opacity: 1
}, 1500).fadeOut("slow", function () {
$("." + a).fadeOut("slow").animate({
opacity: 1
}, 1E3).fadeIn()
});
$("." + $(this).attr("target")).removeAttr("title")
});
</script>
link của forum mình là
http://coderforumotion.forumvi.com/
link là:
http://coderforumotion.forumvi.com/
Được sửa bởi nguyenphucbao68 ngày 20/10/2014, 12:31 pm; sửa lần 3.