Quên mật khẩu?

Ẩn quảng cáo - Esc
 » Thủ Thuật Tổng Hợp » Thủ Thuật Dành Cho Forum » Code [Code] View topic body đẹp cho AE đây !

Thích bài này? Bài trướcBài sau

Admin Tuấn Đẹp Trai

Sun Apr 06, 2014 2:44 pm

#1
  • Admin Tuấn Đẹp Trai

Admin Tuấn Đẹp Trai



http://bossgame4v.forumvi.com/
Gia nhập : 20/03/2014
Tổng số bài gửi : 10
Đồng vàng : 10018351
Cảm ơn : 0
VIP [Code] View topic body đẹp cho AE đây !

Code đây :






<script>$(function () {$.ajax({url: "/feed/?f={FORUM_ID}",success: function (a) {$(".post-entry:first").after('<ul id="cungchuyenmuc"><a href="/f{FORUM_ID}-forum" style="color:#333;text-decoration:none!important;font:bold 13px tahoma">Bài viết cùng chuyên mục :</a><div style="height:1px;background:url(https://i.servimg.com/u/f16/16/18/15/10/113.png)repeat-x left;margin:10px 0px;width:97%"></div>');22 < $(a).find("title").length ? so = 22 : so = $(a).find("title").length;for (i = 2; i < so; i++)$('<li><span><a href="' + $(a).find("link:eq(" + i + ")").text() + '">' + $(a).find("title:eq(" + i + ")").text() + "</a></span></li>").appendTo("#cungchuyenmuc")}})});$(function () {$('body').keyup(function (event) {if (event.keyCode == 39) {window.location.href = document.getElementById('tprev').firstChild.getAttribute('href');}if (event.keyCode == 37) {window.location.href = document.getElementById('tnext').firstChild.getAttribute('href');}});});</script>
 
<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();
      }
  });
});
  var code="Copyright By notme. Edit by IceFox";
  function level(Posts,Coins,Thanked){var d=(Posts*20+Coins*15);var e=(d/1500);var f=Math.floor((e-Math.floor(e))*100);var g=Math.floor(e+parseInt(1));if(g<2){(g="1 [<img src='http://img.zing.vn/union/client/gunny/level-image/1.png'>]")};if(g<3){(g="2 [<img src='http://img.zing.vn/union/client/gunny/level-image/2.png'>]")};if(g<4){(g="3 [<img src='http://img.zing.vn/union/client/gunny/level-image/3.png'>]")};if(g<5){(g="4 [<img src='http://img.zing.vn/union/client/gunny/level-image/4.png'>]")};if(g<6){(g="5 [<img src='http://img.zing.vn/union/client/gunny/level-image/5.png'>]")};if(g<7){(g="6 <img src='http://img.zing.vn/union/client/gunny/level-image/6.png'>")}; if(g<8){(g="7 <img src='http://img.zing.vn/union/client/gunny/level-image/7.png'>]")};if(g<9){(g="8 <img src='http://img.zing.vn/union/client/gunny/level-image/8.png'>]")};if(g<10){(g="9 <img src='http://img.zing.vn/union/client/gunny/level-image/9.png'>]")};if(g<11){(g="10 <img src='http://img.zing.vn/union/client/gunny/level-image/10.png'>]")};if(g<12){(g="11 <img src='http://img.zing.vn/union/client/gunny/level-image/11.png'>]")};if(g<13){(g="12 <img src='http://img.zing.vn/union/client/gunny/level-image/12.png'>]")};if(g<14){(g="13 <img src='http://img.zing.vn/union/client/gunny/level-image/13.png'>]")};if(g<15){(g="14 <img src='http://img.zing.vn/union/client/gunny/level-image/14.png'>]")};if(g<16){(g="15 <img src='http://img.zing.vn/union/client/gunny/level-image/15.png'>]")};if(g<17){(g="16 <img src='http://img.zing.vn/union/client/gunny/level-image/16.png'>]")};if(g<18){(g="17 <img src='http://img.zing.vn/union/client/gunny/level-image/17.png'>]")};if(g<19){(g="18 <img src='http://img.zing.vn/union/client/gunny/level-image/18.png'>]")};if(g<20){(g="19 <img src='http://img.zing.vn/union/client/gunny/level-image/19.png'>]")};if(g<21){(g="20 <img src='http://img.zing.vn/union/client/gunny/level-image/20.png'>]")};if(g<22){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/21.png'>]")};if(g<23){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/22.png'>]")};if(g<24){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/23.png'>]")};if(g<25){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/24.png'>]")};if(g<26){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/25.png'>]")};if(g<27){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/26.png'>]")};if(g<28){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/27.png'>]")};if(g<29){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/28.png'>]")};if(g<30){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/29.png'>]")};if(g<31){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/30.png'>]")};if(g<32){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/31.png'>]")};if(g<33){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/32.png'>]")};if(g<34){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/33.png'>]")};if(g<35){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/34.png'>]")};if(g<36){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/35.png'>]")};if(g<37){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/36.png'>]")};if(g<38){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/37.png'>]")};if(g<39){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/38.png'>]")};if(g<40){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/39.png'>]")};if(g<41){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/40.png'>]")};if(g<42){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/41.png'>]")};if(g<43){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/42.png'>]")};if(g<44){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/43.png'>]")};if(g<45){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/44.png'>]")};if(g<46){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/45.png'>]")};if(g<47){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/46.png'>]")};if(g<48){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/47.png'>]")};if(g<49){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/48.png'>]")};if(g<50){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/49.png'>]")};if(g<51){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/50.png'>]")};if(g<52){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/51.png'>]")};if(g<50){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/52.png'>]")};if(g<54){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/49.png'>]")};if(g<55){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/54.png'>]")};if(g<56){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/55.png'>]")};if(g<57){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/56.png'>]")};if(g<58){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/57.png'>]")};if(g<59){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/58.png'>]")};if(g<60){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/59.png'>]")};if(60<g){(g="21 <img src='http://img.zing.vn/union/client/gunny/level-image/60.png'>]")&&(f="60")};var h=(Math.floor((Thanked*10)+(Posts*2)+(Coins*1)));if(h>8000){h=8000};if(d>25000){(d=25000)};var i=(Math.floor((h/8000)*100)-2);var j=(Math.floor((d/25000)*100)-2);document.write('<fieldset style="padding:4px;width: 140px;border: 0px solid #D4D4D4;color: gray;font-size: 7pt;border-radius: 2px;border:1px solid #000;"><legend><font color="red"><span style="font-size: 0px;" class="lv '+g+' "><b><img src="https://i.servimg.com/u/f16/17/22/61/18/lv10.png">'+g+'</b></span></font></legend><b><font color=red> Lực Chiến : '+d+' / 25000</font></b><div class="strengthbg"><div class="strengthbg2"><fieldset style="padding: 1px;border: 1px solid #666;border-radius: 3px 3px 3px 3px;"><img src="/users/2211/12/43/96/album/orange10.gif" width="'+j+'%" title="'+d+'" height="9px"><img src="/users/2211/12/43/96/album/hp1010.gif" width="2px" title="'+d+'" height="9px"></fieldset></div></div><b><font color=green> Phòng Thủ : '+h+' / 8000</font></b><div class="abilitybg"><div class="abilitybg2"><fieldset style="padding: 1px;border: 1px solid #666;border-radius: 3px 3px 3px 3px;"><img src="/users/2211/12/43/96/album/green110.gif" width="'+i+'%" title="'+h+'" height="9px"><img src="/users/2211/12/43/96/album/mp1010.gif" width="2px" title="'+h+'" height="9px"></fieldset></div></div><font color=RoyalBlue1> <b>Kinh nghiệm : '+f+'%</b></font><div class="expbg"><div class="expbg2"><fieldset style="padding: 1px;border: 1px solid #666;border-radius: 3px 3px 3px 3px;"><img src="/users/2211/12/43/96/album/blue10.gif" width="'+(f-1)+'%" title="'+(f)+'%" height="9px"><img src="/users/2211/12/43/96/album/exp1010.gif" width="2px" title="'+(f)+'%" height="9px"></fieldset></div></div></fieldset>')};
//]]>
</script>
<!-- BEGIN switch_user_logged_out -->
 
    <!-- END switch_user_logged_out -->
 
 
<div class="main paged">
   <div class="clearfix">
      <!-- BEGIN topicpagination -->
      <p class="paging">{PAGINATION}</p>
      <!-- END topicpagination -->
    <p class="posting">
                                    <!-- BEGIN switch_user_authpost -->
                                    <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>&nbsp;&nbsp;
                                    <!-- END switch_user_authpost -->
 
                                    <!-- BEGIN switch_user_authreply -->
                                    <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
                                    <!-- END switch_user_authreply -->
                        </p>
  </div>{POLL_DISPLAY}<br />
   <div class="main-head clearfix">
      <p class="h2">
                  <a href="#bottom">{L_GOTO_DOWN}</a>{L_MESSAGE} [{PAGE_NUMBER}]</p>
         
         
       
         
         
         
         
     
      
    
  </div><br/>
 
   <div class="main-content-topic2">
      <!-- BEGIN postrow -->
            <div class="main-content-topic">
      <!-- BEGIN displayed -->
 
<meta name="keywords" content="{postrow.displayed.POST_SUBJECT}" />
            <span class="baigui" style="display:none">{postrow.displayed.COUNT_POSTS}</span>
       
      <div class="post" {postrow.displayed.THANK_BGCOLOR}>
                 <a name="{postrow.displayed.U_POST_ID}"></a>{postrow.displayed.POSTER_NAME}
         <div class="postmain" {postrow.displayed.THANK_BGCOLOR}>
            <div id="p{postrow.displayed.U_POST_ID}" class="posthead" {postrow.displayed.THANK_BGCOLOR}>
               <h2>
                  <strong>{postrow.displayed.COUNT_POSTS}</strong> {postrow.displayed.ICON}
                  <a href="{postrow.displayed.POST_URL}">{postrow.displayed.POST_SUBJECT}</a>
               </h2>
            </div>
               
            <div class="postbody" {postrow.displayed.THANK_BGCOLOR}>
               <div class="user">
                  <div class="user-ident" id="userinfo{postrow.displayed.U_POST_ID}" style="position: relative;">
                  
                    <div class="writer">{postrow.displayed.POSTER_NAME}</div>    
                  
                     <div onmouseover="show_user({postrow.displayed.U_POST_ID})" onmouseout="hide_user({postrow.displayed.U_POST_ID})" class="userInfoF">
                                                          <div class="useravatar" style="float: left;">{postrow.displayed.POSTER_AVATAR}</div>
                                                               
                        <div class="user-info">
                           <div class="manuUserF">
                                                                          <strong><span class="tennick">{postrow.displayed.POSTER_NAME}</span></strong>
                              <span class="fmviOnoff">{postrow.displayed.ONLINE_IMG}</span>                             
                           </div>
                           <dl class="cl" style="float:right; width: 370px;">
                           
                              <!-- BEGIN profile_field -->
                             <span class="khung">
                              <dt>{postrow.displayed.profile_field.LABEL}</dt>
                              <dd>{postrow.displayed.profile_field.CONTENT}</dd>
                             </span>
                              <!-- END profile_field -->
                           </dl>
                           <div>
                             <br />
                              <span style="color:blue">Phương châm:</span>
                              <marquee class="status"></marquee>
                           </div>
                           <div class="morelink">
                              <a target="_blank" class="Upro5"><img alt="Tường nhà" src="https://i.servimg.com/u/f48/16/58/89/73/profil10.png" />Tường nhà</a>
                              <a target="_blank" class="Utopic"><img alt="Xem bài viết" src="https://i.servimg.com/u/f48/16/58/89/73/total_10.gif" />Bài viết</a>
                              <a target="_blank" class="Ufrien"><img alt="Kết bạn" src="https://i.servimg.com/u/f48/16/58/89/73/friend10.png" />Kết bạn</a>
                              <a target="_blank" class="Umoney"><img alt="Tài sản" src="https://i.servimg.com/u/f48/16/58/89/73/table_10.png" />Tài sản</a>
                           </div>
                        </div>
                     </div>
                     <div class="user-basic-info">
                        <div onmouseover="show_user({postrow.displayed.U_POST_ID})" class="useravatar" style="padding: 15px 0 15px 9px">{postrow.displayed.POSTER_AVATAR}</div>
<fieldset style="border: 1px solid; margin: 5px; padding: 5px 10px;"><legend>Danh hiệu</legend><font size="4" face="Times New Roman"><b><font size="3" color="#ffffff" style="text-shadow: 0px 0px 6px rgb(800, 0, 100), 0px 0px 5px rgb(800, 0,100), 0px 0px 5px rgb(800, 0,100);"><marquee scrollamount="4">{postrow.displayed.POSTER_RANK_NEW}</marquee></font></b></font></fieldset>
                       <p class="rankimg" style="padding:4px;">{postrow.displayed.RANK_IMAGE}</p>
                   
       <div class="thanhlv1">
 
                                                  <script>level(<!-- BEGIN profile_field -->'{postrow.displayed.profile_field.CONTENT}',<!-- END profile_field -->1);</script>
                                            </div>
           
 
                      
     
 
                     </div>
                  </div>
               </div>
               <div class="post-entry"><h3 class="psth xs1"> </h3>
                  <div class="entry-content">
                                                  <div>
                                                    <div class="quotene">{postrow.displayed.MESSAGE}</div>
                        <!-- BEGIN switch_attachments -->
                        <dl class="attachbox">
                           <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
                           <dd>
                              <!-- BEGIN switch_post_attachments -->
                              <dl class="file">
                                 <dt>
                                    <img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}"
                                    />
                                    <!-- BEGIN switch_dl_att -->
                                    <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a>{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
                                    <!-- END switch_dl_att -->
                                    <!-- BEGIN switch_no_dl_att -->{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT}
                                    {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
                                    <!-- END switch_no_dl_att -->
                                 </dt>
                                 <!-- BEGIN switch_no_comment -->
                                 <dd>
                                    <em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
                                 </dd>
                                 <!-- END switch_no_comment -->
                                 <!-- BEGIN switch_no_dl_att -->
                                 <dd>
                                    <em>
                                       <strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong>
                                    </em>
                                 </dd>
                                 <!-- END switch_no_dl_att -->
                                 <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE})
                                    {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
                              </dl>
                              <!-- END switch_post_attachments -->
                           </dd>
                        </dl>
                        <!-- END switch_attachments -->
                        <div class="clear"></div>
                                                  </div>
                  </div>
                                        </div>
                                  </div>
            <!-- BEGIN switch_signature -->
           <div class="sig-content"><center><div style="width:450px;padding-left:8px;padding-right:55px;m"><marquee behavior="scroll" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="1" scrolldelay="15" direction="left" truespeed="truespeed"><nobr align="center" class="tann"><a href="http://www.clubgame9x.com/t2029-topic"><font color="red">Tuyển Mod Cho Diễn Đàn Clubgame9x Đợt III </font></a></nobr></marquee></div></center>{postrow.displayed.SIGNATURE_NEW}</div>
            <!-- END switch_signature -->
      <div class="postfoot">
                  <div class="user-contact">
                    {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} <!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
                  </div>
                       
               <div class="post-options">
            <div style="float: left; left:153px;position:absolute;top:1px;margin-top:7px;">
    <!-- BEGIN switch_vote_active -->
       <div class="vote vote-button" title="Thích bài viết này">
          <!-- BEGIN switch_vote -->
       <a target="v{postrow.displayed.U_POST_ID}" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" alt="c3zplus" class="c3zplus lvote"><span style="margin-left: 7px; color: #3B5998;font-size:12px;font-family: Verdana,Arial,Helvetica,sans-serif;">Like</span></a>
          <!-- END switch_vote -->
       </div>
       <div class="vote vote-button" title="Không thích bài viết này">
          <!-- BEGIN switch_vote -->
        <a target="v{postrow.displayed.U_POST_ID}" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}" alt="c3zminus" class="c3zminus lvote"><span style="margin-left: 7px; color: #3B5998;font-size:12px;font-family: Verdana,Arial,Helvetica,sans-serif;">Dislike</span></a>
         <!-- END switch_vote --></div><div id="v{postrow.displayed.U_POST_ID}" class="loadding" style="display: none"><img src="https://i.servimg.com/u/f43/16/03/04/56/icon_l12.gif"> Đang Vote (^_^)^^! </div>
                                                <!-- END switch_vote_active -->
                                                </div>
                                  <span class="options-button">{postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG}
                  {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG}
                                                  {postrow.displayed.REPORT_IMG}</span>
                                         
                                          </div>
               <div style="clear:both;"></div>
            </div>
         </div>
     
                          
                          <p style="border-bottom: 1px solid #ddd;">
                        <div class="hihi clearfix" style="background-color: #fff;"><font color="black">
<!-- BEGIN switch_vote_active -->       
   <iframe name="v{postrow.displayed.U_POST_ID}" class="ajaxvote" style="display:none"></iframe>  
<!-- BEGIN switch_no_bar -->
   <span class="c3zvau v{postrow.displayed.U_POST_ID}" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">{postrow.displayed.switch_vote_active.L_VOTE_TITLE}</span>
 <!-- END switch_no_bar -->
<!-- BEGIN switch_bar -->
   <span class="c3zvau v{postrow.displayed.U_POST_ID}" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">{postrow.displayed.switch_vote_active.L_VOTE_TITLE}</span>
 <!-- END switch_bar -->
   <!-- END switch_vote_active -->
<div style="float:right;font-weight:bold;text-align:right"><span class="ost"><strong>#{postrow.displayed.COUNT_POSTS}</strong> - <a href="#" onclick="link_bbcode();return false">BBCode</a></span> <a target="blank" class="share" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">Chia sẻ</a><div align="center" style="width:600px;display:none; padding-top:6px" ></div></div> 
             
                          </font></div>  </span>
                          
                  </div>
                 
   </div>
                   
       
      
                <!-- END displayed -->
             
      <!-- END postrow -->
            </div>
 
 
 
   <div class="main-foot clearfix">
      <p class="h2">
         <a href="#top">{L_BACK_TO_TOP}</a>{L_MESSAGE} [{PAGE_NUMBER}]</p>
      <p class="options options-button">
         <input type="hidden" name="t" value="{TOPIC_ID}" />
         <!-- <input type="hidden" name="sid" value="{S_SID}" />-->
         <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
         <!-- BEGIN viewtopic_bottom -->{S_TOPIC_ADMIN}
         <!-- END viewtopic_bottom -->
      </p>
   </div>
  <a name="bottomtitle"></a><br />
   <div class=" clearfix">
      <!-- BEGIN topicpagination -->
      <p class="paging">{PAGINATION}</p>
      <!-- END topicpagination -->
      <p class="posting">
                                    <!-- BEGIN switch_user_authpost -->
                                    <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_CLASS}" alt="{L_POST_NEW_TOPIC}" /></a>&nbsp;&nbsp;
                                    <!-- END switch_user_authpost -->
 
                                    <!-- BEGIN switch_user_authreply -->
                                    <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
                                    <!-- END switch_user_authreply -->
                        </p>
   </div>
</div>
     <div class="main" style="border:1px solid #000;padding:none;">
  
       </div>
 
<!-- BEGIN switch_forum_rules -->
<div class="main" id="forum_rules">
   <div class="main-head clearfix">
      <p class="h2">{L_FORUM_RULES}</p>
   </div>
   <table class="main-content frm">
      <tr>
         <!-- BEGIN switch_forum_rule_image -->
         <td class="logo">
            <img src="{RULE_IMG_URL}" />
         </td>
         <!-- END switch_forum_rule_image -->
         <td class="rules entry-content">
            {RULE_MSG}
         </td>
      </tr>
   </table>
</div>
<!-- END switch_forum_rules -->
  <!-- BEGIN switch_user_logged_in -->
 
 
    <a name="quickreply"></a>
 
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->
 
<div class="fmviToggle" style="width: 336px">
    <div class="main">
        <div class="main-head clearfix"  style="background-color: brown ;border: 1px solid #DDD;box-shadow:-3px 3px 3px #c8c8c8;">         
          <p class="h2" style="width: 220px !important">Quyền hạn của bạn:</p>
        </div>
        <div id="onlinelist" style="border: 1px solid #DDD;box-shadow:-3px 3px 3px #c8c8c8;">{S_AUTH_LIST}
        </div>
    </div>
</div>
 
    <span class="options-button">{postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG}
                                                                        {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG}
                                                  {postrow.displayed.REPORT_IMG}</span>
   <style>ul#cungchuyenmuc{margin-top:10px;margin-left:20px;height:100%;display:inline-block}#cungchuyenmuc li{list-style: square inside;margin-top:2px;width:45%;float:left;}#cungchuyenmuc a{text-decoration:none!important;color:#333;font:12px Tahoma;text-transform: capitalize;}#cungchuyenmuc a:hover{color:#ba3814;}#cungchuyenmuc span{display:inline-block;overflow:hidden;height:14px;width:90%;margin-bottom:-2px;}</style>
    <script type="text/javascript">
 
function chvote(a, b) {
"Message not voted" == b && (b = "c3zone z vietk 0% (0 vote)");
var d = parseInt(b.split(" ")[3], 10) / 100,
c = parseInt(b.split(" ")[4].substr(1), 10),
      b = "Message reputation : " + Math.round(100 * ("c3zplus" == a ? (d * c + 1) / (c + 1) : d * c / (c + 1))) + "% (" + (c + 1) + " vote)";
  return votetrans(b)
}
$(".c3zvau").each(function () {
  var a = $(this).text();
  $(this).html(votetrans(a))
});
 
function votetrans(a) {
  if ("Message not voted" == a) return "<span class='qua'>Hãy là người đầu tiên thích điều này</span>";
  var b = parseInt(a.split(" ")[3], 10) / 100,
      a = parseInt(a.split(" ")[4].substr(1), 10),
      d = 0 != b ? "<span class=vop>" + Math.round(b * a) + "+</span>" : "",
      c = 0 != b && 1 != b ? ' <span style="color:#C2D5E3">|</span> ' : "",
      a = 1 != b ? "<span class=vom>" + Math.round(a - b * a) + "-</span>" : "",
      b = Math.round(100 * b);
  return "<span class=no>" + d + c + a + "</span> <span class=qua>Đánh giá: " + b + "%</span>"
}
$(".lvote").click(function () {
  "c3zplus" == $(this).attr("alt") ? $(this).parent().html("").next().html("") : $(this).parent().html("").prev().html("");
  var a = $(this).attr("target"),
      b = $(this).attr("alt"),
      d = $("." + a).attr("title");
  $("#" + a).show();
  $("." + a).html(chvote(b, d));
  $("#" + a).fadeIn("slow").animate({
      opacity: 1
  }, 1500).fadeOut("slow", function () {
      $("." + a).fadeOut("slow").animate({
        opacity: 1
      }, 1E3).fadeIn()
  });
  $("." + $(this).attr("target")).removeAttr("title")
});
</script>
    
<script type="text/javascript">
if(document.location.protocol=='http:'){
 var Tynt=Tynt||[];Tynt.push('b-YHwq12Wr3784adbi-bnq');Tynt.i={"ap":"Nguồn gốc bài viết : ","as":"Link gốc : [You must be registered and logged in to see this link.]
 (function(){var s=document.createElement('script').async="async".type="text/javascript".src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0].parentNode.insertBefore(s,h);})();
}
</script>



Cho vào Css nha!
Trả lời chủ đề này
alomdan73

Fri Jul 04, 2014 11:07 am

#2
  • alomdan73

alomdan73



Gia nhập : 25/06/2014
Tổng số bài gửi : 63
Đồng vàng : 18046
Cảm ơn : 0
VIP Re: [Code] View topic body đẹp cho AE đây !

شكرررررررررررررررررررررررا
Trả lời chủ đề này

Điện thoại: 050077777777777777 - Email: trihaivippro258@gmail.com - Yahoo: trihaivip_258@yahoo.com - Bảng báo giá