From 822155a43d49f7cbf3383767d3a604210e48151c Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 10 Jan 2013 13:16:30 +0900 Subject: [PATCH 01/16] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=EC=8A=A4=ED=82=A8=20=EC=A0=84=EC=B2=B4=20?= =?UTF-8?q?=EB=94=94=EC=9E=90=EC=9D=B8=20=EC=88=98=EC=A0=95=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/def.css | 42 +++++++------- lib/common.lib.php | 11 ++-- skin/board/neo/list.skin.php | 84 ++++++++++++++-------------- skin/board/neo/view_comment.skin.php | 10 ++-- 4 files changed, 77 insertions(+), 70 deletions(-) diff --git a/css/def.css b/css/def.css index f08222991..0c8b95bb2 100644 --- a/css/def.css +++ b/css/def.css @@ -55,12 +55,8 @@ fieldset button:focus, #to_content a:active {padding:10px 0;width:100%;height:auto;background:#333;color:#fff;text-align:center;overflow:auto} /* 헤딩 */ -h1 {margin:0 0 30px;font-size:1.6em} -h2 {margin:0 0 20px} -h3 {margin:0 0 20px} -h4 {margin:0 0 20px} -h5 {margin:0 0 20px} -h6 {margin:0 0 20px} +h1 {margin:0 0 20px;font-size:1.6em} +h2, h3, h4, h5, h6 {margin:0 0 20px} /* 레이아웃 - 상단 */ #header {z-index:3;position:relative} @@ -191,13 +187,13 @@ h6 {margin:0 0 20px} /* ##################################################################### 스킨 및 컨텐츠 */ /* 버튼 */ -.btn01 {display:inline-block;padding:0 10px;height:25px;border:1px solid #ff5e1c;background:#ff7200;color:#fff;font-size:0.8em;text-decoration:none;line-height:2.2em} +.btn01 {display:inline-block;padding:0 10px;height:24px;border:1px solid #ff5e1c;background:#ff7200;color:#fff;font-size:0.75em;text-decoration:none;line-height:2.2em} .btn01:hover, .btn01:focus {} -.btn02 {display:inline-block;padding:0 10px;height:25px;border:1px solid #ccc;background:#fafafa;color:#000;font-size:0.8em;text-decoration:none;line-height:2.2em} +.btn02 {display:inline-block;padding:0 10px;height:24px;border:1px solid #ccc;background:#fafafa;color:#000;font-size:0.75em;text-decoration:none;line-height:2.2em} .btn02:hover, .btn02:focus {} -.btn03 {display:inline-block;padding:0 10px;height:25px;border:1px solid #555;background:#555;color:#fff;font-size:0.8em;text-decoration:none;line-height:2.2em} +.btn03 {display:inline-block;padding:0 10px;height:24px;border:1px solid #555;background:#555;color:#fff;font-size:0.75em;text-decoration:none;line-height:2.2em} .btn02:hover, .btn02:focus {} @@ -263,24 +259,27 @@ h6 {margin:0 0 20px} /* 게시판 목록 */ #btn_bo_adm {text-align:center} #btn_bo_adm a {display:inline-block;margin-bottom:20px;padding:10px 20px;text-align:center} -.btn_bo {margin-bottom:10px;zoom:1} -.btn_bo:after {display:block;visibility:hidden;clear:both;content:""} -.btn_bo ul {margin:0;padding:0;list-style:none} -.btn_bo_user {float:right} +.bo_link {margin-bottom:5px;zoom:1} +.bo_link:after {display:block;visibility:hidden;clear:both;content:""} +.bo_link ul {margin:0;padding:0;list-style:none} +#bo_cate {float:left;margin-bottom:10px;font-size:0.75em} +#bo_cate form {display:inline-block} +#bo_cate select {margin-right:5px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:top} +.btn_bo_user {float:right;margin:0;padding:0;list-style:none} .btn_bo_user li {float:left;margin-left:5px} .btn_bo_user a {display:block} .btn_bo_adm {float:left} .btn_bo_adm li {float:left;margin-right:5px} .btn_bo_adm a {display:block} -#bo_sch {float:left;padding:0;margin:0;border:0} +#bo_sch {text-align:center} #bo_sch legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden} #bo_sch form {display:inline-block} #bo_sch .fieldset_submit {border:1px solid #ccc;background:#fafafa;color:#000} -#bo_cate {margin-bottom:10px} -#fcategory {display:inline-block} -#fcategory select {margin-right:5px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle} #bo_list caption {padding:0;height:0;overflow:hidden} -.bo_cate_link {display:inline-block;margin-right:10px;color:#ff7200;font-weight:bold;text-decoration:none} +#bo_list td {line-height:1em} +#bo_list a {color:#000;text-decoration:none} +#bo_list img {vertical-align:top} +.bo_cate_link {display:inline-block;margin:0 10px 0 5px;font-weight:bold;text-decoration:none} .td_subject img {margin-left:5px} /* 게시판 쓰기 */ @@ -423,6 +422,9 @@ h6 {margin:0 0 20px} /* pagination */ .pg {clear:both;margin:0 0 10px;padding-top:20px;font-size:0.75em;text-align:center} -.pg_page, .pg_current {display:inline-block;position:relative;margin-left:-6px;padding:0 12px;height:30px;border:1px solid #ddd;background:#fff;color:#000;line-height:2.6em;vertical-align:middle} -.pg_page {text-decoration:none} +.pg_wrap {display:inline-block;border:1px solid #ddd;letter-spacing:-4px} +.pg_page, .pg_current {display:inline-block;padding:0 12px;height:30px;background:#fff;color:#000;letter-spacing:0;line-height:2.6em;vertical-align:middle} +.pg_page {background:#f9f9f9;text-decoration:none} +.pg_start, .pg_prev {border-right:1px solid #ddd} +.pg_end, .pg_next {border-left:1px solid #ddd} .pg_current {background:#595959;color:#fff} diff --git a/lib/common.lib.php b/lib/common.lib.php index f4dc05874..35b376286 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -19,8 +19,9 @@ function get_microtime() function get_paging($write_pages, $cur_page, $total_page, $url, $add="") { $str = ''; + $str .= ""; if ($cur_page > 1) { - $str .= '처음'.PHP_EOL; + $str .= '처음'.PHP_EOL; } $start_page = ( ( (int)( ($cur_page - 1 ) / $write_pages ) ) * $write_pages ) + 1; @@ -28,7 +29,7 @@ function get_paging($write_pages, $cur_page, $total_page, $url, $add="") if ($end_page >= $total_page) $end_page = $total_page; - if ($start_page > 1) $str .= '이전'.PHP_EOL; + if ($start_page > 1) $str .= '이전'.PHP_EOL; if ($total_page > 1) { for ($k=$start_page;$k<=$end_page;$k++) { @@ -39,12 +40,12 @@ function get_paging($write_pages, $cur_page, $total_page, $url, $add="") } } - if ($total_page > $end_page) $str .= '다음'.PHP_EOL; + if ($total_page > $end_page) $str .= '다음'.PHP_EOL; if ($cur_page < $total_page) { - $str .= '맨끝'.PHP_EOL; + $str .= '맨끝'.PHP_EOL; } - $str .= ""; + $str .= ""; return $str; } diff --git a/skin/board/neo/list.skin.php b/skin/board/neo/list.skin.php index 8cf815cdd..4ca3d0a8d 100644 --- a/skin/board/neo/list.skin.php +++ b/skin/board/neo/list.skin.php @@ -11,50 +11,26 @@ if ($is_nogood) $colspan++;

-
게시판 관리자 바로가기
+
-
- -
- -
- - Total - 페이지 -
- -
-
- 게시물 검색 - -
- - - ;"> + + - - - - - -
- -
+ + Total + 페이지 +
@@ -136,15 +112,15 @@ for ($i=0; $i -
+ + + 게시물 검색 + +
+ + + + + + + + + +
+ +*/?> + - +
+ + +
+ From 313d1756b64dfbf3a64197007d327a1d0a023edc Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 10 Jan 2013 13:25:40 +0900 Subject: [PATCH 02/16] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B8=80?= =?UTF-8?q?=EC=9E=90=20=ED=81=AC=EA=B8=B0=200.8=20->=200.75em=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD,=20=EA=B2=8C=EC=8B=9C=ED=8C=90?= =?UTF-8?q?=EC=8A=A4=ED=82=A8=20=EC=9D=BD=EA=B8=B0=20=EB=B3=B8=EB=AC=B8=20?= =?UTF-8?q?=EA=B8=80=EC=9E=90=20=ED=81=AC=EA=B8=B0=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/def.css | 22 +++++++++++----------- skin/board/neo/list.skin.php | 3 +-- skin/board/neo/view.skin.php | 2 +- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/css/def.css b/css/def.css index 0c8b95bb2..0d969eeaa 100644 --- a/css/def.css +++ b/css/def.css @@ -18,7 +18,7 @@ table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0} tfoot td {background:#f9f9f5;font-weight:bold;text-align:center} caption {padding:0 0 10px;text-align:left} .caption_desc {font-size:0.75em} -th {padding:12px 0 8px;border-top:3px solid #666;border-bottom:1px solid #a9a9a9;font-size:0.8em} +th {padding:12px 0 8px;border-top:3px solid #666;border-bottom:1px solid #a9a9a9;font-size:0.75em} th a {color:#000;text-decoration:none} th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */ td {padding:10px 0;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;font-size:0.75em} @@ -35,9 +35,9 @@ fieldset select {padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-a fieldset p {margin:0} fieldset .span_highlight {color:#ff3061} fieldset button, -.fieldset_submit {padding:0 15px;height:24px;border:0;background:#555;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle;cursor:pointer} +.fieldset_submit {padding:0 15px;height:24px;border:0;background:#555;color:#fff;font-size:0.75em;line-height:1.9em;vertical-align:middle;cursor:pointer} fieldset button:focus, -.fieldset_submit:focus {padding:0 15px;height:24px;border:0;background:#555;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle} +.fieldset_submit:focus {padding:0 15px;height:24px;border:0;background:#555;color:#fff;font-size:0.75em;line-height:1.9em;vertical-align:middle} /* 이미지 등비율 리사이징 */ .img_fix {float:left;width:100%;height:auto} @@ -70,7 +70,7 @@ h2, h3, h4, h5, h6 {margin:0 0 20px} #tnb {padding-left:30px;border-bottom:1px solid #ccc;background:#ebebe9;zoom:1} #tnb:after {display:block;visibility:hidden;clear:both;content:""} #tnb li {float:left;margin-left:-1px} -#tnb a {display:block;padding:0 20px;height:35px;border-right:1px solid #ddd;border-left:1px solid #ddd;color:#595959;font-family:"dotum";font-size:0.8em;font-weight:bold;text-decoration:none;line-height:3em} +#tnb a {display:block;padding:0 20px;height:35px;border-right:1px solid #ddd;border-left:1px solid #ddd;color:#595959;font-family:"dotum";font-size:0.75em;font-weight:bold;text-decoration:none;line-height:3em} #tnb a:hover, #tnb a:focus {background:#f9f9f5} @@ -216,7 +216,7 @@ h2, h3, h4, h5, h6 {margin:0 0 20px} .readonly {background:#ff3061} /* 최신글 */ -.latest {clear:both;position:relative;margin-bottom:30px;padding:0 0 20px;border-bottom:1px solid #ccc;font-size:0.8em} +.latest {clear:both;position:relative;margin-bottom:30px;padding:0 0 20px;border-bottom:1px solid #ccc;font-size:0.75em} .latest strong {display:block;margin-bottom:15px;padding:0 10px 10px;border-bottom:1px solid #eee;font-size:1.1em} .latest strong a {color:#000;text-decoration:none} .latest ul {margin:0;padding:0;list-style:none} @@ -306,13 +306,13 @@ h2, h3, h4, h5, h6 {margin:0 0 20px} #bo_v_article {zoom:1} #bo_v_article:after {display:block;visibility:hidden;clear:both;content:""} #bo_v_article h1 {margin:0;padding:0;height:0;overflow:hidden} -#bo_v_article p {padding:0 0 10px} -#bo_v_file {border-bottom:1px solid #666;background:#555;font-size:0.75em} +#bo_v_article p {padding:0 0 10px;font-size:0.875em} +#bo_v_file {background:#555;font-size:0.75em} #bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden} #bo_v_file ul {margin:0;padding:0;list-style:none} #bo_v_file a {display:inline-block;margin-top:5px;padding:5px 10px;color:#fff} .bo_v_file_cnt {display:inline-block;margin-left:10px;color:#ddd} -#bo_v_link {border-bottom:1px solid #666;background:#555;font-size:0.75em} +#bo_v_link {background:#555;font-size:0.75em} #bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden} #bo_v_link ul {margin:0;padding:0;list-style:none} #bo_v_link a {display:inline-block;margin-top:5px;padding:5px 10px;color:#fff} @@ -356,7 +356,7 @@ h2, h3, h4, h5, h6 {margin:0 0 20px} #post_num dt {margin-bottom:15px} #post_num dd {margin:0;padding:0} #post_num ul {margin:0;padding:0;list-style:none} -#post_num li a {display:block;padding:5px 0;font-size:0.8em} +#post_num li a {display:block;padding:5px 0;font-size:0.75em} #post_num p {margin:0 auto 30px;width:90%} /* 회원가입 약관 */ @@ -386,7 +386,7 @@ h2, h3, h4, h5, h6 {margin:0 0 20px} .new_win h2 {font-size:1em} .new_win table {margin:0 auto 30px;width:90%} .new_win fieldset {margin:0 auto 30px;width:90%} -.new_win_ul {margin:-30px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;font-size:0.8em;list-style:none;zoom:1} +.new_win_ul {margin:-30px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;font-size:0.75em;list-style:none;zoom:1} .new_win_ul:after {display:block;visibility:hidden;clear:both;content:""} .new_win_ul li {float:left;margin-left:-1px} .new_win_ul a {display:block;padding:10px;border-right:1px solid #eee;border-left:1px solid #eee;color:#595959;font-family:"dotum";font-size:0.875em;font-weight:bold;text-decoration:none} @@ -410,7 +410,7 @@ h2, h3, h4, h5, h6 {margin:0 0 20px} /* 자기소개 */ #profile table {margin-bottom:15px} #profile section {margin:0 auto 20px;width:90%;border-bottom:1px solid #d9d9d9} -#profile h2 {margin:0;font-size:0.8em;font-family:"gulim"} +#profile h2 {margin:0;font-size:0.75em;font-family:"gulim"} #profile p {font-size:0.75em} /* 쪽지 읽기 */ diff --git a/skin/board/neo/list.skin.php b/skin/board/neo/list.skin.php index 4ca3d0a8d..c3a157a1f 100644 --- a/skin/board/neo/list.skin.php +++ b/skin/board/neo/list.skin.php @@ -136,7 +136,6 @@ for ($i=0; $i다음검색'; } ?>
- 게시물 검색 @@ -160,7 +159,7 @@ for ($i=0; $i -*/?> + + - From 6d7d897801e34d5d1cce951698fbd71c408179ad Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 10 Jan 2013 16:44:04 +0900 Subject: [PATCH 11/16] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=EC=8A=A4=ED=82=A8=20=EB=8C=93=EA=B8=80?= =?UTF-8?q?=EC=93=B0=EA=B8=B0=20=EC=9E=90=EB=8F=99=EB=93=B1=EB=A1=9D?= =?UTF-8?q?=EB=B0=A9=EC=A7=80=20=EA=B8=80=EC=9E=90=ED=81=AC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + css/def.css | 2 +- test.php | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 11bb41e15..c4b7f9c39 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ data dbconfig.php install.bak +test.php diff --git a/css/def.css b/css/def.css index 377ab3b1b..2d9775a2d 100644 --- a/css/def.css +++ b/css/def.css @@ -350,7 +350,7 @@ a {color:#000;text-decoration:none} #bo_vc_w:after {display:block;visibility:hidden;clear:both;content:""} #bo_vc_w fieldset {margin:0;padding:0 0 0 10px;border:0;background:transparent;font-size:0.75em} /* 댓글 CAPTCHA */ -#bo_vc_w #captcha_comment {font-size:1.4em !important} +#bo_vc_w #captcha_comment {font-size:1.3em !important} #bo_vc_warea {position:relative;margin:10px 100px 10px 0} #bo_vc_warea textarea {width:100%;height:50px} #bo_vc_warea .bo_vc_submit {position:absolute;top:0;right:-90px;width:75px;height:57px;border:1px solid #666;background:#555;color:#fff;letter-spacing:-0.1em} diff --git a/test.php b/test.php index 9ec5350cf..7e400e7d1 100644 --- a/test.php +++ b/test.php @@ -29,7 +29,9 @@ outline:0; - + + + From 81a30d558785dc159e698baf42022ea72e250c5b Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 10 Jan 2013 17:23:11 +0900 Subject: [PATCH 12/16] =?UTF-8?q?=EC=BA=A1=EC=B1=A0=20=EC=95=84=EC=9D=B4?= =?UTF-8?q?=ED=94=84=EB=A0=88=EC=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/def.css | 7 ++++++- plugin/captcha/captcha.lib.php | 16 ++++++++-------- tail.sub.php | 18 +++++++++--------- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/css/def.css b/css/def.css index 2d9775a2d..b7e6f04ba 100644 --- a/css/def.css +++ b/css/def.css @@ -2,7 +2,7 @@ /* 초기화 */ html {overflow-y:scroll} -body {background:#fff;font-size:1em} +body {margin:0;padding:0;background:#fff;font-size:1em} html, body, h1, h2, h3, h4, h5, h6 {margin:0 0 0;padding:0} h1, h2, h3, h4, h5, h6 {font-family:"verdana","dotum"} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block} @@ -16,6 +16,11 @@ hr {display:none} /* 웹접근성 스킬 */ .sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;overflow:hidden} +/* 자동등록방지 */ +.captcha {display:inline-block;vertical-align:middle} +.captcha label {display:inline-block;margin:0;padding:0;width:0;height:0;overflow:hidden} +.captcha iframe {margin:0;padding:0;width:80px;height:25px;border:0;overflow:hidden} + /* 기본테이블 */ table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0} tfoot td {background:#f9f9f5;font-weight:bold;text-align:center} diff --git a/plugin/captcha/captcha.lib.php b/plugin/captcha/captcha.lib.php index 57e0a5763..190710ec3 100644 --- a/plugin/captcha/captcha.lib.php +++ b/plugin/captcha/captcha.lib.php @@ -144,15 +144,15 @@ function captcha_html($input_name, $captcha_id_suffix='') // 세션생성을 한후 다음페이지에서 해당 세션이 있을때만 올바른 캡챠코드인지 비교합니다. set_session('ss_captcha_use', true); - $html = '
'; - $html .= '자동등록방지'; + $html = '
'; + $html .= '자동등록방지'; //$html .= '자동등록방지 이미지'; - $html .= ''; + $html .= ''; $html .= '새로고침'; - $html .= 'wav'; - $html .= ''; - $html .= ''; - $html .= '

이미지의 숫자를 순서대로 입력하세요. 새로고침을 클릭하시면 새로운 숫자가 나타납니다.

'; + $html .= '음성듣기'; + $html .= ''; + $html .= ''; + $html .= '

이미지의 숫자를 순서대로 입력하세요. 새로고침을 클릭하시면 새로운 숫자가 나타납니다.

'; $html .= '
'; return $html; } @@ -175,4 +175,4 @@ function captcha_js($element) { return "if (!check_captcha({$element})) { return false; }"; } -?> \ No newline at end of file +?> diff --git a/tail.sub.php b/tail.sub.php index 73fd14172..4a30f2741 100644 --- a/tail.sub.php +++ b/tail.sub.php @@ -12,17 +12,17 @@ $tmp_row = sql_fetch($tmp_sql); //sql_query(" lock table $g4['login_table'] write ", false); if ($tmp_row['cnt']) { - $tmp_sql = " update {$g4['login_table']} set mb_id = '{$member['mb_id']}', lo_datetime = '{$g4['time_ymdhis']}', lo_location = '$lo_location', lo_url = '$lo_url' where lo_ip = '{$_SERVER['REMOTE_ADDR']}' "; - sql_query($tmp_sql, FALSE); + $tmp_sql = " update {$g4['login_table']} set mb_id = '{$member['mb_id']}', lo_datetime = '{$g4['time_ymdhis']}', lo_location = '$lo_location', lo_url = '$lo_url' where lo_ip = '{$_SERVER['REMOTE_ADDR']}' "; + sql_query($tmp_sql, FALSE); } else { - $tmp_sql = " insert into {$g4['login_table']} ( lo_ip, mb_id, lo_datetime, lo_location, lo_url ) values ( '{$_SERVER['REMOTE_ADDR']}', '{$member['mb_id']}', '{$g4['time_ymdhis']}', '$lo_location', '$lo_url' ) "; - sql_query($tmp_sql, FALSE); + $tmp_sql = " insert into {$g4['login_table']} ( lo_ip, mb_id, lo_datetime, lo_location, lo_url ) values ( '{$_SERVER['REMOTE_ADDR']}', '{$member['mb_id']}', '{$g4['time_ymdhis']}', '$lo_location', '$lo_url' ) "; + sql_query($tmp_sql, FALSE); - // 시간이 지난 접속은 삭제한다 - sql_query(" delete from {$g4['login_table']} where lo_datetime < '".date("Y-m-d H:i:s", $g4['server_time'] - (60 * $config['cf_login_minutes']))."' "); + // 시간이 지난 접속은 삭제한다 + sql_query(" delete from {$g4['login_table']} where lo_datetime < '".date("Y-m-d H:i:s", $g4['server_time'] - (60 * $config['cf_login_minutes']))."' "); - // 부담(overhead)이 있다면 테이블 최적화 - //$row = sql_fetch(" SHOW TABLE STATUS FROM `$mysql_db` LIKE '$g4['login_table']' "); - //if ($row['Data_free'] > 0) sql_query(" OPTIMIZE TABLE $g4['login_table'] "); + // 부담(overhead)이 있다면 테이블 최적화 + //$row = sql_fetch(" SHOW TABLE STATUS FROM `$mysql_db` LIKE '$g4['login_table']' "); + //if ($row['Data_free'] > 0) sql_query(" OPTIMIZE TABLE $g4['login_table'] "); } ?> \ No newline at end of file From 5b7f2c42969d440e11caf6f2c4e5a64c7fc6dad9 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 10 Jan 2013 17:41:01 +0900 Subject: [PATCH 13/16] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=EC=8A=A4=ED=82=A8=20=EB=8C=93=EA=B8=80?= =?UTF-8?q?=EC=93=B0=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/def.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css/def.css b/css/def.css index b7e6f04ba..f211e627f 100644 --- a/css/def.css +++ b/css/def.css @@ -354,12 +354,13 @@ a {color:#000;text-decoration:none} #bo_vc_w {position:relative;margin-top:10px;zoom:1} #bo_vc_w:after {display:block;visibility:hidden;clear:both;content:""} #bo_vc_w fieldset {margin:0;padding:0 0 0 10px;border:0;background:transparent;font-size:0.75em} +#bo_vc_w #char_cnt {position:absolute;top:5px;right:90px} /* 댓글 CAPTCHA */ -#bo_vc_w #captcha_comment {font-size:1.3em !important} +#bo_vc_w #captcha_comment {font-size:1em !important} #bo_vc_warea {position:relative;margin:10px 100px 10px 0} #bo_vc_warea textarea {width:100%;height:50px} #bo_vc_warea .bo_vc_submit {position:absolute;top:0;right:-90px;width:75px;height:57px;border:1px solid #666;background:#555;color:#fff;letter-spacing:-0.1em} -#bo_vc_w #char_cnt {position:absolute;top:5px;right:10px} + #bo_sch {display:hidden;visibility:hidden;height:0;overflow:hidden} From 376db26265634e7b69ed088bb96d29243a735963 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 10 Jan 2013 17:44:48 +0900 Subject: [PATCH 14/16] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=EC=8A=A4=ED=82=A8=20=EB=8C=93=EA=B8=80?= =?UTF-8?q?=EC=93=B0=EA=B8=B0=20iframe=20=EC=8A=A4=ED=83=80=EC=9D=BC?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EB=B3=B4=EB=A5=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/def.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css/def.css b/css/def.css index f211e627f..0536fe4c7 100644 --- a/css/def.css +++ b/css/def.css @@ -345,7 +345,8 @@ a {color:#000;text-decoration:none} .bo_vc_info dt {float:left} .bo_vc_info dd {float:left;margin:0 15px 0 10px} #bo_vc p {padding:0;font-size:0.75em} -#bo_vc fieldset {margin:0;padding:0;border:0;background:transparent;font-size:0.75em} +#bo_vc fieldset {margin:0;padding:0;border:0;border-top:1px solid #ddd;background:transparent;font-size:0.75em} +#bo_vc #captcha_comment {border:0;font-size:1em !important} #bo_vc footer {zoom:1} #bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""} .bo_vc_act {float:right;margin:0;font-size:0.75em;list-style:none;zoom:1} @@ -354,7 +355,7 @@ a {color:#000;text-decoration:none} #bo_vc_w {position:relative;margin-top:10px;zoom:1} #bo_vc_w:after {display:block;visibility:hidden;clear:both;content:""} #bo_vc_w fieldset {margin:0;padding:0 0 0 10px;border:0;background:transparent;font-size:0.75em} -#bo_vc_w #char_cnt {position:absolute;top:5px;right:90px} +#bo_vc_w #char_cnt {position:absolute;top:5px;right:10px} /* 댓글 CAPTCHA */ #bo_vc_w #captcha_comment {font-size:1em !important} #bo_vc_warea {position:relative;margin:10px 100px 10px 0} From 4f23caddbf23de4a86bc0df243226666eda33ebe Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 10 Jan 2013 18:21:42 +0900 Subject: [PATCH 15/16] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=EC=8A=A4=ED=82=A8=20=EB=8C=93=EA=B8=80?= =?UTF-8?q?=EC=93=B0=EA=B8=B0=20=EC=BA=A1=EC=B1=A0=20=EC=8A=A4=ED=83=80?= =?UTF-8?q?=EC=9D=BC=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/def.css | 10 ++++++---- plugin/captcha/captcha.lib.php | 4 ++-- skin/board/neo/view_comment.skin.php | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/css/def.css b/css/def.css index 0536fe4c7..cebf533ba 100644 --- a/css/def.css +++ b/css/def.css @@ -14,12 +14,12 @@ p {margin:5px 0;padding:10px 0;line-height:1.5em} hr {display:none} /* 웹접근성 스킬 */ -.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;overflow:hidden} +.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;border:0;overflow:hidden} /* 자동등록방지 */ .captcha {display:inline-block;vertical-align:middle} .captcha label {display:inline-block;margin:0;padding:0;width:0;height:0;overflow:hidden} -.captcha iframe {margin:0;padding:0;width:80px;height:25px;border:0;overflow:hidden} +#captcha_iframe {display:inline-block;margin:0;padding:0;width:80px;height:25px;border:0;vertical-align:middle;overflow:hidden} /* 기본테이블 */ table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0} @@ -345,8 +345,10 @@ a {color:#000;text-decoration:none} .bo_vc_info dt {float:left} .bo_vc_info dd {float:left;margin:0 15px 0 10px} #bo_vc p {padding:0;font-size:0.75em} -#bo_vc fieldset {margin:0;padding:0;border:0;border-top:1px solid #ddd;background:transparent;font-size:0.75em} -#bo_vc #captcha_comment {border:0;font-size:1em !important} +#bo_vc fieldset {margin:0;padding:5px 0 0;border:0;border-top:1px solid #ddd;background:transparent;font-size:0.75em} +#bo_vc .captcha {padding:0;border:0;font-size:1em !important} +#bo_vc .captcha a {display:inline-block;margin-right:5px;text-decoration:underline} +#bo_vc .fieldset_input {margin-right:5px;vertical-align:top} #bo_vc footer {zoom:1} #bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""} .bo_vc_act {float:right;margin:0;font-size:0.75em;list-style:none;zoom:1} diff --git a/plugin/captcha/captcha.lib.php b/plugin/captcha/captcha.lib.php index 190710ec3..1b581251a 100644 --- a/plugin/captcha/captcha.lib.php +++ b/plugin/captcha/captcha.lib.php @@ -147,11 +147,11 @@ function captcha_html($input_name, $captcha_id_suffix='') $html = '
'; $html .= '자동등록방지'; //$html .= '자동등록방지 이미지'; - $html .= ''; + $html .= ''; $html .= '새로고침'; $html .= '음성듣기'; $html .= ''; - $html .= ''; + $html .= ''; $html .= '

이미지의 숫자를 순서대로 입력하세요. 새로고침을 클릭하시면 새로운 숫자가 나타납니다.

'; $html .= '
'; return $html; diff --git a/skin/board/neo/view_comment.skin.php b/skin/board/neo/view_comment.skin.php index 2a4b8d847..bcb46c5c6 100644 --- a/skin/board/neo/view_comment.skin.php +++ b/skin/board/neo/view_comment.skin.php @@ -73,8 +73,8 @@ var char_max = parseInt(); // 최대

댓글쓰기

- - + + From 25c6c78dfbc83079a3f61afabce7af13ff7cfa25 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 10 Jan 2013 18:37:23 +0900 Subject: [PATCH 16/16] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=EC=8A=A4=ED=82=A8=20=EB=8C=93=EA=B8=80?= =?UTF-8?q?=EC=93=B0=EA=B8=B0=20#124=20=EC=97=90=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/def.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/css/def.css b/css/def.css index cebf533ba..4cd414664 100644 --- a/css/def.css +++ b/css/def.css @@ -80,7 +80,7 @@ a {color:#000;text-decoration:none} #tnb {padding-left:30px;border-bottom:1px solid #ccc;background:#ebebe9;zoom:1} #tnb:after {display:block;visibility:hidden;clear:both;content:""} #tnb li {float:left;margin-left:-1px} -#tnb a {display:block;padding:0 20px;height:35px;border-right:1px solid #ddd;border-left:1px solid #ddd;color:#595959;font-family:"dotum";font-size:0.75em;font-weight:bold;text-decoration:none;line-height:3em} +#tnb a {display:inline-block;padding:0 20px;height:35px;border-right:1px solid #ddd;border-left:1px solid #ddd;color:#595959;font-family:"dotum";font-size:0.75em;font-weight:bold;text-decoration:none;line-height:3em} #tnb a:hover, #tnb a:focus {background:#f9f9f5} @@ -277,10 +277,8 @@ a {color:#000;text-decoration:none} #bo_cate select {margin-right:5px;padding:4px;border:1px solid #ddd;background:#f9f9f5;font-size:1em;vertical-align:middle} .btn_bo_user {float:right;margin:0;padding:0;list-style:none} .btn_bo_user li {float:left;margin-left:5px} -.btn_bo_user a {display:block} .btn_bo_adm {float:left} .btn_bo_adm li {float:left;margin-right:5px} -.btn_bo_adm a {display:block} #bo_sch {text-align:center} #bo_sch legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden} #bo_sch form {display:inline-block} @@ -362,7 +360,7 @@ a {color:#000;text-decoration:none} #bo_vc_w #captcha_comment {font-size:1em !important} #bo_vc_warea {position:relative;margin:10px 100px 10px 0} #bo_vc_warea textarea {width:100%;height:50px} -#bo_vc_warea .bo_vc_submit {position:absolute;top:0;right:-90px;width:75px;height:57px;border:1px solid #666;background:#555;color:#fff;letter-spacing:-0.1em} +#bo_vc_warea .bo_vc_submit {position:absolute;top:0;right:-90px !important;right:10px;width:75px;height:57px;border:1px solid #666;background:#555;color:#fff;letter-spacing:-0.1em} #bo_sch {display:hidden;visibility:hidden;height:0;overflow:hidden}