그누보드4 db 이전 프로그램 수정

This commit is contained in:
chicpro
2014-02-03 11:16:02 +09:00
parent 013f47ada2
commit 26d41b11f3
2 changed files with 625 additions and 338 deletions

View File

@ -1,8 +1,10 @@
<?php <?php
include_once('./_common.php'); include_once('./_common.php');
include_once(G5_LIB_PATH.'/connect.lib.php');
include_once(G5_LIB_PATH.'/outlogin.lib.php');
$g5['title'] = '그누보드4 DB 데이터 이전'; $g5['title'] = '그누보드4 DB 데이터 이전';
include_once(G5_PATH.'/_head.php'); include_once(G5_PATH.'/head.sub.php');
if(get_session('tables_copied') == 'done') if(get_session('tables_copied') == 'done')
alert('DB 데이터 변환을 이미 실행하였습니다. 중복 실행시 오류가 발생할 수 있습니다.', G5_URL); alert('DB 데이터 변환을 이미 실행하였습니다. 중복 실행시 오류가 발생할 수 있습니다.', G5_URL);
@ -18,7 +20,122 @@ if($is_admin != 'super')
#g4_import_frm .btn_submit {padding:0 10px;height:24px} #g4_import_frm .btn_submit {padding:0 10px;height:24px}
</style> </style>
<div id="g4_import"> <!-- 상단 시작 { -->
<div id="hd">
<h1 id="hd_h1"><?php echo $g5['title'] ?></h1>
<div id="skip_to_container"><a href="#container">본문 바로가기</a></div>
<div id="hd_wrapper">
<div id="logo">
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_IMG_URL ?>/logo.jpg" alt="<?php echo $config['cf_title']; ?>"></a>
</div>
<fieldset id="hd_sch">
<legend>사이트 내 전체검색</legend>
<form name="fsearchbox" method="get" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<label for="sch_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" id="sch_stx" maxlength="20">
<input type="submit" id="sch_submit" value="검색">
</form>
<script>
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
return true;
}
</script>
</fieldset>
<ul id="tnb">
<?php if ($is_member) { ?>
<?php if ($is_admin) { ?>
<li><a href="<?php echo G5_ADMIN_URL ?>"><b>관리자</b></a></li>
<?php } ?>
<li><a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=<?php echo G5_BBS_URL ?>/register_form.php">정보수정</a></li>
<li><a href="<?php echo G5_BBS_URL ?>/logout.php">로그아웃</a></li>
<?php } else { ?>
<li><a href="<?php echo G5_BBS_URL ?>/register.php">회원가입</a></li>
<li><a href="<?php echo G5_BBS_URL ?>/login.php"><b>로그인</b></a></li>
<?php } ?>
<li><a href="<?php echo G5_BBS_URL ?>/qalist.php">1:1문의</a></li>
<li><a href="<?php echo G5_BBS_URL ?>/current_connect.php">접속자 <?php echo connect(); // 현재 접속자수 ?></a></li>
<li><a href="<?php echo G5_BBS_URL ?>/new.php">새글</a></li>
</ul>
<div id="text_size">
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
<button id="size_down" onclick="font_resize('container', 'ts_up ts_up2', '');"><img src="<?php echo G5_URL; ?>/img/ts01.gif" alt="기본"></button>
<button id="size_def" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up');"><img src="<?php echo G5_URL; ?>/img/ts02.gif" alt="크게"></button>
<button id="size_up" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up2');"><img src="<?php echo G5_URL; ?>/img/ts03.gif" alt="더크게"></button>
</div>
</div>
<hr>
<nav id="gnb">
<script>$('#gnb').addClass('gnb_js');</script>
<h2>메인메뉴</h2>
<ul id="gnb_1dul">
<?php
$sql = " select * from {$g5['group_table']} where gr_show_menu = '1' and gr_device <> 'mobile' order by gr_order ";
$result = sql_query($sql);
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
?>
<li class="gnb_1dli">
<a href="<?php echo G5_BBS_URL ?>/group.php?gr_id=<?php echo $row['gr_id'] ?>" class="gnb_1da"><?php echo $row['gr_subject'] ?></a>
<ul class="gnb_2dul">
<?php
$sql2 = " select * from {$g5['board_table']} where gr_id = '{$row['gr_id']}' and bo_show_menu = '1' and bo_device <> 'mobile' order by bo_order ";
$result2 = sql_query($sql2);
for ($bi=0; $row2=sql_fetch_array($result2); $bi++) { // bi 는 board index
?>
<li class="gnb_2dli"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $row2['bo_table'] ?>" class="gnb_2da"><?php echo $row2['bo_subject'] ?></a></li>
<?php } ?>
</ul>
</li>
<?php } ?>
<?php if ($gi == 0) { ?><li class="gnb_empty">생성된 메뉴가 없습니다.</li><?php } ?>
</ul>
</nav>
</div>
<!-- } 상단 끝 -->
<hr>
<!-- 콘텐츠 시작 { -->
<div id="wrapper">
<div id="aside">
<?php echo outlogin('basic'); // 외부 로그인 ?>
</div>
<div id="container">
<?php if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) { ?><div id="container_title"><?php echo $g5['title'] ?></div><?php } ?>
<div id="g4_import">
<p> <p>
이 프로그램은 그누보드5 설치 후 바로 실행하셔야만 합니다.<br> 이 프로그램은 그누보드5 설치 후 바로 실행하셔야만 합니다.<br>
만약 그누보드5 사이트를 운영 중에 이 프로그램을 실행하시면 DB 데이터가 망실되거나 데이터의 오류가 발생할 수 있습니다.<br> 만약 그누보드5 사이트를 운영 중에 이 프로그램을 실행하시면 DB 데이터가 망실되거나 데이터의 오류가 발생할 수 있습니다.<br>
@ -39,15 +156,40 @@ if($is_admin != 'super')
예를 들어 그누보드4를 웹루트에 설치하셨고 그누보드5를 g5라는 하위 폴더에 설치하셨다면 입력하실 경로는 ../config.php 입니다. 예를 들어 그누보드4를 웹루트에 설치하셨고 그누보드5를 g5라는 하위 폴더에 설치하셨다면 입력하실 경로는 ../config.php 입니다.
</p> </p>
</div>
<script>
function fimport_submit(f)
{
return confirm('그누보드4의 DB 데이터를 이전하시겠습니까?');
}
</script>
</div>
</div>
<!-- } 콘텐츠 끝 -->
<hr>
<!-- 하단 시작 { -->
<div id="ft">
<div id="ft_catch"><img src="<?php echo G5_IMG_URL; ?>/ft.png" alt="<?php echo G5_VERSION ?>"></div>
<div id="ft_copy">
<p>
Copyright &copy; <b>소유하신 도메인.</b> All rights reserved.<br>
<a href="#">상단으로</a>
</p>
</div>
</div> </div>
<script> <script>
function fimport_submit(f) $(function() {
{ // 폰트 리사이즈 쿠키있으면 실행
return confirm('그누보드4의 DB 데이터를 이전하시겠습니까?'); font_resize("container", get_cookie("ck_font_resize_rmv_class"), get_cookie("ck_font_resize_add_class"));
} });
</script> </script>
<?php <?php
include_once(G5_PATH.'/_tail.php'); include_once(G5_PATH.'/tail.sub.php');
?> ?>

View File

@ -1,11 +1,16 @@
<?php <?php
include_once('./_common.php'); include_once('./_common.php');
ob_end_clean();
include_once(G5_LIB_PATH.'/connect.lib.php');
include_once(G5_LIB_PATH.'/outlogin.lib.php');
set_time_limit ( 0 ); set_time_limit ( 0 );
ini_set('memory_limit', '50M'); ini_set('memory_limit', '50M');
$g5['title'] = '그누보드4 DB 데이터 이전'; $g5['title'] = '그누보드4 DB 데이터 이전';
include_once(G5_PATH.'/_head.php'); include_once(G5_PATH.'/head.sub.php');
echo '<link rel="stylesheet" href="'.G5_URL.'/g4_import.css">'; echo '<link rel="stylesheet" href="'.G5_URL.'/g4_import.css">';
@ -56,29 +61,144 @@ document.onkeydown = noRefresh ;
#g4_import_run #run_msg {padding:30px 0;text-align:center} #g4_import_run #run_msg {padding:30px 0;text-align:center}
</style> </style>
<div id="g4_import_run"> <!-- 상단 시작 { -->
<div id="hd">
<h1 id="hd_h1"><?php echo $g5['title'] ?></h1>
<div id="skip_to_container"><a href="#container">본문 바로가기</a></div>
<div id="hd_wrapper">
<div id="logo">
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_IMG_URL ?>/logo.jpg" alt="<?php echo $config['cf_title']; ?>"></a>
</div>
<fieldset id="hd_sch">
<legend>사이트 내 전체검색</legend>
<form name="fsearchbox" method="get" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<label for="sch_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" id="sch_stx" maxlength="20">
<input type="submit" id="sch_submit" value="검색">
</form>
<script>
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
return true;
}
</script>
</fieldset>
<ul id="tnb">
<?php if ($is_member) { ?>
<?php if ($is_admin) { ?>
<li><a href="<?php echo G5_ADMIN_URL ?>"><b>관리자</b></a></li>
<?php } ?>
<li><a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=<?php echo G5_BBS_URL ?>/register_form.php">정보수정</a></li>
<li><a href="<?php echo G5_BBS_URL ?>/logout.php">로그아웃</a></li>
<?php } else { ?>
<li><a href="<?php echo G5_BBS_URL ?>/register.php">회원가입</a></li>
<li><a href="<?php echo G5_BBS_URL ?>/login.php"><b>로그인</b></a></li>
<?php } ?>
<li><a href="<?php echo G5_BBS_URL ?>/qalist.php">1:1문의</a></li>
<li><a href="<?php echo G5_BBS_URL ?>/current_connect.php">접속자 <?php echo connect(); // 현재 접속자수 ?></a></li>
<li><a href="<?php echo G5_BBS_URL ?>/new.php">새글</a></li>
</ul>
<div id="text_size">
<!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
<button id="size_down" onclick="font_resize('container', 'ts_up ts_up2', '');"><img src="<?php echo G5_URL; ?>/img/ts01.gif" alt="기본"></button>
<button id="size_def" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up');"><img src="<?php echo G5_URL; ?>/img/ts02.gif" alt="크게"></button>
<button id="size_up" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up2');"><img src="<?php echo G5_URL; ?>/img/ts03.gif" alt="더크게"></button>
</div>
</div>
<hr>
<nav id="gnb">
<script>$('#gnb').addClass('gnb_js');</script>
<h2>메인메뉴</h2>
<ul id="gnb_1dul">
<?php
$sql = " select * from {$g5['group_table']} where gr_show_menu = '1' and gr_device <> 'mobile' order by gr_order ";
$result = sql_query($sql);
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
?>
<li class="gnb_1dli">
<a href="<?php echo G5_BBS_URL ?>/group.php?gr_id=<?php echo $row['gr_id'] ?>" class="gnb_1da"><?php echo $row['gr_subject'] ?></a>
<ul class="gnb_2dul">
<?php
$sql2 = " select * from {$g5['board_table']} where gr_id = '{$row['gr_id']}' and bo_show_menu = '1' and bo_device <> 'mobile' order by bo_order ";
$result2 = sql_query($sql2);
for ($bi=0; $row2=sql_fetch_array($result2); $bi++) { // bi 는 board index
?>
<li class="gnb_2dli"><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $row2['bo_table'] ?>" class="gnb_2da"><?php echo $row2['bo_subject'] ?></a></li>
<?php } ?>
</ul>
</li>
<?php } ?>
<?php if ($gi == 0) { ?><li class="gnb_empty">생성된 메뉴가 없습니다.</li><?php } ?>
</ul>
</nav>
</div>
<!-- } 상단 끝 -->
<hr>
<!-- 콘텐츠 시작 { -->
<div id="wrapper">
<div id="aside">
<?php echo outlogin('basic'); // 외부 로그인 ?>
</div>
<div id="container">
<?php if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) { ?><div id="container_title"><?php echo $g5['title'] ?></div><?php } ?>
<div id="g4_import_run">
<ol> <ol>
<?php <?php
flush(); flush();
// g4의 confing.php // g4의 confing.php
require($g4_config_file); require($g4_config_file);
if(preg_replace('/[^a-z]/', '', strtolower($g4['charset'])) == 'euckr') if(preg_replace('/[^a-z]/', '', strtolower($g4['charset'])) == 'euckr')
$is_euckr = true; $is_euckr = true;
// member table 복사 // member table 복사
$columns = array(); $columns = array();
$fields = mysql_list_fields(G5_MYSQL_DB, $g5['member_table']); $fields = mysql_list_fields(G5_MYSQL_DB, $g5['member_table']);
$count = mysql_num_fields($fields); $count = mysql_num_fields($fields);
for ($i = 0; $i < $count; $i++) { for ($i = 0; $i < $count; $i++) {
$fld = mysql_field_name($fields, $i); $fld = mysql_field_name($fields, $i);
$columns[] = $fld; $columns[] = $fld;
} }
$sql = " select * from {$g4['member_table']} "; $sql = " select * from {$g4['member_table']} ";
$result = sql_query($sql); $result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) { for($i=0; $row=sql_fetch_array($result); $i++) {
if($is_euckr) if($is_euckr)
$row = array_map('iconv_utf8', $row); $row = array_map('iconv_utf8', $row);
@ -104,16 +224,16 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
} }
sql_query(" INSERT INTO {$g5['member_table']} SET $sql_common "); sql_query(" INSERT INTO {$g5['member_table']} SET $sql_common ");
} }
echo '<li>member table 복사</li>'.PHP_EOL; echo '<li>member table 복사</li>'.PHP_EOL;
unset($columns); unset($columns);
unset($fiels); unset($fiels);
// point table 복사 // point table 복사
$sql = " select * from {$g4['point_table']} "; $sql = " select * from {$g4['point_table']} ";
$result = sql_query($sql); $result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) { for($i=0; $row=sql_fetch_array($result); $i++) {
if($is_euckr) if($is_euckr)
$row = array_map('iconv_utf8', $row); $row = array_map('iconv_utf8', $row);
@ -130,13 +250,13 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
} }
sql_query(" INSERT INTO {$g5['point_table']} SET $sql_common "); sql_query(" INSERT INTO {$g5['point_table']} SET $sql_common ");
} }
echo '<li>point table 복사</li>'.PHP_EOL; echo '<li>point table 복사</li>'.PHP_EOL;
// login table 복사 // login table 복사
$sql = " select * from {$g4['login_table']} "; $sql = " select * from {$g4['login_table']} ";
$result = sql_query($sql); $result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) { for($i=0; $row=sql_fetch_array($result); $i++) {
if($is_euckr) if($is_euckr)
$row = array_map('iconv_utf8', $row); $row = array_map('iconv_utf8', $row);
@ -156,13 +276,13 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
} }
sql_query(" INSERT INTO {$g5['login_table']} SET $sql_common "); sql_query(" INSERT INTO {$g5['login_table']} SET $sql_common ");
} }
echo '<li>login table 복사</li>'.PHP_EOL; echo '<li>login table 복사</li>'.PHP_EOL;
// visit table 복사 // visit table 복사
$sql = " select * from {$g4['visit_table']} "; $sql = " select * from {$g4['visit_table']} ";
$result = sql_query($sql); $result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) { for($i=0; $row=sql_fetch_array($result); $i++) {
if($is_euckr) if($is_euckr)
$row = array_map('iconv_utf8', $row); $row = array_map('iconv_utf8', $row);
@ -182,13 +302,13 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
} }
sql_query(" INSERT INTO {$g5['visit_table']} SET $sql_common "); sql_query(" INSERT INTO {$g5['visit_table']} SET $sql_common ");
} }
echo '<li>visit table 복사</li>'.PHP_EOL; echo '<li>visit table 복사</li>'.PHP_EOL;
// visit sum table 복사 // visit sum table 복사
$sql = " select * from {$g4['visit_sum_table']} "; $sql = " select * from {$g4['visit_sum_table']} ";
$result = sql_query($sql); $result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) { for($i=0; $row=sql_fetch_array($result); $i++) {
if($is_euckr) if($is_euckr)
$row = array_map('iconv_utf8', $row); $row = array_map('iconv_utf8', $row);
@ -208,21 +328,21 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
} }
sql_query(" INSERT INTO {$g5['visit_sum_table']} SET $sql_common "); sql_query(" INSERT INTO {$g5['visit_sum_table']} SET $sql_common ");
} }
echo '<li>visit sum table 복사</li>'.PHP_EOL; echo '<li>visit sum table 복사</li>'.PHP_EOL;
// group table 복사 // group table 복사
$columns = array(); $columns = array();
$fields = mysql_list_fields(G5_MYSQL_DB, $g5['group_table']); $fields = mysql_list_fields(G5_MYSQL_DB, $g5['group_table']);
$count = mysql_num_fields($fields); $count = mysql_num_fields($fields);
for ($i = 0; $i < $count; $i++) { for ($i = 0; $i < $count; $i++) {
$fld = mysql_field_name($fields, $i); $fld = mysql_field_name($fields, $i);
$columns[] = $fld; $columns[] = $fld;
} }
$sql = " select * from {$g4['group_table']} "; $sql = " select * from {$g4['group_table']} ";
$result = sql_query($sql); $result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) { for($i=0; $row=sql_fetch_array($result); $i++) {
if($is_euckr) if($is_euckr)
$row = array_map('iconv_utf8', $row); $row = array_map('iconv_utf8', $row);
@ -245,24 +365,24 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
} }
sql_query(" INSERT INTO {$g5['group_table']} SET $sql_common "); sql_query(" INSERT INTO {$g5['group_table']} SET $sql_common ");
} }
echo '<li>group table 복사</li>'.PHP_EOL; echo '<li>group table 복사</li>'.PHP_EOL;
unset($columns); unset($columns);
unset($fiels); unset($fiels);
// board 복사 // board 복사
$columns = array(); $columns = array();
$fields = mysql_list_fields(G5_MYSQL_DB, $g5['board_table']); $fields = mysql_list_fields(G5_MYSQL_DB, $g5['board_table']);
$count = mysql_num_fields($fields); $count = mysql_num_fields($fields);
for ($i = 0; $i < $count; $i++) { for ($i = 0; $i < $count; $i++) {
$fld = mysql_field_name($fields, $i); $fld = mysql_field_name($fields, $i);
$columns[] = $fld; $columns[] = $fld;
} }
$sql = " select * from {$g4['board_table']} "; $sql = " select * from {$g4['board_table']} ";
$result = sql_query($sql); $result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) { for($i=0; $row=sql_fetch_array($result); $i++) {
if($is_euckr) if($is_euckr)
$row = array_map('iconv_utf8', $row); $row = array_map('iconv_utf8', $row);
@ -339,15 +459,15 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
echo '<li>'.str_replace(G5_TABLE_PREFIX.'write_', '', $create_table).' 게시글 복사</li>'; echo '<li>'.str_replace(G5_TABLE_PREFIX.'write_', '', $create_table).' 게시글 복사</li>';
} }
} }
unset($columns); unset($columns);
unset($fiels); unset($fiels);
// 그외 테이블 복사 // 그외 테이블 복사
$tables = array('board_file', 'board_new', 'board_good', 'mail', 'memo', 'group_member', 'auth', 'popular', 'poll', 'poll_etc', 'scrap'); $tables = array('board_file', 'board_new', 'board_good', 'mail', 'memo', 'group_member', 'auth', 'popular', 'poll', 'poll_etc', 'scrap');
foreach($tables as $table) { foreach($tables as $table) {
$columns = array(); $columns = array();
$fields = mysql_list_fields(G5_MYSQL_DB, $g5[$table.'_table']); $fields = mysql_list_fields(G5_MYSQL_DB, $g5[$table.'_table']);
$count = mysql_num_fields($fields); $count = mysql_num_fields($fields);
@ -383,20 +503,45 @@ foreach($tables as $table) {
} }
echo '<li>'.$table.' table 복사</li>'.PHP_EOL; echo '<li>'.$table.' table 복사</li>'.PHP_EOL;
} }
unset($columns); unset($columns);
unset($fiels); unset($fiels);
echo '</ol>'.PHP_EOL; echo '</ol>'.PHP_EOL;
echo '<div id="run_msg">그누보드4 DB 데이터 이전 완료</div>'.PHP_EOL; echo '<div id="run_msg">그누보드4 DB 데이터 이전 완료</div>'.PHP_EOL;
// 실행완료 세션에 기록 // 실행완료 세션에 기록
set_session('tables_copied', 'done'); set_session('tables_copied', 'done');
?> ?>
</div>
</div>
</div> </div>
<!-- } 콘텐츠 끝 -->
<hr>
<!-- 하단 시작 { -->
<div id="ft">
<div id="ft_catch"><img src="<?php echo G5_IMG_URL; ?>/ft.png" alt="<?php echo G5_VERSION ?>"></div>
<div id="ft_copy">
<p>
Copyright &copy; <b>소유하신 도메인.</b> All rights reserved.<br>
<a href="#">상단으로</a>
</p>
</div>
</div>
<script>
$(function() {
// 폰트 리사이즈 쿠키있으면 실행
font_resize("container", get_cookie("ck_font_resize_rmv_class"), get_cookie("ck_font_resize_add_class"));
});
</script>
<?php <?php
include_once(G5_PATH.'/_tail.php'); include_once(G5_PATH.'/tail.sub.php');
?> ?>