열정님의 스킨을 응용하였습니다.
기존의 보드스킨에 그대로 적용하셔도 됩니다.
HTML 표준에 맞도록 코드를 수정하는데 중점을 두었습니다.
투명 GIF이미지를 활용하여 배경색을 변경하셔도 잘 적용되도록 하였습니다.
압축푼후 파일을 아래와 같이 올려주세요
그누보드/pop_schedule.php
그누보드/expend/schedule.lib.php
그누보드/skin/latest/happyjung_calendar/latest.skin.php
그누보드/skin/latest/happyjung_calendar/pop.skin.php
그누보드/skin/latest/happyjung_calendar/img/*.*
보이고자 하는 곳에
<?=latest_schedule("happyjung_calendar","게시판명"); ?>
그누보드 하부가 아닌 곳에서 실행하고자 할때는 아래 두줄을 <head></head> 사이에 넣으세요
그렇지 않으면 일정 누르면 자바스크립트 오류납니다. (이거때매 한참 찾았다는... )
<script language="javascript" src="<?=$g4['path']?>/js/common.js"></script>
<script language="javascript" src="<?=$g4['path']?>/js/ajax.js"></script>
참고1. http://www.sir.co.kr/bbs/tb.php/g4_skin/36426
참고2. http://www.sir.co.kr/bbs/tb.php/g4_skin/34861
-----------------------------------------
2013-01-22 수정 (기존소스 사용중이신분)
-----------------------------------------
수정1. schedule.lib.php 일부 수정
$latest_skin_path = "./$g4[path]/skin/latest/$skin_dir"; 를
$latest_skin_path = "$g4[path]/skin/latest/$skin_dir"; 로 변경
수정2. pop_schedule.php 일부 수정
$latest_skin_path = "$g4[path]/skin/latest/calendar"; 를
$latest_skin_path = "$g4[path]/skin/latest/happyjung_calendar"; 로 변경
수정3. pop_schedule.php 일부 수정
팝업 창은 열리는데 내용이 보이질 않으시는 경우 아래와 같이
월과 일을 01 ~ 09로 만들어 주는 부분을 주석 처리 하세요
$day = "0".$day; 를
//$day = "0".$day; 로 변경
$month = "0".$month; 를
//$month = "0".$month; 로 변경
--------------------------------------------
2013-01-22 02:10 이후 새로 다운받으시는분
--------------------------------------------
압축푼후 파일을 아래와 같이 올려주세요
그누보드/pop_schedule.php
*** 그누보드/extend/schedule.lib.php ...( lib 폴더로 이동 )
그누보드/lib/schedule.lib.php ( *** 기존에 파일이 있으면 내용 확인후 사용하세요 )
그누보드/skin/latest/hp_utf_calendar/latest.skin.php
그누보드/skin/latest/hp_utf_calendar/pop.skin.php
그누보드/skin/latest/hp_utf_calendar/img/*.*
보이고자 하는 곳에
<?php
include_once("$g4[path]/lib/schedule.lib.php");
echo latest_schedule("hp_kr_calendar","게시판명"); // euc-kr 사용시
//echo latest_schedule("hp_utf_calendar","게시판명"); // utf-8 사용시
?>
그누보드 하부가 아닌 곳에서 실행하고자 할때는 아래 두줄을 <head></head> 사이에 넣으세요
그렇지 않으면 일정 누르면 자바스크립트 오류납니다. (이거때매 한참 찾았다는... )
<script language="javascript" src="<?=$g4['path']?>/js/common.js"></script>
<script language="javascript" src="<?=$g4['path']?>/js/ajax.js"></script>
참고1. http://www.sir.co.kr/bbs/tb.php/g4_skin/36426
참고2. http://www.sir.co.kr/bbs/tb.php/g4_skin/34861
기존의 보드스킨에 그대로 적용하셔도 됩니다.
HTML 표준에 맞도록 코드를 수정하는데 중점을 두었습니다.
투명 GIF이미지를 활용하여 배경색을 변경하셔도 잘 적용되도록 하였습니다.
압축푼후 파일을 아래와 같이 올려주세요
그누보드/pop_schedule.php
그누보드/expend/schedule.lib.php
그누보드/skin/latest/happyjung_calendar/latest.skin.php
그누보드/skin/latest/happyjung_calendar/pop.skin.php
그누보드/skin/latest/happyjung_calendar/img/*.*
보이고자 하는 곳에
<?=latest_schedule("happyjung_calendar","게시판명"); ?>
그누보드 하부가 아닌 곳에서 실행하고자 할때는 아래 두줄을 <head></head> 사이에 넣으세요
그렇지 않으면 일정 누르면 자바스크립트 오류납니다. (이거때매 한참 찾았다는... )
<script language="javascript" src="<?=$g4['path']?>/js/common.js"></script>
<script language="javascript" src="<?=$g4['path']?>/js/ajax.js"></script>
참고1. http://www.sir.co.kr/bbs/tb.php/g4_skin/36426
참고2. http://www.sir.co.kr/bbs/tb.php/g4_skin/34861
-----------------------------------------
2013-01-22 수정 (기존소스 사용중이신분)
-----------------------------------------
수정1. schedule.lib.php 일부 수정
$latest_skin_path = "./$g4[path]/skin/latest/$skin_dir"; 를
$latest_skin_path = "$g4[path]/skin/latest/$skin_dir"; 로 변경
수정2. pop_schedule.php 일부 수정
$latest_skin_path = "$g4[path]/skin/latest/calendar"; 를
$latest_skin_path = "$g4[path]/skin/latest/happyjung_calendar"; 로 변경
수정3. pop_schedule.php 일부 수정
팝업 창은 열리는데 내용이 보이질 않으시는 경우 아래와 같이
월과 일을 01 ~ 09로 만들어 주는 부분을 주석 처리 하세요
$day = "0".$day; 를
//$day = "0".$day; 로 변경
$month = "0".$month; 를
//$month = "0".$month; 로 변경
--------------------------------------------
2013-01-22 02:10 이후 새로 다운받으시는분
--------------------------------------------
압축푼후 파일을 아래와 같이 올려주세요
그누보드/pop_schedule.php
*** 그누보드/extend/schedule.lib.php ...( lib 폴더로 이동 )
그누보드/lib/schedule.lib.php ( *** 기존에 파일이 있으면 내용 확인후 사용하세요 )
그누보드/skin/latest/hp_utf_calendar/latest.skin.php
그누보드/skin/latest/hp_utf_calendar/pop.skin.php
그누보드/skin/latest/hp_utf_calendar/img/*.*
보이고자 하는 곳에
<?php
include_once("$g4[path]/lib/schedule.lib.php");
echo latest_schedule("hp_kr_calendar","게시판명"); // euc-kr 사용시
//echo latest_schedule("hp_utf_calendar","게시판명"); // utf-8 사용시
?>
그누보드 하부가 아닌 곳에서 실행하고자 할때는 아래 두줄을 <head></head> 사이에 넣으세요
그렇지 않으면 일정 누르면 자바스크립트 오류납니다. (이거때매 한참 찾았다는... )
<script language="javascript" src="<?=$g4['path']?>/js/common.js"></script>
<script language="javascript" src="<?=$g4['path']?>/js/ajax.js"></script>
참고1. http://www.sir.co.kr/bbs/tb.php/g4_skin/36426
참고2. http://www.sir.co.kr/bbs/tb.php/g4_skin/34861
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 98개
공개하여 주셔서 감사드립니다.
즐거운 하루 되세요!!
Warning: include_once() [function.include]: Failed opening './skin/latest/calendar/happyjung_calendar/pop.skin.php' for inclusion (include_path='.;C:\php5\pear') in C:\AutoSet\public_html\gnubbs\pop_schedule.php on line 43
이렇게 뜨는건 왜일까요?? 고수님들.. 갈켜주세요..
/skin/latest/calendar/happyjung_calendar/ 이곳이 아니구요
/skin/latest/happyjung_calendar/ 입니다. ^^
감사합니다...^^
표준 지원하시느라 고생하셨습네다.~
수고하셨습니다.
내용은 어떻게 넣죠 ㅠ_ㅠ?
다른 달력스킨으로 변경해서 확인을 부탁드려요...
pop_schedule.php를 편집기로 열어서 12번째 줄 쯤....
월과 일을 01 ~ 09로 만들어 주는 부분을 주석 처리 하세요
// 0~9 월까지를 01 ~ 09 로 만들어 준다.
/*
if((int)$day <= 9){
$day = "0".$day;
}
if((int)$month <= 9){
$month = "0".$month;
}
*/
즐거운 하루되세요!
pop_schedule.php를 편집기로 열어서 12번째 줄 쯤....
월과 일을 01 ~ 09로 만들어 주는 부분을 주석 처리 하세요
// 0~9 월까지를 01 ~ 09 로 만들어 준다.
/*
if((int)$day <= 9){
$day = "0".$day;
}
if((int)$month <= 9){
$month = "0".$month;
}
*/
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=26398
이 스킨사용하는데....
pop_schedule.php를 편집기로 열어서 12번째 줄 쯤....
월과 일을 01 ~ 09로 만들어 주는 부분을 주석 처리 하세요
// 0~9 월까지를 01 ~ 09 로 만들어 준다.
/*
if((int)$day <= 9){
$day = "0".$day;
}
if((int)$month <= 9){
$month = "0".$month;
}
*/
근데 그누보드 어려워요... 왕초보에게는
팝업창이 열리면 이런 메세지가 나오네요.
Warning: main(./skin/latest/calendar/pop.skin.php): failed to open stream: No such file or directory in c:\apm_setup\htdocs\pop_schedule.php on line 45
Warning: main(): Failed opening './skin/latest/calendar/pop.skin.php' for inclusion (include_path='.') in c:\apm_setup\htdocs\pop_schedule.php on line 45
Warning: main(): Failed opening './skin/latest/calendar/pop.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/dotcomu/www/pop_schedule.php on line 46
팝업창을 띄우면 이렇게 나오네요...
그리고 여분 필드에도
필드제목에다 emmo 라고 쓰고 필드값은 쓰지 않았는데.. 필드제목 쓰라고 계속경고문구 나와요..
어떻게 해야 할까요?
즐거운 하루 되세요!!
Warning: main(): Failed opening './skin/latest/calendar/pop.skin.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home/dannyjo/wwwhome/2008/pop_schedule.php on line 45
이렇게 나오는 걸로 봐서는 pop_schedule.php의 20번째 라인쯤에
$latest_skin_path = "$g4[path]/skin/latest/calendar";를
$latest_skin_path = "$g4[path]/skin/latest/happyjung_calendar";로
바꿔 주셔야 할 것 같네요.
아무튼 감사히 잘 쓰겠습니다.
팝업 창은 열리는데 내용이 보이질 않으시는 경우 아래와 같이
pop_schedule.php를 편집기로 열어서 12번째 줄 쯤....
월과 일을 01 ~ 09로 만들어 주는 부분을 주석 처리 하세요
// 0~9 월까지를 01 ~ 09 로 만들어 준다.
/*
if((int)$day <= 9){
$day = "0".$day;
}
if((int)$month <= 9){
$month = "0".$month;
}
*/
select * from where left(wr_link1,6) <= '200902' and left(wr_link2,6) >= '200902' order by wr_id asc
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where left(wr_link1,6) <= '200902' and left(wr_link2,6) >= '200902' order by wr_' at line 1
error file : /onuri/index.php