묻고답하기

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

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

도와주십시요

<소스입니다.>

<?
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 남기남
구름나무바위 회원가입시 약관동의, 개인정보취급방침 체크가 db에 저장되나요? [1] 2013.11.23 by CI
얼룩아 급해요 도와주세요 ㅜㅜ [1] 2013.11.23 by KrteamENT
kain786 게시판 글 작성시 이미지 크기 질문입니다. [1] 2013.11.23 by Cody
MIC 갤러리 사진 크기 제한 [1] 2013.11.23 by Cody
너부리야 content 위젯 테이블 탭 형태에서 타이틀 높이 조정... [1] file 2013.11.23 by Cody
안드로이더스스 참 미스테리입니다 [1] 2013.11.23 by CI
ring5 회원가입창 이메일 삭제 [3] 2013.11.23 by ring5
아이구머리 스케치북 모바일의 목록에서 조회수, 추천수가 보이지않아요ㅠ  
OEZ 여기 이소스 문제가 먼지..;;;ㅠㅠ 안나오네요;;ㅋㅋ  
Crassus 1.5x에서 1.7.3.6으로 업데이트 후에 모듈 업데이트가 안됩니다. file  
Sean_ 고수님들의 도움이 필요합니다. 회원검색모듈.. file  
원조바다새 텍스타일에서 모바일로.... [2] 2013.11.24 by 원조바다새
myone072 웹트래픽 용량좀 줄이는 방법이나 덜 쓰는 팁좀 알려주세요 ㅠㅠㅠㅠ [1] 2013.11.24 by 만나나나
나뚜르 XE의 어떤 페이지에서도 이미지 파일을 업로드하면 장애가 발생합니다. [1] file 2013.11.24 by KrteamENT
안드로이더스스 스케치북 게시판 질문이요 ㅎ [1] file 2013.11.24 by KrteamENT
안드로이더스스 사이트 백업할려면 무엇이 필요한가요 [1] 2013.11.24 by KrteamENT
하얀3 여기 묻고답하기와 똑같이 카테고리를 만들려면요? [1] file 2013.11.24 by KrteamENT
아싸리방가 댓글 끝페이지 부터 보는방법  
안드로이더스스 백업질문합니다  
때린데 또때려 php 업데이트 방법을 알려주세요 [1] 2013.11.24 by 때린데 또때려
손똥구리 설치후 사이트디자인설정에서 창 오른쪽이 잘립니다 file  
비상하는꿈 모바일 홈페이지 설정 좀 알려주세요 [1] 2013.11.24 by 업글
epxilone 디폴트 게시판 설정중 "사용자 정의"에 대해 질문 입니다.  
최태진814 데이터 이전에대해서 질문 드립니다..^^  
아린부품 스팸성 댓글 및 엮인 글 한꺼번에 지우는 방법 좀 알려주세요~  
미소바다 게시판 생성이 안됩니다. ㅠㅠ  
필살인생 회원목록에서 가입일과 최근로그인 날짜가 같은 회원만 찾아서 지우고 싶습니다.  
XE클라우드 일반설정에 사이트제목을 레이아웃에서 어떻게 불러오나요? {$siteTitle} [1] 2013.11.25 by CTN
rallablue 모바일이 먹통이에요 [1] 2013.11.25 by CI
포쿠쿠 게스트북에서 사용자이름 패스워드 이메일 없이 등록되게끔...