Không hiều sao làm giống như cách trên mà khung Thanks của mình vẫn ko đóng nhỉ
http://suckhoengaynay.com/showthread...45&p=58#post58
Printable View
Không hiều sao làm giống như cách trên mà khung Thanks của mình vẫn ko đóng nhỉ
http://suckhoengaynay.com/showthread...45&p=58#post58
bạn hướng dẫn mình tạo ô thông tin ngày tháng năm sinh và giới tính với :| mình ko biết làm
- Giới tính :
Vào Admin CP >> User Profile Fields >> Add New User Profile Field >> Ở mục Profile Field Type chọn Single-Selection Menu >> Continue >> Mục chủ đề gõ Giới tính , mục Description gõ Giới tính của bạn và mục Tùy Chọn gõ các lựa chọn , phân biệt lựa chọn bởi 1 dấu xuống dòng :
Các mục khác để nguyên và save . Chú ý số Field nhé .Trích:
Nam
Nữ
Đồng tính
Sau đó cho hiển thị thông tin : Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> Postbit templates >> Postbit_legacy >> Tìm đoạn code mà ta đã thêm thông tin họ tên ở trên ( ngay trang 1 của topic này ) và chèn đoạn code sau xuống dưới :
Chú ý thay số field nhé ( Chữ X in đậm )Trích:
<vb:if condition="$post['fieldx']"><div class="eti_postbit">Giới tính : {vb:raw post.fieldx}</div></vb:if>
- Tương tụ với năm sinh .
Em dùng style default, khi search postbit.css thì nó không hiện ra cái gì để chỉnh sửa ạ T_TTrích:
Bước 1 : vào Admin CP >> Styles & Templates >> Search in Templates >> ở mục Search for Text gõ posbit.css
Có mà em , em vào theo cách này :
Admin CP >> Styles & Templates >> Style manager >> Chọn skin cần chỉnh , edit templates >> CSS templates >> Postbit.css
tình hình la mình làm y chang như trên nhưng nó không đống được khung nào cả
demo:http://teenlt.net/teenlt/showthread....=2362#post2362
code posbit.css
PHP Code:
@charset "UTF-8";
/* CSS Document */
/* last edited notice */
.lastedited {
font-style:italic;
padding-top: 1em;
color: {vb:stylevar body_color};
font-size: {vb:stylevar small_fontSize};
/* clear:both; */
}
.lastedited a {
color: {vb:stylevar body_color};
}
/* reputation image */
.postbit_reputation {
padding:0 0 0 3px;
clear:both;
display:block;
}
img.repimg {
padding:0;
margin:0 0 0 -3px;
display:inline;
}
.quickedit {
border-top: {vb:stylevar tabslight_border};
}
/*signature */
.signature {
padding-top: 1em;
border-top: {vb:stylevar postbit_border};
margin-top: 2em;
}
/*post bit*/
.postbit, .postbitlegacy, .eventbit {
margin-bottom: {vb:stylevar padding};
display:block;
width: 100%;
clear:both;
position: relative;
float: {vb:stylevar left};
color: {vb:stylevar body_color};
border: {vb:stylevar postbit_border};
}
.postbit object {
clear:both;
}
.postbit .postdetails {
width: 100%;
display:block;
float: {vb:stylevar left};
}
.postbit .posthead, .postbitlegacy .posthead, .eventbit .eventhead {
background: {vb:stylevar postbithead_background};
_background-image: none;
border: {vb:stylevar postbithead_border};
clear:both;
display:block;
float: {vb:stylevar left};
width: 100%;
color: {vb:stylevar postbithead_color};
margin: -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} 0;
font: {vb:stylevar postbithead_font};
padding: 4px 0;
}
.postbit .posthead .postdate, .postbitlegacy .posthead .postdate {
display:block;
float:{vb:stylevar left};
clear:{vb:stylevar right};
width: 49%;
margin-{vb:stylevar left}: 10px;
font: {vb:stylevar postbithead_font};
padding-{vb:stylevar left}: 15px;
}
.postbit .posthead .postdate.old, .postbitlegacy .posthead .postdate.old {
background:transparent url({vb:stylevar imgdir_statusicon}/post_old.png) no-repeat center {vb:stylevar left};
}
.postbit .posthead .postdate.new, .postbitlegacy .posthead .postdate.new {
background:transparent url({vb:stylevar imgdir_statusicon}/post_new.png) no-repeat center {vb:stylevar left};
}
.postbit .postdate .time {
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
}
.postbit .userinfo .contact, .postbit .userinfo_noavatar .contact {
position: relative;
float: {vb:stylevar left};
clear: {vb:stylevar right};
width: 50%;
display:block;
}
.postbit .postuseravatarlink {
display:block;
text-align: center;
position: relative;
top: 0;
margin-{vb:stylevar left}: {vb:math {vb:stylevar padding}+5};
overflow: hidden;
float: {vb:stylevar left};
clear: {vb:stylevar right};
}
.postbit .postuseravatarlink img {
}
.postbit .nodecontrols .postimod{
top: 0;
position:relative;
margin-{vb:stylevar left}: {vb:stylevar padding};
}
.postbit .userinfo, .postbit .userinfo_noavatar {
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
clear:both;
min-height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
height: auto !important;
border-bottom:{vb:stylevar postbit_border};
padding: 0.5em 0;
width: 100%;
float: {vb:stylevar left};
}
.postbit .userinfo .contact, .userinfo .userinfo_extra, .postbit .userinfo_noavatar .contact {
display:inline-block;
min-height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
height: auto !important;
height: {vb:math {vb:stylevar postbit_avatar_maxSize}+1-{vb:math {vb:math {vb:math {vb:stylevar font.fontSize}-1}*1.230}+{vb:stylevar padding}}};
}
.postbit .username_container {
float: {vb:stylevar left};
clear: {vb:stylevar right};
display:block;
margin-{vb:stylevar left}: {vb:stylevar padding};
}
.postbit .userinfo .username_container .memberaction, .postbit .userinfo_noavatar .username_container .memberaction {
display: inline;
}
.postbit .postdetails_noavatar .posthead, .postbit .postdetails_noavatar .userinfo .contact {
margin-{vb:stylevar left}: 0;
}
/*
.postbit .userinfo .postbit_reputation {
margin-{vb:stylevar left}: {vb:math {vb:stylevar postbit_avatar_maxSize} + {vb:stylevar padding} + 5px};
}
*/
.postbit .userinfo .username, .postbit .userinfo_noavatar .username {
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
font-weight: bold;
}
.postbit .userinfo_noavatar .imlinks img {
display:inline;
}
.postbit .userinfo .username.guest, .postbit .userinfo_noavatar .username.guest {
font-weight:normal;
}
.postbit .userinfo_noavatar .usertitle, .postbit .userinfo .usertitle, .postbit .userinfo_noavatar .rank, .postbit .userinfo .rank {
font-size: {vb:stylevar small_fontSize};
font-weight: bold;
display:block;
clear:both;
}
.postbit .userinfo .userinfo_extra, .postbit .userinfo_noavatar .userinfo_extra {
text-align: {vb:stylevar right};
width: 300px;
float: {vb:stylevar right};
font-size: {vb:stylevar small_fontSize};
}
.postbit .userinfo .userinfo_extra dl, .postbit .userinfo_noavatar .userinfo_extra dl {
margin-{vb:stylevar right}: {vb:stylevar padding};
float: {vb:stylevar right};
width: 150px;
}
.postbit .userinfo_extra dl dt {
float:{vb:stylevar left};
display:block;
/*color:{vb:stylevar shade_color};*/
margin-{vb:stylevar right}: {vb:math {vb:stylevar padding}/2};
}
.postbit .userinfo_extra dl dt:after {
content:":";
}
.postbit .userinfo_extra dl dt.blank:after {
content:none;
}
.postbit .userinfo_extra dl dd {
display:block;
}
.postbit .userinfo .moreinfo, .postbit .userinfo_noavatar .moreinfo {
float: {vb:stylevar left};
display: inline;
}
.postbit .userinfo .popupmenu a.popupctrl, .postbit .userinfo_noavatar .popupmenu a.popupctrl {
font-size: {vb:stylevar mid_fontSize};
background: transparent;
padding: 0;
display:inline-block;
}
.postbit .userinfo .popupmenu a.popupctrl:hover, .postbit .userinfo_noavatar .popupmenu a.popupctrl:hover {
color: {vb:stylevar link_color};
text-decoration: {vb:stylevar linkhover_hoverDecoration};
}
.postbit .postbody {
clear: both;
color: {vb:stylevar postbit_color};
}
.postbit .postrow {
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding} 3em;
font: {vb:stylevar forum_msg_font};
}
.postbit hr {
display:none;
}
.postcontent {
word-wrap: break-word;
}
.postbit .posttitle {
display:block;
padding: {vb:stylevar padding};
font-weight:bold;
font: {vb:stylevar post_title_font};
margin: 0;
}
.postbit .content {
font: {vb:stylevar content_msg_font};
color: {vb:stylevar postbit_color};
}
.postbitlegacy .content {
font: {vb:stylevar content_msg_font}
color: {vb:stylevar postbit_color};
}
.postbitdeleted .content, .postbitignored .content {
font: {vb:stylevar content_msg_font}
color: {vb:stylevar postbit_color};
}
/*postbit legacy*/
.birthdays {
border-top: {vb:stylevar postbit_border};
}
.postbitlegacy hr, .eventbit hr {
display: none;
}
.postbitlegacy .postdetails, .eventbit .eventdetails {
float: {vb:stylevar left};
width: 100%;
background: {vb:stylevar postbit_userinfo_background};
_background-image: none;
}
.eventbit .eventhead {
height: auto;
padding-bottom: 5px;
}
.birthdays .posthead {
border: {vb:stylevar postbithead_border};
background: {vb:stylevar postbithead_background};
_background-image: none;
padding: 4px 0;
padding-{vb:stylevar left}: {vb:stylevar padding};
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: 0;
font: {vb:stylevar postbithead_font};
}
.birthdays .eventrow {
background: {vb:stylevar postbit_background};
_background-image: none;
}
.eventbit .eventhead .eventdate span.date, .eventbit .eventhead .eventdate .time {
font: {vb:stylevar postbithead_font};
color: {vb:stylevar postbithead_color};
}
.eventbit .eventhead .eventdate span.date {
padding-{vb:stylevar left}: {vb:stylevar padding};
font: {vb:stylevar postbithead_font};
}
.postbitlegacy .posthead .time {
font: {vb:stylevar postbithead_font};
color: {vb:stylevar postbithead_color};
}
.postbit .posthead .nodecontrols, .postbitlegacy .posthead .nodecontrols, .eventbit .eventhead .nodecontrols {
position: absolute;
color: {vb:stylevar postbithead_color};
{vb:stylevar right}: 0;
top: 0;
width: 50% ;
padding: 4px {vb:stylevar padding} 0;
text-align: {vb:stylevar right};
font: {vb:stylevar postbithead_font};
vertical-align: middle;
}
.postbit .posthead .nodecontrols a, .postbitlegacy .posthead .nodecontrols a, .eventbit .eventhead .nodecontrols a {
color: {vb:stylevar postbithead_color};
top: -2px;
position:relative;
}
.postbitlegacy .posthead .nodecontrols img, .eventbit .eventhead .nodecontrols img {
position: relative;
top: 2px;
padding: 0;
}
.postbitlegacy .posthead .nodecontrols .postimod, .eventbit .eventhead .nodecontrols .postimod {
top: 0px;
position:relative;
margin-{vb:stylevar left}: 5px;
}
.postbitlegacy .postbody, .eventbit .eventdetails .eventbody {
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
background: {vb:stylevar postbit_background};
_background-image: none;
padding-bottom: 1em;
}
.postbitlegacy .postrow, .eventbit .eventrow {
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding} {vb:stylevar padding};
font: {vb:stylevar forum_msg_font};
color: {vb:stylevar postbit_color};
}
.eventbit dl.stats {
display: inline-block;
height: auto;
}
.postbitlegacy .userinfo {
float:{vb:stylevar left};
position: relative;
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
background: {vb:stylevar postbit_userinfo_background};
clear:both;
}
.postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle {
font-size: {vb:stylevar small_fontSize};
display:block;
clear:both;
}
.eventbit .userinfo {
float:{vb:stylevar left};
position: relative;
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
font-size: {vb:stylevar small_fontSize};
display:block;
}
.postbitlegacy .userinfo .username_container {
margin-bottom: 8px;
}
.postbitlegacy .userinfo .username_container .memberaction {
display: inline;
}
.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar {
display:block;
margin:{vb:math {vb:stylevar padding}/3} auto 0;
text-align:{vb:stylevar left};
width: auto;
float: {vb:stylevar left};
clear: both;
}
.postbitlegacy .userinfo .postuseravatar img, .eventbit userinfo .eventuseravatar img {
border: {vb:stylevar postbitlegacy_avatar_border};
outline: {vb:stylevar postbitlegacy_avatar_outline};
max-width: {vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2}- {vb:math {vb:stylevar postbitlegacy_avatar_outline.borderWidth}*2} - {vb:math {vb:stylevar postbitlegacy_avatar_border.borderWidth}*2}};
}
.postbitlegacy .userinfo a.username, .eventbit .userinfo a.username {
clear:{vb:stylevar right};
font-size:{vb:stylevar font.fontSize}{vb:stylevar font.units};
font-weight:bold;
width: auto;
max-width:{vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2} - 20px};
word-wrap:break-word;
}
.postbitlegacy .userinfo .guest.username, .eventbit .userinfo .guest.username {
padding-top: {vb:math {vb:stylevar padding}/2};
display:block;
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
}
.postbitlegacy dl.userinfo_extra, .postbitlegacy dl.user_rep {
margin: {vb:math {vb:stylevar padding}/2} 0;
display:block;
float: {vb:stylevar left};
width: 80px;
}
.postbitlegacy dl.userinfo_extra dt, .postbitlegacy dl.user_rep dt {
float: {vb:stylevar left};
text-align: {vb:stylevar left};
/*color: {vb:stylevar shade_color};*/
margin-{vb:stylevar right}: {vb:stylevar padding};
margin-{vb:stylevar left}: 0;
min-width:60px;
width:auto !important;
width:60px;
}
.postbitlegacy dl.userinfo_extra dt:after, .postbitlegacy dl.user_rep dt:after {
content: ":";
}
.postbitlegacy dl.user_rep dt.blank:after {
content: none;
}
.postbitlegacy dl.userinfo_extra dd, .postbitlegacy dl.userinfo_extra dd a, .postbitlegacy dl.user_rep dd {
padding-bottom: 3px;
}
.postbitlegacy dl.user_rep img {
margin-top: {vb:stylevar padding};
}
.postbitlegacy .imlinks {
width: 100%;
float: {vb:stylevar left};
}
.postbitlegacy .imlinks img {
display:inline;
}
.postbitlegacy .title, .eventbit .title {
display:block;
padding: {vb:stylevar padding};
padding-{vb:stylevar left}: 0;
font: {vb:stylevar post_title_font};
}
.postbit .postfoot, .postbitlegacy .postfoot, .eventbit .eventfoot {
display:block;
position: relative;
{vb:stylevar right}: 0;
float: {vb:stylevar left};
clear:both;
/*vertical-align: bottom;*/
background: transparent;
/*height: {vb:math 16px + {vb:math 5px * 2}};*/
font: {vb:stylevar postbit_control_font};
width: 100%;
}
.postbitlegacy .postrow.has_after_content {
padding-bottom: 4em;
}
.postbitlegacy .after_content {
position: relative;
width: 100%;
clear:both;
}
.postbitlegacy .signature, .postbitlegacy .lastedited {
margin-top: 1em;
padding: 1em {vb:stylevar padding} 0;
}
.postbit .postfoot .textcontrols, .postbitlegacy .postfoot .textcontrols, .eventbit .eventfoot .eventcontrols {
padding: 3px 0 7px;
display:block;
background: {vb:stylevar postbit_foot_background};
_background-image: none;
font: {vb:stylevar postbit_control_font};
width: 100%;
height: 16px;
margin-{vb:stylevar right}: 10px;
}
.postbitlegacy .postfoot .postcontrols, .postbit .postfoot .postcontrols {
position: absolute;
{vb:stylevar right}: {vb:stylevar padding};
margin-{vb:stylevar left}: 450px;
}
.postbitlegacy .postfoot .postlinking, .postbit .postfoot .postlinking {
position: absolute;
{vb:stylevar left}: {vb:stylevar padding};
margin-{vb:stylevar right}: 450px;
}
.eventbit .eventfoot .textcontrols {
display:block;
float: {vb:stylevar right};
margin-{vb:stylevar right}: 10px;
}
.postbitlegacy .postfoot .textcontrols img.inline, .postbit .postfoot .textcontrols img.inline {
position: absolute;
top: 2px;
{vb:stylevar left}: -1px;
margin-{vb:stylevar right}: 1px;
}
.postbitlegacy .postfoot .textcontrols span.seperator, .postbit .postfoot .textcontrols span.seperator {
position: relative;
top: 2px;
{vb:stylevar left}: 3px;
background: {vb:stylevar postfoot_separator_color};
_background-image: none;
display: inline;
height: 14px;
width: {vb:stylevar postfoot_separator_width};
margin: 0 5px;
}
.postbitlegacy .postfoot .textcontrols a, .postbit .postfoot .textcontrols a, .eventbit .eventfoot .eventcontrols a {
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
padding: 3px;
padding-{vb:stylevar left}: {vb:math 3px+20px};
border: {vb:stylevar postbit_control_border};
background: {vb:stylevar postbit_control_background};
_background-image: none;
color: {vb:stylevar postbit_control_color};
font: {vb:stylevar postbit_control_font};
display:inline-block;
margin-{vb:stylevar left}: 5px;
}/* Text button hover images */
.postbitlegacy .postfoot .textcontrols img.spam, .postbit .postfoot .textcontrols img.spam {
padding-top: 2px;
}
.postbitlegacy .postfoot .textcontrols img.moderated, .postbit .postfoot .textcontrols img.moderated, .postbitlegacy .postfoot .textcontrols img.spam, .postbit .postfoot .textcontrols img.spam, .postbitlegacy .postfoot .textcontrols img.deleted_nolink, .postbit .postfoot .textcontrols img.deleted_nolink {
padding-top: 2px;
}
.postbitlegacy .postfoot .textcontrols a.editpost, .postbit .postfoot .textcontrols a.editpost, .eventbit .eventfoot .textcontrols a.editevent {
background: url({vb:stylevar imgdir_button}/edit_40b.png) no-repeat transparent {vb:stylevar left} ;
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.editpost:hover, .postbit .postfoot .textcontrols a.editpost:hover, .eventbit .eventfoot .textcontrols a.editevent:hover {
background: url({vb:stylevar imgdir_button}/edit_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply, .postbit .postfoot .textcontrols a.quickreply {
background: url({vb:stylevar imgdir_button}/reply_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.quickreply:hover, .postbit .postfoot .textcontrols a.quickreply:hover {
background: url({vb:stylevar imgdir_button}/reply_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.newreply, .postbit .postfoot .textcontrols a.newreply {
background: url({vb:stylevar imgdir_button}/quote_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.newreply:hover, .postbit .postfoot .textcontrols a.newreply:hover {
background: url({vb:stylevar imgdir_button}/quote_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote {
background: url({vb:stylevar imgdir_button}/multiquote-back_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.multiquote:hover, .postbit .postfoot .textcontrols a.multiquote:hover {
background: url({vb:stylevar imgdir_button}/multiquote_40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.promotecms, .postbit .postfoot .textcontrols a.promotecms {
background: url({vb:stylevar imgdir_cms}/promote_small.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.promotecms:hover, .postbit .postfoot .textcontrols a.promotecms:hover {
background: url({vb:stylevar imgdir_cms}/promote_small-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.infraction, .postbit .postfoot .textcontrols a.infraction {
background: url({vb:stylevar imgdir_button}/add-infraction_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.infraction:hover, .postbit .postfoot .textcontrols a.infraction:hover {
background: url({vb:stylevar imgdir_button}/add-infraction_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.report, .postbit .postfoot .textcontrols a.report {
background: url({vb:stylevar imgdir_button}/report-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.report:hover, .postbit .postfoot .textcontrols a.report:hover {
background: url({vb:stylevar imgdir_button}/report-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.blog, .postbit .postfoot .textcontrols a.blog {
background: url({vb:stylevar imgdir_misc}/blog/blogpost_40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.blog:hover, .postbit .postfoot .textcontrols a.blog:hover {
background: url({vb:stylevar imgdir_misc}/blog/blogpost_40b-hover.png) no-repeat transparent {vb:stylevar left} ;
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.reputation, .postbit .postfoot .textcontrols a.reputation {
background: url({vb:stylevar imgdir_button}/reputation-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.reputation:hover, .postbit .postfoot .textcontrols a.reputation:hover {
background: url({vb:stylevar imgdir_button}/reputation-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.ip, .postbit .postfoot .textcontrols a.ip {
background: url({vb:stylevar imgdir_button}/ip-40b.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.ip:hover, .postbit .postfoot .textcontrols a.ip:hover {
background: url({vb:stylevar imgdir_button}/ip-40b-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.redcard, .postbit .postfoot .textcontrols a.redcard {
background: url({vb:stylevar imgdir_button}/red-card_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.redcard:hover, .postbit .postfoot .textcontrols a.redcard:hover {
background: url({vb:stylevar imgdir_button}/red-card_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.yellowcard, .postbit .postfoot .textcontrols a.yellowcard {
background: url({vb:stylevar imgdir_button}/yellow-card_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.yellowcard:hover, .postbit .postfoot .textcontrols a.yellowcard:hover {
background: url({vb:stylevar imgdir_button}/yellow-card_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.deleted, .postbit .postfoot .textcontrols a.deleted {
background: url({vb:stylevar imgdir_button}/deleted_sm.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.deleted:hover, .postbit .postfoot .textcontrols a.deleted:hover {
background: url({vb:stylevar imgdir_button}/deleted_sm-hover.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a:hover, .postbit .postfoot .textcontrols a:hover {
color: {vb:stylevar postbit_control_hover_color};
background: {vb:stylevar postbit_control_hover_background};
_background-image: none;
}
.postbitlegacy .postfoot .textcontrols a.highlight, .postbit .postfoot .textcontrols a.highlight {
background-color: {vb:stylevar postbit_control_hover_background.backgroundColor};
}
.postbitlegacy .postfoot .textcontrols a.multiquote, .postbit .postfoot .textcontrols a.multiquote {
border: 0;
margin-{vb:stylevar right}: 0;
padding-{vb:stylevar right}: {vb:stylevar padding};
}
.postbitlegacy .postfoot .textcontrols a img, .postbit .postfoot .textcontrols a img {
position: absolute;
top: {vb:math {vb:stylevar padding}/5};
{vb:stylevar left}: {vb:math {vb:stylevar padding}/5+1};
}
.postbitlegacy .postfoot .textcontrols a:hover img, .postbit .postfoot .textcontrols a:hover img {
top: {vb:math {vb:stylevar padding}/5};
}
/*post bit deleted*/
.postbitdeleted, .postbitignored {
margin-bottom: {vb:stylevar padding};
display:block;
width: 100%;
clear:both;
position: relative;
color: {vb:stylevar body_color};
border: {vb:stylevar postbit_border};
float: {vb:stylevar left};
background: {vb:stylevar postbit_deleted_background};
_background-image: none;
}
.postbitdeleted hr, .postbitignored hr {
display: none;
}
.postbitdeleted .posthead, .postbitignored .posthead {
display:table;
background: {vb:stylevar postbithead_background};
_background-image: none;
border: {vb:stylevar postbithead_border};
height: {vb:math {vb:stylevar padding}+6};
padding: {vb:math {vb:stylevar padding}/5+2} 0;
color: {vb:stylevar postbithead_color};
width: 100%;
margin: -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} -{vb:stylevar postbithead_border.borderWidth}{vb:stylevar postbithead_border.units} 0;
font: {vb:stylevar postbithead_font};
}
.postbitdeleted .posthead .date, .postbitignored .posthead .date {
display:inline-block;
padding-{vb:stylevar left}: {vb:math {vb:stylevar padding}+4};
margin-{vb:stylevar left}: {vb:stylevar padding};
color: {vb:stylevar postbithead_color};
background:transparent url({vb:stylevar imgdir_statusicon}/post_old.png) no-repeat center {vb:stylevar left};
font: {vb:stylevar postbithead_font};
}
.postbitdeleted .posthead .date .time, .postbitignored .date .time {
color: {vb:stylevar postbithead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
font: {vb:stylevar postbithead_font};
}
.postbitdeleted .posthead .postimod, .postbitignored .posthead .postimod {
position: absolute;
{vb:stylevar right}: {vb:stylevar padding};
top: {vb:math {vb:stylevar padding}/2};
}
.postbitdeleted .postbody, .postbitignored .postbody {
padding: 0;
}
.postbitdeleted .postrow, .postbitignored .postrow {
padding: {vb:stylevar padding};
}
.postbitdeleted .userinfo .memberaction, .postbitignored .userinfo .memberaction {
display: block;
}
.postbitdeleted .userinfo, .postbitignored .userinfo {
display:block;
background: transparent;
position: relative;
clear: both;
padding: {vb:math {vb:stylevar padding}/2} {vb:stylevar padding};
border-bottom: {vb:stylevar postbit_border};
word-wrap: break-word;
}
.postbitdeleted .userinfo .username, .postbitignored .userinfo .username {
display:block;
float: {vb:stylevar left};
clear: {vb:stylevar right};
font-size: {vb:stylevar font.fontSize}{vb:stylevar font.units};
/*font-weight:bold;*/
}
.postbitdeleted .userinfo .moreinfo, .postbitignored .userinfo .moreinfo {
float: {vb:stylevar left};
display:block;
position: relative;
top: -5px;
}
.postbitdeleted .userinfo .usertitle, .postbitignored .userinfo .usertitle {
clear:both;
display:block
width: 100%;
}
.postbitdeleted .userinfo .popupmenu a.popupctrl:hover, .postbitignored .userinfo .popupmenu a.popupctrl:hover {
color: {vb:stylevar link_color};
text-decoration: {vb:stylevar linkhover_textDecoration};
}
.postbitdeleted .title, .postbitignored .title {
font: {vb:stylevar post_title_font};
}
.postbitdeleted .nodecontrols, .postbitignored .nodecontrols {
padding: 4px 0;
padding-{vb:stylevar right}: {vb:stylevar padding};
text-align: {vb:stylevar right};
background: {vb:stylevar postbit_foot_background};
_background-image: none;
font: {vb:stylevar postbit_control_font};
height: 16px;
}
.postbitdeleted .nodecontrols .textcontrol, .postbitignored .nodecontrols .textcontrol {
background: {vb:stylevar postbit_control_background};
_background-image: none;
border: {vb:stylevar postbit_control_border};
font: {vb:stylevar postbit_control_font};
}
.postbitdeleted .nodecontrols a.textcontrol:hover, .postbitignored .nodecontrols a.textcontrol:hover {
background: {vb:stylevar postbit_control_hover_background};
_background-image: none;
border: {vb:stylevar postbit_control_border};
}
.userinfo .popupmenu:hover a.popupctrl {
background-color:transparent;
}
.userinfo .popupgroup .popupmenu:hover a.popupctrl.active,
.userinfo .popupmenu a.popupctrl.active {
background-color:transparent;
color:inherit;
}
.postbit .userinfo .popupmenu .popupctrl {
color:auto;
}
.postbit.imod_highlight .userinfo_noavatar,
.postbit.imod_highlight .userinfo,
.postbit.imod_highlight .postbody,
.postbitlegacy.imod_highlight .postdetails,
.postbitlegacy.imod_highlight .userinfo,
.postbitlegacy.imod_highlight .postbody,
.postbitdeleted.imod_highlight,
.postbitignored.imod_highlight {
background:{vb:stylevar imodhilite_backgroundColor};
color: {vb:stylevar body_color};
}
/* start styles for postbit_legacy */
.userinfo .popupmenu:hover a.popupctrl {
background-color:transparent;
}
.userinfo .popupgroup .popupmenu:hover a.popupctrl.active,
.userinfo .popupmenu a.popupctrl.active {
background-color:transparent;
color:inherit;
}
.postbitlegacy .userinfo .popupmenu .popupctrl {
color:auto;
}
/* end styles for postbit_legacy */
img.onlinestatus_noavatar {
position: relative;
top: 5px;
{vb:stylevar left}: -56px;
}
img.onlinestatus {
position: relative;
top: 5px;
{vb:stylevar left}: -4px;
}
/* last edited */
.postbody fieldset {
background: {vb:stylevar postbit_boxed_background};
_background-image: none;
-moz-border-radius: {vb:stylevar border_radius};
padding: {vb:stylevar postbit_boxed_padding};
font-size: {vb:stylevar postbit_boxed_fontSize};
}
.postbody img.inlineimg {
position: relative;
top: 2px;
}
.postbody .lastedited .reason {
font-weight: bold;
}
.postbitlegacy .userinfo .userinfo_extra {
width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
float: {vb:stylevar left};
font-size: {vb:stylevar small_fontSize};
}
.hasad {
display:block;
margin-{vb:stylevar right}: {vb:stylevar ad_post_maxWidth};
}
/* thvn signature */
.sig{
Background:#ffffff;
Border-left:2px solid #dbd8d8;
Border-right:2px solid #dbd8d8;
Padding:10px;
Margin:0;}
.sig_01{
Background:url(THVN_vB4/sig/thvnsig_01.gif) left no-repeat;
Height:43px;}
.sig_02{
Background:url(THVN_vB4/sig/thvnsig_02.gif) repeat-x;
Height:43px;}
.sig_03{
Background:url(THVN_vB4/sig/svvtsig_03.gif) right no-repeat;
Height:43px;}
.sig_04{
Background:url(THVN_vB4/sig/svvtsig_04.gif) left no-repeat;
Height:23px;}
.sig_05{
Background:url(THVN_vB4/sig/thvnsig_05.gif) repeat-x;
Height:23px;}
.sig_06{
Background:url(THVN_vB4/sig/thvnsig_06.gif) right no-repeat;
Height:23px;}
/* eTiKeT Postbit_Legacy*/
.eti_postbit_merkezli {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
text-align:center;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};}
.eti_postbit {
padding-left: 4px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
background-color: #efefef;
border-top: 1px solid #dddddd;
border-right: 1px solid #dddddd;
border-left: 1px solid #c4c4c4;
border-bottom: 1px solid #c4c4c4;
margin-bottom: 4px;
-moz-box-shadow: 0 2px 6px #b3b3b3;
-webkit-box-shadow: -1px 2px 2px #b3b3b3;
-moz-border-radius-bottom{vb:stylevar left}:6px;
-moz-border-radius-top{vb:stylevar right}:6px;
-webkit-border-top-{vb:stylevar right}-radius: {vb:stylevar threadlisthead_top_corner_radius};
-webkit-border-bottom-{vb:stylevar left}-radius: {vb:stylevar threadlisthead_top_corner_radius};
}
.itvnn_postbit {
text-align:center;
}
code Postbit_legacy
PHP Code:
{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->
<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']"> <span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
<div class="itvnn_postbit">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div></div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<!-- Đóng khung avatar --><center>
<vb:if condition="$show['avatar']">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="images/avatem/thtx_01.png" alt="" width="12" height="11"></td>
<td background="images/avatem/thtx_02.png" width="113" height="11">
<img src="images/avatem/thtx_02.png" alt="" width="6" height="11"></td>
<td>
<img src="images/avatem/thtx_03.png" alt="" width="11" height="11"></td>
</tr>
<tr>
<td background="images/avatem/thtx_04.png" width="12">
<img src="images/avatem/thtx_04.png" alt="" width="12" height="7"></td>
<td background="images/avatem/thtx_05.png"><a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a></td>
<td background="images/avatem/thtx_06.png" width="11">
<img src="images/avatem/thtx_06.png" alt="" width="11" height="6"></td>
</tr>
<tr>
<td>
<img src="images/avatem/thtx_07.png" alt="" width="12" height="12"></td>
<td background="images/avatem/thtx_08.png" width="113" height="12">
<img src="images/avatem/thtx_08.png" alt="" width="7" height="12"></td>
<td>
<img src="images/avatem/thtx_09.png" alt="" width="11" height="12"></td>
</tr>
</table>
</vb:if> </center>
<!-- / Kết thúc đóng khung avatar -->
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
<!-- Begin Intro by KhoaHocPhoThong.Net -->
<div><b>Thứ tự của bạn là : {vb:raw post.userid}</b></div><!-- End Intro by KhoaHocPhoThong.Net -->
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if><dt>Giới tính</dt> <dd><img src="images/gender/<vb:if condition="$post['field5']=='Nam'">Nam<vb:else /><vb:if condition="$post['field5']=='Nữ'">Nu<vb:else />Chua-ro</vb:if></vb:if>.gif" border="0" alt="{vb:raw post.field5}"></img></dd><p>
<vb:if condition="$post['field2']"><b><font color=#CC66FF
>Đến từ: {vb:raw post.field2}</font></b><b></vb:if><p>
<vb:if condition="$post['field1']"><b><font color=#CC66FF
>Số điện thoại: {vb:raw post.field1}</font></b><p></vb:if><p>
<vb:if condition="$post['field3']"><b><font color=#CC66FF
>Sở thích: {vb:raw post.field3}</font></b><p></vb:if><p>
<vb:if condition="$post['field4']"><b><font color=#CC66FF
>Nghề Nghiệp: {vb:raw post.field4}</font></b><p></vb:if><p>
<vb:if condition="$post['con_giap']"><b>Cầm tinh con :</b><br><center><img src="images/12congiap/{vb:raw post.con_giap}.gif" border="0" alt="{vb:raw post.ten_thien_can} {vb:raw post.ten_dia_chi}"/></center></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw showinfopet}
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
<!-- Facebook Like -->
<!-- / Facebook Like -->
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<!-- Đóng khung bài viết -->
<div>
<table cellSpacing="0" cellPadding="0" border="0" style="width:auto">
<tr>
<td style="padding: 0px"><img src="images/quote/admin_01.gif"></td>
<td style="padding: 0px" background="images/quote/admin_02.gif"></td>
<td style="padding: 0px"><img src="images/quote/admin_03.gif"></td>
</tr>
<tr>
<td valign="top" style="padding: 0px" background="images/quote/admin_04.gif">
<img src="images/quote/admin_05.gif"></td>
<td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>
<!-- Gioi thieu qua yahoo ne-->
<br />
<div class="smallfont" align="center" style="width: 515; height: 19">
<font color="arial">
****************</font><font color="#FF00FF"><b>Hãy cùng chia sẻ với bạn bè bằng cách </b></font><font color="DarkOrchid">****************</font>
</div>
<div align="center">
<center>
<table>
<TR>
<TD>
<p align="center"><font color="red"><b>Copy đường link dưới đây gửi đến nick yahoo bạn bè!</b></font>
<textarea style="width: 500; height: 25" rows="2" name="embedhtml" cols="100" readonly="readonly" onclick="this.select()" id="embedhtml">{vb:raw post.title} http://Teenlt.Net/teenlt/{vb:raw relpath} Xin lỗi đã Spam , gửi cho bạn bè tin này dùm mình nha ( an tâm là không có virus đâu )</textarea>
</TD></TR>
</table>
</center>
</div>
<!-- / Gioi thieu qua yahoo ne-->
</td>
<td style="padding: 0px" background="images/quote/admin_06.gif"></td>
</tr>
<tr>
<td style="padding: 0px"><img src="images/quote/admin_07.gif"></td>
<td style="padding: 0px" background="images/quote/admin_08.gif"></td>
<td style="padding: 0px"><img src="images/quote/admin_09.gif"></td>
</tr>
</table>
<!-- / Kết thúc đóng khung bài viết -->
<vb:if condition="$show['attachments']">
<div class="attachments">
<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>
<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>
<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>
<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>
<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>
</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
<vb:if condition="$post['signature']">
<vb:if condition="$post['signature']">
<!-- sig -->
<div class="sig_02"><div class="sig_01"><div class="sig_03">
</div></div></div>
<div class="sig"><div style="width:100%;">
<div class="signaturecontainer">{vb:raw post.signature}</div>
</div>
</div>
<div class="sig_05"><div class="sig_04"><div class="sig_06">
</div></div></div>
<!-- / sig -->
</vb:if></vb:if>
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a>
<span class="seperator"> </span>
</vb:if>
<vb:if condition="$show['multiquote_post']">
<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" /> </a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw $promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator"> </span>
</vb:if>
</vb:if>
{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> --> </a></span>
</vb:if>
<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> </a>
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> --> </a>
</vb:if>
<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="postings.php?{vb:raw session.sessionurl}do=managepost&p={vb:raw post.postid}" title="{vb:rawphrase manage}"><!-- <img src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase manage}" /> --> </a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_misc}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> </a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> </a>
</vb:if>
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:stylevar imgdir_button}/reply_40b.png" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}
Trong code của Postbit_legacy bạn đã đóng khung đâu :
Để đóng khung phải thêm thẻ <div class="eti_postbit">....</div> như sau :Trích:
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if><dt>Giới tính</dt> <dd><img src="images/gender/<vb:if condition="$post['field5']=='Nam'">Nam<vb:else /><vb:if condition="$post['field5']=='Nữ'">Nu<vb:else />Chua-ro</vb:if></vb:if>.gif" border="0" alt="{vb:raw post.field5}"></img></dd><p>
<vb:if condition="$post['field2']"><b><font color=#CC66FF
>Đến từ: {vb:raw post.field2}</font></b><b></vb:if><p>
<vb:if condition="$post['field1']"><b><font color=#CC66FF
>Số điện thoại: {vb:raw post.field1}</font></b><p></vb:if><p>
<vb:if condition="$post['field3']"><b><font color=#CC66FF
>Sở thích: {vb:raw post.field3}</font></b><p></vb:if><p>
<vb:if condition="$post['field4']"><b><font color=#CC66FF
>Nghề Nghiệp: {vb:raw post.field4}</font></b><p></vb:if><p>
<vb:if condition="$post['con_giap']"><b>Cầm tinh con :</b><br><center><img src="images/12congiap/{vb:raw post.con_giap}.gif" border="0" alt="{vb:raw post.ten_thien_can} {vb:raw post.ten_dia_chi}"/></center></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
Trích:
<vb:if condition="$post['joindate']"><div class="eti_postbit"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></div></vb:if>
<div class="eti_postbit"><dt>Giới tính</dt> <dd><img src="images/gender/<vb:if condition="$post['field5']=='Nam'">Nam<vb:else /><vb:if condition="$post['field5']=='Nữ'">Nu<vb:else />Chua-ro</vb:if></vb:if>.gif" border="0" alt="{vb:raw post.field5}"></img></dd><p> </div>
<vb:if condition="$post['field2']"><b><font color=#CC66FF
><div class="eti_postbit">Đến từ: {vb:raw post.field2}</div></font></b><b></vb:if><p>
<vb:if condition="$post['field1']"><b><font color=#CC66FF
><div class="eti_postbit">Số điện thoại: {vb:raw post.field1}</div></font></b><p></vb:if><p>
<vb:if condition="$post['field3']"><b><font color=#CC66FF
><div class="eti_postbit">Sở thích: {vb:raw post.field3}</div></font></b><p></vb:if><p>
<vb:if condition="$post['field4']"><b><font color=#CC66FF
><div class="eti_postbit">Nghề Nghiệp: {vb:raw post.field4}</div></font></b><p></vb:if><p>
Em đã add thêm mấy cái pro5 nhưng nó không hiển thị lúc post bài ạ.
Làm sao để chỉnh khung pro5 sang cột dọc ạ :D