최신갤러리 이미지를 누르면 그페이지로 가게끔 하려면..

· 20년 전 · 1897
안녕하세요
최신갤러리의 이미지를 누르면 새로운팝업창으로 그 이미지 있는 페이지가 뜹니다.
이것을 그페이지로 이동해서(self로) 열리게끔 하려면 어떻게 해야 하는지요?

스킨내용입니다.(아래부분에 어디를 수정해야 하는지요?

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$mod = 4; // 한행당 몇개씩?
$image_width = 120; // 이미지 폭
$image_height = 80; // 이미지 높이

//현재 최신글 내용을 창을띄워 보기로 되어있음
?>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="10" colspan=<?=$mod?>></td></tr>
<tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<td align="center" style='padding-right:7px;'>
<?
// 갤러리용이므로 노이미지는 없습니다.
echo $list[$i][icon_reply] . " ";
echo "<a href=\"javascript:popup_window('$g4[bbs_path]/board.php?bo_table=$board[bo_table]&wr_id={$list[$i][wr_id]}','winBoard','left=0, top=0, width=700, height=500, scrollbars=1,resizable=no')\">";
// echo "<a href='{$list[$i][href]}'>"; // 바로 내용보기
// echo "<a href='$g4[bbs_path]/board.php?bo_table=$bo_table'>"; // 목록으로
$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='$image_width' height='$image_height' border='0'alt='{$list[$i][subject]}' style='border:1 solid #777777;'>\n";
echo "<br>";
echo "<font color='#BCCFCD'>▒</font> <font style=color:#393939;'>{$list[$i][subject]}</font> <font color='#BCCFCD'>▒</font> ";
echo " " . $list[$i][icon_new];
echo "</a>";
}
?>
</td>
<? } ?>

<? if (count($list) == 0) { echo "<td colspan=$mod align=center>게시물이 없습니다.</td>"; } ?>
</tr>
<tr><td height="7" colspan=<?=$mod?>></td></tr>
<tr><td height="1" colspan=<?=$mod?> bgcolor="#F2F2F2"></td></tr>
</table>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
20년 전 조회 1,982
20년 전 조회 1,994
20년 전 조회 1,891
20년 전 조회 1,759
20년 전 조회 1,884
20년 전 조회 1,761
20년 전 조회 2,471
20년 전 조회 2,106
20년 전 조회 2,191
20년 전 조회 1,898
20년 전 조회 2,367
20년 전 조회 2,246
20년 전 조회 2,064
20년 전 조회 2,113
20년 전 조회 2,032
20년 전 조회 1,615
20년 전 조회 1,947
20년 전 조회 1,925
20년 전 조회 1,711
20년 전 조회 1,952
🐛 버그신고