최신글 질문입니다. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최신글 질문입니다. 정보

최신글 질문입니다.

본문

제가 웹진형 최신글을 설치했는데
모두 세로형뿐이더군요,혹시나해서...
-인덱스에서 2개로늘렸더니 세로로 2개가 되더군ㅇ ;ㅁ;-인덱스에서 2개로늘렸더니 세로로 2개가 되더군ㅇ ;ㅁ;
 
가로로 2개 정렬하고 싶은데 어떻게 고쳐야 할지 막막합니다.
전부 알려주세요 ;ㅁ;
 
 
 
이곳 메인의 중고장터입니다.
 
스킨은 makeprogress_too 를 사용하였습니다.
 
스킨코딩입니다.
 
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 최신글 시작 -->
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td>

<!--제목 테이블
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=23>
<tr>
    <td>  <img src="<?=$latest_skin_path?>/img/board_head.gif" align=absmiddle border=0> <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font style='font-family:돋움; font-size:9pt; color:#696969;'><strong><?=$board[bo_subject]?></strong></font></a> </td>
    <td width="60" align="right"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/board_more.gif" border="0"></a></td>
</tr>
</table>
-->
<!--제목아래 포인트 라인 테이블
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=3>
<tr>
    <td width="9" height="3"><img src="<?=$latest_skin_path?>/img/board_title_line1.gif" width=9 height=3 border=0></td>
    <td height=3 width="30%" background="<?=$latest_skin_path?>/img/board_title_line2.gif"></td>
    <td width="90%" background="<?=$latest_skin_path?>/img/board_title_line3.gif"></td>
</tr>
</table>
-->
<!--글이 출력되는 테이블-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="white">
<? for ($i=0; $i<count($list); $i++) {

 $homepageurl="";
 //추가
 if($list[$i][wr_1] >= 100)
  {
   $ing="[작업완료]";
   //$homepageurl=$list[wr_link1];
   if($list[$i][wr_link1]) $homepageurl="<a href='".$list[$i][wr_link1]."' target=_self>";
  }
 else $ing="";
   
 $_datetime=$list[$i][datetime2];
    $_hit=$list[$i][wr_hit];
 
    $title = "";
    $content = cut_str(get_text($list[$i][wr_content]), 80);
    $img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
    if (!file_exists($img) || !$list[$i][file][0][file])
        $img = "$board_skin_path/img/no_image.gif";
    $href = "$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}&no=1";
    //$view_href = "";
    //if ($is_admin)
      $view_href = "<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'>";
//================= 반복 start ====================== ?>
<tr>
 <td width="25" colspan=2 valign="top" ><!------------삽입-------------------->
<!------------------ 넓이.--------------------------->
      <table border="0" width="285" cellpadding="0" cellspacing="0">
       <tr>
    <td width="100%">
     <table border="0" width="100%" cellpadding="0" cellspacing="0">
      <tr>
           <td width="110" align="left" valign="top">
            <!--이미지 시작-->
            <table width="110" height="110" border="0" cellpadding="0" cellspacing="0">
             <tr>
              <td width="110" height="10"> </td>
             </tr>
             <tr>
              <td width="110" height="128" align="center">
               <?=$view_href?>
               <img src="<?=$img?>" width="100" height="100" border="0" title="<?=$title?>"></a></td>
             </tr>
            </table> 
            <!--이미지 끝-->
           </td>
           <td width="5"> </td>
<!------------ 폭설정 width="???"--------------------->
                      <td valign="top">
                    <table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
                                 
              <td width="100%" height="10"> </td>
                               </tr>
                  <tr>
               
              <td width="100%"> </a><span style="word-break:break-all;">
               <?
        echo $list[$i][icon_reply] . " ";
        echo "<a href='{$list[$i][href]}'>";
        if ($list[$i][is_notice])
            echo "<font style='font-family:돋움; font-size:9pt; '><strong>{$list[$i][subject]}</strong></font>";
        else
            echo "<font style='font-family:돋움; font-size:9pt; '><strong>{$list[$i][subject]}</strong></font>";
        echo "</a>";
        if ($list[$i][comment_cnt])
            echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt;'>{$list[$i][comment_cnt]}</span></a>";
        // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
        // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
        echo " " . $list[$i][icon_new];
        echo " " . $list[$i][icon_file];
        echo " " . $list[$i][icon_link];
        echo " " . $list[$i][icon_hot];
        echo " " . $list[$i][icon_secret];
        ?>
               </span></td>
                              </tr>
                              <tr>
                                  <td width="100%"><img src="<?=$latest_skin_path?>/img/dot2.gif" align=absmiddle> 등록일자 : <?=$_datetime?> (조회수 : <?=$_hit?>)</td>
                              </tr>
                              <tr>
                                  <td width="100%"><img src="<?=$latest_skin_path?>/img/dot2.gif" align=absmiddle> 의뢰업체 : <?=$list[$i][wr_2]?></td>
                              </tr>
                              <tr>
                                 
              <td width="100%"> 
               <!-- 작업진행상태 시작 -->
               <!-- 작업진행상태 끝 -->
              </td>
                           </tr>
                     <tr>
                   <td width="100%"> </td>
         </tr>
                          </table>                </td>
      </tr>
              </table>    </td>
      </tr>
  </table>
      <!------------삽입 end --------------->
     </td>
</tr>
<!------------
<tr><td colspan=2 align=center height=1 background="<?=$latest_skin_path?>/img/board_bg_line.gif"></td></tr>
----------------->
<? }
// ====================== 반복 end ======================= ?>
<? if (count($list) == 0) { // 글이 없을경우 ?>
<tr><td colspan=2 align=center height=30 >게시물이 없습니다.</td></tr>
<? } ?>
</table>
</td></tr></table>
<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 최신글 끝 -->

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT