한 영역에 include 삽입시 다른영역의 스킨이 영향을 받습니다. 정보
한 영역에 include 삽입시 다른영역의 스킨이 영향을 받습니다.본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://sk82.cafe24.com
인덱스 소스 제일 하단에
<?php echo latest("default_text",g4b1,6,80)?> 구문을
<?php include "$g4[path]/plugin/family_tab/family_tab.php"; ?> 구문으로 변경하면
홈페이지 중간에 위치한 방명록 스킨 사이즈까지 변경됩니다.
영향 받는 소스는 중간에
<?php echo latest("paging_write", g4b1, 5, 100, "0/on/on/on/820"); ?>
완전히 분리된것으로 보이는데 왜 영향을 받는지 모르겠네요. div id 까지 다른데...
테이블 아이디 g4b1 이 방명록 게시판입니다. 기존 방명록 호출 구문을 다른것으로 바꾸는데
영향을 주는거 보니 다른 연결고리가 있는걸까요..
==============================================================
<?php
if(!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once($g4['path'].'/lib/latest.lib.php');
include_once($g4['path'].'/lib/new_comment.lib.php');
?>
<div id="slider_block">
<?php //메인 이미지 출력 하는 부분입니다. 슬라이더와 최신글 슬라이더로 변경하시려면 아래줄을 변경하시면 됩니다. ?>
<!-- <img src="<?php echo $theme_skin_path;?>/img/image2.jpg" border=0 width="<?=$wrap_width;?>"> -->
<?php echo latest("FullscreenSlitSlider",g4b2,4,80)?>
</div>
<div class="horizontal_line"></div>
<div id="notice_block">
<?php // 메인 슬라이더 아랫쪽에 섬네일 4개와 내용을 출력하는 최신글 부분입니다. ?>
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='940' valign='top' ><?=latest(zoom_open, "g1b1", 10, 10);?></td>
</tr>
</table>
</div>
<div class="horizontal_line"></div>
<div id="notice_block2">
<?php // 메인 슬라이더 아랫쪽에 섬네일 4개와 내용을 출력하는 최신글 부분입니다. ?>
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='300' valign='top' ><?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling.php"; ?></td>
<td width='640' valign='top' style='padding-left:20px;' ><?php echo latest("paging_write", g4b1, 5, 100, "0/on/on/on/820"); ?></td>
</tr>
</table>
</div>
<div class="horizontal_line"></div>
<div id="gallery_block">
<?php //최신글 이미지 섬네일 6개를 출력하는 최신글 부분입니다. ?>
<div style=" float:left; width:680px; margin-bottom:15px;"><?=latest(column, "g1b2", 6, 42);?></div>
<?php //회원프로필 사진과 최신 코멘트를 출력하는 부분입니다.. ?>
<div style=" margin-left:720px; width:220px;"><?php echo new_comment("default_new_comment",g1b4,4,60)?></div>
</div>
<div class="horizontal_line"></div>
<div id="latest_block">
<!-- 메인화면 최신글 시작 -->
<<table align=center cellpadding=0 cellspacing=0 border=0 ><tr>
<tr>
<td width='100%' valign='top'><?php echo latest("timeline",g2b1,7,80);?></td>
</tr>
</table>
</div>
<div id="latest_block">
<!-- 메인화면 최신글 시작 -->
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='940' valign='top' ><?php echo latest("default_text",g4b1,6,80)?></td>
</tr>
</table>
</div>
오류 주소 : http://sk82.cafe24.com
인덱스 소스 제일 하단에
<?php echo latest("default_text",g4b1,6,80)?> 구문을
<?php include "$g4[path]/plugin/family_tab/family_tab.php"; ?> 구문으로 변경하면
홈페이지 중간에 위치한 방명록 스킨 사이즈까지 변경됩니다.
영향 받는 소스는 중간에
<?php echo latest("paging_write", g4b1, 5, 100, "0/on/on/on/820"); ?>
완전히 분리된것으로 보이는데 왜 영향을 받는지 모르겠네요. div id 까지 다른데...
테이블 아이디 g4b1 이 방명록 게시판입니다. 기존 방명록 호출 구문을 다른것으로 바꾸는데
영향을 주는거 보니 다른 연결고리가 있는걸까요..
==============================================================
<?php
if(!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once($g4['path'].'/lib/latest.lib.php');
include_once($g4['path'].'/lib/new_comment.lib.php');
?>
<div id="slider_block">
<?php //메인 이미지 출력 하는 부분입니다. 슬라이더와 최신글 슬라이더로 변경하시려면 아래줄을 변경하시면 됩니다. ?>
<!-- <img src="<?php echo $theme_skin_path;?>/img/image2.jpg" border=0 width="<?=$wrap_width;?>"> -->
<?php echo latest("FullscreenSlitSlider",g4b2,4,80)?>
</div>
<div class="horizontal_line"></div>
<div id="notice_block">
<?php // 메인 슬라이더 아랫쪽에 섬네일 4개와 내용을 출력하는 최신글 부분입니다. ?>
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='940' valign='top' ><?=latest(zoom_open, "g1b1", 10, 10);?></td>
</tr>
</table>
</div>
<div class="horizontal_line"></div>
<div id="notice_block2">
<?php // 메인 슬라이더 아랫쪽에 섬네일 4개와 내용을 출력하는 최신글 부분입니다. ?>
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='300' valign='top' ><?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling.php"; ?></td>
<td width='640' valign='top' style='padding-left:20px;' ><?php echo latest("paging_write", g4b1, 5, 100, "0/on/on/on/820"); ?></td>
</tr>
</table>
</div>
<div class="horizontal_line"></div>
<div id="gallery_block">
<?php //최신글 이미지 섬네일 6개를 출력하는 최신글 부분입니다. ?>
<div style=" float:left; width:680px; margin-bottom:15px;"><?=latest(column, "g1b2", 6, 42);?></div>
<?php //회원프로필 사진과 최신 코멘트를 출력하는 부분입니다.. ?>
<div style=" margin-left:720px; width:220px;"><?php echo new_comment("default_new_comment",g1b4,4,60)?></div>
</div>
<div class="horizontal_line"></div>
<div id="latest_block">
<!-- 메인화면 최신글 시작 -->
<<table align=center cellpadding=0 cellspacing=0 border=0 ><tr>
<tr>
<td width='100%' valign='top'><?php echo latest("timeline",g2b1,7,80);?></td>
</tr>
</table>
</div>
<div id="latest_block">
<!-- 메인화면 최신글 시작 -->
<table align=center cellpadding=0 cellspacing=0 border=0 >
<tr>
<td width='940' valign='top' ><?php echo latest("default_text",g4b1,6,80)?></td>
</tr>
</table>
</div>
( 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 = '281395' 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