리스트에서 <?=$list[$i][wr_1]?>안뿌려집니다.

리스트에서 <?=$list[$i][wr_1]?>안뿌려집니다.

QA

리스트에서 <?=$list[$i][wr_1]?>안뿌려집니다.

본문

리스트에서 <?=$list[$i][wr_1]?>이 안뿌려집니다. 뷰스킨에서는 잘출력되는데요 
왜이럴까요 ㅠㅠ

<table width=100% cellpadding=0 cellspacing=0>
    <tr><td colspan='<?=$mod?>' height=5>test<?=$list[$i][wr_1]?></td></tr>
    <tr><td colspan='<?=$mod?>' height=2 bgcolor=#d8d8d8> <img src="<?=$board_skin_path?>/img/line.jpg" width="700" height="2" /></td>
    </tr>
    <tr> 
    <? 
    for ($i=0; $i<count($list); $i++) { 
        if ($i && $i%$mod==0)
            echo "</tr><tr>";

        $style = "";
        $subject = "<span $style>{$list[$i][subject]}</span>";

        $comment_cnt = "";
        if ($list[$i][comment_cnt]) 
           $comment_cnt = " <a href=\"{$list[$i][comment_href]}\"><span class='commentFont'>{$list[$i][comment_cnt]}</span></a>";

        $list[$i][name] = preg_replace("/<img /", "<img style='display:none;' ", $list[$i][name]);
        $list[$i][name] = preg_replace("/> <span/", "><span", $list[$i][name]);
        $list[$i][name] = preg_replace("/class='member'/", "", $list[$i][name]);

        echo "<td width='{$td_width}%' valign=top style='word-break:break-all; padding:5px;'>";
        echo "<table align=center>";
        echo "<tr><td height=5></td></tr>";
        echo "<tr><td align=center><div style='float:left; border:1px solid #ccc; background:#fff; padding:0px; font-size:0; line-height:0;'><a href='{$list[$i][wr_link1]}' target='_blank'> ".makeThumbs($g4[path]."/data/file/$bo_table", $list[$i][file][0][file], $board[bo_1], $board[bo_2], cut_str($list[$i][subject],20))."</a></div></td></tr>";
        echo "<tr><td align=center style='font-size:11px; color:#888;'>  </td></tr>";
        echo "<tr><td align=center class=lh>";
        if ($is_category) echo "<a href='{$list[$i][ca_name_href]}'>[{$list[$i][ca_name]}]</a> ";
if ($is_admin) echo "<a href='{$list[$i][href]}'>[수정]</a>";
echo"<br/>";
        echo "<a href='{$list[$i][wr_link1]}' target='_blank'> $subject</a>{$comment_cnt}";
echo"<br/>";
echo "<a href='{$list[$i][wr_link1]}' target='_blank'></a>";
        //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];
        echo "</td></tr>";
        if ($is_checkbox) echo "<tr><td align=center><input type=checkbox name=chk_wr_id[] value='{$list[$i][wr_id]}'></td></tr>";
        echo "</table></td>\n";
    }

    // 나머지 td
    $cnt = $i%$mod;
    if ($cnt)
        for ($i=$cnt; $i<$mod; $i++)
            echo "<td width='{$td_width}%'> </td>";
    ?>

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 123,593 | RSS
QA 내용 검색

회원로그인

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