Đăng nhập
Latest topics
» Tôi sẽ đỗ đại học!by NgocPRO 6/11/2024, 8:37 am
» Kỷ niệm xưa của chúng ta
by nightWalker 9/2/2024, 6:49 pm
» Bị lệch khung cần người giúp đỡ
by webhuy28 7/10/2021, 10:34 pm
» [HỎI ĐÁP] Danh sách bạn bè không thể hiển thị
by anhdaodaica1 2/10/2021, 10:04 pm
» [HỎI ĐÁP] Thông tin tài khoản không thể lưu thay đổi
by anhdaodaica1 2/10/2021, 6:05 am
» Phim bố già full
by huy.pc52 24/8/2021, 12:20 am
» Xin code Box HTML cho Forumvi
by Larva 1/7/2021, 12:57 pm
» Hello Anh Em Chinh phục
by HoàngTửNaivip5p 28/5/2021, 5:03 am
» Trang chủ tin tức cập nhật HOT 2016
by kenbi05 1/1/2020, 11:02 pm
» Không Dang9 bài viết = hình ảnh được
by huy.pc52 30/11/2019, 10:52 am
» CHÚC ANH EM NĂM MỚI VUI VẺ TRÀNG ĐẦY HẠNH PHÚC
by sps.kủn 12/2/2019, 1:16 pm
» Skin CNTT-K3 2015 (Full Mod)[✔]
by kenbi05 6/7/2018, 12:30 am
» baivong, handsome,....
by sps.kủn 29/6/2018, 1:54 pm
» [SHARE] SKIN ĐHFM.V7 @PUNBB
by tonyhoaivu 2/5/2018, 2:37 pm
» Share Skin Xanh Dương Cùi Bắp
by tonyhoaivu 28/4/2018, 5:57 pm
» Xin Skin http://v1.hotrofm.net/
by tonyhoaivu 28/4/2018, 5:45 pm
» Xin Skin Rao Vặt
by tonyhoaivu 15/4/2018, 12:07 pm
» Làm Sao Để Xóa Khung Này
by tonyhoaivu 14/4/2018, 7:18 pm
» [Lập nhóm]Lập nhóm fm
by vietkanpy 31/3/2018, 11:53 am
» [Help] về server úp ảnh của phutu [✔]
by baivong 17/3/2018, 10:18 pm
» Đừng khóc cho “tôi – Chinh Phục!”…
by AnHung 27/2/2018, 5:33 pm
» [Share] Skin Diendandaihoc.com [ Punbb ] [✔]
by Lu Mờ 13/2/2018, 7:28 pm
» Mời mấy thím vào groups Forumotion Việt Nam.
by dang02315 13/2/2018, 12:40 am
» Có thể làm các kiểu giao diện được không?
by Lu Mờ 9/2/2018, 3:40 pm
» ltns chinhphuc.info
by Shinichi Kudo 27/1/2018, 2:27 am
Top posting users this week
No user |
[Thắc mắc]bài viết tự động canh giữa
4 posters
Trang 1 trong tổng số 1 trang
[Thắc mắc]bài viết tự động canh giữa
- Code:
<tr>
<td class="nav" valign="middle" width="100%"><img src="http://forum.top1.vn/pink/misc/navbits_start.gif"></img><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a><br />
<img src="http://truongton.net/forum/images/misc/navbits_finallink_ltr.gif"></img><a class="nav"
href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC}</span></td>
<script type="text/javascript">
//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}';
var multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}';
//]]>
</script>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td align="left" valign="middle" nowrap="nowrap">
<span class="nav">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" alt="{L_POST_NEW_TOPIC}" align="middle"
border="0" /></a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" id="i_reply" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
<!-- END switch_user_authreply -->
</span>
</td>
<!-- BEGIN insert_plus_menu -->
<td align="right" valign="bottom" nowrap="nowrap" width="100%">
<span class="smallfont bold">
<script type="text/javascript">
//<![CDATA[
insert_plus_menu('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
</span>
</td>
<!-- END insert_plus_menu -->
</tr>
</table>
<br />
<table class="tborder" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr align="right">
<td class="catHead" colspan="2" height="28">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9%" class="tcat" height="28"></td>
<td align="center" nowrap="nowrap" class="tcat"><!-- google_ad_section_start -->{TOPIC_TITLE}<!--
google_ad_section_end --></td>
<td align="right" nowrap="nowrap" width="9%" class="tcat"><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> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="alt1" colspan="2" align="right" valign="top"><span class="smallfont">{PAGINATION}</span></td>
</tr>
{POLL_DISPLAY}
<!-- BEGIN postrow -->
<!-- BEGIN displayed -->
<table class="tborder" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr><td class="thead" height="20" colspan="3"><span class="smallfont"> <img src="{postrow.displayed.MINI_TIME_IMG}"
alt="" border="0" />{postrow.displayed.POST_DATE}</span></td></tr>
<tr class="post">
<td class="alt2" valign="top" width="200" colspan="3">
<table cellpadding="0" cellspacing="6" border="0" width="100%">
<tr>
<td class="alt2">
<table width="197" border="0" cellspacing="0" cellpadding="0" align="center" style="margin-top:0px;">
<tr>
<td width="36" height="25" background="http://www.fileden.com/files/2009/2/13/2319435/chuan_01.gif"></td>
<td width="143" height="25" background="http://www.fileden.com/files/2009/2/13/2319435/chuan_02.gif"></td>
<td width="18" height="25" background="http://www.fileden.com/files/2009/2/13/2319435/chuan_03.gif"></td>
</tr>
<tr>
<td width="36" height="42" background="http://www.fileden.com/files/2009/2/13/2319435/chuan_04.gif"></td>
<td width="143" height="42" style="background:url(http://www.fileden.com/files/2009/2/13/2319435/statusbgr.gif)" align="center" class="smallfont">
<em id="vbstatus_11698847" style="color:#FEFFB4">{postrow.displayed.POSTER_HUMOR}
</em>
</td>
<td width="18" height="40" background="http://www.fileden.com/files/2009/2/13/2319435/chuan_06.gif"></td>
</tr>
<tr>
<td width="36" height="40" background="http://www.fileden.com/files/2009/2/13/2319435/chuan_07.gif"></td>
<td width="143" height="40" background="http://www.fileden.com/files/2009/2/13/2319435/chuan_08.gif"></td>
<td width="18" height="40" background="http://www.fileden.com/files/2009/2/13/2319435/chuan_09.gif"></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" border="0" style="width:auto">
<td>
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_01.png" width="13" height="6" alt=""></td>
<td background="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_02.png" width="150" height="6">
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_02_news.png" width="4" height="6" alt=""></td>
<td>
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_03.png" width="6" height="6" alt=""></td>
</tr>
<tr>
<td background="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_04.png" width="13" height="0">
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_04_new.png" width="13" height="8" alt=""></td>
<td>
{postrow.displayed.POSTER_AVATAR}</td>
<td background="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_06.png" width="6" height="0">
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_06_news.png" width="6" height="1" alt=""></td>
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_06.png" width="6" height="1" alt=""></td>
</tr>
<tr>
<td>
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_07.png" width="13" height="6" alt=""></td>
<td background="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_08.png" width="150" height="6">
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_08_news.png" width="1" height="6" alt=""></td>
<td>
<img src="http://www.fileden.com/files/2009/2/13/2319435/bgavatar_09.png" width="6" height="6" alt=""></td>
</table>
</td>
<td align="left" width="55%">
<span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong><big><font color ="violet"><b> [Tui là] </b></font></big> <table style="FILTER: glow(color=red, strength=0)"><tr><td align="left"><img src="http://i155.photobucket.com/albums/s282/satthuonline/catl.gif" border="0" alt="" /><b>{postrow.displayed.POSTER_NAME}</b><img src="http://i155.photobucket.com/albums/s282/satthuonline/catr.gif" border="0" alt="" />
</font></td></tr></table></strong> </span><br />
<span class="smallfont">
<strong>{postrow.displayed.POSTER_RANK}</strong><br>
{postrow.displayed.RANK_IMAGE}
</span>
<table cellspacing="0"
cellpadding="0"><tr><td
class="onlinetest">{postrow.displayed.ONLINE_IMG}</td></tr></table>
</td>
<td align="left" width="30%"><span class="smallfont">
<!-- BEGIN profile_field -->
<b>{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
<!-- END profile_field -->
{postrow.displayed.POSTER_RPG}
</b>
</span><br />
<img src="http://www.fileden.com/files/2009/2/13/2319435/vide.gif" alt="" style="width: 150px; height: 1px;" /></td>
</tr></table>
</td>
</tr>
<td height="27" width=100% background="http://www.fileden.com/files/2009/2/13/2319435/p310.gif" colspan=3>
</td>
<tr>
<td class="alt1" valign="top" width="100%" height="28" colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="smallfont"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}"
title="{postrow.displayed.L_MINI_POST_ALT}" border="0" />{L_POST_SUBJECT}: {postrow.displayed.POST_SUBJECT}</span></td>
<td align="right" valign="top" nowrap="nowrap" class="post-options">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" nowrap="nowrap">
<!--start post cảm ơn you hack-->
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall">
<!-- BEGIN switch_vote -->
<div class="vote-button"><a class="thumbnail" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://www.fileden.com/files/2009/2/13/2319435/post_thanks_you_hack.gif" id="Thanks button" border="0" alt="Cảm ơn người này" vspace="1" /></a>
</a>
</div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall">
<!-- BEGIN switch_vote -->
<div class="vote-button">
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"></a></div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
<!--end post cảm ơn you hack-->
{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG} {postrow.displayed.WWW_IMG}
{postrow.displayed.AIM_IMG} {postrow.displayed.YIM_IMG} {postrow.displayed.MSN_IMG} {postrow.displayed.SKYPE_IMG}
<script type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp; navigator.userAgent.indexOf('5.') == -1 &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;
navigator.userAgent.indexOf('6.') == -1 ) {
document.write('{postrow.displayed.ICQ_IMG}');
} else {
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div
style="position:absolute">{postrow.displayed.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.displayed.ICQ_STATUS_IMG}</div></div>');
}
//-->
</script>
<noscript>{postrow.displayed.ICQ_IMG}</noscript>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="hr">
<hr />
</td>
</tr>
<tr>
<td colspan="2"><!-- google_ad_section_start --><tr>
<td colspan="2">
<!-- google_ad_section_start -->
<table cellSpacing="0" cellPadding="0" border="0" style="width:auto">
<tr>
<td style="padding: 0px"><img src="http://www.fileden.com/files/2009/2/13/2319435/admin_10.gif"></td>
<td style="padding: 0px" background="http://www.fileden.com/files/2009/2/13/2319435/admin_11.gif"></td>
<td style="padding: 0px"><img src="http://www.fileden.com/files/2009/2/13/2319435/admin_12.gif"></td>
</tr>
<tr>
<td valign="top" style="padding: 0px" background="http://www.fileden.com/files/2009/2/13/2319435/admin_13.gif">
<img src="http://www.fileden.com/files/2009/2/13/2319435/admin_14.gif"></td>
<td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff">
<!-- google_ad_section_start -->
<center><strong>
<div class="postbody">{postrow.displayed.MESSAGE}</div><!-- google_ad_section_end -->
</td>
<td style="padding: 0px" background="http://www.fileden.com/files/2009/2/13/2319435/admin_15.gif"></td>
</tr>
<tr>
<td style="padding: 0px"><img src="http://www.fileden.com/files/2009/2/13/2319435/admin_16.gif"></td>
<td style="padding: 0px" background="http://www.fileden.com/files/2009/2/13/2319435/admin_17.gif"></td>
<td style="padding: 0px"><img src="http://www.fileden.com/files/2009/2/13/2319435/admin_18.gif"></td>
</tr>
</table>
<p align="center">
<!-- google_ad_section_end -->
<span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>
</td>
</tr></p>
</table>
<div align="right" width="100%">{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>
</td>
</tr>
</table><br />
<!-- END displayed -->
<!-- BEGIN hidden -->
<table class="tborder" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="postdetails {postrow.hidden.ROW_CLASS}" colspan="2" align="center">{postrow.hidden.MESSAGE}</td>
</tr></table><br />
<!-- END hidden -->
<!-- END postrow -->
<!-- BEGIN no_post -->
<table class="tborder" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr align="center">
<td class="alt1" colspan="2" height="28">
<span class="smallfont">{no_post.L_NO_POST}</span>
</td>
</tr></table>
<!-- END no_post -->
<table class="tborder" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr align="right">
<td class="tfoot" colspan="2" height="28">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9%"></td>
<td align="center" nowrap="nowrap"><a name="bottomtitle"></a><h1 class="cattitle">{TOPIC_TITLE}</h1></td>
<td align="right" nowrap="nowrap" width="9%"><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> </td>
</tr>
</table>
</td>
</tr>
</table>
<table class="tborder" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="alt2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="smallfont">{PAGE_NUMBER}</span></td>
<!-- BEGIN topicpagination -->
<td class="alt1" align="right" valign="top"><span class="smallfont">{PAGINATION}</span></td>
<!-- END topicpagination -->
</tr>
<!-- BEGIN switch_user_logged_in -->
<!-- BEGIN watchtopic -->
<tr>
<td class="alt2" colspan="2" align="right" valign="top"><span class="smallfont">{S_WATCH_TOPIC}</span></td>
</tr>
<!-- END watchtopic -->
<!-- END switch_user_logged_in -->
<tr>
<td class="alt2" colspan="2" align="center" style="padding:0px">
<!-- BEGIN switch_user_logged_in -->
<font size="2" face="tahoma" color="green"><center>* Viết tiếng Việt có dấu, là tôn trọng người đọc.<br />
* Chia sẻ bài sưu tầm có ghi rõ nguồn, là tôn trọng người viết.<br />
* Thực hiện những điều trên, là tôn trọng chính mình.</font></center>
<font size="2" face="tahoma" color="red"><b>-Khi post nhiều hơn 5 hình phải để trong spoiler(Other=>Spoiler)</font>
<a name="quickreply"></a>
{QUICK_REPLY_FORM}<br/>
<!-- END switch_user_logged_in -->
</td>
</tr>
<tr>
<td style="margin:0; padding: 0;" colspan="2">
<table border="0" cellpadding="0" width="100%" cellspacing="0" id="info_open" style="display:''">
<tbody>
<!-- BEGIN show_permissions -->
<tr>
<td class="alt2" valign="top" width="25%"><span class="smallfont">{L_TABS_PERMISSIONS}</span></td>
<td class="alt1" valign="top" width="75%"><span class="smallfont">{S_AUTH_LIST}</span></td>
</tr>
<!-- END show_permissions -->
<tr>
<td class="tfoot" colspan="2" height="28">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a
class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
<!-- BEGIN show_permissions -->
<td align="right" valign="middle"><span class="smallfont"><a
href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
<!-- END show_permissions -->
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="margin:0; padding: 0;" colspan="2">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="info_close" style="display:none;">
<tbody>
<tr>
<td class="tfoot" colspan="2" height="28">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a
class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
<td align="right" valign="middle"><span class="smallfont"><a
href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<form action="{S_JUMPBOX_ACTION}" method="get" name="jumpbox" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td align="left" valign="middle" nowrap="nowrap" {WIDTH_GALLERY}>
<span class="nav">
<!-- BEGIN switch_user_authpost -->
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}Newtopic" alt="{L_POST_NEW_TOPIC}"
align="middle" border="0" /></a>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
<!-- END switch_user_authreply -->
</span>
</td>
<!-- BEGIN viewtopic_bottom -->
<td align="right" nowrap="nowrap"><span class="smallfont">{L_JUMP_TO}: {S_JUMPBOX_SELECT} <input class="liteoption" type="submit"
value="{L_GO}" /></span></td>
<!-- END viewtopic_bottom -->
<!-- BEGIN moderation_panel -->
<td align="center">
<span class="smallfont">{moderation_panel.U_YOUR_PERSONAL_MODERATE}</span>
</td>
<td align="center" width="250">
<span class="smallfont"> </span>
</td>
<!-- END moderation_panel -->
</tr>
</table>
</form>
<!-- BEGIN viewtopic_bottom -->
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td colspan="2" align="left" valign="top" nowrap="nowrap"><br />{S_TOPIC_ADMIN}<br />
<form name="action" method="get" action="{S_FORM_MOD_ACTION}">
<input type="hidden" name="t" value="{TOPIC_ID}" />
<input type="hidden" name="sid" value="{S_SID}" />
<span class="gen">{L_MOD_TOOLS}<br />{S_SELECT_MOD} <input class="liteoption" type="submit" value="{L_GO}" /></span>
</form>
</td>
</tr>
</table>
<!-- END viewtopic_bottom -->
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(function(){
$('.postbody img').not('.signature_div img').css('display','none');
});
$(window).load(function(){
$('.postbody img')
.not('div.signature_div img')
.each(function(){
if ( ( $(this).width() > {switch_image_resize.IMG_RESIZE_WIDTH} && {switch_image_resize.IMG_RESIZE_WIDTH} != 0 ) || ( $(this).height() > {switch_image_resize.IMG_RESIZE_HEIGHT} && {switch_image_resize.IMG_RESIZE_HEIGHT} != 0 ) ) {
$(this)
.before(document.createElement('div'))
.prev()
.click(function(){
return false;
})
.addClass('resizebox gensmall clearfix')
.append(document.createElement('div'))
.children()
.addClass('resize_border clearfix')
.append(document.createElement('div'))
.children()
.addClass('resize_content clearfix')
.append(document.createElement('a'))
.children()
.addClass('enlarge')
.attr('href', '#')
.text('{switch_image_resize.L_IMAGE_ENLARGE}')
.focus(function(){
$(this).blur();
})
.click(function(){
$(this).parent().parent().parent().next().css('display','none').attr('resizeWidth', $(this).parent().parent().parent().next().width()).width('');
$(this).parent().parent().parent().next().width($(this).parent().parent().parent().next().width() > ($('html').attr('dir') != 'rtl' ? $(this).closest('td').width() - $(this).parent().parent().parent().offset().left + $(this).closest('td').offset().left : $(this).parent().parent().parent().width() + $(this).parent().parent().parent().offset().left - $(this).closest('td').offset().left) ? $('html').attr('dir') != 'rtl' ? $(this).closest('td').width() - $(this).parent().parent().parent().offset().left + $(this).closest('td').offset().left : $(this).parent().parent().parent().width() + $(this).parent().parent().parent().offset().left - $(this).closest('td').offset().left : '').css('display','inline');
$(this).css('display','none').next('a.resize').css('display','inline-block');
$(this).parent().parent().parent().width('').width($(this).parent().parent().parent().next().width());
return false;
})
.parent()
.append(document.createElement('a'))
.children()
.next()
.addClass('resize')
.attr('href','#')
.text('{switch_image_resize.L_CLICK_TO_RESIZE}')
.click(function(){
$(this).parent().parent().parent().next().width(parseInt($(this).parent().parent().parent().next().attr('resizeWidth'))).removeAttr('resizeWidth');
$(this).css('display','none').prev('a.enlarge').css('display','inline-block');
$(this).parent().parent().parent().width('').width($(this).parent().parent().parent().next().width());
return false;
})
.parent()
.append(document.createElement('div'))
.children('a.resize')
.next()
.addClass('resize_filler')
.text(' ')
.parent()
.append(document.createElement('a'))
.children('div.resize_filler')
.next()
.addClass('fullsize')
.attr('href','#')
.click(function(){
window.open('/viewimage.forum?u=' + encodeURIComponent($(this).parent().parent().parent().next().attr('src')));
return false;
})
.attr('target', '_blank')
.text('{switch_image_resize.L_CLICK_TO_SEE_FULLSIZE}');
if ($(this).width() > ($('html').attr('dir') != 'rtl' ? $(this).closest('td').width() - $(this).prev().offset().left + $(this).closest('td').offset().left : $(this).prev().width() + $(this).prev().offset().left - $(this).closest('td').offset().left)){
$(this).prev().find('a.fullsize').attr('href','/viewimage.forum?u=' + encodeURIComponent($(this).attr('src'))).css('display', 'inline-block');
}
$(this).width($(this).width() * ( ( {switch_image_resize.IMG_RESIZE_WIDTH} != 0 && ( {switch_image_resize.IMG_RESIZE_HEIGHT} == 0 || $(this).width() / $(this).height() > {switch_image_resize.IMG_RESIZE_WIDTH} / {switch_image_resize.IMG_RESIZE_HEIGHT} ) )
? {switch_image_resize.IMG_RESIZE_WIDTH} / $(this).width()
: {switch_image_resize.IMG_RESIZE_HEIGHT} / $(this).height() ) )
.css('display','inline')
.prev().width($(this).width());
}
})
.css('display','inline');
});
//]]>
</script>
<!-- END switch_image_resize -->
<script>window.onload = function resizeImagesForumotion()
{
if (document.images.length > 0)
{
var maxWidth =700;
var imgHeight;
var imgWidth;
for (var i = 0; i < document.images.length; i++)
{
imgWidth = document.images[i].width;
imgHeight = document.images[i].height;
if (document.images[i].width > maxWidth && document.images[i].src != "http://i81.servimg.com/u/f81/14/01/69/16/banner14.jpg") {
image = new Image();
image = document.images[i];
newImage = image.cloneNode( true ) ;
newImage.origHeight = image.height;
newImage.origWidth = image.width;
newImage.width = maxWidth ;
imgHeight = imgHeight / (imgWidth/ maxWidth );
newImage.height = imgHeight;
newImage.style.cursor = 'pointer';
if( image.outerHTML )
{
newImage.onclick = "var altHeight; var altWidth; altHeight = this.height ; altWidth = this.width; this.width = this.origWidth; this.height = this.origHeight; this.origWidth = altWidth; this.origHeight = altHeight; ";
} else {
newImage.onclick = function () {
var altHeight;
var altWidth;
altHeight = this.height ;
altWidth = this.width;
this.width = this.origWidth;
this.height = this.origHeight;
this.origWidth = altWidth;
this.origHeight = altHeight;
};
}
if( parentNode = image.parentNode )
{
textMessage = document.createTextNode(' Hình ảnh đã được thu nhỏ, click vào để xem với kích thước thật');
elem = document.createElement("td");
elem.setAttribute( "align", "center");
elem.style.backgroundColor = '#FFFFCC';
elem.style.color = '#000';
elem.style.fontSize = '10pt';
elem.appendChild( textMessage );
elem.appendChild( document.createElement("br"));
elem.appendChild( newImage );
tableRow = document.createElement("tr");
tableRow.appendChild(elem);
TableElem = document.createElement("table");
TableElem.setAttribute( "border", "0");
TableElem.appendChild( tableRow );
frag = document.createElement("div");
frag.appendChild( TableElem );
if( image.outerHTML )
{
image.outerHTML = frag.innerHTML;
} else {
parentNode.replaceChild( TableElem, image );
}
}
} }
}
} </script>
đây là viewtopic_body của e lấy từ 1 bài nào đó,khi sử dụng viewtopic_body này thì bài viết trong 4rum tự động canh giữa.
Em ko rành nên ko dám tự ý chỉnh lại,mong các anh giúp dùm
Re: [Thắc mắc]bài viết tự động canh giữa
- Code:
<!-- google_ad_section_start -->
<center><strong>
<div class="postbody">{postrow.displayed.MESSAGE}</div><!-- google_ad_section_end -->
Re: [Thắc mắc]bài viết tự động canh giữa
dạ thưa cái này e lấy của ng ta,ng ta thix thì làm con e xài chùa không thix thì phải bỏ chớ saoViệt K đã viết:chỗ này thấy mở chứ không thấy đóng code - đã đặt <center> sao còn không muốn căn giữa vậy đặt làm gì
- Code:
<!-- google_ad_section_start -->
<center><strong>
<div class="postbody">{postrow.displayed.MESSAGE}</div><!-- google_ad_section_end -->
dù sao cũng cảm ơn
Re: [Thắc mắc]bài viết tự động canh giữa
hikari đã viết:dạ thưa cái này e lấy của ng ta,ng ta thix thì làm con e xài chùa không thix thì phải bỏ chớ saoViệt K đã viết:chỗ này thấy mở chứ không thấy đóng code - đã đặt <center> sao còn không muốn căn giữa vậy đặt làm gì
- Code:
<!-- google_ad_section_start -->
<center><strong>
<div class="postbody">{postrow.displayed.MESSAGE}</div><!-- google_ad_section_end -->
dù sao cũng cảm ơn
xài chùa cũng phải biết fix chứ e ))
Similar topics
» cần giúp đỡ về canh giũa cái ADS
» Tất cả canh giữa! không biết hỏi ai! nên phải nhờ anh chị lần nữa!
» giúp em canh giữa cái quãng cáo này dùm
» Mọi người giúp mình canh giữa các nút lệnh ở dòng trên cùng với?
» Lỗi canh lề của forum
» Tất cả canh giữa! không biết hỏi ai! nên phải nhờ anh chị lần nữa!
» giúp em canh giữa cái quãng cáo này dùm
» Mọi người giúp mình canh giữa các nút lệnh ở dòng trên cùng với?
» Lỗi canh lề của forum
Trang 1 trong tổng số 1 trang
Permissions in this forum:
Bạn không có quyền trả lời bài viết