리스트에서 <?=$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>";
?>
답변을 작성하시기 전에 로그인 해주세요.