기본스킨을 가지고 최근겔러리를 만들엇는데....세로로 나오네요...가로로 하는방법좀... > 그누4 질문답변

그누4 질문답변

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

기본스킨을 가지고 최근겔러리를 만들엇는데....세로로 나오네요...가로로 하는방법좀... 정보

기본스킨을 가지고 최근겔러리를 만들엇는데....세로로 나오네요...가로로 하는방법좀...

본문

가로로 나오게 하려면 어떻게 해야 하죠??
-------------------------------------------------------------------------------------------------------------
<?
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">
<tr>
    <td width="29" height="38"><img src="<?=$latest_skin_path?>/img/board_title_left.gif" width="29" height="38"></td>
    <td background="<?=$latest_skin_path?>/img/board_title_bg.gif"><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>&nbsp;</td>
    <td width="60" align="right" background="<?=$latest_skin_path?>/img/board_title_bg.gif"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>more</a></td>
    <td width="19"><img src="<?=$latest_skin_path?>/img/board_title_right.gif" width="19" height="38"></td>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td width="40" height="35" align="center" valign="middle" ></td>
    <td style='word-break:break-all;'>

<table width="100" cellspacing="0" border="1" bordercolor="#CCCCCC" bordercolordark="white" bordercolorlight="#CCCCCC">
    <tr>
        <td width="100" align="center" valign="middle"> <?           
echo "<a href='{$list[$i][href]}'>";
        $image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
            if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
        echo "<img src='$g4[path]/data/file/$bo_table/$image' width='100' height='90' border='0'>"; // 이미지크기
            } else
        echo "<img src='$latest_skin_path/img/noimage.gif' width='100' height='90' style='border:#cdcdcd solid 1px'>"; ?>
    </a></td>
    </tr>
    <tr>
        <td width="100" align="center" valign="middle">[<a href="<?=$list[$i][ca_name_href]?>"><?=$list[$i][ca_name]?></a>]<?echo " " . $list[$i][icon_new];?>
        <?
        echo $list[$i][icon_reply] . " ";
        echo "<a href='{$list[$i][href]}'>";
        if ($list[$i][is_notice])
            echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
        else
            echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}</font>";
        echo "</a>";

        if ($list[$i][comment_cnt])
            echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$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']}>"; }

     
        ?>       
        </td>
    </tr>
</table>
       
       
    </td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?>
<tr><td colspan=2 align=center height=30 background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
</table>

</td></tr></table>
<!-- <?=$board[bo_subject]?> (<?=$board[bo_table]?>) 최신글 끝 -->
-------------------------------------------------------------------------------------------------------------

댓글 전체

전체 98 |RSS
그누4 질문답변 내용 검색

회원로그인

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