[SMF]SMF 1.1.x แบ่งหน้าบอร์ด เป็น 2 column ทำอย่างไร

[SMF]SMF 1.1.x แบ่งหน้าบอร์ด เป็น 2 column ทำอย่างไร

SMF 1.1.x แบ่งหน้าบอร์ด เป็น 2 column ทำอย่างไร

เข้าไปใน BoardIndex.template.php

// Assuming the category hasn't been collapsed...
    if (!$category<'is_collapsed'>)
    {
      echo '
    <table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 0px;">';

      /* Each board in each category's boards has:
      new (is it new?), id, name, description, moderators (see below), link_moderators (just a list.),
      children (see below.), link_children (easier to use.), children_new (are they new?),
      topics (# of), posts (# of), link, href, and last_post. (see below.) */
      $picBoard = array('admin', 'ok', 'suggest', 'ti', 'travel', 'eat', 'dorm', 'sevice', 'talk', 'story', 'sara', 'ask', 'gal', 'wall', 'ittech', 'program');
      $picBoard2 = array('admin2', 'ok2', 'suggest2', 'ti2', 'travel2', 'eat2', 'dorm2', 'sevice2', 'talk2', 'story2', 'sara2', 'ask2', 'gal2', 'wall2', 'ittech2', 'program2');
      $i=1;
      foreach ($category<'boards'> as $board)
      {
        if($i%2==1)
          echo '<tr>';
        echo '
        <td class="windowbg" valign="middle" height="100" width="50%">
          <div class="picBoard">
          <a href="', $scripturl, '?action=unread;board=', $board<'id'>, '.0">';
        // If the board is new, show a strong indicator.
        if ($board<'new'>)
          echo '<img src="', $settings<'images_url'>, '/picBoards/',$picBoard<$pic>,'.png" alt="', $txt<333>, '" title="', $txt<333>, '" />';
        // No new posts at all! The agony!!
        else
          echo '<img src="', $settings<'images_url'>, '/picBoards/',$picBoard2<$pic>,'.png" alt="', $txt<334>, '" title="', $txt<334>, '" />';

        echo '</a>
          </div>
          <div class="detailBoard">
          <b><a class="boardtitle" href="', $board<'href'>, '" name="b', $board<'id'>, '">', $board<'name'>, '</a></b><br />
            ', $board<'description'>,'<br />',$txt<21>,' : ', $board<'posts'>,' || ',$txt<330>, ' : ', $board<'topics'>;

        // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.)
        if (!empty($board<'moderators'>))
          echo '
          <div style="padding-top: 1px;" class="smalltext"><i>', count($board<'moderators'>) == 1 ? $txt<298> : $txt<299>, ': ', implode(', ', $board<'link_moderators'>), '</i></div>';
        // Show some basic information about the number of posts, etc.
          echo '</div>
        </td>';
        if($i%2==0)
          echo '</tr>';
        $i++;
        $pic++;
      }//end foreach
      echo '
      </table>';
    }
    echo '
  </div>';
  }

  if ($context<'user'><'is_logged'>)
  {
    echo '
  <table border="0" width="100%" cellspacing="0" cellpadding="5">
    <tr>
      <td align="', !$context<'right_to_left'> ? 'left' : 'right', '" class="smalltext">
        <img src="' . $settings<'images_url'> . '/new_some.gif" alt="" align="middle" /> ', $txt<333>, '
        <img src="' . $settings<'images_url'> . '/new_none.gif" alt="" align="middle" style="margin-left: 4ex;" /> ', $txt<334>, '
      </td>
      <td align="', !$context<'right_to_left'> ? 'right' : 'left', '">';

    // Mark read button.


ID=1533,MSG=1705


⭐️ เราให้คำแนะนำปรึกษา รักษาผลประโยชน์ให้ลูกค้า ของเรา
⭐️ เราอยู่เคียงข้างลูกค้าของเรา ช่วยเหลือ ดูแลบริการ
⭐️ เรารองรับช่องทางติดต่อมากมาย สะดวก เข้าถึงง่าย
⭐️ เราดำเนินธุรกิจยาวนานกว่า20 ปี คุณจึงมั่นใจได้
⭐️ คุณมีสามารถรับบริการทั้งจากบริษัทประกันเจ้าของสินค้า และ เรา (ตัวกลาง)

ไทย มีราว 80 บริษัทประกันภัย สินค้าที่แตกต่าง ทั้ง เงื่อนไข ราคา เคลม ความมั่นคง นโยบาย ฯลฯ
ขายผ่านตัวกลาง กว่า 500,000 ราย : ตัวแทน นายหน้า ธนาคาร บิ๊กซี โลตัส ค่ายรถยนต์ เฮ้าส์แบรนด์ ของประกันภัย หรือ ซื้อตรงกับบริษัทเจ้าของสินค้า
⭐️ ตัวอย่าง การบริการ กดดูที่ลิงค์นี้

"สิ่งที่ต้องคำนึงอันดับแรกในการซื้อประกัน คือ ตัวกลางประกันภัย ซึ่งจะเป็นที่ปรึกษา ช่วยเหลือ ดูแลเรา ตลอดอายุกรมธรรม์"

โปรดรอ

display:inline-block; position:relative;
โทร.(จ-ศ : 9-16) เว้นวันหยุดฯ , ลูกค้าเรา บริการ 24/7/365 , Monday เวลา 07:32:33pm (ลูกค้าเราติดต่อทางไลน์พิเศษที่ให้ไว้ตอนซื้อประกัน😍)
Copyright © 2018 Cymiz.com., All rights reserved.นโยบาย,ข้อตกลงcymiz.com