최신갤러리 바로가기 설정 관련 질문입니다. 정보
최신갤러리 바로가기 설정 관련 질문입니다.
본문
http://fan.wsgvet.com
위의 사이트가 제가 이번에 만든 사이트이구요
빌더는
http://sir.co.kr/bbs/board.php?bo_table=g4_builder&wr_id=7301
nw빌더입니다.
최신갤러리 스킨은
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=120985
위의 ez_slider 입니다.
첫 화면에서 사진을 클릭하면 해당 게시물로 바로가기를 넣고 싶은데요
아무리해도 첫화면이나 빈화면으로 밖에 안가지네요..
소스 첨부해봅니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
/*
* latest.skin Gallery for Gnuboard4
*
* Copyright 2012.1.2 Man Hyung, cho
*
* File encoding: Korean(EUC-KR)
*
*/
//불당썸---------------------------------------------------------------//
$img_width = 1068; //표시할 이미지의 가로사이즈
$img_height = 600; //표시할 이미지의 세로사이즈
//언샾마스트 퀄리티(썸 노이즈바지)
$th['filter'] = array();
$th['filter']['type'] = 90;
$th['filter']['arg1'] = 100;
$th['filter']['arg2'] = 1;
$th['filter']['arg3'] = 2;
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
$no_img = $latest_skin_path."/img/no_img.gif";
// 불당썸을 include
include_once("$g4[path]/lib/thumb.lib.php");
//불당썸---------------------------------------------------------------//
?>
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/themes/default/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/themes/pascal/pascal.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/themes/orman/orman.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/style.css" type="text/css" media="screen" />
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider" style="width:<?php echo "{$img_width}px" ?>">
<?php
for ($i=0; $i<count($list); $i++) {
$thumfile = "";
$thumb = $thumb_path.'/'.$list[$i][wr_id];
$file = $list[$i][file][0][path] .'/'. $list[$i][file][0][file];
// 업로드된 파일이 이미지라면
if (preg_match("/\.(jpg|gif|png|bmp)$/i", $file) && file_exists($file)) {
$thumb = thumbnail($file, $img_width, $img_height, 0, 1, 90, 0, "", $filter, $noimg); //첨부파일 언샾마스크추가
} else { //에디터에서 삽입한 이미지
$edit_img = $list[$i]['wr_content'];
if (eregi("data/cheditor4[^<>]*\.(gif|jp[e]?g|png|bmp)", $edit_img, $tmp)) { // data/cheditor------
$file = $g4[path].'/' . $tmp[0]; // 파일명
$thumb=thumbnail($file, $img_width, $img_height, 0, 1, 90, 0, "", $filter, $noimg); //언샾마스크추가
}
}
?>
<a href="<?=set_http($list[$i][wr_link1])?>" target='_blank'><img src="<?php echo $thumb; ?>" alt="" title="" ></a>
<?php
}
?>
</div>
<div id="htmlcaption" class="nivo-html-caption">
<span class="font"><?php echo $list[$i]['subject']; ?></span>
</div>
</div>
<!--
<script type="text/javascript" src="<?php echo $latest_skin_path?>/scripts/jquery-1.7.1.min.js"></script>
-->
<script type="text/javascript" src="<?php echo $latest_skin_path?>/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
---------------------------
위의 소스 중에
<a href="<?=set_http($list[$i][wr_link1])?>" target='_blank'><img src="<?php echo $thumb; ?>" alt="" title="" ></a>
이 소스인 것 같은데
<a href="#"><img src="<?php echo $thumb; ?>" alt="" title="" ></a>
위의 소스가 원본 소스입니다.
그래서 원래는 http://fan.wsgvet.com
여기로 바로가기로 되더군요...
이틀 밤샜는데 도저히 모르겠네요 ㅠㅠ
위의 사이트가 제가 이번에 만든 사이트이구요
빌더는
http://sir.co.kr/bbs/board.php?bo_table=g4_builder&wr_id=7301
nw빌더입니다.
최신갤러리 스킨은
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=120985
위의 ez_slider 입니다.
첫 화면에서 사진을 클릭하면 해당 게시물로 바로가기를 넣고 싶은데요
아무리해도 첫화면이나 빈화면으로 밖에 안가지네요..
소스 첨부해봅니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
/*
* latest.skin Gallery for Gnuboard4
*
* Copyright 2012.1.2 Man Hyung, cho
*
* File encoding: Korean(EUC-KR)
*
*/
//불당썸---------------------------------------------------------------//
$img_width = 1068; //표시할 이미지의 가로사이즈
$img_height = 600; //표시할 이미지의 세로사이즈
//언샾마스트 퀄리티(썸 노이즈바지)
$th['filter'] = array();
$th['filter']['type'] = 90;
$th['filter']['arg1'] = 100;
$th['filter']['arg2'] = 1;
$th['filter']['arg3'] = 2;
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
$no_img = $latest_skin_path."/img/no_img.gif";
// 불당썸을 include
include_once("$g4[path]/lib/thumb.lib.php");
//불당썸---------------------------------------------------------------//
?>
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/themes/default/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/themes/pascal/pascal.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/themes/orman/orman.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/nivo-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $latest_skin_path?>/style.css" type="text/css" media="screen" />
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider" style="width:<?php echo "{$img_width}px" ?>">
<?php
for ($i=0; $i<count($list); $i++) {
$thumfile = "";
$thumb = $thumb_path.'/'.$list[$i][wr_id];
$file = $list[$i][file][0][path] .'/'. $list[$i][file][0][file];
// 업로드된 파일이 이미지라면
if (preg_match("/\.(jpg|gif|png|bmp)$/i", $file) && file_exists($file)) {
$thumb = thumbnail($file, $img_width, $img_height, 0, 1, 90, 0, "", $filter, $noimg); //첨부파일 언샾마스크추가
} else { //에디터에서 삽입한 이미지
$edit_img = $list[$i]['wr_content'];
if (eregi("data/cheditor4[^<>]*\.(gif|jp[e]?g|png|bmp)", $edit_img, $tmp)) { // data/cheditor------
$file = $g4[path].'/' . $tmp[0]; // 파일명
$thumb=thumbnail($file, $img_width, $img_height, 0, 1, 90, 0, "", $filter, $noimg); //언샾마스크추가
}
}
?>
<a href="<?=set_http($list[$i][wr_link1])?>" target='_blank'><img src="<?php echo $thumb; ?>" alt="" title="" ></a>
<?php
}
?>
</div>
<div id="htmlcaption" class="nivo-html-caption">
<span class="font"><?php echo $list[$i]['subject']; ?></span>
</div>
</div>
<!--
<script type="text/javascript" src="<?php echo $latest_skin_path?>/scripts/jquery-1.7.1.min.js"></script>
-->
<script type="text/javascript" src="<?php echo $latest_skin_path?>/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
---------------------------
위의 소스 중에
<a href="<?=set_http($list[$i][wr_link1])?>" target='_blank'><img src="<?php echo $thumb; ?>" alt="" title="" ></a>
이 소스인 것 같은데
<a href="#"><img src="<?php echo $thumb; ?>" alt="" title="" ></a>
위의 소스가 원본 소스입니다.
그래서 원래는 http://fan.wsgvet.com
여기로 바로가기로 되더군요...
이틀 밤샜는데 도저히 모르겠네요 ㅠㅠ
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '267209' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php