묻고답하기

해당 소스를 받아서  설치는 다 했습니다.최근 갤러리만 되는 스킨입니다.
근데 이미지 클릭시  팝업되면서 사진이 뜹니다.
이것을 팝업사진이 안되고 해당 계시판으로 가게 하고 싶은데요..
이것 저것 고쳐 보는데도 잘 안됩니다.
겨우 겨우 손볼거 봐서 해봤는데
해당 계시판이 뜨긴 뜨는데 위아래로 노프레임으로 만든 매뉴랑 이런게 다 없어지고
착실하게 계시판만 뜨내요
---------------------------
메뉴 등 기타
---------------------------
해당 계시판
---------------------------
하단부
---------------------------

요런 모양으로 만들고 싶은데

도와주십시요

<소스입니다.>

<?
if (preg_match("/:///i",$_zb_path) || (preg_match("/../i",$_zb_path))) $_zb_path="";
/*****************************************************
* 만드이:토토루                                      
* 홈페이지:(http://www.neosky.info)                    
* 이 3줄은 삭제하지 말아 주십시오.
******************************************************/
//제로보드 주소 끝에 /을 붙이세요.
//(예제:http://xxx.com/bbs/)
$_zb_url = "http://xxx.com/bbs/";

//제로보드 절대경로 끝에 /을 붙이세요.
//(예제:/home/www/bbs/)
$_zb_path = "/xxxxx/xxxxxxxx/bbs/";

// 이부분은 수정하면 안됨.
include $_zb_path."_head.php";

//전체 추출개수를 적어주세요.
$nos = "10";

//제목 짜르기. 지정된 숫자 이상이면 ...로 표시.
$max = "10";

//추출할 게시판 아이디 통합추출
//아이디|아이디|아이디 형식으로 추가가능합니다.
$boardss = "아이디|아이디|아이디";

//가로로 보일 이미지 개수
$_images_num = "3";

$zero_bbs = explode("|", $boardss);

$li = 0;

for ($i = 0; $i < sizeof($zero_bbs); $i++)
{
$boards = "zetyx_board_".$zero_bbs[$i];
$boards_category = "zetyx_board_category_".$zero_bbs[$i];
$query = "select $boards.no,$boards.name,$boards.subject,$boards.file_name1,$boards.category,$boards.total_comment,$boards.hit,$boards.reg_date,$boards_category.name as category_name from $boards,$boards_category where category=$boards_category.no and $boards.is_secret=0 and $boards.arrangenum=0 and $boards.headnum >-2000000000 order by $boards.reg_date desc limit $nos";
$result = mysql_query($query);
while ($data_board = mysql_fetch_array($result))
{
$tmp_zero_bbs[] = $zero_bbs[$i];
$subjects[] = stripslashes($data_board[subject]);
$names[] = stripslashes($data_board[name]);
$commentss[] = $data_board[total_comment];
$nums[] = $data_board[no];
$hit_bbs[] = $data_board[hit];
$date1[] = $data_board[reg_date];
$date2[] = date("Y.m.d",$data_board[reg_date]);
$date2s[] = date("l. Y년m월d일,A h:i:s",$data_board[reg_date]);
$b_file_name1[] = $data_board[file_name1];
$img_files[] = $data_board[file_name1];
$category_names[] = htmlspecialchars(stripslashes($data_board[category_name]));
$setup0 = mysql_fetch_array(mysql_query("select * from $admin_table where name='$zero_bbs[$i]'"));
$categorys[] = stripslashes($setup0[use_category]);
$title_gal[] = stripslashes($setup0[title]);
$li++;
}
}
?>
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
a.aa:link { color:#000000; text-decoration:none; }
a.aa:visited { color:#000000; text-decoration:none; }
a.aa:hover { text-decoration:underline; }

.table1 {width:100%;height:100%;}
.table2 {width:100%;height:32px;background-color:#f9f9f9;table-layout:fixed;}
.table3 {width:150px;table-layout:fixed;background-color:#f9f9f9;}
.table4 {width:150px;table-layout:fixed;}

.col1 {width:100%;background-color:#ffffff;}

.td1 {border-width:1px;border-color:#f0f0f0;border-style:solid;background-color:#ffffff;}
.td2 {white-space:nowrap;}

.span1 {font-size:9pt;font-family:굴림;font-weight:bold;color:#000000;}
.span2 {color:#CECFCE;}
.span3 {font-size:9pt;font-family:굴림;color:#000000;line-height:140%;}
.span4 {font-size:9pt;font-family:굴림;color:#000000;padding-bottom:4px;padding-top:2px;line-height:140%;}

.img1 {border:0px;vertical-align: middle;}

.comment1 {font-family:verdana;font-size:7pt;}
/*]]>*/-->
</style>
<table cellspacing="0" cellpadding="0" class="table1">
  <tr>
   <td valign="top" align="left">
<table cellspacing="3" cellpadding="5" class="table2">
<col class="col1" />
  <tr>
   <td align="left" class="td1">
    <span class="span1">전체 갤러리</span> <span class="span2">|</span>  
    <span class="span3">최근 올라온 사진 입니다.</span></td>
  </tr>
</table>
<table cellpadding="4" cellspacing="0">
<?
$_xx = 0;
$date3 = $date1;
@rsort($date1);
for($j=0;$j<$nos;$j++)
{
$tmp_date = $date1[$j];
for($i=0;$i<count($subjects);$i++)
{
if($tmp_date==$date3[$i])
{
//코멘트가 있을때 코멘트 숫자 표시.없을때는 0
if($commentss[$i]==0) $comments="0"; else $comments="".$commentss[$i]."";

//링크설정 게시판설정 전체목록보기 체크일때 zboard.php 언체크일때 view.php
if($use_alllists[$i]) $target = $_zb_url."zboard.php"; else $target = $_zb_url."view.php";

//카테고리일때 카테고리 추출,아닐경우 카테고리 제외.
if($title_gal[$i]) $title_bbs_gal = "".$title_gal[$i].""; else $title_bbs_gal = "".$tmp_zero_bbs[$i]."";
if($categorys[$i]) $use_category = "<br />위치: ".$title_bbs_gal.">".$category_names[$i].""; else $use_category = "<br />위치: ".$title_bbs_gal."";

//제목 일정길이이상 짜름.
$subject_i = cut_str($subjects[$i], $max);

//링크튤팁,테그제거.
$subject_is = strip_tags($subjects[$i]);

//링크분분.
$subject_i2 = "<a href="".$target."?id=".$tmp_zero_bbs[$i]."&no=".$nums[$i]."" title="".$subject_is."n작성자:".$names[$i]."n글쓴날:".$date2s[$i]."n조회수:".$hit_bbs[$i]."" class="aa">".$subject_i."";

// 24시간안에 올라온글이 있다면 new표시.
$recent_time = 60*60*24;
$reg_time = $tmp_date;
if(time() - $reg_time < $recent_time) {
$new="<img src="".$_zb_url."lat_bbs_gl/images/new.gif" class="img1" alt="24시간 안에 올라온글입니다" />";
} else {
$new="";
}

//이미지 원본 사이즈를 구함.
$img_files_i = $_zb_path.$img_files[$i];
if ($img_files[$i]) {
$imgs = getimagesize($img_files_i);
$imgs_x = $imgs[0];
$imgs_y = $imgs[1];
}

//링크분분.
$img_link="<a href=".javascript클릭 하시면 원본 사진을 보실 수 있습니다;" onclick="window.open('".$_zb_url."lat_bbs_gl/img.php?img_file_url=".str_replace("%2F","/",htmlspecialchars(urlencode($img_files[$i])))."','','width=".$imgs_x."px,height=".$imgs_y."px,resizable=no,toolbars=no,scrollbars=no'); return false;" title="클릭 하시면 원본 사진을 보실 수 있습니다." class="aa">";

// 이미지 파일이 아닐수도 있으니..이미지 파일인지 검사.
// 이미지 파일이라면 출력.
//이미지가 한글파일일수도 있으니 urlencode 처리
//정규식을 이용,이미지 파일인지 검사.
$file_1sss = substr(strrchr($b_file_name1[$i], '.'), 1);
if(preg_match("/(jpg|png|gif|jpeg|bmp)/i",$file_1sss)) $b_file_name1s="<img src="".$_zb_url.str_replace("%2F","/",htmlspecialchars(urlencode($b_file_name1[$i])))."" style="width:130px;height:120px;border:1px solid #f0f0f0;vertical-align: top;" alt="클릭 하시면 원본 사진을 보실 수 있습니다." />"; else $b_file_name1s = "";

$_xx ++;
$_images = $_xx % $_images_num;
?>
<?if($_images==1){?>
<tr>
<?}?>
<td align="left" valign="top">
<?if(preg_match("/(jpg|png|gif|jpeg|bmp)/i",$file_1sss)) {?><table cellspacing="3" cellpadding="5" class="table3">
<col class="col1" />
  <tr>
   <td align="left" class="td1">
<?=$img_link?><?=$b_file_name1s?></a></td>
  </tr>
</table><?}?>
<table cellspacing="3" cellpadding="5" class="table4">
<col class="col1" />
  <tr>
<td align="left" class="td1" valign="top"><span class="span3"><b><?=$subject_i2?></a></b> <?=$new?><br />코멘트: <?=$comments?> , hit: <?=$hit_bbs[$i]?><br />글쓴이: <?=$names[$i]?><br />글쓴날: <?=$date2[$i]?><?if(preg_match("/(jpg|png|gif|jpeg|bmp)/i",$file_1sss)) {?><br />사진크기: <?=$imgs_x?>*<?=$imgs_y?><?}?><?=$use_category?></span>
</td>
</tr>
</table>
</td>
<?if(!$_images){?>
</tr>
<tr>
<td style="height:1px;" colspan="<?=$_images_num?>"></td>
</tr>
<? } ?>
<? }}} ?>
</table>
</td>
</tr>
</table>






-------------------------------------------------------------------------------
여기 까지 입니다.이 소스는요 php파입니다.
근데 수정을 아래와 같이 했습니다.

//링크분분.
$img_link="<a href=".javascript클릭 하시면 원본 사진을 보실 수 있습니다;" onclick="window.open('".$_zb_url."lat_bbs_gl/img.php?img_file_url=".str_replace("%2F","/",htmlspecialchars(urlencode($img_files[$i])))."','','width=".$imgs_x."px,height=".$imgs_y."px,resizable=no,toolbars=no,scrollbars=no'); return false;" title="클릭 하시면 원본 사진을 보실 수 있습니다." class="aa">";



위 부부을 지우고 아래처럼 수정했습니다.


//링크분분.
$img_link="<a href="".$target."?id=".$tmp_zero_bbs[$i]."&no=".$nums[$i]."" title="".$subject_is."n작성자:".$names[$i]."n글쓴날:".$date2s[$i]."n조회수:".$hit_bbs[$i]."" class="aa">";


그래서 사진을 클릭하면 해당 사진이 있는 계시판으로 바로 들어가 지는데

온니 계시판만 나오는 것입니다.
위에 노프레임으로 만든 메뉴바랑 이런거 다 없어지고요
위아래 노프레임부분을 나오게 하려면 저위에 소스를 다시 손봐야 하나요 아님 다른 소스를 손봐야 하나요
워낙 초보라 죄송합니다.
하루종일 따라 해봐도 영 힘드내요.
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
경문규 도메인 검색 가능한가요???  
은선 꼭입니다.  
정대환 왜 안될까여? [1] 2007.08.10
시로이로 노프레임에 사용권한없게 하는거 말입니다.  
장우성 Action관련 질문요! [1] 2007.08.10
ㄴrㄹr 홈페이지 안에 비공개홈피 만들기 [1] 2007.08.10
김경미 셀 내용이 늘어나면서 바탕 배경 이미지가 늘어나는현상은??  
심화섭 [질문]테이블 안의 테이블 구조에서 [1] 2007.08.10
YK 테이블 셀에 게시판 삽입 방법 [1] 2007.08.10
클린아이 앞뒤로 넘어가는 버튼 좀 알려주세요.  
펠렌 CSS 로 배경 여러개 고정.. [1] 2007.08.10
김기현 플래쉬에서 액션스크립트 수정할수 있는 창 어떻게 띄우죠? [5] 2007.08.10
박용규 포토샵에서요. [1] 2007.08.10
lw9698 이런 공식은 어떻게 하나요(완전 초보라서...) [1] 2007.08.10
pahiyas 드림위버 에런데여 무슨말인지..모르겠습니다..ㅠ.ㅠ;;  
김기현 FLasH에서 작업한 파일을 홈페이지에~ [3] 2007.08.10
송승한 도움 부탁 드립니다  
눈썹 폰트자료실 사용범위문의  
백승렬 쿠키사용 질문!! 급해요. [1] 2007.08.10
김다혜 홈페이지를 만들고 올리려면.. [5] 2007.08.10
정용신 질문드립니다^^ [5] 2007.08.10
박준하 제로보드 상단//하단에 불러올 파일을 했는데..  
남궁현우 다운로드후 윈도우 미디어로 재생이 되는데요 바로 인터넷주소로 윈도우미디어로 재생되게 [3] 2007.08.10
한이쁨 지금들어오신분들봐주세요 ㅜ.ㅜ [8] 2007.08.10
제이 throttle를 이용하여 일정트래픽이 되면 페이지를 다른페이지로 이동하는 소스...  
느닷없이질문 폼(form) 문의 [1] 2007.08.10
김성국 이페이지를 친구에게 보내기를 첨부하려면....  
레드뱀프 아말감처리란  
아이리 mms를 웹상에서 재생하는 방법좀...  
백철 파일 업로드 버튼 css적용하는 방법이 궁금합니다. [1] 2007.08.10