테스트 사이트 - 개발 중인 베타 버전입니다

최신글클릭시 새창으로 띄우기

· 14년 전 · 799 · 1
여기서 뭘 어떻게 수정해야 새창으로 떠질까요?

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table width=100% cellpadding=0 cellspacing=0 border="0">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td height="16">
<img src='<?=$latest_skin_path?>/img/dot.gif' align=absmiddle>&nbsp;
<?
echo "<a href='$g4[path]/bbs/board.php?bo_table=$bo_table?sca={$list[$i][ca_name]}' style='font-family:돋움; font-size:11px; color:#FB6104;letter-spacing: -1px;'>{$list[$i][ca_name]}</a>";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:11px; color:#FF3300;font-weight:bold;letter-spacing: -1px;'>&nbsp;{$list[$i]['subject']}</font>";
else
echo "<font style='font-family:돋움; font-size:11px; color:#828282;letter-spacing: -1px;'>&nbsp;{$list[$i]['subject']}</font>";
echo "</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'];
?>
</td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=2 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</td></tr><? } ?>

</table>

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

echo "<a href='{$list[$i]['href']}'>";

이 부분을..

if($list[$i]['icon_new'] != "")
echo "<a href='{$list[$i]['href']}' target='_blank'>";
else
echo "<a href='{$list[$i]['href']}'>";

이렇게 하면 되지 않을까 싶습니당..

게시글 목록

번호 제목
284438
284437
284435
284430
284420
284417
284409
284401
284399
284397
284380
284378
284371
284370
284366
284364
284360
284357
284355
284354