Merge branch 'master' of github.com:gnuboard/g4s
@ -31,25 +31,6 @@ $sql = " insert into {$g4['board_table']}
|
||||
bo_subject = '$target_subject',
|
||||
gr_id = '{$board['gr_id']}',
|
||||
bo_admin = '{$board['bo_admin']}',
|
||||
<<<<<<< HEAD
|
||||
bo_list_level = '{$board['bo_list_level']}',
|
||||
bo_read_level = '{$board['bo_read_level']}',
|
||||
bo_write_level = '{$board['bo_write_level']}',
|
||||
bo_reply_level = '{$board['bo_reply_level']}',
|
||||
bo_comment_level = '{$board['bo_comment_level']}',
|
||||
bo_upload_level = '{$board['bo_upload_level']}',
|
||||
bo_download_level = '{$board['bo_download_level']}',
|
||||
bo_html_level = '{$board['bo_html_level']}',
|
||||
bo_link_level = '{$board['bo_link_level']}',
|
||||
bo_trackback_level = '{$board['bo_trackback_level']}',
|
||||
bo_count_modify = '{$board['bo_count_modify']}',
|
||||
bo_count_delete = '{$board['bo_count_delete']}',
|
||||
bo_read_point = '{$board['bo_read_point']}',
|
||||
bo_write_point = '{$board['bo_write_point']}',
|
||||
bo_comment_point = '{$board['bo_comment_point']}',
|
||||
bo_download_point = '{$board['bo_download_point']}',
|
||||
bo_use_category = '{$board['bo_use_category']}',
|
||||
=======
|
||||
bo_list_level = '{$board[bo_list_level]}',
|
||||
bo_read_level = '{$board[bo_read_level]}',
|
||||
bo_write_level = '{$board[bo_write_level]}',
|
||||
@ -66,20 +47,8 @@ $sql = " insert into {$g4['board_table']}
|
||||
bo_comment_point = '{$board[bo_comment_point]}',
|
||||
bo_download_point = '{$board[bo_download_point]}',
|
||||
bo_use_category = '{$board[bo_use_category]}',
|
||||
>>>>>>> 6040266aed7f782fddaf6f63366be5b06bdfa780
|
||||
bo_category_list = '{$board['bo_category_list']}',
|
||||
bo_disable_tags = '{$board['bo_disable_tags']}',
|
||||
<<<<<<< HEAD
|
||||
bo_use_secret = '{$board['bo_use_secret']}',
|
||||
bo_use_dhtml_editor = '{$board['bo_use_dhtml_editor']}',
|
||||
bo_use_sideview = '{$board['bo_use_sideview']}',
|
||||
bo_use_comment = '{$board['bo_use_comment']}',
|
||||
bo_use_good = '{$board['bo_use_good']}',
|
||||
bo_use_nogood = '{$board['bo_use_nogood']}',
|
||||
bo_use_signature = '{$board['bo_use_signature']}',
|
||||
bo_use_ip_view = '{$board['bo_use_ip_view']}',
|
||||
bo_use_trackback = '{$board['bo_use_trackback']}',
|
||||
=======
|
||||
bo_use_secret = '{$board[bo_use_secret]}',
|
||||
bo_use_dhtml_editor = '{$board[bo_use_dhtml_editor]}',
|
||||
bo_use_sideview = '{$board[bo_use_sideview]}',
|
||||
@ -87,33 +56,28 @@ $sql = " insert into {$g4['board_table']}
|
||||
bo_use_nogood = '{$board[bo_use_nogood]}',
|
||||
bo_use_signature = '{$board[bo_use_signature]}',
|
||||
bo_use_ip_view = '{$board[bo_use_ip_view]}',
|
||||
<<<<<<< HEAD
|
||||
bo_use_trackback = '{$board[bo_use_trackback]}',
|
||||
>>>>>>> 35e2a0e57216e9ff77b98266f30f5e8f87800654
|
||||
=======
|
||||
>>>>>>> 6040266aed7f782fddaf6f63366be5b06bdfa780
|
||||
bo_use_list_view = '{$board['o_use_list_view']}',
|
||||
bo_use_list_content = '{$board['bo_use_list_content']}',
|
||||
bo_table_width = '{$board['bo_table_width']}',
|
||||
bo_subject_len = '{$board['bo_subject_len']}',
|
||||
bo_page_rows = '{$board['bo_page_rows']}',
|
||||
bo_new = '{$board['bo_new']}',
|
||||
bo_hot = '{$board['bo_hot']}',
|
||||
bo_image_width = '{$board['bo_image_width']}',
|
||||
bo_use_list_content = '{$board[bo_use_list_content]}',
|
||||
bo_table_width = '{$board[bo_table_width]}',
|
||||
bo_subject_len = '{$board[bo_subject_len]}',
|
||||
bo_page_rows = '{$board[bo_page_rows]}',
|
||||
bo_new = '{$board[bo_new]}',
|
||||
bo_hot = '{$board[bo_hot]}',
|
||||
bo_image_width = '{$board[bo_image_width]}',
|
||||
bo_skin = '{$board['bo_skin']}',
|
||||
bo_include_head = '{$board['bo_include_head']}',
|
||||
bo_include_tail = '{$board['bo_include_tail']}',
|
||||
bo_content_head = '".addslashes($board['bo_content_head'])."',
|
||||
bo_content_tail = '".addslashes($board['bo_content_tail'])."',
|
||||
bo_insert_content = '".addslashes($board['bo_insert_content'])."',
|
||||
bo_gallery_cols = '{$board['bo_gallery_cols']}',
|
||||
bo_upload_size = '{$board['bo_upload_size']}',
|
||||
bo_reply_order = '{$board['bo_reply_order']}',
|
||||
bo_use_search = '{$board['bo_use_search']}',
|
||||
bo_order_search = '{$board['bo_order_search']}',
|
||||
bo_gallery_cols = '{$board[bo_gallery_cols]}',
|
||||
bo_upload_size = '{$board[bo_upload_size]}',
|
||||
bo_reply_order = '{$board[bo_reply_order]}',
|
||||
bo_use_search = '{$board[bo_use_search]}',
|
||||
bo_order_search = '{$board[bo_order_search]}',
|
||||
bo_notice = '{$board['bo_notice']}',
|
||||
bo_upload_count = '{$board['bo_upload_count']}',
|
||||
bo_use_email = '{$board['bo_use_email']}',
|
||||
bo_upload_count = '{$board[bo_upload_count]}',
|
||||
bo_use_email = '{$board[bo_use_email]}',
|
||||
bo_sort_field = '{$board['bo_sort_field']}',
|
||||
bo_1_subj = '{$board['bo_1_subj']}',
|
||||
bo_2_subj = '{$board['bo_2_subj']}',
|
||||
|
||||
@ -60,88 +60,6 @@ $src_char = array('&', '=');
|
||||
$dst_char = array('&', '〓');
|
||||
$bo_category_list = str_replace($src_char, $dst_char, $bo_category_list);
|
||||
|
||||
<<<<<<< HEAD
|
||||
$sql_common = " gr_id = '{$_POST['gr_id']}',
|
||||
bo_subject = '{$_POST['bo_subject']}',
|
||||
bo_admin = '{$_POST['bo_admin']}',
|
||||
bo_list_level = '{$_POST['bo_list_level']}',
|
||||
bo_read_level = '{$_POST['bo_read_level']}',
|
||||
bo_write_level = '{$_POST['bo_write_level']}',
|
||||
bo_reply_level = '{$_POST['bo_reply_level']}',
|
||||
bo_comment_level = '{$_POST['bo_comment_level']}',
|
||||
bo_html_level = '{$_POST['bo_html_level']}',
|
||||
bo_link_level = '{$_POST['bo_link_level']}',
|
||||
bo_trackback_level = '{$_POST['bo_trackback_level']}',
|
||||
bo_count_modify = '{$_POST['bo_count_modify']}',
|
||||
bo_count_delete = '{$_POST['bo_count_delete']}',
|
||||
bo_upload_level = '{$_POST['bo_upload_level']}',
|
||||
bo_download_level = '{$_POST['bo_download_level']}',
|
||||
bo_read_point = '{$_POST['bo_read_point']}',
|
||||
bo_write_point = '{$_POST['bo_write_point']}',
|
||||
bo_comment_point = '{$_POST['bo_comment_point']}',
|
||||
bo_download_point = '{$_POST['bo_download_point']}',
|
||||
bo_use_category = '{$_POST['bo_use_category']}',
|
||||
bo_category_list = '{$_POST['bo_category_list']}',
|
||||
bo_disable_tags = '{$_POST['bo_disable_tags']}',
|
||||
bo_use_sideview = '{$_POST['bo_use_sideview']}',
|
||||
bo_use_file_content = '{$_POST['bo_use_file_content']}',
|
||||
bo_use_secret = '{$_POST['bo_use_secret']}',
|
||||
bo_use_dhtml_editor = '{$_POST['bo_use_dhtml_editor']}',
|
||||
bo_use_rss_view = '{$_POST['bo_use_rss_view']}',
|
||||
bo_use_comment = '{$_POST['bo_use_comment']}',
|
||||
bo_use_good = '{$_POST['bo_use_good']}',
|
||||
bo_use_nogood = '{$_POST['bo_use_nogood']}',
|
||||
bo_use_name = '{$_POST['bo_use_name']}',
|
||||
bo_use_signature = '{$_POST['bo_use_signature']}',
|
||||
bo_use_ip_view = '{$_POST['bo_use_ip_view']}',
|
||||
bo_use_trackback = '{$_POST['bo_use_trackback']}',
|
||||
bo_use_list_view = '{$_POST['bo_use_list_view']}',
|
||||
bo_use_list_content = '{$_POST['bo_use_list_content']}',
|
||||
bo_use_email = '{$_POST['bo_use_email']}',
|
||||
bo_table_width = '{$_POST['bo_table_width']}',
|
||||
bo_subject_len = '{$_POST['bo_subject_len']}',
|
||||
bo_page_rows = '{$_POST['bo_page_rows']}',
|
||||
bo_new = '{$_POST['bo_new']}',
|
||||
bo_hot = '{$_POST['bo_hot']}',
|
||||
bo_image_width = '{$_POST['bo_image_width']}',
|
||||
bo_skin = '{$_POST['bo_skin']}',
|
||||
bo_include_head = '{$_POST['bo_include_head']}',
|
||||
bo_include_tail = '{$_POST['bo_include_tail']}',
|
||||
bo_content_head = '{$_POST['bo_content_head']}',
|
||||
bo_content_tail = '{$_POST['bo_content_tail']}',
|
||||
bo_insert_content = '{$_POST['bo_insert_content']}',
|
||||
bo_gallery_cols = '{$_POST['bo_gallery_cols']}',
|
||||
bo_upload_count = '{$_POST['bo_upload_count']}',
|
||||
bo_upload_size = '{$_POST['bo_upload_size']}',
|
||||
bo_reply_order = '{$_POST['bo_reply_order']}',
|
||||
bo_use_search = '{$_POST['bo_use_search']}',
|
||||
bo_order_search = '{$_POST['bo_order_search']}',
|
||||
bo_write_min = '{$_POST['bo_write_min']}',
|
||||
bo_write_max = '{$_POST['bo_write_max']}',
|
||||
bo_comment_min = '{$_POST['bo_comment_min']}',
|
||||
bo_comment_max = '{$_POST['bo_comment_max']}',
|
||||
bo_sort_field = '{$_POST['bo_sort_field']}',
|
||||
bo_1_subj = '{$_POST['bo_1_subj']}',
|
||||
bo_2_subj = '{$_POST['bo_2_subj']}',
|
||||
bo_3_subj = '{$_POST['bo_3_subj']}',
|
||||
bo_4_subj = '{$_POST['bo_4_subj']}',
|
||||
bo_5_subj = '{$_POST['bo_5_subj']}',
|
||||
bo_6_subj = '{$_POST['bo_6_subj']}',
|
||||
bo_7_subj = '{$_POST['bo_7_subj']}',
|
||||
bo_8_subj = '{$_POST['bo_8_subj']}',
|
||||
bo_9_subj = '{$_POST['bo_9_subj']}',
|
||||
bo_10_subj = '{$_POST['bo_10_subj']}',
|
||||
bo_1 = '{$_POST['bo_1']}',
|
||||
bo_2 = '{$_POST['bo_2']}',
|
||||
bo_3 = '{$_POST['bo_3']}',
|
||||
bo_4 = '{$_POST['bo_4']}',
|
||||
bo_5 = '{$_POST['bo_5']}',
|
||||
bo_6 = '{$_POST['bo_6']}',
|
||||
bo_7 = '{$_POST['bo_7']}',
|
||||
bo_8 = '{$_POST['bo_8']}',
|
||||
bo_9 = '{$_POST['bo_9']}',
|
||||
bo_10 = '{$_POST['bo_10']}' ";
|
||||
=======
|
||||
$sql_common = " gr_id = '{$_POST['gr_id']}',
|
||||
bo_subject = '{$_POST['bo_subject']}',
|
||||
bo_admin = '{$_POST['bo_admin']}',
|
||||
@ -219,7 +137,6 @@ $sql_common = " gr_id = '{$_POST['gr_id']}',
|
||||
bo_8 = '{$_POST['bo_8']}',
|
||||
bo_9 = '{$_POST['bo_9']}',
|
||||
bo_10 = '{$_POST['bo_10']}' ";
|
||||
>>>>>>> 35e2a0e57216e9ff77b98266f30f5e8f87800654
|
||||
|
||||
if ($bo_image_head_del) {
|
||||
@unlink($board_path.'/'.$bo_image_head_del);
|
||||
|
||||
@ -1,36 +1,13 @@
|
||||
<?
|
||||
include_once('./_common.php');
|
||||
|
||||
if (!function_exists('convert_charset'))
|
||||
{
|
||||
/*
|
||||
-----------------------------------------------------------
|
||||
Charset 을 변환하는 함수
|
||||
-----------------------------------------------------------
|
||||
iconv 함수가 있으면 iconv 로 변환하고
|
||||
없으면 mb_convert_encoding 함수를 사용한다.
|
||||
둘다 없으면 사용할 수 없다.
|
||||
*/
|
||||
function convert_charset($from_charset, $to_charset, $str)
|
||||
{
|
||||
|
||||
if( function_exists('iconv') )
|
||||
return iconv($from_charset, $to_charset, $str);
|
||||
elseif( function_exists('mb_convert_encoding') )
|
||||
return mb_convert_encoding($str, $to_charset, $from_charset);
|
||||
else
|
||||
die("Not found 'iconv' or 'mbstring' library in server.");
|
||||
}
|
||||
}
|
||||
|
||||
header("Content-Type: text/html; charset={$g4['charset']}");
|
||||
|
||||
$subject = strtolower($_POST['subject']);
|
||||
$content = strtolower(strip_tags($_POST['content']));
|
||||
|
||||
//euc-kr 일 경우 $config['cf_filter'] 를 utf-8로 변환한다.
|
||||
if (strtolower($g4['charset']) == 'euc-kr')
|
||||
{
|
||||
if (strtolower($g4['charset']) == 'euc-kr') {
|
||||
//$subject = convert_charset('utf-8', 'cp949', $subject);
|
||||
//$content = convert_charset('utf-8', 'cp949', $content);
|
||||
$config['cf_filter'] = convert_charset('cp949', 'utf-8', $config['cf_filter']);
|
||||
@ -39,15 +16,13 @@ if (strtolower($g4['charset']) == 'euc-kr')
|
||||
//$filter = explode(",", strtolower(trim($config['cf_filter'])));
|
||||
// strtolower 에 의한 한글 변형으로 아래 코드로 대체 (곱슬최씨님이 알려 주셨습니다.)
|
||||
$filter = explode(",", trim($config['cf_filter']));
|
||||
for ($i=0; $i<count($filter); $i++)
|
||||
{
|
||||
for ($i=0; $i<count($filter); $i++) {
|
||||
$str = $filter[$i];
|
||||
|
||||
// 제목 필터링 (찾으면 중지)
|
||||
$subj = "";
|
||||
$pos = strpos($subject, $str);
|
||||
if ($pos !== false)
|
||||
{
|
||||
if ($pos !== false) {
|
||||
if (strtolower($g4['charset']) == 'euc-kr')
|
||||
$subj = convert_charset('utf-8', 'cp949', $str);//cp949 로 변환해서 반환
|
||||
else
|
||||
@ -58,8 +33,7 @@ for ($i=0; $i<count($filter); $i++)
|
||||
// 내용 필터링 (찾으면 중지)
|
||||
$cont = "";
|
||||
$pos = strpos($content, $str);
|
||||
if ($pos !== false)
|
||||
{
|
||||
if ($pos !== false) {
|
||||
if (strtolower($g4['charset']) == 'euc-kr')
|
||||
$cont = convert_charset('utf-8', 'cp949', $str);//cp949 로 변환해서 반환
|
||||
else
|
||||
@ -2,13 +2,14 @@
|
||||
include_once('./_common.php');
|
||||
|
||||
// 로그인중인 경우 회원가입 할 수 없습니다.
|
||||
if ($member[mb_id])
|
||||
if ($is_member) {
|
||||
goto_url($g4['path']);
|
||||
}
|
||||
|
||||
// 세션을 지웁니다.
|
||||
set_session("ss_mb_reg", "");
|
||||
|
||||
$member_skin_path = $g4['path'].'/skin/member/'.$config[cf_member_skin];
|
||||
$member_skin_path = $g4['path'].'/skin/member/'.$config['cf_member_skin'];
|
||||
|
||||
$g4['title'] = '회원가입약관';
|
||||
include_once('./_head.php');
|
||||
|
||||
@ -6,63 +6,42 @@ $token = md5(uniqid(rand(), true));
|
||||
set_session("ss_token", $token);
|
||||
|
||||
if ($w == "") {
|
||||
|
||||
// 회원 로그인을 한 경우 회원가입 할 수 없다
|
||||
// 경고창이 뜨는것을 막기위해 아래의 코드로 대체
|
||||
// alert("이미 로그인중이므로 회원 가입 하실 수 없습니다.", "./");
|
||||
if ($member[mb_id])
|
||||
if ($is_member) {
|
||||
goto_url($g4['path']);
|
||||
}
|
||||
|
||||
// 리퍼러 체크
|
||||
referer_check();
|
||||
|
||||
if (!$_POST[agree])
|
||||
if (!$_POST['agree']) {
|
||||
alert('회원가입약관의 내용에 동의하셔야 회원가입 하실 수 있습니다.', './register.php');
|
||||
|
||||
if (!$_POST[agree2])
|
||||
alert('개인정보취급방침의 내용에 동의하셔야 회원가입 하실 수 있습니다.', './register.php');
|
||||
|
||||
// 주민등록번호를 사용한다면 중복검사를 합니다.
|
||||
/*
|
||||
if ($config[cf_use_jumin]) {
|
||||
$jumin = sql_password($mb_jumin);
|
||||
$row = sql_fetch(" select mb_name from {$g4[member_table]} where mb_jumin = '{$jumin}' ");
|
||||
if ($row[mb_name]) {
|
||||
if ($row[mb_name] == $mb_name)
|
||||
alert('이미 가입되어 있습니다.');
|
||||
else
|
||||
alert('다른 이름으로 같은 주민등록번호가 이미 가입되어 있습니다.'.PHP_EOL.PHP_EOL.'관리자에게 문의해 주십시오.');
|
||||
}
|
||||
|
||||
// 주민등록번호의 7번째 한자리 숫자
|
||||
$y = substr($mb_jumin, 6, 1);
|
||||
|
||||
// 성별은 F, M 으로 나눈다.
|
||||
// 주민등록번호의 7번째 자리가 홀수이면 남자(Male), 짝수이면 여자(Female)
|
||||
$sex = $y % 2 == 0 ? 'F' : 'M';
|
||||
|
||||
// 생일은 8자리로 만든다 (나중에 검색을 편하게 하기 위함)
|
||||
// 주민등록번호 앞자리를 그냥 생일로 사용함 ㅠㅠ
|
||||
// 주민등록번호 7번째 자리를 따져서...
|
||||
$birth = substr($mb_jumin, 0, 6);
|
||||
if ($y == 9 || $y == 0) // 1800년대생 (계시려나?)
|
||||
$birth = 18.$birth;
|
||||
else if ($y == 1 || $y == 2) // 1900년대생
|
||||
$birth = 19.$birth;
|
||||
else if ($y == 3 || $y == 4) // 2000년대생
|
||||
$birth = 20.$birth;
|
||||
else // 오류
|
||||
$birth = 'xx'.$birth;
|
||||
}
|
||||
*/
|
||||
|
||||
$member[mb_birth] = $birth;
|
||||
$member[mb_sex] = $sex;
|
||||
$member[mb_name] = $mb_name;
|
||||
if (!$_POST['agree2']) {
|
||||
alert('개인정보취급방침의 내용에 동의하셔야 회원가입 하실 수 있습니다.', './register.php');
|
||||
}
|
||||
|
||||
$member['mb_birth'] = '';
|
||||
$member['mb_sex'] = '';
|
||||
$member['mb_name'] = '';
|
||||
if (isset($_POST['birth'])) {
|
||||
$member['mb_birth'] = $_POST['birth'];
|
||||
}
|
||||
if (isset($_POST['sex'])) {
|
||||
$member['mb_sex'] = $_POST['sex'];
|
||||
}
|
||||
if (isset($_POST['mb_name'])) {
|
||||
$member['mb_name'] = $_POST['mb_name'];
|
||||
}
|
||||
|
||||
$g4['title'] = '회원 가입';
|
||||
}
|
||||
else if ($w == 'u')
|
||||
{
|
||||
|
||||
} else if ($w == 'u') {
|
||||
|
||||
if ($is_admin)
|
||||
alert('관리자의 회원정보는 관리자 화면에서 수정해 주십시오.', $g4['path']);
|
||||
|
||||
@ -119,11 +98,10 @@ else if ($w == 'u')
|
||||
alert('w 값이 제대로 넘어오지 않았습니다.');
|
||||
|
||||
// 회원아이콘 경로
|
||||
$mb_icon = $g4['path'].'/data/member/'.substr($member[mb_id],0,2).'/'.$member[mb_id].'.gif';
|
||||
$member_skin_path = $g4['path'].'/skin/member/'.$config[cf_member_skin];
|
||||
$mb_icon = $g4['path'].'/data/member/'.substr($member['mb_id'],0,2).'/'.$member['mb_id'].'.gif';
|
||||
$member_skin_path = $g4['path'].'/skin/member/'.$config['cf_member_skin'];
|
||||
|
||||
include_once('./_head.php');
|
||||
include_once('./norobot.inc.php'); // 자동등록방지
|
||||
include_once($member_skin_path.'/register_form.skin.php');
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
@ -96,12 +96,7 @@ if ($w == '') {
|
||||
alert('글을 답변할 권한이 없습니다.'.PHP_EOL.PHP_EOL.'회원이시라면 로그인 후 이용해 보십시오.', './login.php?$qstr&url='.urlencode($_SERVER['PHP_SELF'].'?bo_table='.$bo_table));
|
||||
}
|
||||
|
||||
/*
|
||||
if ($member['mb_point'] + $board['bo_comment_point'] < 0)
|
||||
alert('보유하신 포인트('.number_format($member['mb_point']).')가 없거나 모자라서 글답변('.number_format($board['bo_comment_point']).')가 불가합니다.'.PHP_EOL.PHP_EOL.'포인트를 적립하신 후 다시 글답변 해 주십시오.');
|
||||
*/
|
||||
|
||||
$tmp_point = $member['mb_point'] ? $member['mb_point'] : 0;
|
||||
$tmp_point = isset($member['mb_point']) ? $member['mb_point'] : 0;
|
||||
if ($tmp_point + $board['bo_write_point'] < 0 && !$is_admin)
|
||||
alert('보유하신 포인트('.number_format($member['mb_point']).')가 없거나 모자라서 글답변('.number_format($board['bo_comment_point']).')가 불가합니다.'.PHP_EOL.PHP_EOL.'포인트를 적립하신 후 다시 글답변 해 주십시오.');
|
||||
|
||||
@ -323,6 +318,7 @@ if (isset($write['wr_subject'])) {
|
||||
$subject = preg_replace("/\"/", """, get_text(cut_str($write['wr_subject'], 255), 0));
|
||||
}
|
||||
|
||||
$content = '';
|
||||
if ($w == '') {
|
||||
$content = $board['bo_insert_content'];
|
||||
} else if ($w == 'r') {
|
||||
|
||||
@ -1,8 +1,33 @@
|
||||
<?
|
||||
include_once('./_common.php');
|
||||
|
||||
$g4['title'] = '게시글 저장';
|
||||
|
||||
if (isset($captcha->lib)) include_once($captcha->lib);
|
||||
|
||||
$msg = array();
|
||||
|
||||
$wr_subject = '';
|
||||
if (isset($_POST['wr_subject'])) {
|
||||
$wr_subject = trim($_POST['wr_subject']);
|
||||
}
|
||||
if ($wr_subject == '') {
|
||||
$msg[] = '<strong>제목</strong>을 입력하세요.';
|
||||
}
|
||||
|
||||
$wr_content = '';
|
||||
if (isset($_POST['wr_content'])) {
|
||||
$wr_content = trim($_POST['wr_content']);
|
||||
}
|
||||
if ($wr_content == '') {
|
||||
$msg[] = '<strong>내용</strong>을 입력하세요.';
|
||||
}
|
||||
|
||||
$msg = implode('<br>', $msg);
|
||||
if ($msg) {
|
||||
alert($msg);
|
||||
}
|
||||
|
||||
// 090710
|
||||
if (substr_count($wr_content, '&#') > 50) {
|
||||
alert('내용에 올바르지 않은 코드가 다수 포함되어 있습니다.');
|
||||
@ -13,8 +38,9 @@ if (substr_count($wr_content, '&#') > 50) {
|
||||
|
||||
$upload_max_filesize = ini_get('upload_max_filesize');
|
||||
|
||||
if (empty($_POST))
|
||||
alert('파일 또는 글내용의 크기가 서버에서 설정한 값을 넘어 오류가 발생하였습니다.'.PHP_EOL.PHP_EOL.'post_max_size='.ini_get('post_max_size').' , upload_max_filesize='.$upload_max_filesize.PHP_EOL.PHP_EOL.'게시판관리자 또는 서버관리자에게 문의 바랍니다.');
|
||||
if (empty($_POST)) {
|
||||
alert("파일 또는 글내용의 크기가 서버에서 설정한 값을 넘어 오류가 발생하였습니다.\\npost_max_size=".ini_get('post_max_size')." , upload_max_filesize=".$upload_max_filesize."\\n게시판관리자 또는 서버관리자에게 문의 바랍니다.");
|
||||
}
|
||||
|
||||
$w = $_POST['w'];
|
||||
$wr_link1 = mysql_real_escape_string($_POST['wr_link1']);
|
||||
@ -24,30 +50,36 @@ $notice_array = explode(',', trim($board['bo_notice']));
|
||||
|
||||
if ($w == 'u' || $w == 'r') {
|
||||
$wr = get_write($write_table, $wr_id);
|
||||
if (!$wr['wr_id'])
|
||||
alert('글이 존재하지 않습니다.'.PHP_EOL.PHP_EOL.'글이 삭제되었거나 이동하였을 수 있습니다.');
|
||||
if (!$wr['wr_id']) {
|
||||
alert("글이 존재하지 않습니다.\\n글이 삭제되었거나 이동하였을 수 있습니다.");
|
||||
}
|
||||
}
|
||||
|
||||
// 외부에서 글을 등록할 수 있는 버그가 존재하므로 비밀글은 사용일 경우에만 가능해야 함
|
||||
if (!$is_admin && !$board['bo_use_secret'] && $secret)
|
||||
if (!$is_admin && !$board['bo_use_secret'] && $secret) {
|
||||
alert('비밀글 미사용 게시판 이므로 비밀글로 등록할 수 없습니다.');
|
||||
}
|
||||
|
||||
// 외부에서 글을 등록할 수 있는 버그가 존재하므로 비밀글 무조건 사용일때는 관리자를 제외(공지)하고 무조건 비밀글로 등록
|
||||
$secret = '';
|
||||
if (!$is_admin && $board['bo_use_secret'] == 2)
|
||||
if (!$is_admin && $board['bo_use_secret'] == 2) {
|
||||
$secret = 'secret';
|
||||
}
|
||||
|
||||
$html = '';
|
||||
if (isset($_POST['html']) && $_POST['html'])
|
||||
if (isset($_POST['html']) && $_POST['html']) {
|
||||
$html = $_POST['html'];
|
||||
}
|
||||
|
||||
$mail = '';
|
||||
if (isset($_POST['mail']) && $_POST['mail'])
|
||||
if (isset($_POST['mail']) && $_POST['mail']) {
|
||||
$mail = $_POST['mail'];
|
||||
}
|
||||
|
||||
$notice = '';
|
||||
if (isset($_POST['notice']) && $_POST['notice'])
|
||||
if (isset($_POST['notice']) && $_POST['notice']) {
|
||||
$notice = $_POST['notice'];
|
||||
}
|
||||
|
||||
for ($i=1; $i<=10; $i++) {
|
||||
$var = "wr_$i";
|
||||
@ -58,30 +90,36 @@ for ($i=1; $i<=10; $i++) {
|
||||
}
|
||||
|
||||
if ($w == '' || $w == 'u') {
|
||||
|
||||
// 김선용 1.00 : 글쓰기 권한과 수정은 별도로 처리되어야 함
|
||||
if($w =='u' && $member['mb_id'] && $wr['mb_id'] == $member['mb_id'])
|
||||
if($w =='u' && $member['mb_id'] && $wr['mb_id'] == $member['mb_id']) {
|
||||
;
|
||||
else if ($member['mb_level'] < $board['bo_write_level'])
|
||||
} else if ($member['mb_level'] < $board['bo_write_level']) {
|
||||
alert('글을 쓸 권한이 없습니다.');
|
||||
}
|
||||
|
||||
// 외부에서 글을 등록할 수 있는 버그가 존재하므로 공지는 관리자만 등록이 가능해야 함
|
||||
if (!$is_admin && $notice)
|
||||
if (!$is_admin && $notice) {
|
||||
alert('관리자만 공지할 수 있습니다.');
|
||||
}
|
||||
else if ($w == 'r')
|
||||
{
|
||||
if (in_array((int)$wr_id, $notice_array))
|
||||
alert('공지에는 답변 할 수 없습니다.');
|
||||
}
|
||||
|
||||
if ($member['mb_level'] < $board['bo_reply_level'])
|
||||
} else if ($w == 'r') {
|
||||
|
||||
if (in_array((int)$wr_id, $notice_array)) {
|
||||
alert('공지에는 답변 할 수 없습니다.');
|
||||
}
|
||||
|
||||
if ($member['mb_level'] < $board['bo_reply_level']) {
|
||||
alert('글을 답변할 권한이 없습니다.');
|
||||
}
|
||||
|
||||
// 게시글 배열 참조
|
||||
$reply_array = &$wr;
|
||||
|
||||
// 최대 답변은 테이블에 잡아놓은 wr_reply 사이즈만큼만 가능합니다.
|
||||
if (strlen($reply_array['wr_reply']) == 10)
|
||||
alert('더 이상 답변하실 수 없습니다.'.PHP_EOL.PHP_EOL.'답변은 10단계 까지만 가능합니다.');
|
||||
if (strlen($reply_array['wr_reply']) == 10) {
|
||||
alert("더 이상 답변하실 수 없습니다.\\n답변은 10단계 까지만 가능합니다.");
|
||||
}
|
||||
|
||||
$reply_len = strlen($reply_array['wr_reply']) + 1;
|
||||
if ($board['bo_reply_order']) {
|
||||
@ -98,36 +136,33 @@ else if ($w == 'r')
|
||||
if ($reply_array['wr_reply']) $sql .= " and wr_reply like '{$reply_array['wr_reply']}%' ";
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
if (!$row['reply'])
|
||||
if (!$row['reply']) {
|
||||
$reply_char = $begin_reply_char;
|
||||
else if ($row['reply'] == $end_reply_char) // A~Z은 26 입니다.
|
||||
alert('더 이상 답변하실 수 없습니다.'.PHP_EOL.PHP_EOL.'답변은 26개 까지만 가능합니다.');
|
||||
else
|
||||
} else if ($row['reply'] == $end_reply_char) { // A~Z은 26 입니다.
|
||||
alert("더 이상 답변하실 수 없습니다.\\n답변은 26개 까지만 가능합니다.");
|
||||
} else {
|
||||
$reply_char = chr(ord($row['reply']) + $reply_number);
|
||||
}
|
||||
|
||||
$reply = $reply_array['wr_reply'] . $reply_char;
|
||||
} else
|
||||
|
||||
} else {
|
||||
alert('w 값이 제대로 넘어오지 않았습니다.');
|
||||
|
||||
|
||||
if ($w == "" || $w == "r")
|
||||
{
|
||||
if ($_SESSION["ss_datetime"] >= ($g4['server_time'] - $config['cf_delay_sec']) && !$is_admin)
|
||||
alert('너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.');
|
||||
|
||||
set_session("ss_datetime", $g4['server_time']);
|
||||
|
||||
// 동일내용 연속 등록 불가
|
||||
$row = sql_fetch(" select MD5(CONCAT(wr_ip, wr_subject, wr_content)) as prev_md5 from $write_table order by wr_id desc limit 1 ");
|
||||
$curr_md5 = md5($_SERVER['REMOTE_ADDR'].$wr_subject.$wr_content);
|
||||
if ($row['prev_md5'] == $curr_md5 && !$is_admin)
|
||||
alert('동일한 내용을 연속해서 등록할 수 없습니다.');
|
||||
}
|
||||
}
|
||||
|
||||
if (!chk_captcha()) {
|
||||
alert('자동등록방지의 답변으로 입력한 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
if ($w == '' || $w == 'r') {
|
||||
if (isset($_SESSION['ss_datetime'])) {
|
||||
if ($_SESSION['ss_datetime'] >= ($g4['server_time'] - $config['cf_delay_sec']) && !$is_admin)
|
||||
alert('너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.');
|
||||
}
|
||||
|
||||
set_session("ss_datetime", $g4['server_time']);
|
||||
}
|
||||
|
||||
if (!isset($_POST['wr_subject']) || !trim($_POST['wr_subject']))
|
||||
alert('제목을 입력하여 주십시오.');
|
||||
|
||||
@ -135,12 +170,7 @@ if (!isset($_POST['wr_subject']) || !trim($_POST['wr_subject']))
|
||||
@mkdir($g4['path'].'/data/file/'.$bo_table, 0707);
|
||||
@chmod($g4['path'].'/data/file/'.$bo_table, 0707);
|
||||
|
||||
// "인터넷옵션 > 보안 > 사용자정의수준 > 스크립팅 > Action 스크립팅 > 사용 안 함" 일 경우의 오류 처리
|
||||
// 이 옵션을 사용 안 함으로 설정할 경우 어떤 스크립트도 실행 되지 않습니다.
|
||||
//if (!$_POST['wr_content']) die ("내용을 입력하여 주십시오.");
|
||||
|
||||
$chars_array = array_merge(range(0,9), range('a','z'), range('A','Z'));
|
||||
//print_r2($chars_array); exit;
|
||||
|
||||
// 가변 파일 업로드
|
||||
$file_upload_msg = '';
|
||||
@ -241,18 +271,15 @@ for ($i=0; $i<count($_FILES['bf_file']['name']); $i++) {
|
||||
}
|
||||
}
|
||||
|
||||
if ($w == '' || $w == 'r')
|
||||
{
|
||||
if ($member['mb_id'])
|
||||
{
|
||||
if ($w == '' || $w == 'r') {
|
||||
|
||||
if ($member['mb_id']) {
|
||||
$mb_id = $member['mb_id'];
|
||||
$wr_name = $board['bo_use_name'] ? $member['mb_name'] : $member['mb_nick'];
|
||||
$wr_password = $member['mb_password'];
|
||||
$wr_email = $member['mb_email'];
|
||||
$wr_homepage = $member['mb_homepage'];
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
$mb_id = '';
|
||||
// 비회원의 경우 이름이 누락되는 경우가 있음
|
||||
$wr_name = strip_tags(mysql_escape_string($_POST['wr_name']));
|
||||
@ -261,8 +288,7 @@ if ($w == '' || $w == 'r')
|
||||
$wr_password = sql_password($wr_password);
|
||||
}
|
||||
|
||||
if ($w == 'r')
|
||||
{
|
||||
if ($w == 'r') {
|
||||
// 답변의 원글이 비밀글이라면 패스워드는 원글과 동일하게 넣는다.
|
||||
if ($secret)
|
||||
$wr_password = $wr['wr_password'];
|
||||
@ -270,9 +296,7 @@ if ($w == '' || $w == 'r')
|
||||
$wr_id = $wr_id . $reply;
|
||||
$wr_num = $write['wr_num'];
|
||||
$wr_reply = $reply;
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
$wr_num = get_next_num($write_table);
|
||||
$wr_reply = '';
|
||||
}
|
||||
@ -364,26 +388,20 @@ if ($w == '' || $w == 'r')
|
||||
alert('로그인 후 수정하세요.', './login.php?url='.urlencode('./board.php?bo_table='.$bo_table.'&wr_id='.$wr_id));
|
||||
}
|
||||
|
||||
if ($member['mb_id'])
|
||||
{
|
||||
if ($member['mb_id']) {
|
||||
// 자신의 글이라면
|
||||
if ($member['mb_id'] == $wr['mb_id'])
|
||||
{
|
||||
if ($member['mb_id'] == $wr['mb_id']) {
|
||||
$mb_id = $member['mb_id'];
|
||||
$wr_name = $board['bo_use_name'] ? $member['mb_name'] : $member['mb_nick'];
|
||||
$wr_email = $member['mb_email'];
|
||||
$wr_homepage = $member['mb_homepage'];
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
$mb_id = $wr['mb_id'];
|
||||
$wr_name = $wr['wr_name'];
|
||||
$wr_email = $wr['wr_email'];
|
||||
$wr_homepage = $wr['wr_homepage'];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
$mb_id = "";
|
||||
// 비회원의 경우 이름이 누락되는 경우가 있음
|
||||
//if (!trim($wr_name)) alert("이름은 필히 입력하셔야 합니다.");
|
||||
@ -426,17 +444,13 @@ if ($w == '' || $w == 'r')
|
||||
$sql = " update {$write_table} set ca_name = '{$ca_name}' where wr_parent = '{$wr['wr_id']}' ";
|
||||
sql_query($sql);
|
||||
|
||||
if ($notice)
|
||||
{
|
||||
if ($notice) {
|
||||
//if (!preg_match("/[^0-9]{0,1}{$wr_id}[\r]{0,1}/",$board['bo_notice']))
|
||||
if (!in_array((int)$wr_id, $notice_array))
|
||||
{
|
||||
if (!in_array((int)$wr_id, $notice_array)) {
|
||||
$bo_notice = $wr_id . '\n' . $board['bo_notice'];
|
||||
sql_query(" update {$g4['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' ");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
$bo_notice = '';
|
||||
for ($i=0; $i<count($notice_array); $i++)
|
||||
if ((int)$wr_id != (int)$notice_array[$i])
|
||||
@ -527,8 +541,8 @@ if ($secret)
|
||||
set_session("ss_secret_{$bo_table}_{$wr_num}", TRUE);
|
||||
|
||||
// 메일발송 사용 (수정글은 발송하지 않음)
|
||||
if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_email'])
|
||||
{
|
||||
if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_email']) {
|
||||
|
||||
// 관리자의 정보를 얻고
|
||||
$super_admin = get_admin('super');
|
||||
$group_admin = get_admin('group');
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
/* CSS file */
|
||||
|
||||
Application
|
||||
{
|
||||
}
|
||||
@ -1,429 +0,0 @@
|
||||
a.cheditor-tag-path-elem {
|
||||
text-decoration:none;
|
||||
color:#0033cc;
|
||||
font-size: 8pt;
|
||||
font-family: dotum,tahoma,helvetica;
|
||||
cursor:pointer;
|
||||
}
|
||||
a.cheditor-tag-path-elem:hover {
|
||||
color:#0033cc;
|
||||
text-decoration:underline;
|
||||
cursor:pointer;
|
||||
}
|
||||
.cheditor-container {
|
||||
border-top: 1px #ccc solid;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
.cheditor-tb-wrapper {
|
||||
border-right:1px #ccc solid;
|
||||
border-left:1px #ccc solid;
|
||||
position: relative;
|
||||
display: block;
|
||||
background: #f5f5f5 url(../icons/toolbar-wrapper-bg.png) repeat-x left bottom;
|
||||
}
|
||||
.cheditor-editarea-wrapper {
|
||||
border-right: 1px #ccc solid;
|
||||
border-bottom: 1px #ccc solid;
|
||||
border-left: 1px #ccc solid;
|
||||
vertical-align: top;
|
||||
}
|
||||
.cheditor-editarea {
|
||||
width:100%;
|
||||
overflow:auto;
|
||||
background-color: #fff;
|
||||
}
|
||||
.cheditor-modify-block .cheditor-ico {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.cheditor-modify-block select {
|
||||
font-size: 9pt;
|
||||
color: #000;
|
||||
}
|
||||
.cheditor-modify-block div {
|
||||
padding: 5px 10px 5px 10px;
|
||||
color: #000;
|
||||
display: block;
|
||||
}
|
||||
.cheditor-modify-block div .wrap-text-desc {
|
||||
line-height: 1em;
|
||||
color: #000;
|
||||
}
|
||||
.cheditor-modify-block div .user-input-width {
|
||||
width: 30px;
|
||||
margin-left: 5px;
|
||||
font-size: 9pt;
|
||||
color: #000;
|
||||
}
|
||||
.cheditor-modify-block div .user-input-alt {
|
||||
width: 150px;
|
||||
margin: 3px 10px 0px 5px;
|
||||
font-size: 9pt;
|
||||
color: #000;
|
||||
}
|
||||
.cheditor-modify-block div .wrap-checked {
|
||||
vertical-align: middle;
|
||||
padding: 0px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
.cheditor-modify-block div .input-submit {
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
margin-left: 20px;
|
||||
height:20px;
|
||||
width:64px;
|
||||
}
|
||||
.cheditor-modify-block div .color-picker {
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
height:20px;
|
||||
width:20px;
|
||||
}
|
||||
.cheditor-modify-block div .delete-submit {
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
margin-left: 3px;
|
||||
height:20px;
|
||||
width:64px;
|
||||
}
|
||||
.cheditor-modify-block div .edit-table-ico {
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 0px 3px;
|
||||
}
|
||||
.cheditor-modify-block {
|
||||
display:none;
|
||||
border-right: 1px #ccc solid;
|
||||
border-bottom: 1px #ccc solid;
|
||||
border-left: 1px #ccc solid;
|
||||
padding:2px;
|
||||
background-color:#eee;
|
||||
font-size:9pt;
|
||||
font-family: gulim,tahoma,helvetica;
|
||||
text-align:center;
|
||||
}
|
||||
.cheditor-status-bar {
|
||||
font-size:8pt;
|
||||
font-family: dotum,tahoma,helvetica;
|
||||
color:#333;
|
||||
}
|
||||
.cheditor-tag-path {
|
||||
border-right: 1px #ccc solid;
|
||||
border-bottom: 1px #ccc solid;
|
||||
border-left: 1px #ccc solid;
|
||||
padding: 0px 2px 0px 2px;
|
||||
display: none;
|
||||
height: 18px;
|
||||
line-height:18px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cheditor-fullscreen {
|
||||
float: right;
|
||||
background: transparent url(../icons/fullscreen.png) no-repeat 0 0;
|
||||
}
|
||||
.cheditor-viewmode {
|
||||
padding: 0px 4px 0px 4px;
|
||||
height: 16px;
|
||||
background: transparent url(../icons/statusbar_bgline.gif) repeat-x 0 0;
|
||||
}
|
||||
.cheditor-viewmode div {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cheditor-tab-rich {
|
||||
background: transparent url(../icons/edit_mode_rich_a.png) no-repeat 0 0;
|
||||
float: left;
|
||||
}
|
||||
.cheditor-tab-rich-off {
|
||||
background: transparent url(../icons/edit_mode_rich_b.png) no-repeat 0 0;
|
||||
float: left;
|
||||
}
|
||||
.cheditor-tab-code {
|
||||
background: transparent url(../icons/edit_mode_code_a.png) no-repeat 0 0;
|
||||
float: left;
|
||||
}
|
||||
.cheditor-tab-code-off {
|
||||
background: transparent url(../icons/edit_mode_code_b.png) no-repeat 0 0;
|
||||
float: left;
|
||||
}
|
||||
.cheditor-tab-preview {
|
||||
background: transparent url(../icons/edit_mode_view_a.png) no-repeat 0 0;
|
||||
float: left;
|
||||
}
|
||||
.cheditor-tab-preview-off {
|
||||
background: transparent url(../icons/edit_mode_view_b.png) no-repeat 0 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.cheditor-popup-window {
|
||||
border:1px solid #8db3e5;
|
||||
display:none;
|
||||
position:absolute;
|
||||
background-color:#ebe9ed;
|
||||
left:0px;
|
||||
top:0px;
|
||||
}
|
||||
.cheditor-popup-drag-handle {
|
||||
border-bottom:1px solid #8db3e5;
|
||||
height:24px;
|
||||
background: #6b90c0 url(../icons/title_bar_bg.gif) repeat-x 0 0;
|
||||
}
|
||||
.cheditor-popup-titlebar {
|
||||
padding: 4px 0px 0px 0px !important;
|
||||
line-height: 1em;
|
||||
}
|
||||
.cheditor-resizebar {
|
||||
height: 11px;
|
||||
overflow:hidden;
|
||||
border-left: 1px #ccc solid;
|
||||
border-right: 1px #ccc solid;
|
||||
cursor:s-resize;
|
||||
background: #eee url(../icons/splitter.gif) no-repeat center top;
|
||||
}
|
||||
.cheditor_mode_icon { width: 24px; height: 16px; cursor: pointer; vertical-align:top }
|
||||
.cheditor-popup-title { font-size: 9pt; font-family:gulim,tahoma,helvetica; font-weight:bold; color:#003366; }
|
||||
.cheditor-popup-cframe {
|
||||
background-color: #ebe9ed;
|
||||
}
|
||||
.cheditor-pulldown-container {
|
||||
border:#8db3e5 1px solid;
|
||||
background-color:#fff;
|
||||
padding:1px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-pulldown-container div {
|
||||
padding: 2px 2px 2px 15px;
|
||||
line-height: 1.1;
|
||||
margin: 1px;
|
||||
font-size: 9pt;
|
||||
font-family: gulim,tahoma,helvetica;
|
||||
color: #000;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-pulldown-color-container {
|
||||
border:#8db3e5 1px solid;
|
||||
background-color:#fff;
|
||||
padding:2px;
|
||||
height: 160px;
|
||||
}
|
||||
.cheditor-pulldown-container div label, .cheditor-pulldown-textblock-container div label {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cheditor-pulldown-textblock-container div div {
|
||||
text-align: center;
|
||||
padding: 2px;
|
||||
font-size: 9pt;
|
||||
color: #000;
|
||||
line-height: 1;
|
||||
}
|
||||
.cheditor-pulldown-textblock-container div {
|
||||
padding: 1px;
|
||||
}
|
||||
.cheditor-pulldown-textblock-out {
|
||||
border: #fff 1px solid;
|
||||
}
|
||||
.cheditor-pulldown-textblock-over {
|
||||
border: #316ac5 1px solid;
|
||||
}
|
||||
.cheditor-pulldown-textblock-container {
|
||||
border:#8db3e5 1px solid;
|
||||
background-color:#fff;
|
||||
padding:2px;
|
||||
}
|
||||
.cheditor-pulldown-mouseout {
|
||||
border: #fff 1px solid;
|
||||
}
|
||||
.cheditor-pulldown-mouseover {
|
||||
background-color: #f0f0f0;
|
||||
border: #e0e0e0 1px solid;
|
||||
}
|
||||
|
||||
.cheditor-pulldown-frame {
|
||||
position:absolute;
|
||||
visibility:hidden;
|
||||
z-index: -1;
|
||||
width:1px;
|
||||
height:1px;
|
||||
line-height:12px;
|
||||
}
|
||||
.cheditor-pulldown-color-over {
|
||||
float: left;
|
||||
border: 1px solid #c00000;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
margin: 1px;
|
||||
font-size: 7px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cheditor-pulldown-color-cell {
|
||||
float: left;
|
||||
border: 1px #000 solid;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
margin: 1px;
|
||||
font-size: 7px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cheditor-pulldown-color-selected {
|
||||
border: 1px solid #000;
|
||||
text-align: center;
|
||||
margin: 1px;
|
||||
height: 15px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
.cheditor-pulldown-color-selected label {
|
||||
font-family: verdana;
|
||||
font-size: 8pt;
|
||||
color: #000;
|
||||
}
|
||||
.cheditor-pulldown-color-spacer {
|
||||
clear: both;
|
||||
height: 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cheditor-pulldown-color-wrapper {
|
||||
line-height: 1;
|
||||
height: 340px;
|
||||
}
|
||||
.cheditor-container-fullscreen {
|
||||
border-top: 1px #ccc solid;
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
_position: absolute;
|
||||
_left: expression((0 + (ignoreMe2 =
|
||||
document.documentElement.scrollLeft ?
|
||||
document.documentElement.scrollLeft :
|
||||
document.body.scrollLeft)) + 'px');
|
||||
_top: expression((270 + (ignoreMe =
|
||||
document.documentElement.scrollTop ?
|
||||
document.documentElement.scrollTop :
|
||||
document.body.scrollTop)) + 'px');
|
||||
z-index: 1000;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
.cheditor-modalPopupTransparent {
|
||||
background-color: #f0f0f0;
|
||||
position: fixed;
|
||||
display: none;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
_position: absolute;
|
||||
_left: expression((0 + (ignoreMe2 =
|
||||
document.documentElement.scrollLeft ?
|
||||
document.documentElement.scrollLeft :
|
||||
document.body.scrollLeft)) + 'px');
|
||||
_top: expression((270 + (ignoreMe =
|
||||
document.documentElement.scrollTop ?
|
||||
document.documentElement.scrollTop :
|
||||
document.body.scrollTop)) + 'px');
|
||||
}
|
||||
.cheditor-dragWindowTransparent { background-color: #fff; position: absolute; display: block; left:0px; top: 24px; }
|
||||
.cheditor-pulldown-wrapper {line-height: 1; }
|
||||
.cheditor-toolbar-icon-wrapper {
|
||||
margin: 0px 2px 0px 0px;
|
||||
float: left;
|
||||
height: 24px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cheditor-tb-icon {
|
||||
height: 22px;
|
||||
width: 16px;
|
||||
margin-left: 3px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cheditor-tb-text {
|
||||
height: 22px;
|
||||
margin-left: 5px;
|
||||
color: #555;
|
||||
font-family: gulim,tahoma,helvetica;
|
||||
font-size: 9pt;
|
||||
overflow: hidden;
|
||||
margin-right: 13px;
|
||||
line-height: 24px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-bg55 {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
background: transparent url(../icons/toolbar-background.png) no-repeat left -414px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-bg40 {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
background: transparent url(../icons/toolbar-background.png) no-repeat left -483px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-icon23 {
|
||||
height: 22px;
|
||||
width: 23px;
|
||||
margin-left: 3px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cheditor-tb-bg30 {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
background: transparent url(../icons/toolbar-background.png) no-repeat left -276px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-bg30-last {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
background: transparent url(../icons/toolbar-background.png) no-repeat left -345px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-bg {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
background: transparent url(../icons/toolbar-background.png) no-repeat left -69px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-bg-first {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
background: transparent url(../icons/toolbar-background.png) no-repeat left top;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-bg-last {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
background: transparent url(../icons/toolbar-background.png) no-repeat left -138px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-bg-single {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
background: transparent url(../icons/toolbar-background.png) no-repeat left -207px;
|
||||
position: relative;
|
||||
}
|
||||
.cheditor-tb-color-btn {
|
||||
width: 16px;
|
||||
height: 3px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 3px;
|
||||
}
|
||||
.cheditor-tb-button-spacer {
|
||||
overflow: hidden;
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
float: left;
|
||||
}
|
||||
.cheditor-tb-split {
|
||||
overflow: hidden;
|
||||
height: 2px;
|
||||
width: 3px;
|
||||
clear: both;
|
||||
}
|
||||
@ -1,133 +0,0 @@
|
||||
body {
|
||||
background-color: #ebe9ed;
|
||||
margin: 0px;
|
||||
border: 0px;
|
||||
padding: 10px;
|
||||
font-size: 9pt;
|
||||
font-family: gulim,tahoma,helvetica;
|
||||
}
|
||||
|
||||
td, input, select {
|
||||
font-size: 9pt;
|
||||
vertical-align: middle;
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
.handCursor {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
td.hover
|
||||
{
|
||||
background-color : Fuchsia;
|
||||
}
|
||||
|
||||
table.dlg {
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c5c5cc;
|
||||
padding: 2px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.dlg td {
|
||||
text-align: left;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
form {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.dlg input {
|
||||
border: 2px;
|
||||
}
|
||||
|
||||
.img {
|
||||
border: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.font-normal {
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
.button {
|
||||
width: 64px;
|
||||
height: 22px;
|
||||
margin: 0px 2px 0px 2px;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.button8em {
|
||||
font-size: 9pt;
|
||||
padding-top:2px !important; padding-top:2px;
|
||||
height: 21px;
|
||||
width: 8em;
|
||||
}
|
||||
|
||||
.button10em {
|
||||
font-size: 9pt;
|
||||
padding-top:1px !important;padding-top:2px;
|
||||
height: 21px;
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
.emIcon {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.emImgBlock {
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.emImgRow {
|
||||
margin: 3px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.schar {
|
||||
border:1px solid #ccc;
|
||||
background-color:#fff;
|
||||
width: 18px;
|
||||
height: 17px;
|
||||
text-align:center;
|
||||
cursor: pointer;
|
||||
font-size: 9pt;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
margin: 10px 0px 0px 0px;
|
||||
}
|
||||
.spacer5 {
|
||||
margin: 5px 0px 0px 0px;
|
||||
clear: both;
|
||||
}
|
||||
.wrapper {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.clear { clear: both }
|
||||
.flash-player-wrapper {
|
||||
width:480px;
|
||||
height:385px;
|
||||
margin-top:5px;
|
||||
border:1px #c5c5cc solid;
|
||||
text-align:center;
|
||||
overflow-x:auto;
|
||||
overflow-y:hidden;
|
||||
}
|
||||
.media-player-wrapper {
|
||||
height:200px;
|
||||
margin-top:5px;
|
||||
text-align:center;
|
||||
overflow-x:auto;
|
||||
overflow-y:hidden;
|
||||
}
|
||||
@ -1,99 +0,0 @@
|
||||
#uploadWindow {
|
||||
position:absolute;
|
||||
display: none;
|
||||
background-color: #ebe9ed;
|
||||
}
|
||||
|
||||
.clear { clear: both; }
|
||||
|
||||
#container {
|
||||
padding: 8px;
|
||||
font-family: gulim,tahoma,helvetica;
|
||||
}
|
||||
|
||||
#imageListWrapper {
|
||||
background-color: #fff;
|
||||
border:1px #c5c5cc solid;
|
||||
position: absolute;
|
||||
}
|
||||
#imageInfoBox {
|
||||
padding: 7px;
|
||||
background-color: #fff;
|
||||
border:1px #c5c5cc solid;
|
||||
float: right;
|
||||
}
|
||||
.button {
|
||||
width: 77px;
|
||||
height: 22px;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.imageBox, .imageBoxHighlighted {
|
||||
width: 124px;
|
||||
height: 94px;
|
||||
margin: 3px;
|
||||
float:left;
|
||||
}
|
||||
.imageBox_theImage,.imageBox_theImage_over {
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
.imageBox .imageBox_theImage{
|
||||
border: 1px solid #ddd;
|
||||
background-image: url('../icons/dot.gif');
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.imageBox .imageBox_theImage_over {
|
||||
border: 1px solid #000;
|
||||
background-image: url('../icons/dot.gif');
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.imageBoxHighlighted .imageBox_theImage {
|
||||
border: 1px solid #ff6600;
|
||||
}
|
||||
.imageBoxHighlighted .imageBox_theImage_over {
|
||||
border: 1px solid #ff6600;
|
||||
background-image: url('../icons/dot.gif');
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
#removeImage {
|
||||
display: none;
|
||||
width: 28px;
|
||||
height: 16px;
|
||||
position:absolute;
|
||||
cursor: pointer;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#insertionMarker {
|
||||
height:102px;
|
||||
width:6px;
|
||||
position:absolute;
|
||||
display:none;
|
||||
}
|
||||
|
||||
#insertionMarkerLine {
|
||||
width:6px;
|
||||
height:100px;
|
||||
}
|
||||
#insertionMarker img {
|
||||
float:left;
|
||||
}
|
||||
|
||||
#dragDropContent{
|
||||
position:absolute;
|
||||
z-index:10;
|
||||
display:none;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #ebe9ed;
|
||||
margin: 0px;
|
||||
border: none;
|
||||
padding: 0px;
|
||||
overflow: hidden;
|
||||
}
|
||||
@ -1,95 +0,0 @@
|
||||
/************************************************
|
||||
|
||||
CHEditor Image Caption Util
|
||||
|
||||
************************************************/
|
||||
img.chimg_photo
|
||||
{
|
||||
border: 1px darkgray solid;
|
||||
padding:10px;
|
||||
}
|
||||
div.imgblock
|
||||
{
|
||||
}
|
||||
div.leftjust
|
||||
{
|
||||
}
|
||||
div.rightjust
|
||||
{
|
||||
}
|
||||
div.caption
|
||||
{
|
||||
margin-top: 5px;
|
||||
margin-left: 0.2em;
|
||||
color: darkgray;
|
||||
font-size: 9pt;
|
||||
}
|
||||
div.caption-marker
|
||||
{
|
||||
float: left;
|
||||
margin-right: 0.2em;
|
||||
}
|
||||
div.caption-text
|
||||
{
|
||||
float: left;
|
||||
clear: right;
|
||||
text-align: left;
|
||||
}
|
||||
.imageUtil {
|
||||
cursor: url(icons/imageutil/zoomin.cur), pointer;
|
||||
outline: none;
|
||||
}
|
||||
.imageUtil img {
|
||||
border: 2px solid gray;
|
||||
}
|
||||
.imageUtil:hover img {
|
||||
border: 2px solid silver;
|
||||
}
|
||||
|
||||
.imageUtil-image {
|
||||
border-bottom: 1px solid white;
|
||||
}
|
||||
.imageUtil-image-blur {
|
||||
}
|
||||
.imageUtil-caption {
|
||||
display: none;
|
||||
border-bottom: 1px solid white;
|
||||
font-family: gulim, Verdana, Helvetica;
|
||||
font-size: 9pt;
|
||||
padding: 5px;
|
||||
background-color: #fff;
|
||||
}
|
||||
.imageUtil-loading {
|
||||
display: block;
|
||||
color: white;
|
||||
font-size: 9px;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
padding: 3px;
|
||||
border-top: 1px solid white;
|
||||
border-bottom: 1px solid white;
|
||||
background-color: black;
|
||||
padding-left: 22px;
|
||||
background-image: url(icons/imageutil/loader.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 3px 1px;
|
||||
}
|
||||
|
||||
a.imageUtil-credits,
|
||||
a.imageUtil-credits i {
|
||||
padding: 2px;
|
||||
color: silver;
|
||||
text-decoration: none;
|
||||
font-size: 10px;
|
||||
}
|
||||
a.imageUtil-credits:hover,
|
||||
a.imageUtil-credits:hover i {
|
||||
color: white;
|
||||
background-color: gray;
|
||||
}
|
||||
.imageUtil-display-block {
|
||||
display: block;
|
||||
}
|
||||
.imageUtil-display-none {
|
||||
display: none;
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
p { margin: 0px }
|
||||
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 190 B |
|
Before Width: | Height: | Size: 180 B |
|
Before Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 188 B |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 187 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 208 B |
|
Before Width: | Height: | Size: 543 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 1012 B |
|
Before Width: | Height: | Size: 1014 B |
|
Before Width: | Height: | Size: 393 B |
|
Before Width: | Height: | Size: 386 B |
|
Before Width: | Height: | Size: 538 B |
|
Before Width: | Height: | Size: 528 B |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 640 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 859 B |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |