히어님 아래처럼 넣었는데 안돼네요 머가 잘못된걸가여 ㅜㅡ
<!-- 목록 -->
<form name="fboardlist" method="post">
<input type='hidden' name='bo_table' value='<?=$bo_table?>'>
<input type='hidden' name='sfl' value='<?=$sfl?>'>
<input type='hidden' name='stx' value='<?=$stx?>'>
<input type='hidden' name='spt' value='<?=$spt?>'>
<input type='hidden' name='page' value='<?=$page?>'>
<input type='hidden' name='sw' value=''>
<table width="100%" cellpadding='0' cellspacing='0'>
<tr><td colspan='<?=$mod?>' height='5'></td></tr>
<tr><td colspan='<?=$mod?>' height='1' bgcolor='#DEE3E7'></td></tr>
<tr>
<?
for ($i=0; $i<count($list); $i++) {
if (eregi("<embed.*src=\"//www.youtube.com/v/([^&]+)&?",$list[$i][wr_content])) { //오브젝트 유튜브동영상올린경우(썸네일보다 우선함)
preg_match("/<embed.*?src=[\"']\/\/www\.youtube\.com\/v\/([^?]+)\?(.*?)['\"]/", $list[$i][wr_content], $matches);
$v = $matches[1];
$thumb="<a href='".$list[$i][href]."'><img src='http://img.youtube.com/vi/".$v."/hqdefault.jpg' align='absmiddle' width='250' height='300'>";
}elseif (file_exists($thumb)) { // 썸네일이 있다면
$thumb = "<a href='".$list[$i][href]."'><img src='".$thumb."' align='absmiddle'></a>";
}else{ //썸네일이 없다면
$thumb = "IMAGE NONE";
}
href
if($list[$i][wr_link1]){
$href = $list[$i][wr_link1];
$target = "_blank";
}else{
$href = $list[$i][href];
$target = "_self";
}
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 style='font-size:10px;'><font face='Tahoma' color='#EE5A00'>{$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:0px;'>";
echo "<table align=center>";
echo "<tr><td height=15></td></tr>";
echo "<tr><td align=center><div style='float:left; border:1px solid #ccc; background:#fff; padding:4px; font-size:0; line-height:0;'><a href='{$href}' target='{$target}'>".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;'>Date.".$list[$i][datetime2]." / Hit.".$list[$i][wr_hit]."</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> ";
echo "<a href='{$list[$i][href]}'>$subject</a><span class='comment'>{$comment_cnt}</span>";
//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>";
?>
</tr>
<? if (count($list) == 0) { echo "<tr><td colspan='$mod' height=100 align=center>게시물이 없습니다.</td></tr>"; } ?>
<tr><td colspan='<?=$mod?>' height='15'></td></tr>
<tr><td colspan=<?=$mod?> bgcolor='#DEE3E7' height='1'>
</table>
</form>