Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down  Thông điệp [Trang 1 trong tổng số 1 trang]

#1Sun Feb 03, 2013 5:10 pm

TuanAnh

TuanAnh



»†ổñg Quån «

Ý Tưởng Mới
Demo:
[Share] Topic_list_box của codeforumotion Demo110
[Share] Topic_list_box của codeforumotion Demo210

Demo online: https://codeforumotion.forumvi.com/f19-forum

Code:

Phpbb2:
Code:
/*Writen by Tuấn Anh http://codeforumotion.forumvi.com*/
<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
   var all_checked = true;
   for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
         all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
      }
   }
   document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
   for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
         document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
      }
   }
}
</script>
<!-- END multi_selection -->


      <!-- BEGIN multi_selection -->

   <!-- END multi_selection -->

   <!-- BEGIN pagination -->

  <table width="100%" style="border:1px solid black;">
    <tr>
               <td> <span class="gensmall">{PAGINATION}</span></td>
               <td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
            </tr>
  </table>
   <!-- END pagination -->
   <!-- END header_table --><!-- BEGIN header_row -->



<!-- END header_row -->
<!-- BEGIN topic -->
  <br /><br />
  <table width="100%" border="0">
    <tr>
   <script type="text/javascript">$(function(){$(".xname").hide();});</script>
  <table  style="float: left; width: 95%;border: 1px solid #B0B0B0;margin-left:15px;" >
  <tr>
    <td>
          <div class="blog_message1" href="{topics_list_box.row.U_VIEW_TOPIC}" ></div><div class="bai_new4"><r>
          <h2 class="topic-title">
              <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}"><span onmouseover="showtip('<font color=#40ff00><b>Thời gian gửi:</b></font> <font color=#FF6600><b>{topics_list_box.row.LAST_POST_TIME}</b></font><br /><font color=#40ff00><b>Trạng Thái:</b></font> <font color=#ff8c00>{topics_list_box.row.L_TOPIC_FOLDER_ALT}</font> <br /><font color=#40ff00><b>Lượt xem:</b></font> <font color=red>{topics_list_box.row.VIEWS}</font><br /><font color=#40ff00><b>Trả lời:</b></font> <font color=#FF66CC>{topics_list_box.row.REPLIES}</font><br>');" onmouseout="hidetip();">  {topics_list_box.row.TOPIC_TITLE}</span></a><span class="xname" style="float: right;"><strong>{topics_list_box.row.TOPIC_AUTHOR}  </strong><br/></span>
            </h2>
         <!-- BEGIN switch_description -->
         <span class="genmed">
            <br />
            {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
         </span>
         <!-- END switch_description -->
         <span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span> 
                  <span class="gensmall"><!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span>
            <p valign="middle"><span class="postdetails"><font color="black">  By: </font>{topics_list_box.row.TOPIC_AUTHOR}</span>
              <span class="postdetails"><font color="black"> -Trả lời: </font><font color="#8C8787">{topics_list_box.row.REPLIES}</font></span>
              <span class="postdetails"><font color="black"> -Xem: </font><font color="#8C8787">{topics_list_box.row.VIEWS}</font></span>
   
              <span class="postdetails"><font color="black"> -Gửi cuối: </font><font color="#8C8787">{topics_list_box.row.LAST_POST_TIME}</font></span></p>
             
           
            </r>
            </div>
           
      </td>
      </tr>
    </table>
    </tr>
    <tr> 
            <!-- BEGIN multi_selection -->
      <p align="center" valign="middle"><span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></p>
   <!-- END multi_selection -->
   
   <!-- END topic --><!-- BEGIN no_topics -->
   
      <p  colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></p>
   
   <!-- END no_topics --><!-- BEGIN bottom -->
   
      <td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" valign="middle">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td> <span class="gensmall">{PAGINATION}</span></td>
               <td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
            </tr>
      
                  </table>
              </td>
              </tr>
  </table>
<script> /*Writen by Tuấn Anh in codeforumotion.forumvi.com*/
      $(document).on('ready',function(){$('.blog_message1').each(function(){var url=$(this).attr('href');$(this).prepend('<a onclick="openWin(this.href.replace(\'#\', \'?showpost=\'), 1000, 500);return false" href="'+url+'"><img src="http://2img.net/i/fa/fdf_en3/logo.jpg"/></a>');$(this).load(url+' div.postbody img:eq(0)')})});</script>
<!-- END bottom --><!-- BEGIN footer_table -->
<!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->
  <style>.blog_message1 {overflow: hidden;margin-top: -5px;width: 110px;height: 55px;padding: 3px;border: 1px solid #CFCDCE;font-size: 0px;font-family: none;}.blog_message1 img {width: 110px;height: 55px;}.pun tbody.statused td.tcl {padding-left: 0;}.codebox {display: none;}.postmain blockquote,blockquote{display: none;}.blog_message1 {float: left;}.blog_tintuc li:nth-of-type(1) .blog_message1 {margin: 0px;width: 320px;height: 212px;border: 1px solid #626263;}.blog_tintuc li:nth-of-type(1) .blog_message1 img {padding: 0px;width: 320px;height: 212px;}.blog_tintuc li {background-color: white;}  .blog_tintuc li:nth-of-type(3) .blog_message1, .blog_tintuc li:nth-of-type(2) .blog_message1  {width: 190px;height: 90px;float: left;margin: 0px;border: 1px solid #B0B0B0;}.blog_tintuc li:nth-of-type(3) .blog_message1 img , .blog_tintuc li:nth-of-type(2) .blog_message1 img  {width: 190px;height: 90px;padding: 0px;}</style>
Punbb:
Code:
 /*Writen by Tuấn Anh in codeforumotion.forumvi.com*/
<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
   var all_checked = true;
   for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
         all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
      }
   }
   document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
   for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
         document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
      }
   }
}
</script>
<!-- END multi_selection -->


      <!-- BEGIN multi_selection -->

   <!-- END multi_selection -->

   <!-- BEGIN pagination -->

  <table width="100%" style="border:1px solid black;">
    <tr>
               <td> <span class="gensmall">{PAGINATION}</span></td>
               <td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
            </tr>
  </table>
   <!-- END pagination -->
   <!-- END header_table --><!-- BEGIN header_row -->



<!-- END header_row -->
<!-- BEGIN topic -->
  <br /><br />
  <table width="100%" border="0">
    <tr>
   <script type="text/javascript">$(function(){$(".xname").hide();});</script>
  <table  style="float: left; width: 95%;border: 1px solid #B0B0B0;margin-left:15px;" >
  <tr>
    <td>
          <div class="blog_message1" href="{topics_list_box.row.U_VIEW_TOPIC}" ></div><div class="bai_new4"><r>
          <h2 class="topic-title">
              <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}"><span onmouseover="showtip('<font color=#40ff00><b>Thời gian gửi:</b></font> <font color=#FF6600><b>{topics_list_box.row.LAST_POST_TIME}</b></font><br /><font color=#40ff00><b>Trạng Thái:</b></font> <font color=#ff8c00>{topics_list_box.row.L_TOPIC_FOLDER_ALT}</font> <br /><font color=#40ff00><b>Lượt xem:</b></font> <font color=red>{topics_list_box.row.VIEWS}</font><br /><font color=#40ff00><b>Trả lời:</b></font> <font color=#FF66CC>{topics_list_box.row.REPLIES}</font><br>');" onmouseout="hidetip();">  {topics_list_box.row.TOPIC_TITLE}</span></a><span class="xname" style="float: right;"><strong>{topics_list_box.row.TOPIC_AUTHOR}  </strong><br/></span>
            </h2>
         <!-- BEGIN switch_description -->
         <span class="genmed">
            <br />
            {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
         </span>
         <!-- END switch_description -->
         <span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span> 
                  <span class="gensmall"><!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span>
            <p valign="middle"><span class="postdetails"><font color="black">  By: </font>{topics_list_box.row.TOPIC_AUTHOR}</span>
              <span class="postdetails"><font color="black"> -Trả lời: </font><font color="#8C8787">{topics_list_box.row.REPLIES}</font></span>
              <span class="postdetails"><font color="black"> -Xem: </font><font color="#8C8787">{topics_list_box.row.VIEWS}</font></span>
   
              <span class="postdetails"><font color="black"> -Gửi cuối: </font><font color="#8C8787">{topics_list_box.row.LAST_POST_TIME}</font></span></p>
             
           
            </r>
            </div>
           
      </td>
      </tr>
    </table>
    </tr>
    <tr> 
            <!-- BEGIN multi_selection -->
      <p align="center" valign="middle"><span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></p>
   <!-- END multi_selection -->
   
   <!-- END topic --><!-- BEGIN no_topics -->
   
      <p  colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></p>
   
   <!-- END no_topics --><!-- BEGIN bottom -->
   
      <td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" valign="middle">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td> <span class="gensmall">{PAGINATION}</span></td>
               <td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>
            </tr>
      
                  </table>
              </td>
              </tr>
  </table>
<script>
 $(document).on('ready',function(){$('.blog_message1').each(function(){var url=$(this).attr('href');$(this).prepend('<a onclick="openWin(this.href.replace(\'#\', \'?showpost=\'), 1000, 500);return false" href="'+url+'"><img src="http://2img.net/i/fa/fdf_en3/logo.jpg"/></a>');$(this).load(url+' .post-entry .entry-content img:eq(0)')})});</script>
<!-- END bottom --><!-- BEGIN footer_table -->
<!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->
  <style>.blog_message1 {overflow: hidden;margin-top: -5px;width: 110px;height: 55px;padding: 3px;border: 1px solid #CFCDCE;font-size: 0px;font-family: none;}.blog_message1 img {width: 110px;height: 55px;}.pun tbody.statused td.tcl {padding-left: 0;}.codebox {display: none;}.postmain blockquote,blockquote{display: none;}.blog_message1 {float: left;}.blog_tintuc li:nth-of-type(1) .blog_message1 {margin: 0px;width: 320px;height: 212px;border: 1px solid #626263;}.blog_tintuc li:nth-of-type(1) .blog_message1 img {padding: 0px;width: 320px;height: 212px;}.blog_tintuc li {background-color: white;}  .blog_tintuc li:nth-of-type(3) .blog_message1, .blog_tintuc li:nth-of-type(2) .blog_message1  {width: 190px;height: 90px;float: left;margin: 0px;border: 1px solid #B0B0B0;}.blog_tintuc li:nth-of-type(3) .blog_message1 img , .blog_tintuc li:nth-of-type(2) .blog_message1 img  {width: 190px;height: 90px;padding: 0px;}</style>



Được sửa bởi Tuấn Anh ngày Mon Feb 18, 2013 9:20 pm; sửa lần 1.

Trả lời trích dẫnTrả lời

#2Mon Feb 04, 2013 10:41 am

anhdaodaica1

anhdaodaica1



» Thàñh Vïêñ Mới

Ý Tưởng Mới
mình mún thay ảnh cho mấy topic ko có ảnh thì làm sao hả Tuấn Anh ?
mấy cái thông báo của mình ko có ảnh nên nó chả hiện gì lun~

[Share] Topic_list_box của codeforumotion Untitl13

Trả lời trích dẫnTrả lời

#3Mon Feb 04, 2013 10:52 am

TuDiepThao

TuDiepThao



» Mõd™

Ý Tưởng Mới
bạn tìm code
Code:
<img src="http://2img.net/i/fa/fdf_en3/logo.jpg"/></a>
này ở cuối và thay link ảnh đi là đc. ko có ảnh trong topic thì nó ko hiện chứ sao

Trả lời trích dẫnTrả lời

#4Mon Feb 04, 2013 11:29 am

Duy Phúc

Duy Phúc



» Thàñh Vïêñ Mới

Ý Tưởng Mới
Của em không hiện ảnh anh Tuấn Anh ơi. Forum của em là phpbb2 anh sửa cho em với.

Trả lời trích dẫnTrả lời

#5Mon Feb 04, 2013 11:30 am

TuanAnh

TuanAnh



»†ổñg Quån «

Ý Tưởng Mới
bạn send view của bạn cho mình.

Trả lời trích dẫnTrả lời

#6Mon Feb 04, 2013 11:33 am

TuanAnh

TuanAnh



»†ổñg Quån «

Ý Tưởng Mới
anhdaodaica1 đã viết:mình mún thay ảnh cho mấy topic ko có ảnh thì làm sao hả Tuấn Anh ?
mấy cái thông báo của mình ko có ảnh nên nó chả hiện gì lun~

[Share] Topic_list_box của codeforumotion Untitl13

Bạn vào topic đó thêm ảnh vào đầu là được Very Happy

Trả lời trích dẫnTrả lời

#7Mon Feb 04, 2013 11:35 am

Duy Phúc

Duy Phúc



» Thàñh Vïêñ Mới

Ý Tưởng Mới
À được rồi thank anh Thank nhé

Trả lời trích dẫnTrả lời

#8Wed Feb 26, 2014 12:20 am

ashik4u

ashik4u



» Thàñh Vïêñ Mới

Ý Tưởng Mới
the code is not working http://www.bdtipsntricks.com/

Trả lời trích dẫnTrả lời

#9Tue Aug 23, 2016 12:26 am

avatar

huyvip83



» Thàñh Vïêñ Mới

Ý Tưởng Mới
xemmmm

Trả lời trích dẫnTrả lời

Sponsored content




Ý Tưởng Mới

Trả lời trích dẫnTrả lời

Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang  Thông điệp [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