초간단 질문입니다... > 그누4 질문답변

그누4 질문답변

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

초간단 질문입니다... 정보

초간단 질문입니다...

본문


제나 빌더로 홈페이지를 만들었습니다.

시하님 스킨을index.php  에 적용중 문제가 발생했습니다.

아래 문제 스샷입니다.




스킨을 붙이고 나니..tail 부분이  index 안으로 들어왓습니다.. ㅡㅡ;

   <!--index-->
<?=latest("latest_onetap07", "z4_8", 5, 15); // 최신글 오토탭무빙 ?>
<table width="100%" cellpadding="0" cellspacing="0">

    <colgroup>
    <col />
    <col width="10" />
    <col width="190" />
    </colgroup>
    <tr>
    <td valign="top">
     <?=zn_latest("colorbasic", z1_2, 5, 40, "") //  H,LH,C,R,G,N,WR ?>
    <div class="bline10"></div>
     <?=zn_latest("colorbasic", z2_2, 5, 40, "") //  H,LH,C,R,G,N,WR ?>
    <div class="bline10"></div>
     <?=zn_latest("colorbasic", z3_2, 5, 40, "") //  H,LH,C,R,G,N,WR ?>
    <div class="bline10"></div>
    </td>
    <td valign="top"></td>
    <td valign="top">
     <?=zn_latest("colorbasic", z5_1, 5, 25, "") //  H,LH,C,R,G,N,WR ?>
    <div class="bline10"></div>
     <?=zn_latest("colorbasic", z5_4, 5, 25, "") //  H,LH,C,R,G,N,WR ?>
    <div class="bline10"></div>
     <?=zn_latest("colorbasic", z4_6, 5, 25, "") //  H,LH,C,R,G,N,WR ?>
    <div class="bline10"></div>
    </td>
    </tr>
    </table>
    <?= latest("switch_gallery", z5_4, 5, "",""); // 메인하단겔러리 ?>
   <!--/index-->
       
이부분에 붙여 넣엇는데요... 해결좀 부탁드리겠습니다 ;; 완전 초보입니다..

복사 붙이기만 할줄 압니다..ㅡㅡ;


  • 복사

댓글 전체

확실한 해결법은 아니지만 ~_~

<?= latest("switch_gallery", z5_4, 5, "",""); // 메인하단겔러리 ?>하단에
</td></tr></table> 넣어봐주세요
정상이라면

switch_gallery 스킨 latest.skin.php 손봐야 할거같습니다.
네... 그렇게도 해봣는데... 변함이 없습니다. ㅡㅡ;

latest.skin.php 한번 봐주세요... ;;

---------------------------------------------

<?
//if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/lib/thumb.lib.php");
$img_x = '636'; //큰 썸네일 가로길이
$img_y = '150'; //큰 썸네일 세로길이
$img_sx = '50'; //작은 썸네일 가로길이
$img_sy = '50'; //작은 썸네일 세로길이
$img_q = '100'; //퀼리티 100이하로 설정
$img_hy = $img_sy + 10;
?>
<SCRIPT src="<?=$latest_skin_path?>/rolling.js" type=text/javascript></SCRIPT>
<style type="text/css">
#main { WIDTH: <?=$img_x?>px; TEXT-ALIGN: left; }

.SlideMainRoll { FILTER: progid:DXImageTransform.Microsoft.Slide(slidestyle=SWAP,Bands=1); CURSOR: pointer; }
#SlideMain { OVERFLOW: hidden; WIDTH: <?=$img_x?>px; HEIGHT: <?=$img_y?>px; }
#SlideMenu { MARGIN: -60px 0px 0px 20px; WIDTH: <?=$img_x?>px; POSITION: absolute; HEIGHT: <?=$img_hy?>px; }
#SlideMenu UL { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; LIST-STYLE-TYPE: none;}
#SlideMenu UL LI { BACKGROUND: none transparent scroll repeat 0% 0%; FLOAT: left; MARGIN: 5px; OVERFLOW: hidden; WIDTH: <?=$img_sx?>px; HEIGHT: <?=$img_sy?>px; }
#SlideMenu UL LI IMG { BORDER-RIGHT: #171717 1px solid; BORDER-TOP: #c2c2c2 1px solid; OVERFLOW: hidden; BORDER-LEFT: #c2c2c2 1px solid; WIDTH: <?=$img_sx?>px; BORDER-BOTTOM: #171717 1px solid; HEIGHT: <?=$img_sy?>px; }
.SlideMenuOver { FILTER: alpha(opacity=100); -moz-opacity: 1;}
.SlideMenuOut { FILTER: alpha(opacity=30); -moz-opacity: 0.3;}
</style>

<DIV id=main>
<DIV id=slide style="BORDER-RIGHT: #e6e6e6 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: #e6e6e6 2px solid; MARGIN-TOP: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; BORDER-LEFT: #e6e6e6 2px solid; WIDTH: <?=$img_x?>px; PADDING-TOP: 0px; BORDER-BOTTOM: #e6e6e6 2px solid; HEIGHT: <?=$img_y?>px">

<!-- slide start -->
<SCRIPT language=javascript>
var m_nPageInitTime = new Date();
var MainTopRoll = new xwzRollingImageTrans("IMG_MAIN_TOP_ROLL_DETAIL", "IMGS_MAIN_TOP_ROLL_THUMBNAIL");

 <?
// case  IMG_FILTER_UBSHARPMASK: UnsharpMask($target, $filter[arg1], $filter[arg2], $filter[arg3]);
// function UnsharpMask($img, $amount, $radius, $threshold)
$filter[type] = 99;
$filter[arg1] = 100;
$filter[arg2] = 1;
$filter[arg3] = 2;
?>
<? for ($i=0; $i<count($list); $i++) {
$ca = $i+1;
$file= $list[$i][file][0][path] .'/'. $list[$i][file][0][file];
$file1= $list[0][file][0][path] .'/'. $list[0][file][0][file];
$img= thumbnail($file, $img_x, $img_y, 0, 2, $img_q,  "", $filter);
//$img_s= thumbnail($file, $img_sx, $img_sy, 0, 2, $img_q,  "", $filter);
//$subject = cut_str(strip_tags($list[$i]['subject']),60);
//$img_[$ca] = thumbnail($file[$ca], $thumb_x, $thumb_y, 0,  2, 90,  "", $filter);
?>


MainTopRoll.addItem
("<?=$list[$i]['href']?>","<?=$img?>"); 
<? } ?>
</SCRIPT>

<DIV id=SlideMain><IMG class=SlideMainRoll height=<?=$img_y?>
 src="<?=$file1?>"
width=<?=$img_x?> border=0 name=IMG_MAIN_TOP_ROLL_DETAIL> </DIV>

<DIV id=SlideMenu>
<UL>
 <?
// case  IMG_FILTER_UBSHARPMASK: UnsharpMask($target, $filter[arg1], $filter[arg2], $filter[arg3]);
// function UnsharpMask($img, $amount, $radius, $threshold)
$filter[type] = 99;
$filter[arg1] = 100;
$filter[arg2] = 1;
$filter[arg3] = 2;
?>
<? for ($i=0; $i<count($list); $i++) {
$ca = $i+1;
$file= $list[$i][file][0][path] .'/'. $list[$i][file][0][file];
$img_s= thumbnail($file, $img_sx, $img_sy, 0, 2, $img_q,  "", $filter);

?>
  <LI class=SlideMenuOut id=<?=$i?>-l
  onmouseover="document.getElementById('<?=$i?>-l').className='SlideMenuOver'"
  onmouseout="document.getElementById('<?=$i?>-l').className='SlideMenuOut'"><IMG
  style="DISPLAY: none" height=5
  src="<?=$list[$i]['href']?>"
  width=9 align=absMiddle border=0 name=IMGS_MAIN_TOP_ROLL_THUMBNAIL> <IMG
  onmouseover=MainTopRoll.alterImage(<?=$i?>) style="CURSOR: pointer" height=50
  src="<?=$img_s?>"
  width=50 border=0> </LI><? } ?>
  </UL></DIV>

<SCRIPT language=JavaScript>
MainTopRoll.Index =  parseInt('0');
MainTopRoll.install();
</SCRIPT>
<!-- slide end -->

--------------------------------------------------------
이것도 확실한 해결방법은 아니지만 ~_~
<?= latest("switch_gallery", z5_4, 5, "",""); // 메인하단겔러리 ?>
하단에
<div style="clear:both;"></div> 넣어봐주셔요
네... 변함이 없어요 ㅡㅡ;
--------------------------
index.php 전체 입니다



include_once("./_common.php");

$g4['title'] = "";
include_once("./_mainhead.php");
?>

<!--index-->
      <?=latest("latest_onetap07", "z4_8", 5, 15); // 최신글 오토탭무빙 ?>
              <table width="100%" cellpadding="0" cellspacing="0">
<colgroup>
<col />
<col width="10" />
<col width="190" />
</colgroup>
<tr>
<td valign="top">
<?=zn_latest("colorbasic", z1_2, 5, 40, "") //  H,LH,C,R,G,N,WR ?>
<div class="bline10"></div>
<?=zn_latest("colorbasic", z2_2, 5, 40, "") //  H,LH,C,R,G,N,WR ?>
<div class="bline10"></div>
<?=zn_latest("colorbasic", z3_2, 5, 40, "") //  H,LH,C,R,G,N,WR ?>
<div class="bline10"></div>
</td>
<td valign="top"></td>
<td valign="top">
<?=zn_latest("colorbasic", z5_1, 5, 25, "") //  H,LH,C,R,G,N,WR ?>
<div class="bline10"></div>
<?=zn_latest("colorbasic", z5_4, 5, 25, "") //  H,LH,C,R,G,N,WR ?>
<div class="bline10"></div>
<?=zn_latest("colorbasic", z4_6, 5, 25, "") //  H,LH,C,R,G,N,WR ?>
<div class="bline10"></div>
</td>
</tr>
</table>
<?= latest("switch_gallery", z5_4, 5, "",""); // 메인하단겔러리 ?>
<div style="clear:both;"></div>
<!--/index-->


<?
//http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=12426 - TOGETHER
$birthday = date("md"); //오늘 날짜(월일)

if($config['cf_2'] != $birthday)
{ //기본환경설정의 여분필드 2을 사용함.변경가능....

  //회원테이블에서 오늘이 생일인 회원 목록 추출
  $sql = " select * from {$g4['member_table']} where substring(mb_birth,5,4) = '{$birthday}' ";
  $result = sql_query($sql);

  for ($i=0; $row = sql_fetch_array($result); $i++)
  {
        $recv_id = $row['mb_id']; // 받는 사람 아이디
        $send_id = $config['cf_admin']; // 보내는 사람

        $tmp_row = sql_fetch(" select max(me_id) as max_me_id from {$g4['memo_table']} ");
        $me_id = $tmp_row['max_me_id'] + 1;
     
        $send_msg = "{$row['mb_name']}님의 생일(생신)을 진심으로 축하 드립니다~~!";
        // 쪽지 INSERT
        $sql = " insert into {$g4['memo_table']}
                        ( me_id, me_recv_mb_id, me_send_mb_id, me_send_datetime, me_memo )
                values ( '$me_id', '$recv_id', '$send_id', '$g4[time_ymdhis]', '$send_msg' ) ";
        sql_query($sql);

        // 실시간 쪽지 알림 기능
        sql_query(" update {$g4['member_table']} set mb_memo_call = '{$send_id}' where mb_id = '{$recv_id}' ");
     
  }
   
      //여분필드9에 넣기 저 위에 바뀌면 요기도 바꾸는 것은 기본...^^
      sql_query(" update {$g4['config_table']} set cf_2_subj = '생일축하쪽지' ");
      sql_query(" update {$g4['config_table']} set cf_2 = '{$birthday}' ");
   
}
include_once("./_maintail.php");
?>
© SIRSOFT
현재 페이지 제일 처음으로