소스 수정 부탁드려요.ㅜㅜ 정보
소스 수정 부탁드려요.ㅜㅜ
본문
www.cutiey.com
접속하셔서 검색창 옆에 랜덤으로 변하는 배너를 클릭하면
해당페이지로 이동을 안하고 새창을 떠서 빈페이지로 이동됩니다.
해당페이지로 이동하게 하려면 어떻게 해야하나요..ㅜㅜ
<?
if (!defined("_GNUBOARD_")) exit;
?>
<table width=200 cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td height='86' align="center">
<?
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr>";
echo "<td>";
echo "<table width='200' border='0' cellspacing='0'>";
echo "<tr>";
echo "<td width='186' align='center'>";
echo "<a href='{$list[$i]['wr_link1']}' target=_blank>";
$image = urlencode($list[$i][file][0][file]);
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
echo "<img src='$g4[path]/data/file/$bo_table/$image' width='200' height='86' border='0'></a>";
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</td>";
echo "</tr>";
echo "</table>";
} ?>
</td>
</tr>
<? } ?>
</table>
접속하셔서 검색창 옆에 랜덤으로 변하는 배너를 클릭하면
해당페이지로 이동을 안하고 새창을 떠서 빈페이지로 이동됩니다.
해당페이지로 이동하게 하려면 어떻게 해야하나요..ㅜㅜ
<?
if (!defined("_GNUBOARD_")) exit;
?>
<table width=200 cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td height='86' align="center">
<?
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr>";
echo "<td>";
echo "<table width='200' border='0' cellspacing='0'>";
echo "<tr>";
echo "<td width='186' align='center'>";
echo "<a href='{$list[$i]['wr_link1']}' target=_blank>";
$image = urlencode($list[$i][file][0][file]);
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
echo "<img src='$g4[path]/data/file/$bo_table/$image' width='200' height='86' border='0'></a>";
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</td>";
echo "</tr>";
echo "</table>";
} ?>
</td>
</tr>
<? } ?>
</table>
댓글 전체

target=_self

"<a href='{$list[$i]['wr_link1']} 이부분을 어떻게 수정해야 하나요.ㅜㅜ
홈페이지접속후 확인해보시면 아시듯이..ㅜㅜ 클릭하면 빈페이지로 이동됩니다.
홈페이지접속후 확인해보시면 아시듯이..ㅜㅜ 클릭하면 빈페이지로 이동됩니다.

<a href='".set_http($list[$i]['wr_link1'])."' target=_self>

ㅋㅋ 제가 해결했어요..ㅋ 답변 감사합니다.