| Tiêu đề: View_topic Code Fri Sep 10, 2010 3:39 am |
| | | | | Nếu bạn xài code của mình thì sửa lại như sau: vào View_topic thay tất cả bằng: [code]<script type="text/javascript"> //<![CDATA[ var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" }; $(function(){ _atc.cwait = 0; $('.addthis_button').mouseup(function(){ if ($('#at15s').css('display') == 'block') { addthis_close(); addthis_close(); } }); }); //]]> </script>
<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> <td class="nav" 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="bottom" nowrap="nowrap" width="100%"> <span class="gensmall bold"> <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a> | <script type="text/javascript"> //<![CDATA[ insert_plus_menu('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES}); //]]> </script> </span> </td> </tr> </table>
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr align="right"> <td class="catHead" colspan="3" height="28"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="9%" class="noprint"> </td> <td align="center" class="t-title"><h1 class="cattitle"> <!-- google_ad_section_start -->{TOPIC_TITLE}<!-- google_ad_section_end --></h1></td> <td align="right" width="9%" class="browse-arrows"><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> <!-- BEGIN topicpagination --> <tr> <td class="row1 pagination" colspan="2" align="right" valign="top"><span class="gensmall">{PAGINATION}</span></td> </tr> <!-- END topicpagination --> {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">
<!-- BEGIN-----AVATA --><table cellSpacing="0" cellPadding="0" border="0" style="width:auto"> <td> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_01.png" width="13" height="6" alt=""></td> <td background="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_02.png" width="150" height="6"> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_02.png" width="4" height="6" alt=""></td> <td> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_03.png" width="6" height="6" alt=""></td> </tr>
<tr> <td background="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_04.png" width="13" height="0"> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_04.png" width="13" height="8" alt=""></td> <td> {postrow.displayed.POSTER_AVATAR}</td> <td background="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_06.png" width="6" height="0"> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_06.png" width="6" height="1" alt=""></td> </tr> <tr>
<td> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_07.png" width="13" height="6" alt=""></td> <td background="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_08.png" width="150" height="6"> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_08.png" width="1" height="6" alt=""></td> <td> <img src="http://i292.photobucket.com/albums/mm30/huylordno1/newstyle/huy/bgavatar_09.png" width="6" height="6" alt=""></td> </tr> </table> <!-- ENDE-----AVATA --> <td align="center" width="55%"> <fieldset style="border: 1px dashed rgb(102, 102, 102); width: 180px"><legend><center><strong>.:.<font color="#000000">Thông tin</font>.:.</strong></center></legend> <strong><a name="{postrow.displayed.U_POST_ID}"></a>{postrow.displayed.POSTER_NAME}{postrow.displayed.ONLINE_IMG}</strong>
<span class="smallfont"> {postrow.displayed.POSTER_RANK}
{postrow.displayed.RANK_IMAGE}</span><br>
<td align="left" width="40%"> <img src="http://i84.servimg.com/u/f84/14/04/65/68/sepera10.png" border="0"> </td> <td align="left" width="50%"><span class="smallfont"> <!-- sig --> <div> <fieldset><legend><left><img src="http://diendan.chinhphuc.info/users/2615/25/32/47/smiles/495291.gif" border="0"> Tài sản của{postrow.displayed.POSTER_NAME}</legend> </left> {postrow.displayed.POSTER_FROM} </fieldset></div> <!-- / sig -->
<td align="left" width="40%"><span class="smallfont"> <!-- sig --> <div> <fieldset><legend><left><img src="http://i40.servimg.com/u/f40/11/40/70/67/fav10.png" border="0"> Thông Tin Cá Nhân</legend> </left> <!-- BEGIN profile_field --> {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR} <!-- END profile_field --> </fieldset></div> <!-- / sig -->
{postrow.displayed.POSTER_RPG} </font> </span> </right> <img src="http://2img.net/i/fa/vide.gif" alt="" style="width: 200px; height: 1px;" /></td> </tr></table> </td> </tr> <td width="100%" background="http://i155.photobucket.com/albums/s282/satthuonline/forum/thanhnoi1.png" height="24"> </td> <tr> <td class="alt1" valign="top" width="100%" height="28" colspan="3"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <right><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">
{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;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;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">
<span class="postbody"> <!-- google_ad_section_start --> <div align="left"> <table cellSpacing="0" cellPadding="0" border="0" style="width:auto"> <tr>
</tr>
<td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_10.gif"></td> <td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_11.gif"></td> <td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_12.gif"></td> </tr> <tr> <td valign="top" style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_13.gif"> <img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_14.gif"></td> <td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff">
<br> <div class="postbody"> {postrow.displayed.MESSAGE} </div></div> </td> <td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_15.gif"></td> </tr> <tr> <td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_16.gif"></td> <td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_17.gif"></td> <td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_18.gif"></td>
</tr> <tr>
</tr> </table> </div> <br/> <!-- show chuki--> <fieldset><legend><strong> <span style=width:100;height:30;text-align:center;color:black;filter:glow(color=##56CDE0)>Chữ kí của thành viên <strong>{postrow.displayed.POSTER_NAME}</strong> </span></strong></legend>
{postrow.displayed.SIGNATURE} </div>
</div> <!-- show chuki --> <!-- show inventory --> </span> <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> </div> <!-- END hidden --> <!-- END postrow --> <!-- BEGIN no_post --> <tr align="center"> <td class="row1" colspan="3" height="28"> <span class="genmed">{no_post.L_NO_POST}</span> </td> </tr> <!-- END no_post --> <table class="forumline noprint" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td class="row2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td> <!-- BEGIN topicpagination --> <td class="row1" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td> <!-- END topicpagination --> </tr> <!-- BEGIN switch_user_logged_in --> <!-- BEGIN watchtopic --> <tr> <td class="row2" colspan="2" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td> </tr> <!-- END watchtopic --> <!-- END switch_user_logged_in --> <tr> <td class="row2" colspan="2" align="center" style="padding:0px"> <!-- BEGIN switch_user_logged_in --><font color="green"><b>* 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.<br>Không nên viết toàn tiếng Anh hay tiếng nước ngoài<br><font color="red">-Nếu chèn smilies có vấn đề thì bấm A/a trên phải khung viết bài<br> </b></font> <a name="quickreply"></a> {QUICK_REPLY_FORM}
<!-- 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="row2" valign="top" width="25%"><span class="gensmall">{L_TABS_PERMISSIONS}</span></td> <td class="row1" valign="top" width="75%"><span class="gensmall">{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" align="center"> <tr> <td colspan="2" align="left" valign="top" nowrap="nowrap"> {S_TOPIC_ADMIN}
<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} {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('.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('[Phóng To Ảnh]').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('[Thu Nhỏ Ảnh]').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('[Kích Thước Thật]'); 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 type="text/javascript" src="{JS_DIR}addthis/addthis_widget.js"></script>[/code] Ai thấy đẹp thì cảm ơn nhe:
| | | | |
Hãy cảmơn bài viết của Admin bằng cách bấm vào "" nhé!!! |
| | | |
Trang 1 trong tổng số 1 trang | | .::Host up ảnh miểnphí: Clickhere! - Hướng dẩn sử dụng Diễn đàn:Clickhere!::.
| Permissions in this forum: | Bạn không có quyền trả lời bài viết
| |
| |
| Quảng Cáo | | | |
|