diff --git a/adm/board_form.php b/adm/board_form.php
index 289f53218..503ffce68 100644
--- a/adm/board_form.php
+++ b/adm/board_form.php
@@ -567,6 +567,7 @@ $pg_anchor = "
|
=get_skin_select("board", "bo_skin", "bo_skin", $board['bo_skin'], 'required');?>
+ 스킨자료실
|
diff --git a/adm/config_form.php b/adm/config_form.php
index 9e940196f..df769bb81 100644
--- a/adm/config_form.php
+++ b/adm/config_form.php
@@ -127,6 +127,7 @@ $pg_anchor = "
}
?>
+ 스킨자료실
|
|
@@ -145,6 +146,7 @@ $pg_anchor = "
}
?>
+ 스킨자료실
|
@@ -158,6 +160,7 @@ $pg_anchor = "
}
?>
+ 스킨자료실
@@ -284,6 +287,7 @@ $pg_anchor = "
}
?>
+ 스킨자료실
diff --git a/bbs/view_image.php b/bbs/view_image.php
new file mode 100644
index 000000000..65917d68f
--- /dev/null
+++ b/bbs/view_image.php
@@ -0,0 +1,89 @@
+';
+} else {
+ alert_close('파일이 존재하지 않습니다.');
+}
+?>
+
+=$img?>
+
+
+
+
\ No newline at end of file
diff --git a/css/adm.css b/css/adm.css
index 9678a8847..3baf5cf6e 100644
--- a/css/adm.css
+++ b/css/adm.css
@@ -310,3 +310,6 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
.pg_end,
.pg_next {border-left:1px solid #ddd}
.pg_current {background:#444;color:#fff;font-weight:bold}
+
+/* 스킨자료실 바로가기 */
+.goto_sirskin {color:#ff5300}
\ No newline at end of file
diff --git a/css/default.css b/css/default.css
index 90b03ee01..a3b968c5a 100644
--- a/css/default.css
+++ b/css/default.css
@@ -47,7 +47,7 @@ a:active {color:#000;text-decoration:underline}
#snb {position:absolute;top:18px;right:0;zoom:1}
#snb:after {display:block;visibility:hidden;clear:both;content:""}
#snb li {float:left}
-#snb a {display:block;padding:5px 10px;color:#4e5d60;letter-spacing:-0.1em}
+#snb a {display:block;padding:5px 10px;color:#334356;letter-spacing:-0.1em}
#snb a:focus,
#snb a:hover,
#snb a:active {text-decoration:none}
@@ -58,7 +58,7 @@ a:active {color:#000;text-decoration:underline}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#wrapper_title {margin-bottom:20px;font-size:1.2em}
#lnb {float:right;width:208px;border:1px solid #e7f1ed;background:#fff}
-#container {float:left;padding:25px 15px 15px;width:728px;min-height:500px;height:auto !important;height:500px;border:1px solid #e7f1ed;background:#fff;zoom:1}
+#container {position:relative;float:left;padding:25px 15px 15px;width:728px;min-height:500px;height:auto !important;height:500px;border:1px solid #e7f1ed;background:#fff;zoom:1}
#container:after {display:block;visibility:hidden;clear:both;content:""}
/* 하단 레이아웃 */
@@ -97,13 +97,13 @@ a:active {color:#000;text-decoration:underline}
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
.btn01:focus,
.btn01:hover {text-decoration:none !important}
-.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #4e5d60 !important;background:#4e5d60 !important;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
+.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #334356 !important;background:#334356 !important;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
.btn02:focus,
.btn02:hover {text-decoration:none !important}
.btn_confirm {text-align:center} /* 서식단계 진행 */
-.btn_submit {padding:0 10px;height:24px;border:0;background:#4e5d60;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
+.btn_submit {padding:0 10px;height:24px;border:0;background:#334356;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em}
-.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#4e5d60;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */
+.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#334356;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */
.btn_win {clear:both;margin-bottom:20px;text-align:center} /* 새창용 */
.btn_win a {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em;cursor:pointer}
.btn_win a:focus,
@@ -112,7 +112,7 @@ a:active {color:#000;text-decoration:underline}
/* 기본테이블 */
.basic_tbl {margin-bottom:10px;width:100%;border-collapse:collapse;border-spacing:0}
.basic_tbl caption {padding:0 0 10px;color:#777;text-align:left}
-.basic_tbl thead th {padding:12px 0 8px;background:#334356;color:#fff}
+.basic_tbl thead th {padding:12px 0 8px;background:#079dd2;color:#fff}
.basic_tbl thead a {color:#fff}
.basic_tbl thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.basic_tbl tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
@@ -149,7 +149,7 @@ fieldset textarea {padding:3px 3px 4px;border:1px solid #b8c9c2;background:#f7f7
fieldset textarea:focus {padding:4px 4px 5px;border:0;background:#21272e;color:#fff}
.fs_submit,
-fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#fff;line-height:1.7em;vertical-align:middle;cursor:pointer}
+fieldset button {padding:0 15px;height:24px;border:0;background:#334356;color:#fff;line-height:1.7em;vertical-align:middle;cursor:pointer}
.frm_info {display:block;padding:5px 0 0;color:#666;line-height:1.3em}
@@ -210,20 +210,21 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
#find_info #captcha input {margin-left:5px}
/* 아웃로그인 스킨 */
-.ol {position:relative;padding:35px 14px 14px;border-bottom:1px solid #e7f1ed}
-.ol h2 {position:absolute;top:0px;left:14px !important;left:0;margin:0;padding:0 5px;height:25px;background:#76a5a8;color:#fff;font-weight:bold;line-height:2.2em}
+.ol {position:relative;border-bottom:1px solid #e7f1ed}
+.ol h2 {position:absolute;top:0px;right:14px;margin:0;padding:0 5px;height:25px;background:#76a5a8;color:#fff;font-weight:bold;line-height:2.2em}
.ol ul {margin:0;padding:0;list-style:none}
+#ol_before {padding:30px 14px 14px}
#ol_before fieldset {position:relative}
#ol_id {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:168px;height:22px;border:1px solid #b8c9c2;background:#f7f7f7;line-height:1.6em}
#ol_id:focus {border-color:#333;background:#21272e;color:#fff}
-.ol_idlabel {position:absolute;top:6px;left:5px;color:#4e5d60;font-size:0.9em}
+.ol_idlabel {position:absolute;top:6px;left:5px;color:#334356;font-size:0.9em}
#ol_pw {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:168px;height:22px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:top;line-height:1.6em}
#ol_pw:focus {border-color:#333;background:#21272e;color:#fff}
-.ol_pwlabel {position:absolute;top:35px;left:5px;color:#4e5d60;font-size:0.9em}
+.ol_pwlabel {position:absolute;top:35px;left:5px;color:#334356;font-size:0.9em}
#auto_login {}
#auto_login_label {letter-spacing:-0.1em}
-#ol_submit {display:inline-block;width:60px;height:24px;border:0;background:#4e5d60;color:#fff;font-size:0.9em;font-weight:bold;vertical-align:top}
+#ol_submit {display:inline-block;width:60px;height:24px;border:0;background:#334356;color:#fff;font-size:0.9em;font-weight:bold;vertical-align:top}
#ol_before ul {float:right;margin:7px 0 13px;zoom:1}
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
#ol_before li {float:left;margin-left:5px;padding-top:2px}
@@ -231,22 +232,23 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
#ol_before a {letter-spacing:-0.1em}
#ol_svc {padding-top:8px;text-align:right}
-#ol_after_hd {margin:0 0 5px;padding:5px 0;border-bottom:1px solid #cfded8;text-align:center}
-#ol_after_hd a {position:absolute;top:10px;right:14px;color:#e8180c}
+#ol_after {padding:25px 14px 14px}
+#ol_after_hd {margin:0 0 3px}
+#ol_after_hd .btn_admin {margin-top:5px;width:158px;text-align:center}
#ol_after_private {margin:0 0 3px;zoom:1}
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
#ol_after_private li {float:left}
-#ol_after_private a {display:block;padding-top:8px;height:37px;background:#fff;text-align:center}
+#ol_after_private a {display:block;padding-top:8px;height:37px;background:#f7f7f7;text-align:center}
#ol_after_private a strong {display:block;padding-top:3px;color:#000;font-weight:normal}
#ol_after_private a:focus,
-#ol_after_private a:hover {background:#4e5d60;color:#fff;text-decoration:none}
+#ol_after_private a:hover {background:#334356;color:#fff;text-decoration:none}
#ol_after_private a:focus strong,
#ol_after_private a:hover strong {color:#fff;text-decoration:none}
#ol_after_memo {width:50px;margin-right:1px}
#ol_after_pt {width:80px;margin-right:1px}
#ol_after_scrap {width:48px;line-height:2.6em !important}
#ol_after_ft {text-align:justify}
-#ol_after_ft a {display:inline-block;width:88px;height:22px;background:#4e5d60;color:#fff;text-align:center;line-height:1.8em}
+#ol_after_ft a {display:inline-block;width:88px;height:22px;background:#334356;color:#fff;text-align:center;line-height:1.8em}
#ol_after_ft a:focus,
#ol_after_ft a:hover {text-decoration:none !important}
@@ -300,14 +302,14 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
/* 설문조사 스킨 */
#poll {}
-#poll header {position:relative;padding:30px 14px 0}
-#poll h2 {position:absolute;top:0px;left:14px !important;left:0;margin:0;padding:0 5px;height:25px;background:#76a5a8;color:#fff;font-weight:bold;line-height:2.2em}
-#poll header a {position:absolute;top:10px;right:14px;color:#e8180c}
+#poll header {position:relative;padding:25px 14px 0}
+#poll h2 {position:absolute;top:0px;right:14px;margin:0;padding:0 5px;height:25px;background:#76a5a8;color:#fff;font-weight:bold;line-height:2.2em}
+#poll header .btn_admin {margin-top:5px;width:158px;text-align:center}
#poll header p {padding:5px 0 10px}
#poll ul {margin:0 0 10px;padding:5px 14px;list-style:none}
#poll li {padding:3px 0}
#poll footer {padding:0 14px 14px}
-#poll footer input {width:88px;height:24px;border:0;background:#4e5d60;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
+#poll footer input {width:88px;height:24px;border:0;background:#334356;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
#poll footer a {display:inline-block;width:86px;height:22px;border:1px solid #ccc;background:#fafafa;text-align:center;line-height:2em}
#poll footer a:focus,
#poll footer a:hover {text-decoration:none !important}
@@ -427,7 +429,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {text-decoration:none}
-#bo_cate #bo_cate_on {z-index:2;border:1px solid #555;background:#fff;color:#555;font-weight:bold}
+#bo_cate #bo_cate_on {z-index:2;border:1px solid #079dd2;background:#fff;color:#079dd2;font-weight:bold}
.bo_fx {margin-bottom:5px;zoom:1}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
@@ -450,9 +452,9 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
#bo_sch legend {width:0;height:0;overflow:hidden}
/* 게시판 읽기 */
-#bo_v {position:relative;margin-bottom:20px;padding-bottom:20px}
+#bo_v {margin-bottom:20px;padding-bottom:20px}
-#bo_v_cate {position:absolute;top:-25px;right:0 !important;right:14px;margin:0;padding:0 5px;height:25px;background:#76a5a8;color:#fff;font-weight:bold;line-height:2.2em}
+#bo_v_cate {position:absolute;top:0;right:14px;margin:0;padding:0 5px;height:25px;background:#76a5a8;color:#fff;font-weight:bold;line-height:2.2em}
#bo_v_h1 {padding:0 0 10px;font-size:1.2em}
@@ -583,4 +585,4 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#4e5d60;color:#f
.pg_prev {border-right:1px solid #cfded8}
.pg_end,
.pg_next {border-left:1px solid #cfded8}
-.pg_current {background:#5b6964;color:#fff;font-weight:bold}
\ No newline at end of file
+.pg_current {background:#334356;color:#fff;font-weight:bold}
\ No newline at end of file
diff --git a/lib/common.lib.php b/lib/common.lib.php
index 20f72e988..be5cb2a69 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -1042,10 +1042,13 @@ function view_file_link($file, $width, $height, $content='')
else
$attr = '';
- if (preg_match("/\.({$config['cf_image_extension']})$/i", $file))
- // 이미지에 속성을 주지 않는 이유는 이미지 클릭시 원본 이미지를 보여주기 위한것임
- // 게시판설정 이미지보다 크다면 스킨의 자바스크립트에서 이미지를 줄여준다
- return "
";
+ if (preg_match("/\.({$config['cf_image_extension']})$/i", $file)) {
+ $img = '';
+ $img .= '
';
+ $img .= '';
+
+ return $img;
+ }
}
diff --git a/skin/board/basic/view.skin.php b/skin/board/basic/view.skin.php
index 7daa2bf92..fd52ba4aa 100644
--- a/skin/board/basic/view.skin.php
+++ b/skin/board/basic/view.skin.php
@@ -186,18 +186,25 @@ $(window).load(function() {
view_image_resize();
});
+$(function() {
+ $("a.view_image").click(function() {
+ window.open(this.href, "large_image", "top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
+ return false;
+ });
+});
+
function view_image_resize()
{
- var $img = $('#bo_v_atc img');
- var img_wrap = $('#bo_v_atc').width();
+ var $img = $("#bo_v_atc img");
+ var img_wrap = $("#bo_v_atc").width();
$img.each(function() {
var img_width = $(this).width();
$(this).data("width", img_width); // 원래 이미지 사이즈
if (img_width > img_wrap) {
- $(this).addClass('img_fix');
+ $(this).addClass("img_fix");
} else if (img_width <= img_wrap && img_width >= $(this).data("width")) {
- $(this).removeClass('img_fix');
+ $(this).removeClass("img_fix");
}
});
}
diff --git a/skin/latest/basic/latest.skin.php b/skin/latest/basic/latest.skin.php
index b014dab5b..672acb56f 100644
--- a/skin/latest/basic/latest.skin.php
+++ b/skin/latest/basic/latest.skin.php
@@ -8,7 +8,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
for ($i=0; $i
-
- echo $list[$i]['icon_reply']." ";
+ //echo $list[$i]['icon_reply']." ";
echo "";
if ($list[$i]['is_notice'])
echo "".$list[$i]['subject']."";
diff --git a/skin/outlogin/basic/outlogin.skin.2.php b/skin/outlogin/basic/outlogin.skin.2.php
index cb3383eca..d62d45b12 100644
--- a/skin/outlogin/basic/outlogin.skin.2.php
+++ b/skin/outlogin/basic/outlogin.skin.2.php
@@ -5,9 +5,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
-
내 회원정보
- =$nick?>님
- if ($is_admin == 'super' || $is_auth) { ?>관리자 } ?>
+ =$nick?>님
+ if ($is_admin == 'super' || $is_auth) { ?>관리자 모드 } ?>
-
diff --git a/skin/poll/basic/poll.skin.php b/skin/poll/basic/poll.skin.php
index f4d8379a6..8ca9199c5 100644
--- a/skin/poll/basic/poll.skin.php
+++ b/skin/poll/basic/poll.skin.php
@@ -19,7 +19,7 @@ $po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '$po_id' ");
설문조사
- if ($is_admin == "super") { ?>설문조사 관리 } ?>
+ if ($is_admin == "super") { ?>설문조사 관리 } ?>
=$po['po_subject']?>