Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ea9d2e1d2 |
No files matched your search
+4
-1
@@ -1282,7 +1282,10 @@ if($config['cf_cert_use']) {
|
|||||||
|
|
||||||
// kcp일 때
|
// kcp일 때
|
||||||
if($config['cf_cert_hp'] == 'kcp') {
|
if($config['cf_cert_hp'] == 'kcp') {
|
||||||
$exe = G5_KCPCERT_PATH.'/bin/ct_cli';
|
if(PHP_INT_MAX == 2147483647) // 32-bit
|
||||||
|
$exe = G5_KCPCERT_PATH . '/bin/ct_cli';
|
||||||
|
else
|
||||||
|
$exe = G5_KCPCERT_PATH . '/bin/ct_cli_x64';
|
||||||
|
|
||||||
echo module_exec_check($exe, 'ct_cli');
|
echo module_exec_check($exe, 'ct_cli');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,20 @@ if(!sql_query(" select co_tag_filter_use from {$g5['content_table']} limit 1 ",
|
|||||||
sql_query(" update {$g5['content_table']} set co_tag_filter_use = '1' ");
|
sql_query(" update {$g5['content_table']} set co_tag_filter_use = '1' ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 모바일 내용 추가
|
||||||
|
if(!sql_query(" select co_mobile_content from {$g5['content_table']} limit 1", false)) {
|
||||||
|
sql_query(" ALTER TABLE `{$g5['content_table']}`
|
||||||
|
ADD `co_mobile_content` longtext NOT NULL AFTER `co_content` ", true);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 스킨 설정 추가
|
||||||
|
if(!sql_query(" select co_skin from {$g5['content_table']} limit 1 ", false)) {
|
||||||
|
sql_query(" ALTER TABLE `{$g5['content_table']}`
|
||||||
|
ADD `co_skin` varchar(255) NOT NULL DEFAULT '' AFTER `co_mobile_content`,
|
||||||
|
ADD `co_mobile_skin` varchar(255) NOT NULL DEFAULT '' AFTER `co_skin` ", true);
|
||||||
|
sql_query(" update {$g5['content_table']} set co_skin = 'basic', co_mobile_skin = 'basic' ");
|
||||||
|
}
|
||||||
|
|
||||||
$html_title = "내용";
|
$html_title = "내용";
|
||||||
$g5['title'] = $html_title.' 관리';
|
$g5['title'] = $html_title.' 관리';
|
||||||
|
|
||||||
@@ -36,6 +50,8 @@ else
|
|||||||
{
|
{
|
||||||
$html_title .= ' 입력';
|
$html_title .= ' 입력';
|
||||||
$co['co_html'] = 2;
|
$co['co_html'] = 2;
|
||||||
|
$co['co_skin'] = 'basic';
|
||||||
|
$co['co_mobile_skin'] = 'basic';
|
||||||
}
|
}
|
||||||
|
|
||||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||||
@@ -69,6 +85,22 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
|||||||
<th scope="row">내용</th>
|
<th scope="row">내용</th>
|
||||||
<td><?php echo editor_html('co_content', get_text($co['co_content'], 0)); ?></td>
|
<td><?php echo editor_html('co_content', get_text($co['co_content'], 0)); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">모바일 내용</th>
|
||||||
|
<td><?php echo editor_html('co_mobile_content', get_text($co['co_mobile_content'], 0)); ?></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row"><label for="co_skin">스킨 디렉토리<strong class="sound_only">필수</strong></label></th>
|
||||||
|
<td>
|
||||||
|
<?php echo get_skin_select('content', 'co_skin', 'co_skin', $co['co_skin'], 'required'); ?>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row"><label for="co_mobile_skin">모바일스킨 디렉토리<strong class="sound_only">필수</strong></label></th>
|
||||||
|
<td>
|
||||||
|
<?php echo get_mobile_skin_select('content', 'co_mobile_skin', 'co_mobile_skin', $co['co_mobile_skin'], 'required'); ?>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="co_tag_filter_use">태그 필터링 사용</label></th>
|
<th scope="row"><label for="co_tag_filter_use">태그 필터링 사용</label></th>
|
||||||
<td>
|
<td>
|
||||||
@@ -160,6 +192,7 @@ function frmcontentform_check(f)
|
|||||||
|
|
||||||
<?php echo get_editor_js('co_content'); ?>
|
<?php echo get_editor_js('co_content'); ?>
|
||||||
<?php echo chk_editor_js('co_content'); ?>
|
<?php echo chk_editor_js('co_content'); ?>
|
||||||
|
<?php echo get_editor_js('co_mobile_content'); ?>
|
||||||
|
|
||||||
check_field(f.co_id, "ID를 입력하세요.");
|
check_field(f.co_id, "ID를 입력하세요.");
|
||||||
check_field(f.co_subject, "제목을 입력하세요.");
|
check_field(f.co_subject, "제목을 입력하세요.");
|
||||||
|
|||||||
@@ -21,7 +21,10 @@ $sql_common = " co_include_head = '$co_include_head',
|
|||||||
co_html = '$co_html',
|
co_html = '$co_html',
|
||||||
co_tag_filter_use = '$co_tag_filter_use',
|
co_tag_filter_use = '$co_tag_filter_use',
|
||||||
co_subject = '$co_subject',
|
co_subject = '$co_subject',
|
||||||
co_content = '$co_content' ";
|
co_content = '$co_content',
|
||||||
|
co_mobile_content = '$co_mobile_content',
|
||||||
|
co_skin = '$co_skin',
|
||||||
|
co_mobile_skin = '$co_mobile_skin' ";
|
||||||
|
|
||||||
if ($w == "")
|
if ($w == "")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ for ($i=0; $i<count($chk); $i++)
|
|||||||
|
|
||||||
$mb = get_member($_POST['mb_id'][$k]);
|
$mb = get_member($_POST['mb_id'][$k]);
|
||||||
|
|
||||||
if (!$mb[mb_id]) {
|
if (!$mb['mb_id']) {
|
||||||
$msg .= "{$mb['mb_id']} : 회원자료가 존재하지 않습니다.\\n";
|
$msg .= "{$mb['mb_id']} : 회원자료가 존재하지 않습니다.\\n";
|
||||||
} else if ($member['mb_id'] == $mb['mb_id']) {
|
} else if ($member['mb_id'] == $mb['mb_id']) {
|
||||||
$msg .= "{$mb['mb_id']} : 로그인 중인 관리자는 삭제 할 수 없습니다.\\n";
|
$msg .= "{$mb['mb_id']} : 로그인 중인 관리자는 삭제 할 수 없습니다.\\n";
|
||||||
|
|||||||
+1
-1
@@ -236,7 +236,7 @@ if ($member['mb_level'] >= $board['bo_list_level'] && $board['bo_use_list_view']
|
|||||||
|
|
||||||
include_once('./board_tail.php');
|
include_once('./board_tail.php');
|
||||||
|
|
||||||
echo "\n<!-- 사용스킨 : ".(G5_IS_MOBEILE ? $board['bo_mobile_skin'] : $board['bo_skin'])." -->\n";
|
echo "\n<!-- 사용스킨 : ".(G5_IS_MOBILE ? $board['bo_mobile_skin'] : $board['bo_skin'])." -->\n";
|
||||||
|
|
||||||
include_once(G5_PATH.'/tail.sub.php');
|
include_once(G5_PATH.'/tail.sub.php');
|
||||||
?>
|
?>
|
||||||
+20
-27
@@ -30,7 +30,6 @@ $str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use'])
|
|||||||
unset($src);
|
unset($src);
|
||||||
unset($dst);
|
unset($dst);
|
||||||
$src[] = "/{{쇼핑몰명}}|{{홈페이지제목}}/";
|
$src[] = "/{{쇼핑몰명}}|{{홈페이지제목}}/";
|
||||||
//$dst[] = $default[de_subject];
|
|
||||||
$dst[] = $config['cf_title'];
|
$dst[] = $config['cf_title'];
|
||||||
$src[] = "/{{회사명}}|{{상호}}/";
|
$src[] = "/{{회사명}}|{{상호}}/";
|
||||||
$dst[] = $default['de_admin_company_name'];
|
$dst[] = $default['de_admin_company_name'];
|
||||||
@@ -59,39 +58,33 @@ $dst[] = $default['de_admin_info_email'];
|
|||||||
|
|
||||||
$str = preg_replace($src, $dst, $str);
|
$str = preg_replace($src, $dst, $str);
|
||||||
|
|
||||||
if ($is_admin)
|
// 스킨경로
|
||||||
echo '<div class="ctt_admin"><a href="'.G5_ADMIN_URL.'/contentform.php?w=u&co_id='.$co_id.'" class="btn_admin">내용 수정</a></div>';
|
if(trim($co['co_skin']) == '')
|
||||||
?>
|
$co['co_skin'] = 'basic';
|
||||||
|
|
||||||
<!-- 등록내용 시작 { -->
|
$content_skin_path = G5_SKIN_PATH.'/content/'.$co['co_skin'];
|
||||||
<?php
|
$content_skin_url = G5_SKIN_URL.'/content/'.$co['co_skin'];
|
||||||
$himg = G5_DATA_PATH.'/content/'.$co_id.'_h';
|
$skin_file = $content_skin_path.'/content.skin.php';
|
||||||
if (file_exists($himg)) // 상단 이미지
|
|
||||||
echo '<div id="ctt_himg" class="ctt_img"><img src="'.G5_DATA_URL.'/content/'.$co_id.'_h" alt=""></div>';
|
|
||||||
?>
|
|
||||||
|
|
||||||
<article id="ctt" class="ctt_<?php echo $co_id; ?>">
|
|
||||||
<header>
|
|
||||||
<h1><?php echo $g5['title']; ?></h1>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div id="ctt_con">
|
|
||||||
<?php echo $str; ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
$timg = G5_DATA_PATH.'/content/'.$co_id.'_t';
|
|
||||||
if (file_exists($timg)) // 하단 이미지
|
|
||||||
echo '<div id="ctt_timg" class="ctt_img"><img src="'.G5_DATA_URL.'/content/'.$co_id.'_t" alt=""></div>';
|
|
||||||
|
|
||||||
if ($is_admin)
|
if ($is_admin)
|
||||||
echo '<div class="ctt_admin"><a href="'.G5_ADMIN_URL.'/contentform.php?w=u&co_id='.$co_id.'" class="btn_admin">내용 수정</a></div>';
|
echo '<div class="ctt_admin"><a href="'.G5_ADMIN_URL.'/contentform.php?w=u&co_id='.$co_id.'" class="btn_admin">내용 수정</a></div>';
|
||||||
?>
|
?>
|
||||||
<!-- } 등록내용 끝 -->
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
if(is_file($skin_file)) {
|
||||||
|
$himg = G5_DATA_PATH.'/content/'.$co_id.'_h';
|
||||||
|
if (file_exists($himg)) // 상단 이미지
|
||||||
|
echo '<div id="ctt_himg" class="ctt_img"><img src="'.G5_DATA_URL.'/content/'.$co_id.'_h" alt=""></div>';
|
||||||
|
|
||||||
|
include($skin_file);
|
||||||
|
|
||||||
|
$timg = G5_DATA_PATH.'/content/'.$co_id.'_t';
|
||||||
|
if (file_exists($timg)) // 하단 이미지
|
||||||
|
echo '<div id="ctt_timg" class="ctt_img"><img src="'.G5_DATA_URL.'/content/'.$co_id.'_t" alt=""></div>';
|
||||||
|
} else {
|
||||||
|
echo '<p>'.str_replace(G5_PATH.'/', '', $skin_file).'이 존재하지 않습니다.</p>';
|
||||||
|
}
|
||||||
|
|
||||||
if ($co['co_include_tail'])
|
if ($co['co_include_tail'])
|
||||||
@include_once($co['co_include_tail']);
|
@include_once($co['co_include_tail']);
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -50,6 +50,13 @@ if($config['cf_leave_day'] > 0) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 음성 캡챠 파일 삭제
|
||||||
|
foreach (glob(G5_PATH.'/data/cache/kcaptcha-*.mp3') as $file) {
|
||||||
|
if (filemtime($file) + 86400 < G5_SERVER_TIME) {
|
||||||
|
@unlink($file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 실행일 기록
|
// 실행일 기록
|
||||||
if(isset($config['cf_optimize_date'])) {
|
if(isset($config['cf_optimize_date'])) {
|
||||||
sql_query(" update {$g5['config_table']} set cf_optimize_date = '".G5_TIME_YMD."' ");
|
sql_query(" update {$g5['config_table']} set cf_optimize_date = '".G5_TIME_YMD."' ");
|
||||||
|
|||||||
@@ -252,13 +252,6 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
|
|||||||
.new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#4b545e;color:#fff;vertical-align:middle;line-height:2.4em}
|
.new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#4b545e;color:#fff;vertical-align:middle;line-height:2.4em}
|
||||||
.new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none}
|
.new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none}
|
||||||
|
|
||||||
/* 내용관리 */
|
|
||||||
#ctt {margin:10px 0;padding:10px;border:1px solid #e9e9e9}
|
|
||||||
.ctt_admin {text-align:right}
|
|
||||||
#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
|
||||||
#ctt_con {padding:10px 0}
|
|
||||||
.ctt_img {text-align:center}
|
|
||||||
|
|
||||||
/* 검색결과 색상 */
|
/* 검색결과 색상 */
|
||||||
.sch_word {color:#ff3061}
|
.sch_word {color:#ff3061}
|
||||||
|
|
||||||
|
|||||||
@@ -225,13 +225,6 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
|
|||||||
.new_win .win_btn button {display:inline-block;padding:0 10px;height:2.5em;border:0;background:#666;color:#fff;text-decoration:none;line-height:2.5em}
|
.new_win .win_btn button {display:inline-block;padding:0 10px;height:2.5em;border:0;background:#666;color:#fff;text-decoration:none;line-height:2.5em}
|
||||||
.new_win .win_btn input {padding:0 10px;height:2.5em;line-height:2.5em}
|
.new_win .win_btn input {padding:0 10px;height:2.5em;line-height:2.5em}
|
||||||
|
|
||||||
/* 내용관리 */
|
|
||||||
#ctt {margin:10px 0;padding:10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
|
|
||||||
.ctt_admin {margin:0 5px;text-align:right}
|
|
||||||
#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
|
||||||
#ctt_con {padding:10px 0}
|
|
||||||
.ctt_img {text-align:center}
|
|
||||||
|
|
||||||
/* 검색결과 색상 */
|
/* 검색결과 색상 */
|
||||||
.sch_word {color:#ff3061}
|
.sch_word {color:#ff3061}
|
||||||
|
|
||||||
|
|||||||
@@ -781,6 +781,9 @@ CREATE TABLE IF NOT EXISTS `g5_content` (
|
|||||||
`co_html` tinyint(4) NOT NULL DEFAULT '0',
|
`co_html` tinyint(4) NOT NULL DEFAULT '0',
|
||||||
`co_subject` varchar(255) NOT NULL DEFAULT '',
|
`co_subject` varchar(255) NOT NULL DEFAULT '',
|
||||||
`co_content` longtext NOT NULL,
|
`co_content` longtext NOT NULL,
|
||||||
|
`co_mobile_content` longtext NOT NULL,
|
||||||
|
`co_skin` varchar(255) NOT NULL DEFAULT '',
|
||||||
|
`co_mobile_skin` varchar(255) NOT NULL DEFAULT '',
|
||||||
`co_tag_filter_use` tinyint(4) NOT NULL DEFAULT '0',
|
`co_tag_filter_use` tinyint(4) NOT NULL DEFAULT '0',
|
||||||
`co_hit` int(11) NOT NULL DEFAULT '0',
|
`co_hit` int(11) NOT NULL DEFAULT '0',
|
||||||
`co_include_head` varchar(255) NOT NULL,
|
`co_include_head` varchar(255) NOT NULL,
|
||||||
|
|||||||
+8
-8
@@ -141,7 +141,7 @@ function get_cookie($cookie_name)
|
|||||||
{
|
{
|
||||||
$cookie = md5($cookie_name);
|
$cookie = md5($cookie_name);
|
||||||
if (array_key_exists($cookie, $_COOKIE))
|
if (array_key_exists($cookie, $_COOKIE))
|
||||||
return base64_decode($_COOKIE[md5($cookie_name)]);
|
return base64_decode($_COOKIE[$cookie]);
|
||||||
else
|
else
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
@@ -214,11 +214,12 @@ function url_auto_link($str)
|
|||||||
// 140326 유창화님 제안코드로 수정
|
// 140326 유창화님 제안코드로 수정
|
||||||
// http://sir.co.kr/bbs/board.php?bo_table=pg_lecture&wr_id=461
|
// http://sir.co.kr/bbs/board.php?bo_table=pg_lecture&wr_id=461
|
||||||
// http://sir.co.kr/bbs/board.php?bo_table=pg_lecture&wr_id=463
|
// http://sir.co.kr/bbs/board.php?bo_table=pg_lecture&wr_id=463
|
||||||
$str = str_replace(array("<", ">", "&", """, " "), array("\t_lt_\t", "\t_gt_\t", "&", "\"", "\t_nbsp_\t"), $str);
|
$str = str_replace(array("<", ">", "&", """, " ", "'"), array("\t_lt_\t", "\t_gt_\t", "&", "\"", "\t_nbsp_\t", "'"), $str);
|
||||||
$str = preg_replace("`(?:(?:(?:href|src)\s*=\s*(?:\"|'|)){0})((http|https|ftp|telnet|news|mms)://[^\"'\s()]+)`", "<A HREF=\"\\1\" TARGET='{$config['cf_link_target']}'>\\1</A>", $str);
|
//$str = preg_replace("`(?:(?:(?:href|src)\s*=\s*(?:\"|'|)){0})((http|https|ftp|telnet|news|mms)://[^\"'\s()]+)`", "<A HREF=\"\\1\" TARGET='{$config['cf_link_target']}'>\\1</A>", $str);
|
||||||
$str = preg_replace("/(^|[\"'\s(])(www\.[^\"'\s()]+)/i", "\\1<A HREF=\"http://\\2\" TARGET='{$config['cf_link_target']}'>\\2</A>", $str);
|
$str = preg_replace("/([^(href=\"?'?)|(src=\"?'?)]|\(|^)((http|https|ftp|telnet|news|mms):\/\/[a-zA-Z0-9\.-]+\.[가-힣\xA1-\xFEa-zA-Z0-9\.:&#=_\?\/~\+%@;\-\|\,\(\)]+)/i", "\\1<A HREF=\"\\2\" TARGET=\"{$config['cf_link_target']}\">\\2</A>", $str);
|
||||||
$str = preg_replace("/[0-9a-z_-]+@[a-z0-9._-]{4,}/i", "<a href='mailto:\\0'>\\0</a>", $str);
|
$str = preg_replace("/(^|[\"'\s(])(www\.[^\"'\s()]+)/i", "\\1<A HREF=\"http://\\2\" TARGET=\"{$config['cf_link_target']}\">\\2</A>", $str);
|
||||||
$str = str_replace(array("\t_nbsp_\t", "\t_lt_\t", "\t_gt_\t"), array(" ", "<", ">"), $str);
|
$str = preg_replace("/[0-9a-z_-]+@[a-z0-9._-]{4,}/i", "<a href=\"mailto:\\0\">\\0</a>", $str);
|
||||||
|
$str = str_replace(array("\t_nbsp_\t", "\t_lt_\t", "\t_gt_\t", "'"), array(" ", "<", ">", "'"), $str);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// 속도 향상 031011
|
// 속도 향상 031011
|
||||||
@@ -483,7 +484,7 @@ function search_font($stx, $str)
|
|||||||
// 제목을 변환
|
// 제목을 변환
|
||||||
function conv_subject($subject, $len, $suffix='')
|
function conv_subject($subject, $len, $suffix='')
|
||||||
{
|
{
|
||||||
return cut_str(get_text($subject), $len, $suffix);
|
return get_text(cut_str($subject, $len, $suffix));
|
||||||
}
|
}
|
||||||
|
|
||||||
// 내용을 변환
|
// 내용을 변환
|
||||||
@@ -528,7 +529,6 @@ function conv_content($content, $html, $filter=true)
|
|||||||
$content = str_replace("\n ", "\n ", $content);
|
$content = str_replace("\n ", "\n ", $content);
|
||||||
|
|
||||||
$content = get_text($content, 1);
|
$content = get_text($content, 1);
|
||||||
|
|
||||||
$content = url_auto_link($content);
|
$content = url_auto_link($content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+13
-14
@@ -10,13 +10,13 @@ if (!$co['co_id'])
|
|||||||
$g5['title'] = $co['co_subject'];
|
$g5['title'] = $co['co_subject'];
|
||||||
include_once('./_head.php');
|
include_once('./_head.php');
|
||||||
|
|
||||||
$str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use']);
|
$co_content = $co['co_mobile_content'] ? $co['co_mobile_content'] : $co['co_content'];
|
||||||
|
$str = conv_content($co_content, $co['co_html'], $co['co_tag_filter_use']);
|
||||||
|
|
||||||
// $src 를 $dst 로 변환
|
// $src 를 $dst 로 변환
|
||||||
unset($src);
|
unset($src);
|
||||||
unset($dst);
|
unset($dst);
|
||||||
$src[] = "/{{쇼핑몰명}}|{{홈페이지제목}}/";
|
$src[] = "/{{쇼핑몰명}}|{{홈페이지제목}}/";
|
||||||
//$dst[] = $default[de_subject];
|
|
||||||
$dst[] = $config['cf_title'];
|
$dst[] = $config['cf_title'];
|
||||||
$src[] = "/{{회사명}}|{{상호}}/";
|
$src[] = "/{{회사명}}|{{상호}}/";
|
||||||
$dst[] = $default['de_admin_company_name'];
|
$dst[] = $default['de_admin_company_name'];
|
||||||
@@ -44,21 +44,20 @@ $src[] = "/{{정보관리책임자e-mail}}|{{정보책임자e-mail}}/i";
|
|||||||
$dst[] = $default['de_admin_info_email'];
|
$dst[] = $default['de_admin_info_email'];
|
||||||
|
|
||||||
$str = preg_replace($src, $dst, $str);
|
$str = preg_replace($src, $dst, $str);
|
||||||
?>
|
|
||||||
|
|
||||||
<!-- 등록내용 시작 { -->
|
// 스킨경로
|
||||||
<article id="ctt" class="ctt_<?php echo $co_id; ?>">
|
if(trim($co['co_mobile_skin']) == '')
|
||||||
<header>
|
$co['co_mobile_skin'] = 'basic';
|
||||||
<h1><?php echo $g5['title']; ?></h1>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div id="ctt_con">
|
$content_skin_path = G5_MOBILE_PATH .'/'.G5_SKIN_DIR.'/content/'.$co['co_mobile_skin'];
|
||||||
<?php echo $str; ?>
|
$content_skin_url = G5_MOBILE_URL .'/'.G5_SKIN_DIR.'/content/'.$co['co_mobile_skin'];
|
||||||
</div>
|
$skin_file = $content_skin_path.'/content.skin.php';
|
||||||
|
|
||||||
</article>
|
if(is_file($skin_file)) {
|
||||||
<!-- } 등록내용 끝 -->
|
include($skin_file);
|
||||||
|
} else {
|
||||||
|
echo '<p>'.str_replace(G5_PATH.'/', '', $skin_file).'이 존재하지 않습니다.</p>';
|
||||||
|
}
|
||||||
|
|
||||||
<?php
|
|
||||||
include_once('./_tail.php');
|
include_once('./_tail.php');
|
||||||
?>
|
?>
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
|
add_stylesheet('<link rel="stylesheet" href="'.$content_skin_url.'/style.css">', 0);
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<article id="ctt" class="ctt_<?php echo $co_id; ?>">
|
||||||
|
<header>
|
||||||
|
<h1><?php echo $g5['title']; ?></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div id="ctt_con">
|
||||||
|
<?php echo $str; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
@charset "utf-8";
|
||||||
|
|
||||||
|
/* 내용관리 */
|
||||||
|
#ctt {margin:10px 0;padding:10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
|
||||||
|
.ctt_admin {margin:0 5px;text-align:right}
|
||||||
|
#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
|
#ctt_con {padding:10px 0}
|
||||||
|
.ctt_img {text-align:center}
|
||||||
@@ -6,7 +6,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">',
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="lt">
|
<div class="lt">
|
||||||
<a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>" class="lt_title" onclick="return false"><strong><?php echo $bo_subject ?></strong></a>
|
<a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>" class="lt_title"><strong><?php echo $bo_subject ?></strong></a>
|
||||||
<ul>
|
<ul>
|
||||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -52,6 +52,15 @@ if(G5_DEVICE_BUTTON_DISPLAY && G5_IS_MOBILE) {
|
|||||||
if ($config['cf_analytics']) {
|
if ($config['cf_analytics']) {
|
||||||
echo $config['cf_analytics'];
|
echo $config['cf_analytics'];
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(function() {
|
||||||
|
// 폰트 리사이즈 쿠키있으면 실행
|
||||||
|
font_resize("container", get_cookie("ck_font_resize_rmv_class"), get_cookie("ck_font_resize_add_class"));
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<?php
|
||||||
include_once(G5_PATH."/tail.sub.php");
|
include_once(G5_PATH."/tail.sub.php");
|
||||||
?>
|
?>
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# kcp 본인확인 실행 파일
|
# kcp 본인확인 실행 파일
|
||||||
chmod 755 plugin/kcpcert/bin/ct_cli
|
chmod 755 plugin/kcpcert/bin/ct_cli
|
||||||
|
chmod 755 plugin/kcpcert/bin/ct_cli_x64
|
||||||
|
|
||||||
# okname 본인확인 실행 파일
|
# okname 본인확인 실행 파일
|
||||||
chmod 755 plugin/okname/bin/okname
|
chmod 755 plugin/okname/bin/okname
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<script type="text/javascript" src="./js/SE2B_Configuration_General.js" charset="utf-8"></script> <!-- 설정 파일 -->
|
<script type="text/javascript" src="./js/SE2B_Configuration_General.js" charset="utf-8"></script> <!-- 설정 파일 -->
|
||||||
<script type="text/javascript" src="./js/SE2BasicCreator.js?v3" charset="utf-8"></script>
|
<script type="text/javascript" src="./js/SE2BasicCreator.js?v3" charset="utf-8"></script>
|
||||||
|
|
||||||
<script src='js/smarteditor2.min.js' charset='utf-8'></script>
|
<script src='js/smarteditor2.min.js?v2' charset='utf-8'></script>
|
||||||
<script src='photo_uploader/plugin/hp_SE2M_AttachQuickPhoto.js' charset='utf-8'></script>
|
<script src='photo_uploader/plugin/hp_SE2M_AttachQuickPhoto.js' charset='utf-8'></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -12138,9 +12138,19 @@ nhn.husky.SE2M_Hyperlink = jindo.$Class({
|
|||||||
|
|
||||||
var sResult;
|
var sResult;
|
||||||
if (sWWWURL){
|
if (sWWWURL){
|
||||||
sResult = '<a href="http://'+sWWWURL+'">'+sURL+'</a>';
|
var exp = /([-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?)/gi;
|
||||||
|
if( sWWWURL.match(exp) ){
|
||||||
|
sResult = sWWWURL.replace(exp, '<a href="http://$1" >$1</a>');
|
||||||
|
} else {
|
||||||
|
sResult = '<a href="http://'+sWWWURL+'">'+sURL+'</a>';
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
sResult = '<a href="'+sHTTPURL+'">'+sURL+'</a>';
|
var exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;
|
||||||
|
if( sHTTPURL.match(exp) ){
|
||||||
|
sResult = sHTTPURL.replace(exp,"<a href='$1'>$1</a>");
|
||||||
|
} else {
|
||||||
|
sResult = '<a href="'+sHTTPURL+'">'+sURL+'</a>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return sBreaker+sResult;
|
return sBreaker+sResult;
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
var nSE2Version=11329;if(typeof window.nhn=="undefined"){window.nhn={}}nhn.FindReplace=jindo.$Class({sKeyword:"",window:null,document:null,bBrowserSupported:false,bEOC:false,$init:function(c){this.sInlineContainer="SPAN|B|U|I|S|STRIKE";this.rxInlineContainer=new RegExp("^("+this.sInlineContainer+")$");this.window=c;this.document=this.window.document;if(this.document.domain!=this.document.location.hostname){var a=jindo.$Agent();var b=a.navigator();if(b.firefox&&b.version<3){this.bBrowserSupported=false;this.find=function(){return 3};return}}this.bBrowserSupported=true},_findNextElement:function(b){if(!b||b.tagName=="BODY"){return null}var a=b.nextSibling;if(a){return(a.nodeType==1?a:this._findNextElement(a))}else{return this._findNextElement(b.parentNode)}},find:function(a,c,d,e){var f,b;this.window.focus();if(!a){return 2}this.bEOC=false;f=this.findNext(a,c,d,e);if(f){return 0}this.bEOC=true;f=this.findNew(a,c,d,e);if(f){return 0}return 1},findNew:function(a,b,c,d){this.findReset();return this.findNext(a,b,c,d)},findNext:function(g,f,b,a){var c;f=f||false;a=a||false;b=b||false;if(this.window.find){var k=false;return this.window.find(g,f,b,k,a)}if(this.document.body.createTextRange){try{var j=0;if(b){j+=1}if(a){j+=2}if(f){j+=4}this.window.focus();if(this.document.selection){this._range=this.document.selection.createRangeCollection().item(0);this._range.collapse(false)}else{this._range=this.document.body.createTextRange();var d=this._findNextElement(this.window.getSelection().focusNode);if(d){this._range.moveToElementText(d)}}c=this._range.findText(g,1,j);this._range.select();return c}catch(h){return false}}return false},findReset:function(){if(this.window.find){this.window.getSelection().removeAllRanges();return}if(this.document.body.createTextRange){if(this.document.selection){this._range=this.document.body.createTextRange();this._range.collapse(true);this._range.select()}else{if(this.window.getSelection){var a=this.window.getSelection();a.removeAllRanges();a.selectAllChildren(this.document.body);a.collapseToStart()}}}},replace:function(b,d,a,c,e){return this._replace(b,d,a,c,e)},_replace:function(c,f,b,d,g,e){if(!c){return 4}e=e||new nhn.HuskyRange(this.window);e.setFromSelection();b=b||false;var a,h=e.toString();if(b){a=(h==c)}else{a=(h.toLowerCase()==c.toLowerCase())}if(!a){return this.find(c,b,d,g)+2}if(typeof f=="function"){e=f(e)}else{e.pasteText(f)}e.select();return this.find(c,b,d,g)},replaceAll:function(e,h,j,b){if(!e){return -1}var c=false;var l;var a=0;var k=this.window;if(this.find(e,j,c,b)!==0){return a}var g=new nhn.HuskyRange(this.window);g.setFromSelection();g.collapseToStart();var m=this.window.document.createElement("SPAN");m.innerHTML=unescape("%uFEFF");g.insertNode(m);g.select();var d=g.placeStringBookmark();this.bEOC=false;while(!this.bEOC){l=this._replace(e,h,j,c,b,g);if(l==0||l==1){a++}}var f=function(){var n=new nhn.HuskyRange(k);n.setFromSelection();g.moveToBookmark(d);var o=g.compareBoundaryPoints(nhn.W3CDOMRange.START_TO_END,n);if(o==1){return false}return true};l=0;this.bEOC=false;while(!f()&&l==0&&!this.bEOC){l=this._replace(e,h,j,c,b,g);if(l==0||l==1){a++}}g.moveToBookmark(d);g.deleteContents();g.removeStringBookmark(d);setTimeout(function(){m.parentNode.removeChild(m)},0);return a},_isBlankTextNode:function(a){if(a.nodeType==3&&a.nodeValue==""){return true}return false},_getNextNode:function(a,b){if(!a||a.tagName=="BODY"){return{elNextNode:null,bDisconnected:false}}if(a.nextSibling){a=a.nextSibling;while(a.firstChild){if(a.tagName&&!this.rxInlineContainer.test(a.tagName)){b=true}a=a.firstChild}return{elNextNode:a,bDisconnected:b}}return this._getNextNode(nhn.DOMFix.parentNode(a),b)},_getNextTextNode:function(a,b){var c,a;while(true){c=this._getNextNode(a,b);a=c.elNextNode;b=c.bDisconnected;if(a&&a.nodeType!=3&&!this.rxInlineContainer.test(a.tagName)){b=true}if(!a||(a.nodeType==3&&!this._isBlankTextNode(a))){break}}return{elNextText:a,bDisconnected:b}},_getFirstTextNode:function(){var b=this.document.body.firstChild;while(!!b&&b.firstChild){b=b.firstChild}if(!b){return null}if(b.nodeType!=3||this._isBlankTextNode(b)){var a=this._getNextTextNode(b,false);b=a.elNextText}return b},_addToTextMap:function(b,d,g,f){var e=d[f].length;for(var c=0,a=b.nodeValue.length;c<a;c++){g[f][e+c]=[b,c]}d[f]+=b.nodeValue},_createTextMap:function(){var b=[];var e=[];var d=-1;var a=this._getFirstTextNode();var c={elNextText:a,bDisconnected:true};while(a){if(c.bDisconnected){d++;b[d]="";e[d]=[]}this._addToTextMap(c.elNextText,b,e,d);c=this._getNextTextNode(a,false);a=c.elNextText}return{aTexts:b,aElTexts:e}},replaceAll_js:function(t,w,s,u){try{var g=new Date();var n=this._createTextMap();var f=new Date();var c=n.aTexts;var k=n.aElTexts;var h=0;var a=t.length;for(var r=0,l=c.length;r<l;r++){var o=c[r];for(var q=o.length-a;q>=0;q--){var d=o.substring(q,q+a);if(u&&(q>0&&o.charAt(q-1).match(/[a-zA-Z가-힣]/))){continue}if(d==t){h++;var b=new nhn.HuskyRange(this.window);var p,m;if(q+a<k[r].length){p=k[rLine truncated
|
var nSE2Version=11329;if(typeof window.nhn=="undefined"){window.nhn={}}nhn.FindReplace=jindo.$Class({sKeyword:"",window:null,document:null,bBrowserSupported:false,bEOC:false,$init:function(c){this.sInlineContainer="SPAN|B|U|I|S|STRIKE";this.rxInlineContainer=new RegExp("^("+this.sInlineContainer+")$");this.window=c;this.document=this.window.document;if(this.document.domain!=this.document.location.hostname){var a=jindo.$Agent();var b=a.navigator();if(b.firefox&&b.version<3){this.bBrowserSupported=false;this.find=function(){return 3};return}}this.bBrowserSupported=true},_findNextElement:function(b){if(!b||b.tagName=="BODY"){return null}var a=b.nextSibling;if(a){return(a.nodeType==1?a:this._findNextElement(a))}else{return this._findNextElement(b.parentNode)}},find:function(a,c,d,e){var f,b;this.window.focus();if(!a){return 2}this.bEOC=false;f=this.findNext(a,c,d,e);if(f){return 0}this.bEOC=true;f=this.findNew(a,c,d,e);if(f){return 0}return 1},findNew:function(a,b,c,d){this.findReset();return this.findNext(a,b,c,d)},findNext:function(g,f,b,a){var c;f=f||false;a=a||false;b=b||false;if(this.window.find){var k=false;return this.window.find(g,f,b,k,a)}if(this.document.body.createTextRange){try{var j=0;if(b){j+=1}if(a){j+=2}if(f){j+=4}this.window.focus();if(this.document.selection){this._range=this.document.selection.createRangeCollection().item(0);this._range.collapse(false)}else{this._range=this.document.body.createTextRange();var d=this._findNextElement(this.window.getSelection().focusNode);if(d){this._range.moveToElementText(d)}}c=this._range.findText(g,1,j);this._range.select();return c}catch(h){return false}}return false},findReset:function(){if(this.window.find){this.window.getSelection().removeAllRanges();return}if(this.document.body.createTextRange){if(this.document.selection){this._range=this.document.body.createTextRange();this._range.collapse(true);this._range.select()}else{if(this.window.getSelection){var a=this.window.getSelection();a.removeAllRanges();a.selectAllChildren(this.document.body);a.collapseToStart()}}}},replace:function(b,d,a,c,e){return this._replace(b,d,a,c,e)},_replace:function(c,f,b,d,g,e){if(!c){return 4}e=e||new nhn.HuskyRange(this.window);e.setFromSelection();b=b||false;var a,h=e.toString();if(b){a=(h==c)}else{a=(h.toLowerCase()==c.toLowerCase())}if(!a){return this.find(c,b,d,g)+2}if(typeof f=="function"){e=f(e)}else{e.pasteText(f)}e.select();return this.find(c,b,d,g)},replaceAll:function(e,h,j,b){if(!e){return -1}var c=false;var l;var a=0;var k=this.window;if(this.find(e,j,c,b)!==0){return a}var g=new nhn.HuskyRange(this.window);g.setFromSelection();g.collapseToStart();var m=this.window.document.createElement("SPAN");m.innerHTML=unescape("%uFEFF");g.insertNode(m);g.select();var d=g.placeStringBookmark();this.bEOC=false;while(!this.bEOC){l=this._replace(e,h,j,c,b,g);if(l==0||l==1){a++}}var f=function(){var n=new nhn.HuskyRange(k);n.setFromSelection();g.moveToBookmark(d);var o=g.compareBoundaryPoints(nhn.W3CDOMRange.START_TO_END,n);if(o==1){return false}return true};l=0;this.bEOC=false;while(!f()&&l==0&&!this.bEOC){l=this._replace(e,h,j,c,b,g);if(l==0||l==1){a++}}g.moveToBookmark(d);g.deleteContents();g.removeStringBookmark(d);setTimeout(function(){m.parentNode.removeChild(m)},0);return a},_isBlankTextNode:function(a){if(a.nodeType==3&&a.nodeValue==""){return true}return false},_getNextNode:function(a,b){if(!a||a.tagName=="BODY"){return{elNextNode:null,bDisconnected:false}}if(a.nextSibling){a=a.nextSibling;while(a.firstChild){if(a.tagName&&!this.rxInlineContainer.test(a.tagName)){b=true}a=a.firstChild}return{elNextNode:a,bDisconnected:b}}return this._getNextNode(nhn.DOMFix.parentNode(a),b)},_getNextTextNode:function(a,b){var c,a;while(true){c=this._getNextNode(a,b);a=c.elNextNode;b=c.bDisconnected;if(a&&a.nodeType!=3&&!this.rxInlineContainer.test(a.tagName)){b=true}if(!a||(a.nodeType==3&&!this._isBlankTextNode(a))){break}}return{elNextText:a,bDisconnected:b}},_getFirstTextNode:function(){var b=this.document.body.firstChild;while(!!b&&b.firstChild){b=b.firstChild}if(!b){return null}if(b.nodeType!=3||this._isBlankTextNode(b)){var a=this._getNextTextNode(b,false);b=a.elNextText}return b},_addToTextMap:function(b,d,g,f){var e=d[f].length;for(var c=0,a=b.nodeValue.length;c<a;c++){g[f][e+c]=[b,c]}d[f]+=b.nodeValue},_createTextMap:function(){var b=[];var e=[];var d=-1;var a=this._getFirstTextNode();var c={elNextText:a,bDisconnected:true};while(a){if(c.bDisconnected){d++;b[d]="";e[d]=[]}this._addToTextMap(c.elNextText,b,e,d);c=this._getNextTextNode(a,false);a=c.elNextText}return{aTexts:b,aElTexts:e}},replaceAll_js:function(t,w,s,u){try{var g=new Date();var n=this._createTextMap();var f=new Date();var c=n.aTexts;var k=n.aElTexts;var h=0;var a=t.length;for(var r=0,l=c.length;r<l;r++){var o=c[r];for(var q=o.length-a;q>=0;q--){var d=o.substring(q,q+a);if(u&&(q>0&&o.charAt(q-1).match(/[a-zA-Z가-힣]/))){continue}if(d==t){h++;var b=new nhn.HuskyRange(this.window);var p,m;if(q+a<k[r].length){p=k[rLine truncated
|
||||||
@@ -26,11 +26,11 @@ function make_mp3()
|
|||||||
|
|
||||||
file_put_contents(G5_PATH.'/'.$mp3_file, $contents);
|
file_put_contents(G5_PATH.'/'.$mp3_file, $contents);
|
||||||
|
|
||||||
// 지난 캡챠 파일 삭제 (100번중에 한번만 실행)
|
// 지난 캡챠 파일 삭제
|
||||||
if (rand(0,99) == 0) {
|
if (rand(0,99) == 0) {
|
||||||
foreach (glob(G5_PATH.'/data/cache/kcaptcha-*.mp3') as $file) {
|
foreach (glob(G5_PATH.'/data/cache/kcaptcha-*.mp3') as $file) {
|
||||||
if (filemtime($file) + 86400 < G5_SERVER_TIME) {
|
if (filemtime($file) + 86400 < G5_SERVER_TIME) {
|
||||||
unset($file);
|
@unlink($file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
@@ -101,8 +101,12 @@ if( $cert_enc_use == "Y" )
|
|||||||
if ( $ct_cert->check_valid_hash ( $home_dir , $dn_hash , $veri_str ) != "1" )
|
if ( $ct_cert->check_valid_hash ( $home_dir , $dn_hash , $veri_str ) != "1" )
|
||||||
{
|
{
|
||||||
// 검증 실패시 처리 영역
|
// 검증 실패시 처리 영역
|
||||||
|
if(PHP_INT_MAX == 2147483647) // 32-bit
|
||||||
|
$bin_exe = '/bin/ct_cli';
|
||||||
|
else
|
||||||
|
$bin_exe = '/bin/ct_cli_x64';
|
||||||
|
|
||||||
echo "dn_hash 변조 위험있음 (".G5_KCPCERT_PATH."/bin/ct_cli 파일에 실행권한이 있는지 확인하세요.)";
|
echo "dn_hash 변조 위험있음 (".G5_KCPCERT_PATH.$bin_exe." 파일에 실행권한이 있는지 확인하세요.)";
|
||||||
exit;
|
exit;
|
||||||
// 오류 처리 ( dn_hash 변조 위험있음)
|
// 오류 처리 ( dn_hash 변조 위험있음)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,19 +16,19 @@ class C_CT_CLI
|
|||||||
// 변수 초기화 영역
|
// 변수 초기화 영역
|
||||||
function mf_clear()
|
function mf_clear()
|
||||||
{
|
{
|
||||||
$this->m_dec_data="";
|
$this->m_dec_data="";
|
||||||
}
|
}
|
||||||
|
|
||||||
// hash 처리 영역
|
// hash 처리 영역
|
||||||
function make_hash_data( $home_dir , $str )
|
function make_hash_data( $home_dir , $str )
|
||||||
{
|
{
|
||||||
$hash_data = $this -> mf_exec( $home_dir . "/bin/ct_cli" ,
|
$hash_data = $this -> mf_exec( $home_dir . "/bin/ct_cli" ,
|
||||||
"lf_CT_CLI__make_hash_data",
|
"lf_CT_CLI__make_hash_data",
|
||||||
$str
|
$str
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( $hash_data == "" ) { $hash_data = "HS01"; }
|
if ( $hash_data == "" ) { $hash_data = "HS01"; }
|
||||||
|
|
||||||
return $hash_data;
|
return $hash_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -49,7 +49,12 @@ class C_CT_CLI
|
|||||||
// 암호화 인증데이터 복호화
|
// 암호화 인증데이터 복호화
|
||||||
function decrypt_enc_cert ( $home_dir, $site_cd , $cert_no , $enc_cert_data , $opt)
|
function decrypt_enc_cert ( $home_dir, $site_cd , $cert_no , $enc_cert_data , $opt)
|
||||||
{
|
{
|
||||||
$dec_data = $this -> mf_exec( $home_dir . "/bin/ct_cli" ,
|
if(PHP_INT_MAX == 2147483647) // 32-bit
|
||||||
|
$bin_exe = $home_dir . '/bin/ct_cli';
|
||||||
|
else
|
||||||
|
$bin_exe = $home_dir . '/bin/ct_cli_x64';
|
||||||
|
|
||||||
|
$dec_data = $this -> mf_exec( $bin_exe ,
|
||||||
"lf_CT_CLI__decrypt_enc_cert" ,
|
"lf_CT_CLI__decrypt_enc_cert" ,
|
||||||
$site_cd ,
|
$site_cd ,
|
||||||
$cert_no ,
|
$cert_no ,
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||||
|
add_stylesheet('<link rel="stylesheet" href="'.$content_skin_url.'/style.css">', 0);
|
||||||
|
?>
|
||||||
|
|
||||||
|
<article id="ctt" class="ctt_<?php echo $co_id; ?>">
|
||||||
|
<header>
|
||||||
|
<h1><?php echo $g5['title']; ?></h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div id="ctt_con">
|
||||||
|
<?php echo $str; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
@charset "utf-8";
|
||||||
|
|
||||||
|
/* 내용관리 */
|
||||||
|
#ctt {margin:10px 0;padding:10px;border:1px solid #e9e9e9}
|
||||||
|
.ctt_admin {text-align:right}
|
||||||
|
#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||||
|
#ctt_con {padding:10px 0}
|
||||||
|
.ctt_img {text-align:center}
|
||||||
Reference in new issue
Block a user