font nội dung bài viết cứ bị in đâm các bác xem giúp.
code:
code:
- Code:
<div><div><div>
<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:normal 13px tahoma">Bài viết cùng chuyên mục :</a><div style="height:1px; border-style: solid none none solid;border-color: #088BF9;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>
<style>
.pun .postfoot, .pun .post .user {
margin-left: 0px;
}
.pun .main-content {
background-color: white;
border: 1px solid #DDD;
}
.main .main-content.frm {
background-color: rgb(255, 255, 255);
}
.pun .frm-form {
background: rgb(255, 255, 255);
border: none;
}
fieldset.frm-set dl dd {
margin-left: 0em;
}
#text_editor_textarea {
background: white url() no-repeat bottom right;
border: 1px solid #BCBCBC;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
padding: 2px;
}
.main .main-foot, .main .main-head {
font-weight: normal;
background: white;
color: #141414;
text-decoration: none;
padding: 0 8px;
margin-right: -1px;
margin-bottom: -1px;
border-top: 1px solid lightGrey;
border-right: 1px solid lightGrey;
border-left: 1px solid lightGrey;
border-bottom: 1px solid white;
border-top-left-radius: 5px;
-webkit-border-top-left-radius: 5px;
-moz-border-radius-topleft: 5px;
-khtml-border-top-left-radius: 5px;
border-top-right-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
-khtml-border-top-right-radius: 5px;
display: inline-block;
line-height: 25px;
cursor: pointer;
outline: 0 none;
white-space: nowrap;
word-wrap: normal;
height: 24px;
pacity: 1;
margin-right: 5px;
margin-top: 5px;
}
#quick_reply .frm-buttons {
text-align: center;
}
div#remember {
font-family: Tahoma;
background: #FFEBE8;
border: 1px solid red;
position: relative;
margin: 2px 10px 10px 0;
padding: 10px;
}
#remember img.arrow-rules {
position: absolute;
top: -97px;
}
div#remember ul {
font-size: 12px;
list-style-type: decimal;
margin: -10px 0 0 10px;
padding: 0 0 0 15px;
}
ul#cungchuyenmuc{margin-top:3px;}
#cungchuyenmuc li{margin-left: 40px;list-style: decimal-leading-zero outside none;margin-top:2px;width:45%;float:left}
#cungchuyenmuc span{position: absolute;display:inline-block;width:380px;height:16px;overflow:hidden;margin-bottom:-3px;}
#cungchuyenmuc a{text-decoration:none!important;color:#333;font: 12px Tahoma;}
#cungchuyenmuc a:hover{color:#ba3814;}
fieldset.frm-set dl dt {
display:none;
}
/*chữ kí*/
.pun .sig-content{clear:none;max-height:230px;overflow:hidden}
.pun .sig-content:hover{max-height:100%}
.username span strong {
font-size: 15px;
background: url() no-repeat left top;
margin-top: -14px;
margin-left: -14px;
padding-left: 180px;
display: inline-block;
padding-top: 10px;
height: 35px;
width: 180px;
}
.pun .user-basic-info {
position: absolute;
width: 150px;
height: 120px;
border: 1px solid #B0B0B0;
padding: 3px;
border-radius: 2px;
background: white;
}
.pun .user-basic-info img {
width: 150px;
height: 120px;
}
.pun .main-foot .h2, .pun .main-head .h2 {
float: left;
overflow: hidden;
width: 700px;
}
.hihi {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background: whiteSmoke;
border-bottom: 0;
border-radius: 5px;
margin: 5px 5px 5px 0;
padding: .5em 1.3em .5em 1em;
}
.vote-button{float:left;width:65px}
.plus{float:left;width:50px;background-color: #ffffff;border: 1px solid black;-webkit-border-radius: 3px;
-webkit-border-radius: 3px;color: #3B5998!important;
border-color: #ebebeb;cursor:pointer;display:inline-block;font-size:11px;line-height:13px;text-align:center;text-decoration:none;vertical-align:top;white-space:nowrap;padding: 3px 5px 0px 4px;}
.minus{float:left;width:80px;background-color: #ffffff;border: 1px solid black;-webkit-border-radius: 3px;
-webkit-border-radius: 3px;color: #3B5998!important;
border-color: #ebebeb;cursor:pointer;display:inline-block;font-size:11px;line-height:13px;text-align:center;text-decoration:none;vertical-align:top;white-space:nowrap;padding: 3px 5px 0px 4px;}
.postfoot {
border-top: 1px dashed #CCC;
clear: both;
margin-left: 0px;
padding: .5em 1em;
text-align: right;
}
.main .main-foot, .main .main-head {
background-color: white;
color: #DEDFDF;
font-weight: 400;
padding: .7em 1.3em;
}
.ribbon {font-size: 12px;font-weight: normal;margin: -5px -5px -2px;text-align: center;width: 161px;}
.ribbonStaff {background: #B3B3B3 url('') repeat-x top;border: 1px solid #B3B3B3;color: white;}
.ribbon li .left {border-top-left-radius: 3px;-webkit-border-top-left-radius: 3px;-moz-border-radius-topleft: 3px;-khtml-border-top-left-radius: 3px;-webkit-border-top-left-radius: 3px;-moz-border-radius-topleft: 3px;-khtml-border-top-left-radius: 3px;left: -1px;}
.ribbon li .right {border-top-right-radius: 3px;-webkit-border-top-right-radius: 3px;-moz-border-radius-topright: 3px;-khtml-border-top-right-radius: 3px;-webkit-border-top-right-radius: 3px;-moz-border-radius-topright: 3px;-khtml-border-top-right-radius: 3px;right: -1px;}
.ribbon li:last-child {margin-bottom: 0px;}.ribbon li {border-radius: 3px;-webkit-border-radius: 3px;-moz-border-radius: 3px;-khtml-border-radius: 3px;-webkit-border-radius: 3px;-moz-border-radius: 3px;-khtml-border-radius: 3px;border-top-right-radius: 0px;-webkit-border-top-right-radius: 0px;-moz-border-radius-topright: 0px;-khtml-border-top-right-radius: 0px;-webkit-border-top-right-radius: 0px;-moz-border-radius-topright: 0px;-khtml-border-top-right-radius: 0px;border-top-left-radius: 0px;-webkit-border-top-left-radius: 0px;-moz-border-radius-topleft: 0px;-khtml-border-top-left-radius: 0px;-webkit-border-top-left-radius: 0px;-moz-border-radius-topleft: 0px;-khtml-border-top-left-radius: 0px;box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);-moz-box-shadow: 0px 1px 3px rgba(0,0,0, 0.25);-khtml-box-shadow: 0px 1px 3px rgba(0,0,0, 0.25);-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);-moz-box-shadow: 0px 1px 3px rgba(0,0,0, 0.25);-khtml-box-shadow: 0px 1px 3px rgba(0,0,0, 0.25);padding: 1px;position: relative;margin-bottom: 5px;}.ribbon li div {position: absolute;top: -4px;width: 4px;height: 4px;}
.ribbonStaff div {background-color: #718E0F;}.size-rank img {height: 35px;width: 120px;}
.pun .paged-foot, .pun .paged-head {
background-color: white;
border: 1px solid #DDD;
padding: .6em 1.3em .3em;
}
.pun .main-content ul {
padding-left: 0px;
}
.pun .paged .posting {
float: left;
font-size: 1.2em;
font-weight: 700;
}
</style>
<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>
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
<ul>
<!-- BEGIN switch_plus_menu -->
<li>
<script type="text/javascript">//<![CDATA[
var url_favourite = '{switch_user_logged_in.U_FAVOURITE_JS_PLUS_MENU}';
var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
insert_plus_menu_new('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</li>
<!-- END switch_plus_menu -->
<li><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a></li>
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
<!-- BEGIN watchtopic -->
<li>{S_WATCH_TOPIC}</li>
<!-- END watchtopic -->
</ul>
<p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
<p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<!-- END switch_user_logged_out -->
<div class="pun-crumbs noprint">
<p class="crumbs">
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} »
<strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
<!-- BEGIN switch_twitter_btn -->
<span id="twitter_btn" style="margin-left: 6px; ">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</span>
<!-- END switch_twitter_btn -->
<!-- BEGIN switch_fb_likebtn -->
<span id="fb_likebtn" style="margin-left: 6px; ">
<iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:auto; height:21px;" allowTransparency="true"></iframe>
</span>
<!-- END switch_fb_likebtn -->
</p>
</div>
<div class="main paged">
<div class="paged-head clearfix">
<!-- BEGIN topicpagination -->
<div style="float:right;margin-right:0px;margin-top:0px">
<p class="paging">{PAGINATION}</p>
</div>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authreply -->
<div style="float:left;margin-left:0px;margin-top:0px">
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
</div>
<!-- END switch_user_authreply -->
</p>
</div>
{POLL_DISPLAY}
<div class="main-head clearfix">
<p class="h2">
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a>
{L_MESSAGE} [{PAGE_NUMBER}]
</p>
</div>
<div>
<div class="main-content topic">
<!-- BEGIN postrow -->
<!-- BEGIN displayed -->
<div class="main-contentdav" style="margin: 4px;border:1px solid #FFFFFF;height:140px;background: white url(http://i48.servimg.com/u/f48/16/18/15/10/untit387.png)repeat-x top left;padding:10px;margin-top:1px">
<div style="float:left;width:35%">
<div class="user-basic-info" style="float:left;margin-left:4px;margin-top:17px">
{postrow.displayed.POSTER_AVATAR}<ul class="ribbon"><li class="ribbonStaff"><div class="left"></div><div class="right"></div>{postrow.displayed.POSTER_RANK_NEW}</li></ul></div>
<div style="font:normal 12px Tahoma;margin-left:4px;margin-top:1px">
<span><h4 class="username">{postrow.displayed.POSTER_NAME}</h4> </span>
<span class="size-rank" style="margin-left: 190px;">{postrow.displayed.RANK_IMAGE}</span>
<span style="background:url(http://2img.net/i/fa/Offline.png)no-repeat;height:43px;width:18px;display:inline-block;float:right;margin-top: 1px;margin-left: 160px;float:left" title="Offline">{postrow.displayed.ONLINE_IMG}</span>
<br></div>
<div class="profile_1">
<a id="hien" style="display: none;"><img src="http://illiweb.com/fa/prosilver_grey/icon_contact_www.gif" ></a> {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
</div></div>
<div class="user-info" style="width:140px;float:right">
<!-- BEGIN profile_field -->
<div class="thongtintv"><b> {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</b></div>
<!-- END profile_field -->
</div></div>
<div style="height:auto;padding:10px;border-top:0px;margin-bottom:7px;" class="post"{postrow.displayed.THANK_BGCOLOR}>
<br>
<a name="{postrow.displayed.U_POST_ID}"></a>
<div class="hihi">{postrow.displayed.ICON} <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a> {postrow.displayed.POST_DATE_NEW} </div>
<hr>
<br>
<div class="post-entry">
<div class="entry-content">
<span class="blocktitle"><div class="event{postrow.displayed.COUNT_POSTS}" >{postrow.displayed.MESSAGE}</div></span>
<!-- 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>
<p>
{postrow.displayed.EDITED_MESSAGE}
</p>
</div>
<!-- BEGIN switch_signature -->
<div class="sig-content">
{postrow.displayed.SIGNATURE_NEW}
</div>
<!-- END switch_signature -->
<div class="postfoot">
<div class="votene" style=" float: left;text-align: left; width: 23em;">
<!-- BEGIN switch_vote_active -->
<table width="400px" border="0" cellspacing="0" cellpadding="0">
<tr valign="MIDDLE">
<iframe name="vote{postrow.displayed.U_POST_ID}" style="display:none"></iframe>
<td style="border: 1px solid #C2D5E3;text-align: center;width: 190px;height: 20px!important;" class="smallfont">
<!-- BEGIN switch_no_bar -->
<span class="dosat vote{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="dosat vote{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 -->
</td>
<td style="padding-left:25px" valign="middle" nowrap="nowrap" class="genmed gensmall">
<div class="vote vote-button">
<!-- BEGIN switch_vote -->
<a target="vote{postrow.displayed.U_POST_ID}" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" alt="plus" class="plus giet"><img src="http://i43.servimg.com/u/f43/16/03/04/56/like-f10.png"/> Thích</a>
<!-- END switch_vote -->
</div>
<div class="vote vote-button">
<!-- BEGIN switch_vote -->
<a target="vote{postrow.displayed.U_POST_ID}" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}" alt="minus" class="minus giet"><img src="http://i43.servimg.com/u/f43/16/03/04/56/dislik10.png"/> Không thích</a>
<!-- END switch_vote -->
</div>
</td>
</tr>
</table> <!-- END switch_vote_active -->
</div>
<div class="post-options">
{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
</div>
<div style="clear:both;"></div>
</div></div>
<!-- END displayed -->
<!-- END postrow -->
</div>
<div class="main-foot clearfix">
<p class="h2">
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a>
{L_MESSAGE} [{PAGE_NUMBER}]
</p>
<p class="options">
<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>
<div class="paged-foot clearfix">
<!-- BEGIN topicpagination -->
<div style="float:right;margin-right:0px;margin-top:0px">
<p class="paging">{PAGINATION}</p>
</div>
<!-- END topicpagination -->
<p class="posting">
<!-- BEGIN switch_user_authreply -->
<div style="float:left;margin-left:0px;margin-top:0px">
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
</div>
<!-- END switch_user_authreply -->
</p>
</div>
<div class="pun-crumbs">
<p class="crumbs">
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} »
<strong><a href="{TOPIC_URL}">{TOPIC_TITLE}</a></strong>
</p>
</div>
<!-- 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 -->
<a name="quickreply"></a>
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->
<div id="pun-info" class="main">
<div class="main-content">
<div id="stats">
<p>{L_TABS_PERMISSIONS} <br />{S_AUTH_LIST}</p>
</div>
</div>
</div>
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
<!-- BEGIN viewtopic_bottom -->
<form method="get" action="{S_FORM_MOD_ACTION}">
<fieldset class="quickmod">
<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}" />
<label>{L_MOD_TOOLS}: </label>
{S_SELECT_MOD}
<input class="button2" type="submit" value="{L_GO}" />
</fieldset>
</form>
<div class="clear"></div>
<p class="right">{S_TOPIC_ADMIN}</p>
<!-- END viewtopic_bottom -->
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>