최신글 불러오기에서 새창띄우기 문제 정보
최신글 불러오기에서 새창띄우기 문제본문
<?
if (!defined("_GNUBOARD_")) exit; //
?>
if (!defined("_GNUBOARD_")) exit; //
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<table width=100% cellpadding=0 cellspacing=0>
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width="100%" cellspacing="1">
<tr>
<td height=20><img src='<?=$latest_skin_path?>/img/<?=$i+1?>.gif' align=absmiddle>
<?
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>";
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width="100%" cellspacing="1">
<tr>
<td height=20><img src='<?=$latest_skin_path?>/img/<?=$i+1?>.gif' align=absmiddle>
<?
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>";
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']}>"; }
// 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>
<tr><td background="<?=$latest_skin_path?>/img/bg_dot.gif" height=1></td></tr>
</table></td>
</tr>
<? } ?>
//echo " " . $list[$i]['icon_file'];
//echo " " . $list[$i]['icon_link'];
//echo " " . $list[$i]['icon_hot'];
//echo " " . $list[$i]['icon_secret'];
?></td></tr>
<tr><td background="<?=$latest_skin_path?>/img/bg_dot.gif" height=1></td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>
아직없음.</a></td></tr><? } ?>
아직없음.</a></td></tr><? } ?>
</table>
이걸 새창띄우려고 합니다 고수님들 도와주세여....
댓글 전체

echo "<a href='{$list[$i]['href']}'>";
위 코드에 target=_blank 를 적용해보시기 바랍니다.
echo "<a href='{$list[$i]['href']}' target=_blank>";
위 코드에 target=_blank 를 적용해보시기 바랍니다.
echo "<a href='{$list[$i]['href']}' target=_blank>";
곱슬최씨님 너무 감사합니다..잘 되네여..수고햇습니다.