사진게시판 관련 질문 두가지 > 그누4 질문답변

그누4 질문답변

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

사진게시판 관련 질문 두가지 정보

사진게시판 관련 질문 두가지

본문

첨부1은 현재 제 게시판의 캡춰사진입니다.
제 게시판은 사진을 누르면 첨부2처럼
해당 사진첩의 글로 연결됩니다.
이걸 아래 링크의 사진첩과 같이

http://yozoh.com/zboard/zboard.php?id=moving_pic

사진을 누르면 새창에서 사진이 뜨도록 하고싶은데..
초심자도 따라할 수 있는 방법이 없을까요?

질문2. 링크의 사진첩은 사진에 커서를 올리면 흐렸던 사진이
선명해지는 효과가 생깁니다. 초보자주제에 이것도 따라하고싶어서요
하하하;;;
답변 부탁드립니다!^^
  • 복사

댓글 전체

실은 제가 완전 초보자라 target="_blank"를 어디에 삽입해야하는지도 잘 몰라서요;
list.skin.php를 열고 link를 찾기 해보니까
(이 파일 맞나요? view.skin.php, view_comment.skin.php, writer_update.skin.php, writer.skin.php
등등 많이 있는데 저게 해당 페이지랑 가좡 연관있을거같아서 골랐네요ㅠㅠ)

0px;'>제목</nobr>
?>
<STYLE type="text/css">
a:link

이라는게 나오는데 저 a:link 옆에 target="_blank"를 붙여주면될까요?
a:link target="_blank" 이런식으로..
너무 초보적인 질문인거같아서 창피허지만ㅋㅋ 가능하시면 한번 더 답변 부탁드릴게요!
<? // ver 4.09.02
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$mod = $board[bo_gallery_cols];

if (!$board[bo_gallery_cols])
$mod = 2; // 가로 이미지 개수

$td_width = (int)(100 / $mod);

//섬네일 관련 설정
$thumb_width=120;//섬네일 최대폭
$thumb_height=100;//섬네일 최대높이

 //DQ엔진 인클루드 2005-03-22 석훈
include_once "$g4[path]/thumbEngine/dq_thumb_engine2.php";
$dqEngine['thumb_resize'] = 2;

// 제목이 두줄로 표시되는 경우 이 코드를 사용해 보세요.
// <nobr style='display:block; overflow:hidden; width:000px;'>제목</nobr>
?>
<STYLE type="text/css">
a:link      { color: #AAA; text-decoration: none; }
a:visited  { color: #AAA; text-decoration: none; }
a:hover    { color: #C0C0C0; text-decoration: none; }
a:active    { color: #C0C0C0; text-decoration: none; }

.span_bg { background-color:#C0C0C0; }
.font_height { line-height: 1.5; }
.color_gold1 { color:#C0C0C0; }
.color_gold2 { color:#C0C0C0; }
.color_gold3 { color:#C0C0C0; }
.color_gold4 { color:#C0C0C0; }
.color_fff { color:#fff; }
.color_ccc { color:#ccc; }
.color_aaa { color:#aaa; }
.color_999 { color:#999; }
.t7 { font-family:Tahoma; font-size:7pt; }
.v7 { font-family:verdana; font-size:7pt; }

input.ed { height:20px; border:1px solid #EFEFEF; padding:3px 2px 0 2px; }
input.ed_password { height:20px; border:1px solid #EFEFEF; padding:3px 2px 0 2px; font:10px Tahoma; }
textarea.tx { border:1px solid #EFEFEF; padding:2px; }
</style>

<!-- 게시판 목록 시작 -->
<table width="<?=$width?>" align=center cellpadding=0 cellspacing=0><tr><td>


<!-- 분류 셀렉트 박스, 게시물 몇건, 관리자화면 링크 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr height="25">
<? if ($is_category) { ?>
<form name='fcategory' method='get'>
<td width='10'></td><td width='70%'><font color='#336699'>&nbsp;
<? 
$cnt_bo_1 = $bo_1[0] ? $bo_1[0] : 10; // 한줄당 분류 갯수(현재:10)
$cnt = 1;
$cnt0 = 0;
$bb_s=""; $bb_e="";
$arr = explode("|", $board[bo_category_list]); // 구분자가 , 로 되어 있음

for ($i=0; $i<count($arr); $i++)
if (trim($arr[$i]))  {
if ($sca == $arr[$i]) { $cnt0++; $b_s="<b>"; $b_e="</b>"; } else {$b_s=""; $b_e="";}
$str .= "&nbsp;&nbsp;|&nbsp;&nbsp;<a href='./board.php?bo_table=$bo_table&sca=" . rawurlencode($arr[$i]) . "'>$b_s$arr[$i]$b_e</a>";
if ($cnt == $cnt_bo_1) { $cnt = 0; $str .= "<br>"; }
$cnt++;
}
if ($cnt0 == 0 ) { $bb_s="<b>"; $bb_e="</b>"; }
?>
  <? echo $bb_s;?><a href='./board.php?bo_table=<?=$bo_table?>&page=<?=$page?>'>전체</a><?=$bb_e?><?=$str?></font></td>
</form>
<? } ?>
   
</tr>
</table>

<!-- 제목 -->
<form name="fboardlist" method="post" style="margin:0px;">
<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=1 bgcolor=#C0C0C0></td></tr>
<tr height=30 align=center>

<!-- 내용 시작-->
<?

for ($i=0; $i<count($list); $i++)
{
    if ($i && $i%$mod==0)
        echo "</tr><tr>";

echo "<td width='{$td_width}%' valign=bottom style='word-break:break-all;'>";
    echo "<table width=100% style='border-bottom:1px solid #C0C0C0;'>";
    echo "<tr><td height=5></td></tr>";
    echo "<tr><td align=center>";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {

$thumbsource="$g4[path]/data/file/$bo_table/" . $image;
$thumbimg="$g4[path]/data/file/$bo_table/img_" . $list[$i][wr_id].".thumb";
make_thumb($thumb_width,$thumb_height,$thumbsource,$thumbimg);
@chmod($thumbimg, 0707);
echo "<a href='{$list[$i][href]}'><img src='$thumbimg' style='border:1 #E7E7E7 solid'></a>";

} else
echo "<a href='{$list[$i][href]}'><img src='$board_skin_path/img/no_image.jpg' width='{$thumb_width}' height='{$thumb_height}' style='border:1 #E7E7E7 solid'></a>";

    echo "</td></tr>";
    echo "<tr><td align=center height='30' valign='top'>";
    if ($is_category) {
    echo "<font style='font-size:11px;'><b>[".$list[$i][ca_name]."]</b></font><br>"; }
if ($is_checkbox) echo "<input type=checkbox name=chk_wr_id[] value='".$list[$i][wr_id]."'> ";
    //echo "<span style='font-family:Tahoma;font-size:8pt;'>No.".$list[$i][num]." </span>";
    echo "<a href='".$list[$i][href]."'>".$list[$i][subject]."</a>";
if ($list[$i][comment_cnt])
echo "&nbsp;<a href='".$list[$i][comment_href]."'><span style='font-family:Tahoma;font-size:8pt;'>".$list[$i][comment_cnt]."</span></a>";
echo "&nbsp;".$list[$i][icon_new]."&nbsp;".$list[$i][icon_hot]."<br/></td></tr>";
    echo "</table></td>\n";
}
// 나머지 td
$cnt = $i%$mod;
if ($cnt)
    for ($i=$cnt; $i<$mod; $i++)
        echo "<td style='border-bottom:1px solid #C0C0C0;' width='{$td_width}%'>&nbsp;</td>";
echo "</tr>";

if (count($list) == 0) { echo "<tr><td colspan='$mod' height=100 align=center>게시물이 없습니다.</td></tr>"; }

?>
<!-- 내용 끝-->
</table>
</form>

<!-- 페이지 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
    <td width="100%" align="center" height=30 valign=bottom>
        <? if ($prev_part_href) { echo "<a href='$prev_part_href'><img src='$board_skin_path/img/btn_search_prev.gif' border=0 align=absmiddle title='이전검색'></a>"; } ?>
        <?
        // 기본으로 넘어오는 페이지를 아래와 같이 변환하여 이미지로도 출력할 수 있습니다.
        //echo $write_pages;
        $write_pages = str_replace("처음", "<img src='$board_skin_path/img/begin.gif' border='0' align='absmiddle' title='처음'>", $write_pages);
        $write_pages = str_replace("이전", "<img src='$board_skin_path/img/prev.gif' border='0' align='absmiddle' title='이전'>", $write_pages);
        $write_pages = str_replace("다음", "<img src='$board_skin_path/img/next.gif' border='0' align='absmiddle' title='다음'>", $write_pages);
        $write_pages = str_replace("맨끝", "<img src='$board_skin_path/img/end.gif' border='0' align='absmiddle' title='맨끝'>", $write_pages);
        $write_pages = preg_replace("/<span>([0-9]*)<\/span>/", "<b><font style=\"font-family:돋움; font-size:9pt; color:#797979\">$1</font></b>", $write_pages);
        $write_pages = preg_replace("/<b>([0-9]*)<\/b>/", "<b><font style=\"font-family:돋움; font-size:9pt; color:orange;\">$1</font></b>", $write_pages);
        ?>
        <?=$write_pages?>
        <? if ($next_part_href) { echo "<a href='$next_part_href'><img src='$board_skin_path/img/btn_search_next.gif' border=0 align=absmiddle title='다음검색'></a>"; } ?>
    </td>
</tr>
</table>

<!-- 링크 버튼, 검색 -->
<form name=fsearch method=get style="margin:0px;">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca      value="<?=$sca?>">
<table width=100% cellpadding=0 cellspacing=0>
<tr>

        <td width="30%" height="18" class="v7 color_999">
        <? if ($list_href) { ?>&nbsp;<a href="<?=$list_href?>">list</a><? } ?>
        <? if ($write_href) { ?>&nbsp;<a href="<?=$write_href?>">write</a><? } ?>
        <? if ($is_checkbox) { ?>
        &nbsp;<a href="javascript:select_delete();">delete</a>
        &nbsp;<a href="javascript:select_copy('copy');">copy</a>
&nbsp;<a href="javascript:select_copy('move');">move</a><? } ?>
<? if ($member[mb_level] < 2 ) { ?>
  &nbsp;<a href="<?=$g4['path']?>/bbs/login.php">login</a>
<? } ?>
        <? if ($admin_href) { ?><a href="<?=$admin_href?>"> *</a><?}?>
    </td>

  <td width="100%" height="30" align="right">
            <input type="hidden" name=sfl value='wr_subject||wr_content'><input type="hidden" name=sop value="and">
<input name=stx maxlength=15 size=26 itemname="검색어" required value="<?=$stx?>" class="ed"><input type=image src="<?=$board_skin_path?>/img/search.gif" border=0 align=absmiddle></td>
</tr>
</table><br>
</form>

</td></tr></table>

<!-- 카테고리 링크로 인한 삭제
<script language="JavaScript">
if ("<?=$sca?>") document.fcategory.sca.value = "<?=$sca?>";
if ("<?=$stx?>") {
    document.fsearch.sfl.value = "<?=$sfl?>";
    document.fsearch.sop.value = "<?=$sop?>";
}
</script>
-->

<? if ($is_checkbox) { ?>
<script language="JavaScript">
function all_checked(sw)
{
    var f = document.fboardlist;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]")
            f.elements[i].checked = sw;
    }
}

function check_confirm(str)
{
    var f = document.fboardlist;
    var chk_count = 0;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]" && f.elements[i].checked)
            chk_count++;
    }

    if (!chk_count) {
        alert(str + "할 게시물을 하나 이상 선택하세요.");
        return false;
    }
    return true;
}

// 선택한 게시물 삭제
function select_delete()
{
    var f = document.fboardlist;

    str = "삭제";
    if (!check_confirm(str))
        return;

    if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다"))
        return;

    f.action = "./delete_all.php";
    f.submit();
}

// 선택한 게시물 복사 및 이동
function select_copy(sw)
{
    var f = document.fboardlist;

    if (sw == "copy")
        str = "복사";
    else
        str = "이동";
                     
    if (!check_confirm(str))
        return;

    var sub_win = window.open("", "move", "left=50, top=50, width=396, height=550, scrollbars=1");

    f.sw.value = sw;
    f.target = "move";
    f.action = "./move.php";
    f.submit();
}
</script>
<? } ?>
<!-- 게시판 목록 끝 -->

윽.. a href가 많이나와서 list.skin.php 전문을 복사했습니다. 이중에 어디에 넣으면될까요??
<? // ver 4.09.02
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$mod = $board[bo_gallery_cols];

if (!$board[bo_gallery_cols])
$mod = 2; // 가로 이미지 개수

$td_width = (int)(100 / $mod);

//섬네일 관련 설정
$thumb_width=120;//섬네일 최대폭
$thumb_height=100;//섬네일 최대높이

 //DQ엔진 인클루드 2005-03-22 석훈
include_once "$g4[path]/thumbEngine/dq_thumb_engine2.php";
$dqEngine['thumb_resize'] = 2;

// 제목이 두줄로 표시되는 경우 이 코드를 사용해 보세요.
// <nobr style='display:block; overflow:hidden; width:000px;'>제목</nobr>
?>
<STYLE type="text/css">
a:link      { color: #AAA; text-decoration: none; }
a:visited  { color: #AAA; text-decoration: none; }
a:hover    { color: #C0C0C0; text-decoration: none; }
a:active    { color: #C0C0C0; text-decoration: none; }

.span_bg { background-color:#C0C0C0; }
.font_height { line-height: 1.5; }
.color_gold1 { color:#C0C0C0; }
.color_gold2 { color:#C0C0C0; }
.color_gold3 { color:#C0C0C0; }
.color_gold4 { color:#C0C0C0; }
.color_fff { color:#fff; }
.color_ccc { color:#ccc; }
.color_aaa { color:#aaa; }
.color_999 { color:#999; }
.t7 { font-family:Tahoma; font-size:7pt; }
.v7 { font-family:verdana; font-size:7pt; }

input.ed { height:20px; border:1px solid #EFEFEF; padding:3px 2px 0 2px; }
input.ed_password { height:20px; border:1px solid #EFEFEF; padding:3px 2px 0 2px; font:10px Tahoma; }
textarea.tx { border:1px solid #EFEFEF; padding:2px; }
</style>

<!-- 게시판 목록 시작 -->
<table width="<?=$width?>" align=center cellpadding=0 cellspacing=0><tr><td>


<!-- 분류 셀렉트 박스, 게시물 몇건, 관리자화면 링크 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr height="25">
<? if ($is_category) { ?>
<form name='fcategory' method='get'>
<td width='10'></td><td width='70%'><font color='#336699'>&nbsp;
<? 
$cnt_bo_1 = $bo_1[0] ? $bo_1[0] : 10; // 한줄당 분류 갯수(현재:10)
$cnt = 1;
$cnt0 = 0;
$bb_s=""; $bb_e="";
$arr = explode("|", $board[bo_category_list]); // 구분자가 , 로 되어 있음

for ($i=0; $i<count($arr); $i++)
if (trim($arr[$i]))  {
if ($sca == $arr[$i]) { $cnt0++; $b_s="<b>"; $b_e="</b>"; } else {$b_s=""; $b_e="";}
$str .= "&nbsp;&nbsp;|&nbsp;&nbsp;<a href='./board.php?bo_table=$bo_table&sca=" . rawurlencode($arr[$i]) . "' targer="_blank">$b_s$arr[$i]$b_e</a>";
if ($cnt == $cnt_bo_1) { $cnt = 0; $str .= "<br>"; }
$cnt++;
}
if ($cnt0 == 0 ) { $bb_s="<b>"; $bb_e="</b>"; }
?>
  <? echo $bb_s;?><a href='./board.php?bo_table=<?=$bo_table?>&page=<?=$page?>'>전체</a><?=$bb_e?><?=$str?></font></td>
</form>
<? } ?>
   
</tr>
</table>

<!-- 제목 -->
<form name="fboardlist" method="post" style="margin:0px;">
<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=1 bgcolor=#C0C0C0></td></tr>
<tr height=30 align=center>

<!-- 내용 시작-->
<?

for ($i=0; $i<count($list); $i++)
{
    if ($i && $i%$mod==0)
        echo "</tr><tr>";

echo "<td width='{$td_width}%' valign=bottom style='word-break:break-all;'>";
    echo "<table width=100% style='border-bottom:1px solid #C0C0C0;'>";
    echo "<tr><td height=5></td></tr>";
    echo "<tr><td align=center>";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {

$thumbsource="$g4[path]/data/file/$bo_table/" . $image;
$thumbimg="$g4[path]/data/file/$bo_table/img_" . $list[$i][wr_id].".thumb";
make_thumb($thumb_width,$thumb_height,$thumbsource,$thumbimg);
@chmod($thumbimg, 0707);
echo "<a href='{$list[$i][href]}'><img src='$thumbimg' style='border:1 #E7E7E7 solid'></a>";

} else
echo "<a href='{$list[$i][href]}'><img src='$board_skin_path/img/no_image.jpg' width='{$thumb_width}' height='{$thumb_height}' style='border:1 #E7E7E7 solid'></a>";

    echo "</td></tr>";
    echo "<tr><td align=center height='30' valign='top'>";
    if ($is_category) {
    echo "<font style='font-size:11px;'><b>[".$list[$i][ca_name]."]</b></font><br>"; }
if ($is_checkbox) echo "<input type=checkbox name=chk_wr_id[] value='".$list[$i][wr_id]."'> ";
    //echo "<span style='font-family:Tahoma;font-size:8pt;'>No.".$list[$i][num]." </span>";
    echo "<a href='".$list[$i][href]."'>".$list[$i][subject]."</a>";
if ($list[$i][comment_cnt])
echo "&nbsp;<a href='".$list[$i][comment_href]."'><span style='font-family:Tahoma;font-size:8pt;'>".$list[$i][comment_cnt]."</span></a>";
echo "&nbsp;".$list[$i][icon_new]."&nbsp;".$list[$i][icon_hot]."<br/></td></tr>";
    echo "</table></td>\n";
}
// 나머지 td
$cnt = $i%$mod;
if ($cnt)
    for ($i=$cnt; $i<$mod; $i++)
        echo "<td style='border-bottom:1px solid #C0C0C0;' width='{$td_width}%'>&nbsp;</td>";
echo "</tr>";

if (count($list) == 0) { echo "<tr><td colspan='$mod' height=100 align=center>게시물이 없습니다.</td></tr>"; }

?>
<!-- 내용 끝-->
</table>
</form>

<!-- 페이지 -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
    <td width="100%" align="center" height=30 valign=bottom>
        <? if ($prev_part_href) { echo "<a href='$prev_part_href'><img src='$board_skin_path/img/btn_search_prev.gif' border=0 align=absmiddle title='이전검색'></a>"; } ?>
        <?
        // 기본으로 넘어오는 페이지를 아래와 같이 변환하여 이미지로도 출력할 수 있습니다.
        //echo $write_pages;
        $write_pages = str_replace("처음", "<img src='$board_skin_path/img/begin.gif' border='0' align='absmiddle' title='처음'>", $write_pages);
        $write_pages = str_replace("이전", "<img src='$board_skin_path/img/prev.gif' border='0' align='absmiddle' title='이전'>", $write_pages);
        $write_pages = str_replace("다음", "<img src='$board_skin_path/img/next.gif' border='0' align='absmiddle' title='다음'>", $write_pages);
        $write_pages = str_replace("맨끝", "<img src='$board_skin_path/img/end.gif' border='0' align='absmiddle' title='맨끝'>", $write_pages);
        $write_pages = preg_replace("/<span>([0-9]*)<\/span>/", "<b><font style=\"font-family:돋움; font-size:9pt; color:#797979\">$1</font></b>", $write_pages);
        $write_pages = preg_replace("/<b>([0-9]*)<\/b>/", "<b><font style=\"font-family:돋움; font-size:9pt; color:orange;\">$1</font></b>", $write_pages);
        ?>
        <?=$write_pages?>
        <? if ($next_part_href) { echo "<a href='$next_part_href'><img src='$board_skin_path/img/btn_search_next.gif' border=0 align=absmiddle title='다음검색'></a>"; } ?>
    </td>
</tr>
</table>

<!-- 링크 버튼, 검색 -->
<form name=fsearch method=get style="margin:0px;">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca      value="<?=$sca?>">
<table width=100% cellpadding=0 cellspacing=0>
<tr>

        <td width="30%" height="18" class="v7 color_999">
        <? if ($list_href) { ?>&nbsp;<a href="<?=$list_href?>">list</a><? } ?>
        <? if ($write_href) { ?>&nbsp;<a href="<?=$write_href?>">write</a><? } ?>
        <? if ($is_checkbox) { ?>
        &nbsp;<a href="javascript:select_delete();">delete</a>
        &nbsp;<a href="javascript:select_copy('copy');">copy</a>
&nbsp;<a href="javascript:select_copy('move');">move</a><? } ?>
<? if ($member[mb_level] < 2 ) { ?>
  &nbsp;<a href="<?=$g4['path']?>/bbs/login.php">login</a>
<? } ?>
        <? if ($admin_href) { ?><a href="<?=$admin_href?>"> *</a><?}?>
    </td>

  <td width="100%" height="30" align="right">
            <input type="hidden" name=sfl value='wr_subject||wr_content'><input type="hidden" name=sop value="and">
<input name=stx maxlength=15 size=26 itemname="검색어" required value="<?=$stx?>" class="ed"><input type=image src="<?=$board_skin_path?>/img/search.gif" border=0 align=absmiddle></td>
</tr>
</table><br>
</form>

</td></tr></table>

<!-- 카테고리 링크로 인한 삭제
<script language="JavaScript">
if ("<?=$sca?>") document.fcategory.sca.value = "<?=$sca?>";
if ("<?=$stx?>") {
    document.fsearch.sfl.value = "<?=$sfl?>";
    document.fsearch.sop.value = "<?=$sop?>";
}
</script>
-->

<? if ($is_checkbox) { ?>
<script language="JavaScript">
function all_checked(sw)
{
    var f = document.fboardlist;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]")
            f.elements[i].checked = sw;
    }
}

function check_confirm(str)
{
    var f = document.fboardlist;
    var chk_count = 0;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]" && f.elements[i].checked)
            chk_count++;
    }

    if (!chk_count) {
        alert(str + "할 게시물을 하나 이상 선택하세요.");
        return false;
    }
    return true;
}

// 선택한 게시물 삭제
function select_delete()
{
    var f = document.fboardlist;

    str = "삭제";
    if (!check_confirm(str))
        return;

    if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다"))
        return;

    f.action = "./delete_all.php";
    f.submit();
}

// 선택한 게시물 복사 및 이동
function select_copy(sw)
{
    var f = document.fboardlist;

    if (sw == "copy")
        str = "복사";
    else
        str = "이동";
                     
    if (!check_confirm(str))
        return;

    var sub_win = window.open("", "move", "left=50, top=50, width=396, height=550, scrollbars=1");

    f.sw.value = sw;
    f.target = "move";
    f.action = "./move.php";
    f.submit();
}
</script>
<? } ?>
<!-- 게시판 목록 끝 -->

한번이렇게..
앗 답변 감사합니다!
구런데.. 적어주신대로 list.skin.php를 변경하니
Parse error: syntax error, unexpected T_STRING in /home/hosting_users/dnltmzlznzl/www/home/skin/board/gallary/list.skin.php on line 66
라는 에러문구가 뜨면서 사진게시판이 안나오네요..
무슨 문제일까요??
© SIRSOFT
현재 페이지 제일 처음으로