최초등록
@@ -0,0 +1,346 @@
|
||||
@charset "utf-8";
|
||||
|
||||
html, body, div, span, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, address, big, cite, code,
|
||||
del, dfn, em, font, img, ins, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td
|
||||
{margin:0; padding:0; border:0;}
|
||||
ol, ul, li {list-style:none;}
|
||||
|
||||
legend {visibility:hidden; display:none; height:0; width:0; font-size:0;}
|
||||
|
||||
body {font-size: 75%; font-family: Dotum,sans-serif; color: #575757;}
|
||||
table {border-spacing:0;}
|
||||
a, a:link {color: #FFFFFF; text-decoration: none; cursor: pointer; }
|
||||
a:visited {color: #FFFFFF;}
|
||||
a:hover, a:active, a:focus {color: #FFFFFF; text-decoration: underline;}
|
||||
select{font-size: 1em;}
|
||||
input.board_input {border:1px solid #cdcdcd; height:15px; padding:3px 3px 0px 3px; font-size:1em; background-color:#ffffff;}
|
||||
input.board_input_file {width:90%; border:1px solid #cdcdcd; padding:3px 3px 0px 3px; font-size: 1em; background-color:#ffffff;}
|
||||
textarea {border:1px solid #CDCDCD; font-size:1em;}
|
||||
.display_none {display:none;}
|
||||
|
||||
|
||||
#board {width:98%; margin:0 auto;}
|
||||
|
||||
#board .board_total {width:100%; font-size:0.95em; padding-bottom:5px;}
|
||||
#board .board_total img {padding-left:3px;}
|
||||
#board div.board_total .board_orange{color:#F96F00;}
|
||||
#board .board_button {width:100%; margin-top:5px; text-align:right;}
|
||||
#board .guide span {float:right; color:#838383; font-family:dotum; font-size:0.9em; font-weight:normal; letter-spacing:-0.1em; padding:0 4px 6px 0;}
|
||||
#board span.category_color {color:#959595;}
|
||||
|
||||
/* Calendar_top */
|
||||
|
||||
#board .top {position:relative; height:40px;}
|
||||
|
||||
#board .cal_top {left:50%; margin-left:-100px; position:absolute; text-align:center;}
|
||||
#board .cal_right {float:right; padding-bottom:5px;padding-top:10px;}
|
||||
#board .cal_right li {float:left;}
|
||||
#board .cal_right li img {height:20px;padding-left:3px;}
|
||||
|
||||
|
||||
.blind {
|
||||
font-size:0;
|
||||
height:0;
|
||||
left:0;
|
||||
line-height:0;
|
||||
overflow:hidden;
|
||||
position:absolute;
|
||||
top:0;
|
||||
visibility:hidden;
|
||||
width:0;
|
||||
}
|
||||
.sp {
|
||||
background-image:url(/content/board/default_calendar/img/font.gif);
|
||||
background-repeat:no-repeat;
|
||||
display:inline-block;
|
||||
float:left;
|
||||
}
|
||||
|
||||
.sp_n0 {
|
||||
background-position:0 -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n1 {
|
||||
background-position:-15px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n2 {
|
||||
background-position:-30px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n3 {
|
||||
background-position:-45px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n4 {
|
||||
background-position:-60px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n5 {
|
||||
background-position:-75px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n6 {
|
||||
background-position:-90px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n7 {
|
||||
background-position:-105px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n8 {
|
||||
background-position:-120px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_n9 {
|
||||
background-position:-135px -80px;
|
||||
height:26px;
|
||||
width:12px;
|
||||
}
|
||||
.sp_ndot {
|
||||
background-position:-150px -80px;
|
||||
height:26px;
|
||||
width:6px;
|
||||
}
|
||||
.sp_nbar {
|
||||
background-position:-159px -80px;
|
||||
height:26px;
|
||||
width:19px;
|
||||
}
|
||||
.sp_null {
|
||||
background:none;
|
||||
height:26px;
|
||||
width:5px;
|
||||
}
|
||||
|
||||
.sp_b_today {
|
||||
background-position:-100px 0;
|
||||
cursor:pointer;
|
||||
height:17px;
|
||||
margin-top:5px;
|
||||
width:30px;
|
||||
}
|
||||
|
||||
.sp_b_prev {
|
||||
background-position:0 -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_prev_on {
|
||||
background-position:-19px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_next {
|
||||
background-position:-38px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_next_on {
|
||||
background-position:-57px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_prev2 {
|
||||
background-position:-76px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_prev2_on {
|
||||
background-position:-95px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_next2 {
|
||||
background-position:-114px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_next2_on {
|
||||
background-position:-133px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_prev3 {
|
||||
background-position:-152px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_prev3_on {
|
||||
background-position:-171px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_next3 {
|
||||
background-position:-190px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
.sp_b_next3_on {
|
||||
background-position:-209px -109px;
|
||||
cursor:pointer;
|
||||
height:26px;
|
||||
width:18px;
|
||||
}
|
||||
|
||||
|
||||
/* List */
|
||||
#board .cal_blist {clear:both;}
|
||||
#board .cal_blist table{width:100%; line-height:16px; border-collapse:collapse; border:1px solid #DCDCDC; background-image:url(/content/board/default_calendar/img/tit_bg2.gif); background-repeat: repeat-x;}
|
||||
#board .cal_blist table caption{display:none;}
|
||||
#board .cal_blist thead th {height:22px; color:#222222; font-size: 0.9em; font-weight:bold; letter-spacing:-0.1em; line-height:150%; border:1px solid #DCDCDC;text-align:center;}
|
||||
#board .cal_blist thead th.sun {color:#D92D1E;}
|
||||
#board .cal_blist thead th.sat {color:#4A84BC;}
|
||||
#board .cal_blist tbody td.day{height:15px; background:#F8F8F8; text-align:left; line-height:140%; border-right:1px solid #DCDCDC; border-top:1px solid #EAEAEA; padding:0 0 0 5px; font-size: 0.9em; font-family:tahoma;}
|
||||
#board .cal_blist tbody td.none{color:#BCBCBC;}
|
||||
#board .cal_blist tbody td.sun{color:#E32C52;}
|
||||
#board .cal_blist tbody td.sat{color:#4A84BC;}
|
||||
#board .cal_blist tbody td{height:80px; border-left:1px solid #EAEAEA; background:#ffffff; line-height:140%;vertical-align:top;}
|
||||
#board .cal_blist tbody td img{vertical-align:middle;padding-right:3px;}
|
||||
|
||||
/* Write */
|
||||
#board .table_bwrite {clear:both;}
|
||||
#board .table_bwrite table{width:100%; line-height:16px; border-collapse:collapse; border-top:2px solid #DCDCDC; border-bottom:1px solid #DEDEDE; background-image:url(/content/board/default_calendar/img/tit_bg3.gif); background-repeat: repeat-x;}
|
||||
#board .table_bwrite table caption{display:none;}
|
||||
#board .table_bwrite thead th {border-bottom:1px solid #DCDCDC; height:25px; color:#373737; font-weight:bold; letter-spacing:-0.1em; line-height:130%;text-align:center;}
|
||||
#board .table_bwrite thead th.th_end {padding-right:110px;}
|
||||
#board .table_bwrite tbody th{white-space:nowrap; height:31px; border-bottom:1px solid #F3F3F3; border-right:1px solid #DCDCDC; border-bottom:1px solid #DCDCDC; background:#F6F6F6; color:#666666; text-align:center; letter-spacing:-0.1em; line-height:140%;}
|
||||
#board .table_bwrite tbody th img {vertical-align:middle; padding-left:5px;}
|
||||
#board .table_bwrite tbody td{height:31px; padding-left:10px; border-bottom:1px solid #DCDCDC; background:#ffffff; text-align:left; line-height:140%;}
|
||||
#board .table_bwrite tbody td input.subject{width:90%;color:#FFFFFF;}
|
||||
#board .table_bwrite tbody td.content{margin:0; padding-top:4px; padding-bottom:4px; padding-left:0; padding-right:0px; text-align:center;}
|
||||
#board .table_bwrite tbody td span.text1 {color:#818181; font-family:dotum; font-size:0.9em; font-weight:normal; letter-spacing:-0.1em; padding-left:6px;}
|
||||
#board .table_bwrite tbody td span.eng {padding-left:0; color:#6A6A6A; font-size: 0.9em; font-weight:normal; letter-spacing:-0.1em;}
|
||||
|
||||
/* View */
|
||||
#board .table_bview {clear:both;}
|
||||
#board .table_bview table{width:100%; line-height:16px; border-collapse:collapse;border-top:2px solid #DCDCDC; border-bottom:1px solid #DEDEDE; background-image:url(/content/board/default_calendar/img/tit_bg3.gif); background-repeat: repeat-x;}
|
||||
#board .table_bview table caption{display:none;}
|
||||
#board .table_bview thead th {border-bottom:1px solid #DCDCDC; height:25px; color:#373737; font-weight:bold; letter-spacing:-0.1em; line-height:130%;}
|
||||
#board .table_bview thead th.th_none {white-space:nowrap; background-image:none; text-align:left; padding-left:5px;}
|
||||
#board .table_bview thead th.th_none img {vertical-align:middle;}
|
||||
#board .table_bview tbody th {white-space:nowrap; height:31px; border-right:1px solid #E1E1E1; border-bottom:1px solid #E1E1E1; background:#F6F6F6; color:#737373; text-align:center; letter-spacing:-0.1em; line-height:140%;}
|
||||
#board .table_bview tbody td {padding-top:6px; padding-bottom:6px; border-bottom:1px solid #E1E1E1; background:#ffffff; text-align:left; line-height:140%;}
|
||||
#board .table_bview tbody td.content{padding:20px 10px 30px 10px;}
|
||||
#board .table_bview tbody td.content img{display:block; text-align:center;}
|
||||
#board .table_bview tbody td span.text1 {color:#4381BF; font-family:dotum; font-size:0.9em; font-weight:normal; letter-spacing:-0.1em; padding-left:6px;}
|
||||
#board .table_bview tbody td span.eng {padding-left:0; color:#6A6A6A; font-size: 0.9em; font-weight:normal; letter-spacing:-0.1em;}
|
||||
#board .table_bview tbody td dl.info {margin:0; padding-left:3px;}
|
||||
#board .table_bview tbody td dl.info dt {float:left; color:#737373; letter-spacing:-0.1em; padding:0; font-weight:bold;}
|
||||
#board .table_bview tbody td dl.info dd {float:left; background:transparent url(/content/board/default_calendar/img/view_bar.gif) no-repeat scroll 7px 40%; display:inline; margin:0; padding:0 2.4em 0 1.2em; }
|
||||
#board .table_bview tbody td dl.info dd.c4895D7 {color:#4895D7;}
|
||||
#board .table_bview tbody td dl.info dd img {vertical-align:middle;}
|
||||
#board .table_bview tbody td dl.info dd .size {font-size:0.8em; font-family:tahoma; color:#BFBFBF;}
|
||||
|
||||
|
||||
|
||||
/* Comment */
|
||||
#board .board_comment {clear:both; padding-top:20px;}
|
||||
#board .board_comment table{width:100%; background-color:#FAFAFA; margin-bottom:15px}
|
||||
#board .board_comment table caption{display:none;}
|
||||
#board .board_comment tbody td {height:31px; text-align:left; line-height:140%;}
|
||||
#board .board_comment tbody td.dr01 {height:5px; background:url(/content/board/default_calendar/img/dr01.gif); background-repeat:no-repeat;}
|
||||
#board .board_comment tbody td.dr02 {height:5px; background:url(/content/board/default_calendar/img/dr02.gif); background-repeat: repeat-x;}
|
||||
#board .board_comment tbody td.dr03 {height:5px; background:url(/content/board/default_calendar/img/dr03.gif); background-repeat:no-repeat;}
|
||||
#board .board_comment tbody td.dr04 {background:url(/content/board/default_calendar/img/dr04.gif); background-repeat: repeat-y;}
|
||||
#board .board_comment tbody td.text {padding:0; margin:0; height:20px;}
|
||||
#board .board_comment tbody td dl.info {margin:0; padding-left:10px;}
|
||||
#board .board_comment tbody td dl.info dt {float:left; letter-spacing:-0.1em; padding:0; font-size:0.9em; padding-top:4px;}
|
||||
#board .board_comment tbody td dl.info dd {float:left; padding:0 10px 0 4px;}
|
||||
#board .board_comment tbody td.dr05 {text-align:center; padding-top:4px; padding-bottom:4px;}
|
||||
#board .board_comment tbody td.dr05 textarea {width:88%;height:38px;}
|
||||
#board .board_comment tbody td.dr06 {background:url(/content/board/default_calendar/img/dr06.gif); background-repeat: repeat-y;}
|
||||
#board .board_comment tbody td.dr07 {height:5px; background:url(/content/board/default_calendar/img/dr07.gif); background-repeat:no-repeat;}
|
||||
#board .board_comment tbody td.dr08 {height:5px; background:url(/content/board/default_calendar/img/dr08.gif); background-repeat: repeat-x;}
|
||||
#board .board_comment tbody td.dr09 {height:5px; background:url(/content/board/default_calendar/img/dr09.gif); background-repeat:no-repeat;}
|
||||
|
||||
.cmt_list {margin-top:5px;}
|
||||
.cmt_list div.h {margin:0 0 1px; background:transparent url(/content/board/default_calendar/img/human_ic.gif) no-repeat scroll 0 0.1em;}
|
||||
.cmt_list p {line-height:1.6em; margin:0; padding:5px 0 0 12px; text-align:left;}
|
||||
.cmt_list li.line {height:1px; background:transparent url(/content/board/default_calendar/img/dr_line_bg.gif); background-repeat: repeat-x; margin:0; padding-top:15px;}
|
||||
|
||||
|
||||
/* Paginate */
|
||||
.board_paginate{clear:both; position:relative; text-align:center;}
|
||||
.board_paginate *{margin:0; padding:0;}
|
||||
.board_paginate a,
|
||||
.board_paginate strong{_position:relative; margin-left:-7px; font-weight:bold; display:inline-block; padding:3px 8px 1px 7px; color:#313031; border-left:1px solid #ccc; border-right:1px solid #ccc; text-decoration:none; line-height:normal; font:bold 12px 돋움, Dotum, 굴림, Gulim, AppleGothic, Sans-serif; background:#fff;}
|
||||
.board_paginate strong{color:#ff8600 !important;}
|
||||
.board_paginate a:hover{background:#F7F7F7;}
|
||||
.board_paginate a.pre{padding:3px 8px 1px 16px; background:url(/content/board/default_calendar/img/bu_pg1_l1.gif) no-repeat 8px 6px !important; border:none; font-weight:normal; }
|
||||
.board_paginate a.next{padding:3px 16px 1px 8px; background:url(/manager/img/bu_pg1_r1.gif) no-repeat 37px 6px !important; border:none; font-weight:normal; }
|
||||
|
||||
/* Button */
|
||||
.board_button {clear:both;}
|
||||
.board_button .fl {float:left;}
|
||||
.board_button .fr {float:right; overflow:hidden;}
|
||||
.board_button .pt10 {padding-top:10px;}
|
||||
|
||||
|
||||
.board_button ul li {float:left;}
|
||||
.board_button ul li.pl {padding-left:10px;}
|
||||
.board_button ul li.pt {padding-top:7px;}
|
||||
.board_button span.bt {float:right; padding-top:10px; padding-left:4px; text-align:right;}
|
||||
.board_button2 {margin:0 auto; text-align:center; padding-top:10px; padding-left:4px;}
|
||||
|
||||
|
||||
|
||||
|
||||
.board_bt01 {display:inline;}
|
||||
.board_bt01 a{display:inline; overflow:hidden; float:left; height:22px; padding-left:13px; margin-right:3px; font:12px dotum; letter-spacing:-1px; color:#6B6B6B; text-decoration:none; background:url(/content/board/default_calendar/img/bt01_bg.gif) left 0; cursor:pointer;}
|
||||
.board_bt01 a:hover{background:url(/content/board/default_calendar/img/bt01_bg.gif) left -22px; text-decoration:none;}
|
||||
.board_bt01 a span{display:inline; overflow:hidden; float:left; height:22px; padding-right:10px; line-height:200%; background:url(/content/board/default_calendar/img/bt01_bg.gif) right 0;}
|
||||
.board_bt01 a:hover span{color:#6B6B6B; background:url(/content/board/default_calendar/img/bt01_bg.gif) right -22px;}
|
||||
|
||||
|
||||
/* Search */
|
||||
.board_search {width:340px; margin:0 auto; margin-top:18px;}
|
||||
.board_search ul {float:left;}
|
||||
.board_search ul li {float:left; background:url(/content/board/default_calendar/img/search_bg.gif); height:35px;}
|
||||
.board_search ul li.board_search_start {float:left; width:18px; height:35px; background:url(/content/board/default_calendar/img/search_left.gif); background-repeat:no-repeat;}
|
||||
.board_search ul li.board_search_end {float:left; width:18px; height:35px; background:url(/content/board/default_calendar/img/search_right.gif); background-repeat:no-repeat;}
|
||||
.board_search ul li select {float:left; margin-top:8px; margin-right:3px;}
|
||||
.board_search ul li input {float:left; margin-top:7px; margin-right:3px;}
|
||||
.board_search ul li input.search_bt {float:left; margin-top:8px; margin-bottom:1px;}
|
||||
|
||||
|
||||
.command_pwd {position:absolute; border:2px solid #C6C6C6; background-color:#ffffff; padding:8px 15px 8px 15px; text-align:center; vertical-align:middle; font-weight:bold; color:#313131; line-height:140%;}
|
||||
.command_pwd li.text {float:left; letter-spacing:-0.1em; padding:0; font-size:0.9em; padding-top:4px;padding-right:4px;}
|
||||
.command_pwd li {float:left; padding-left:3px;}
|
||||
.command_pwd li img {height:20px;padding-top:1px;}
|
||||
|
||||
|
||||
.colorPicker {border:1px solid #777777; background-color:#ffffff; padding:8px; text-align:center; vertical-align:middle; font-weight:bold; color:#313131; line-height:140%;}
|
||||
.colorPicker li {float:left; padding:0px 2px 0px 2px;}
|
||||
|
||||
.error_check {float:left;width:80%;min-height:90px;border:5px solid #DDE7F0;margin-bottom:15px;background:url(/content/board/default_calendar/img/error_bg.gif); background-repeat:no-repeat;padding-left:19%;padding-top:15px;padding-bottom:12px;}
|
||||
.error_check .error_list {float:left;line-height:19px;}
|
||||
.error_check .error_list li {background:url(/content/board/default_calendar/img/error_ic.gif) no-repeat 8px 6px;padding-left:15px;}
|
||||
.error_check .error_list li strong.error {color:#DE5410;}
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 54 B |
|
After Width: | Height: | Size: 54 B |
|
After Width: | Height: | Size: 61 B |
|
After Width: | Height: | Size: 896 B |
|
After Width: | Height: | Size: 49 B |
|
After Width: | Height: | Size: 105 B |
|
After Width: | Height: | Size: 59 B |
|
After Width: | Height: | Size: 109 B |
|
After Width: | Height: | Size: 74 B |
|
After Width: | Height: | Size: 447 B |
|
After Width: | Height: | Size: 450 B |
|
After Width: | Height: | Size: 884 B |
|
After Width: | Height: | Size: 72 B |
|
After Width: | Height: | Size: 62 B |
|
After Width: | Height: | Size: 71 B |
|
After Width: | Height: | Size: 67 B |
|
After Width: | Height: | Size: 62 B |
|
After Width: | Height: | Size: 70 B |
|
After Width: | Height: | Size: 62 B |
|
After Width: | Height: | Size: 72 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 91 B |
|
After Width: | Height: | Size: 47 B |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 63 B |
|
After Width: | Height: | Size: 916 B |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 547 B |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 673 B |
|
After Width: | Height: | Size: 730 B |
|
After Width: | Height: | Size: 1012 B |
|
After Width: | Height: | Size: 570 B |
|
After Width: | Height: | Size: 897 B |
|
After Width: | Height: | Size: 1002 B |
|
After Width: | Height: | Size: 678 B |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 401 B |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 138 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 61 B |
|
After Width: | Height: | Size: 323 B |
|
After Width: | Height: | Size: 224 B |
|
After Width: | Height: | Size: 135 B |
|
After Width: | Height: | Size: 883 B |
|
After Width: | Height: | Size: 44 B |
|
After Width: | Height: | Size: 708 B |
|
After Width: | Height: | Size: 681 B |
|
After Width: | Height: | Size: 903 B |
|
After Width: | Height: | Size: 131 B |
|
After Width: | Height: | Size: 900 B |
|
After Width: | Height: | Size: 443 B |
|
After Width: | Height: | Size: 905 B |
|
After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 599 B |
|
After Width: | Height: | Size: 686 B |
|
After Width: | Height: | Size: 761 B |
|
After Width: | Height: | Size: 240 B |
|
After Width: | Height: | Size: 206 B |
|
After Width: | Height: | Size: 592 B |
|
After Width: | Height: | Size: 667 B |
|
After Width: | Height: | Size: 577 B |
|
After Width: | Height: | Size: 54 B |
|
After Width: | Height: | Size: 578 B |
|
After Width: | Height: | Size: 181 B |
|
After Width: | Height: | Size: 50 B |
|
After Width: | Height: | Size: 911 B |
@@ -0,0 +1,488 @@
|
||||
<!--#include virtual="/content/board/nnupload/create.asp"-->
|
||||
|
||||
<%
|
||||
|
||||
If b_num = "" then '//일반등록
|
||||
|
||||
w_mode = "W"
|
||||
|
||||
If b_type = "" then b_type = "N" '//값이 있으면 답변타입이다..
|
||||
If b_type = "N" then b_content = a_writecontent
|
||||
|
||||
b_open = "Y"
|
||||
b_sbjclr = "#ffffff"
|
||||
|
||||
|
||||
elseIf b_num <> "" And b_type = "R" then '//답변글쓰기 일때
|
||||
|
||||
w_mode = "WR"
|
||||
|
||||
'//레코드필드
|
||||
R_Fields = "b_num, b_subject, b_content, b_ref, b_step, b_level, b_open"
|
||||
|
||||
R_tablename_str = a_tablename
|
||||
|
||||
R_WHERE_str = " WHERE b_num=" & b_num
|
||||
|
||||
Call SelectQuery ( R_Fields, R_tablename_str, R_WHERE_str )
|
||||
|
||||
b_subject = "RE:" & b_subject
|
||||
|
||||
b_content = "<br /><br /><br /><br />------------------ 원문 -------------------------<br /><br />" & b_content
|
||||
|
||||
|
||||
ElseIf b_num <> "" then '//그냥 수정일때..
|
||||
|
||||
w_mode = "M"
|
||||
|
||||
If is_ad_cms <> "Y" then '//관리자가아닐때 체크
|
||||
|
||||
If SESSION("pwd_chk_" & a_num & "_" & b_num) <> "ok" then '//체크통과했으면..
|
||||
|
||||
Call locationhref("pwd.asp?prepage=modi&a_num=" & a_num & "&b_num=" & b_num & "&" & page_info)
|
||||
|
||||
End if
|
||||
|
||||
End if
|
||||
|
||||
|
||||
|
||||
'//레코드필드
|
||||
R_Fields = "b_num, b_type, b_id, b_name, b_pwd, b_subject, b_email, b_jumin, b_phone1, b_phone2, b_phone3, b_cate, b_catename, b_noticechk, b_content, b_ip, b_count, b_look, b_open, b_ref, b_step, b_level, b_regdate, b_chuchun, b_sbjclr, b_sdate, b_edate, b_temp1, b_temp2, b_temp3, b_temp4, b_file1, b_file2, b_file3, b_file4, b_file5,b_keyword"
|
||||
|
||||
R_tablename_str = a_tablename
|
||||
|
||||
R_WHERE_str = " WHERE b_num=" & b_num
|
||||
|
||||
Call SelectQuery (R_Fields, R_tablename_str, R_WHERE_str)
|
||||
|
||||
End if
|
||||
|
||||
|
||||
If b_sdate = "" then
|
||||
|
||||
b_sdate_y = Year(now)
|
||||
b_sdate_m = Right( "0" & Month(now), 2 )
|
||||
b_sdate_d = Right( "0" & Day(now), 2 )
|
||||
|
||||
else
|
||||
|
||||
b_sdate_arr = Split(b_sdate, "-")
|
||||
|
||||
b_sdate_y = b_sdate_arr(0)
|
||||
b_sdate_m = b_sdate_arr(1)
|
||||
b_sdate_d = b_sdate_arr(2)
|
||||
|
||||
End if
|
||||
|
||||
|
||||
If b_edate = "" then
|
||||
|
||||
b_edate_y = Year(now)
|
||||
b_edate_m = Right( "0" & Month(now), 2 )
|
||||
b_edate_d = Right( "0" & Day(now), 2 )
|
||||
|
||||
else
|
||||
|
||||
b_edate_arr = Split(b_edate, "-")
|
||||
|
||||
b_edate_y = b_edate_arr(0)
|
||||
b_edate_m = b_edate_arr(1)
|
||||
b_edate_d = b_edate_arr(2)
|
||||
|
||||
End if
|
||||
|
||||
prepage = Request.ServerVariables("path_info") & "?" & Request.ServerVariables("query_string")
|
||||
%>
|
||||
<!--#include virtual="/content/board/top.asp"-->
|
||||
|
||||
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
|
||||
|
||||
|
||||
function w_chk(){
|
||||
|
||||
if (CheckSpaces(document.getElementById('frm').b_name, '이름')) {return false;}
|
||||
else if (CheckSpaces(document.getElementById('frm').b_pwd, '비밀번호')) {return false;}
|
||||
else if (CheckSpaces(document.getElementById('frm').b_subject, '제목')) {return false;}
|
||||
|
||||
|
||||
|
||||
//loading_st(1);
|
||||
UploadClick();
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function colorPicker(val){
|
||||
|
||||
if(val==1){ //보여라
|
||||
document.getElementById('colorPicker_view').style.visibility='visible';
|
||||
|
||||
}else if(val==2){
|
||||
document.getElementById('colorPicker_view').style.visibility='hidden';
|
||||
}
|
||||
}
|
||||
|
||||
function colorselect(color) {
|
||||
document.getElementById('colorsel').style.backgroundColor= color;
|
||||
document.getElementById('b_subject').style.backgroundColor= color;
|
||||
document.getElementById('b_subject').style.color= "#FFFFFF";
|
||||
|
||||
document.getElementsByName('b_sbjclr')[0].value = color;
|
||||
}
|
||||
|
||||
function colorselect_white(color) {
|
||||
document.getElementById('colorsel').style.backgroundColor= color;
|
||||
document.getElementById('b_subject').style.backgroundColor= color;
|
||||
document.getElementById('b_subject').style.color= "#000000";
|
||||
|
||||
document.getElementsByName('b_sbjclr')[0].value = color;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<!-- 쓰기 -->
|
||||
<div id="board" style="width:<%=a_width%>;">
|
||||
|
||||
<form id="frm" method="post" action="write.asp?a_num=<%=a_num%>&<%=replace( page_info, "&","&")%>&proc_mode=write_ok" enctype="multipart/form-data" onsubmit="return w_chk();">
|
||||
<div>
|
||||
<input type="hidden" name="b_num" value="<%=b_num%>" /><!-- (수정일때사용) -->
|
||||
<input type="hidden" name="b_type" value="<%=b_type%>" />
|
||||
<input type="hidden" name="w_mode" value="<%=w_mode%>" />
|
||||
|
||||
<%If a_type = "N" Or a_type="T" then '//공개여부%>
|
||||
<input type="hidden" name="b_open" value="Y" />
|
||||
<%End if%>
|
||||
|
||||
<input type="hidden" name="b_ref" value="<%=b_ref%>" />
|
||||
<input type="hidden" name="b_step" value="<%=b_step%>" />
|
||||
<input type="hidden" name="b_level" value="<%=b_level%>" />
|
||||
|
||||
<input type="hidden" name="b_sbjclr" value="<%=b_sbjclr%>" />
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="guide">
|
||||
<span><img src="/content/board/default_calendar/img/ic_vcheck.gif" width="7" height="10" alt="*" /> 표시가 된 곳은 필수 항목입니다.</span>
|
||||
</div>
|
||||
|
||||
<!-- 쓰기 테이블 -->
|
||||
<div class="table_bwrite">
|
||||
|
||||
|
||||
|
||||
<table cellspacing="0" >
|
||||
<caption><%=replace(tit_name, " | ", "")%></caption>
|
||||
<colgroup>
|
||||
<col width="130" />
|
||||
<col width="" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"></th>
|
||||
<th scope="col" class="th_end">글쓰기</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="b_name"><img height="10" width="7" alt="*" src="/content/board/default_calendar/img/ic_vcheck.gif"/> 이름</label></th>
|
||||
<td><input type="text" size="20" id="b_name" name="b_name" class="board_input" onfocus="focus_on1(this);" onblur="focus_off1(this);" value="<%=b_name%>" maxlength="30" /> <span class="text1">* 한글만 사용하실 수 있습니다. </span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="b_pwd"><img height="10" width="7" alt="*" src="/content/board/default_calendar/img/ic_vcheck.gif"/> 비밀번호</label></th>
|
||||
<td><input type="password" size="22" id="b_pwd" name="b_pwd" class="board_input" onfocus="focus_on1(this);" onblur="focus_off1(this);" value="<%=b_pwd%>" maxlength="30" /> <span class="text1">* 10자 이내의 영문/숫자만 사용하실 수 있습니다. </span></td>
|
||||
</tr>
|
||||
|
||||
<%If a_type = "Y" then '//공개/비공개%>
|
||||
<tr>
|
||||
<th scope="row">공개여부</th>
|
||||
<td>
|
||||
<input type="radio" id="b_open_Y" name="b_open" value="Y" title="공개 선택" <%=chkRadio(b_open, "Y")%> /><label for="b_open_Y">공개</label>
|
||||
<input type="radio" id="b_open_N" name="b_open" value="N" title="비공개 선택" <%=chkRadio(b_open, "N")%> /><label for="b_open_N">비공개</label>
|
||||
</td>
|
||||
</tr>
|
||||
<%End if%>
|
||||
|
||||
|
||||
<%If a_phone = "Y" then '//전화번호%>
|
||||
<tr>
|
||||
<th scope="row"><label for="b_phone1">전화번호</label></th>
|
||||
<td><input type="text" size="4" title="연락처 첫번째 입력" id="b_phone1" name="b_phone1" class="board_input" onfocus="focus_on1(this);" onblur="focus_off1(this);" value="<%=b_phone1%>" maxlength="4" /> - <input type="text" size="4" title="연락처 두번째 입력" id="b_phone2" name="b_phone2" class="board_input" onfocus="focus_on1(this);" onblur="focus_off1(this);" value="<%=b_phone2%>" maxlength="4" /> - <input type="text" size="4" title="연락처 세번째 입력" id="b_phone3" name="b_phone3" class="board_input" onfocus="focus_on1(this);" onblur="focus_off1(this);" value="<%=b_phone3%>" maxlength="4" /></td>
|
||||
</tr>
|
||||
<%End if%>
|
||||
|
||||
<%If a_email = "Y" then '//이메일%>
|
||||
<tr>
|
||||
<th scope="row"><label for="b_email">이메일</label></th>
|
||||
<td><input type="text" size="50" id="b_email" name="b_email" class="board_input" onfocus="focus_on1(this);" onblur="focus_off1(this);" value="<%=b_email%>" maxlength="200" /> <span class="text1">* <strong>@</strong>포함한 이메일주소를 입력하세요.</span></td>
|
||||
</tr>
|
||||
<%End if%>
|
||||
|
||||
<%If a_home = "Y" then '//홈페이지%>
|
||||
<!--
|
||||
<tr>
|
||||
<th scope="row"><label for="b_homepage">홈페이지</label></th>
|
||||
<td><span class="eng">http://</span> <input type="text" size="45" id="b_homepage" name="b_homepage" class="board_input" onfocus="focus_on1(this);" onblur="focus_off1(this);" value="<?=$b_homepage?>" maxlength="" /></td>
|
||||
</tr>
|
||||
-->
|
||||
<%End if%>
|
||||
|
||||
<%
|
||||
'//사용자필드
|
||||
for z=1 To 4
|
||||
a_ftemp = eval("a_ftemp" & z )
|
||||
a_ftemp_str = eval("a_ftemp" & z & "_str")
|
||||
b_temp = eval("b_temp" & z )
|
||||
|
||||
If a_ftemp = "Y" then
|
||||
%>
|
||||
<tr>
|
||||
<th scope="row"><label for="b_temp<%=z%>"><%=a_ftemp_str%></label></th>
|
||||
<td><input type="text" size="50" id="b_temp<%=z%>" name="b_temp<%=z%>" class="board_input" onfocus="focus_on1(this);" onblur="focus_off1(this);" value="<%=b_temp%>" maxlength="50" /></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
End if
|
||||
next
|
||||
%>
|
||||
|
||||
|
||||
<tr>
|
||||
<th scope="row"><img height="10" width="7" alt="*" src="/content/board/default_calendar/img/ic_vcheck.gif"/>일시</th>
|
||||
<td>
|
||||
|
||||
<select id="b_sdate_y" name="b_sdate_y">
|
||||
<%For z = Year(now)-2 To Year(now)+5%>
|
||||
<option value="<%=z%>" <%=chkSelect(b_sdate_y, z)%>><%=z%></option>
|
||||
<%next%>
|
||||
</select><label for="b_sdate_y">년</label>
|
||||
<select id="b_sdate_m" name="b_sdate_m">
|
||||
<%For z = 1 To 12
|
||||
z_value = Right("0" & z, 2)
|
||||
%>
|
||||
<option value="<%=z_value%>" <%=chkSelect(b_sdate_m, z_value)%>><%=z%></option>
|
||||
<%next%>
|
||||
</select><label for="b_sdate_m">월</label>
|
||||
<select id="b_sdate_d" name="b_sdate_d">
|
||||
시<%For z=1 To 31
|
||||
z_value = Right("0"&z, 2)
|
||||
%>
|
||||
<option value="<%=z_value%>" <%=chkSelect(b_sdate_d, z_value)%>><%=z%></option>
|
||||
<%next%>
|
||||
</select><label for="b_sdate_d">일</label>
|
||||
|
||||
~
|
||||
|
||||
<select id="b_edate_y" name="b_edate_y">
|
||||
<%For z = Year(now)-2 To Year(now)+5 %>
|
||||
<option value="<%=z%>" <%=chkSelect(b_edate_y, z)%>><%=z%></option>
|
||||
<%next%>
|
||||
</select><label for="b_edate_y">년</label>
|
||||
<select id="b_edate_m" name="b_edate_m">
|
||||
<%For z=1 To 12
|
||||
z_value = Right("0" & z, 2)
|
||||
%>
|
||||
<option value="<%=z_value%>" <%=chkSelect(b_edate_m, z_value)%>><%=z%></option>
|
||||
<%next%>
|
||||
</select><label for="b_edate_m">월</label>
|
||||
<select id="b_edate_d" name="b_edate_d">
|
||||
<%For z = 1 To 31
|
||||
z_value = Right("0" & z, 2)
|
||||
%>
|
||||
<option value="<%=z_value%>" <%=chkSelect(b_edate_d, z_value)%>><%=z%></option>
|
||||
<%next%>
|
||||
</select><label for="b_edate_m">일</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<%If a_cate = "Y" and b_type <> "R" then '//분류%>
|
||||
<tr>
|
||||
<th scope="row"><label for="b_cate_tot">분류</label></th>
|
||||
<td>
|
||||
<select name="b_cate_tot" >
|
||||
<option value="" selected="selected" >분류선택</option>
|
||||
<%
|
||||
'//분류 부분
|
||||
R_Fields_code = "ct_idx, ct_code, ct_name, ct_ref, ct_depth, ct_chk, ct_wdate, ct_codeno, ct_file, a_num"
|
||||
SQL = "Select " & R_Fields_code & " FROM board_code WHERE ct_chk = 'Y' AND a_num='" & a_num & "' ORDER BY ct_code ASC"
|
||||
Set rs_code = dbcon.execute( sql )
|
||||
|
||||
If Not( rs_code.bof Or rs_code.eof ) then
|
||||
Do Until rs_code.eof
|
||||
ct_idx = rs_code("ct_idx")
|
||||
ct_name = rs_code("ct_name")
|
||||
%>
|
||||
|
||||
<option value="<%=ct_idx%>,<%=ct_name%>" <%=chkSelect(ct_idx, b_cate)%>><%=ct_name%></option>
|
||||
|
||||
<%
|
||||
rs_code.movenext
|
||||
loop
|
||||
End if
|
||||
Set rs_code = nothing
|
||||
%>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<%End if%>
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="b_subject"><img height="10" width="7" alt="*" src="/content/board/default_calendar/img/ic_vcheck.gif"/> 제목</label></th>
|
||||
<td><input type="text" size="90" id="b_subject" name="b_subject" class="board_input" value="<%=b_subject%>" maxlength="200" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td colspan="2" class="content">
|
||||
<%If a_edit = "Y" then '//에디터가 사용일때
|
||||
|
||||
'//$_SESSION["fck_filepath"] = "/userfiles/"; //첨부파일경로
|
||||
'//$_SESSION["fck_filepath"] = "/data/popup/"; //첨부파일경로
|
||||
session("fck_filepath") = "/data/board/"& a_tablename & "/" '업로드 경로(동적경로를 위해 세션사용)
|
||||
'response.write session("fck_filepath")
|
||||
Set oFCKeditor = New FCKeditor
|
||||
oFCKeditor.BasePath = "/fckeditor/"
|
||||
oFCKeditor.value = b_content
|
||||
oFCKeditor.ToolbarSet = "Basic3"
|
||||
oFCKeditor.Create "b_content"
|
||||
|
||||
|
||||
Else
|
||||
%>
|
||||
<textarea cols="50" rows="15" id="b_content" name="b_content" title="게시글 내용 입력" style="width:98%;" onfocus="focus_on1(this);" onblur="focus_off1(this);" ><%=b_content%></textarea>
|
||||
<%End if%>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<%
|
||||
|
||||
If a_upload = "Y" then '//첨부파일 사용일때
|
||||
%>
|
||||
<tr>
|
||||
<th scope="row">첨부파일</th>
|
||||
<td>
|
||||
<%
|
||||
file_cnt = 0
|
||||
for z=1 to a_upload_len
|
||||
b_file_name = eval("b_file" & z)
|
||||
%>
|
||||
<input type="hidden" name="b_file<%=z%>" id="b_file<%=z%>" value="<%=b_file_name%>" />
|
||||
|
||||
<%
|
||||
If b_file_name <> "" then
|
||||
file_cnt = file_cnt + 1
|
||||
%>
|
||||
<%=b_file_name%> <a href="#delete" onclick="delete_ok(<%=z%>);" onkeyup="delete_ok(<%=z%>);"><img src="/content/board/<%=a_level%>/img/dr_del_bt.gif" alt="첨부파일 삭제하기" /></a><br />
|
||||
<%
|
||||
End if
|
||||
next
|
||||
%>
|
||||
<%
|
||||
'nn_basePath 하위에 Upload 폴더와 nn_uploadPath에 지정될 폴더는 인터넷게스트계정는 또는 Users 계정에 수정/쓰기 권한이 있어야 합니다.
|
||||
|
||||
nn_basePath = "/content/board/nnupload/" 'nn업로드가 설치된 경로
|
||||
nn_paramFilter = "." & Replace(a_nofile,",","|.") '"|.jpg|.zip|.txt|.xls" '업로드 허용 파일
|
||||
nn_paramMaxFileSize = a_nofilesize '업로드 용량(MB)
|
||||
nn_paramMaxFileNumber = a_upload_len - file_cnt '업로드 개수
|
||||
nn_width = "100%" '가로크기
|
||||
nn_height = "150px" '세로크기
|
||||
nn_uploadPath = "/data/board/" & a_tablename & "/" '업로드할 경로
|
||||
nn_key = Application("nn_key") '키
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
var filenames = "";
|
||||
|
||||
function UploadClick() {
|
||||
try{
|
||||
nnupload.content.UploadFile.StartUpload();
|
||||
document.getElementById("submitbtn").disabled = true;
|
||||
}catch(e){
|
||||
document.getElementById('frm').submit(); //글등록
|
||||
}
|
||||
}
|
||||
|
||||
function AbortUploadNotFile() {
|
||||
//alert("업로드 할 파일 없습니다.");
|
||||
document.getElementById('frm').submit(); //글등록
|
||||
}
|
||||
|
||||
function getFileName(){
|
||||
var b_file, filenames_arr;
|
||||
filenames_arr = filenames.split("|");
|
||||
|
||||
for(z=0;z<=filenames_arr.length-1;z++){
|
||||
|
||||
for(i=1;i<=<%=a_upload_len%>;i++){
|
||||
b_file = document.getElementById("b_file"+i);
|
||||
if(b_file.value == ""){ //비어있는 b_file값에만 저장한다.
|
||||
b_file.value = filenames_arr[z];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
filenames = "";
|
||||
document.getElementById('frm').submit(); //글등록
|
||||
|
||||
//alert("업로드 완료");
|
||||
//Initialize(); //초기화
|
||||
}
|
||||
|
||||
</script>
|
||||
<%
|
||||
If CInt(a_upload_len) > file_cnt then
|
||||
createUpload()
|
||||
End if
|
||||
|
||||
%>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
End if
|
||||
%>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<!-- //쓰기 테이블 -->
|
||||
|
||||
<!-- 버튼 -->
|
||||
<div class="board_button2">
|
||||
<span><input id="submitbtn" type="image" src="/content/board/default_calendar/img/save_bt.gif" alt="저장"/></span>
|
||||
<span><a href="list.asp?a_num=<%=a_num%>&<%=page_info%>"><img src="/content/board/default_calendar/img/list_bt.gif" width="62" height="23" alt="목록" /></a></span>
|
||||
</div>
|
||||
<!-- //버튼 -->
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<!-- //쓰기 -->
|
||||
|
||||
<script type="text/javascript">
|
||||
//colorselect('<%=b_sbjclr%>')
|
||||
</script>
|
||||
|
||||
<script>
|
||||
//colorPicker(2);colorselect_white('#FFFFFF');
|
||||
</script>
|
||||
<!--#include virtual="/content/board/bottom.asp"-->
|
||||
@@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
//삭제
|
||||
function d_chk(url){
|
||||
|
||||
if (confirm('정말 삭제하시겠습니까?')) {
|
||||
|
||||
loading_st(1);
|
||||
page_go1(url);
|
||||
|
||||
}else{
|
||||
|
||||
return ;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function checkAll(){
|
||||
|
||||
if(document.getElementById('frm_list').chk_all.value == "") {
|
||||
document.getElementById('frm_list').chk_all.value="Y";
|
||||
totchk();
|
||||
}else {
|
||||
|
||||
document.getElementById('frm_list').chk_all.value="";
|
||||
totoff();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function totchk(){
|
||||
|
||||
|
||||
for(var i=0; i < document.getElementById('frm_list').elements.length ; i++) {
|
||||
if(document.getElementById('frm_list').elements[i].type=='checkbox')
|
||||
if ( document.getElementById('frm_list').elements[i].disabled != true ){
|
||||
document.getElementById('frm_list').elements[i].checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function totoff(){
|
||||
for(var i=0; i < document.getElementById('frm_list').elements.length ; i++) {
|
||||
if(document.getElementById('frm_list').elements[i].type=='checkbox')
|
||||
document.getElementById('frm_list').elements[i].checked = false;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function delete2(){
|
||||
|
||||
var flag;
|
||||
|
||||
|
||||
if (confirm('정말 삭제하시겠습니까?')) {
|
||||
|
||||
flag = "Empty";
|
||||
for (var j = 0; j < document.getElementById('frm_list').elements.length; j++) {
|
||||
|
||||
if(document.getElementById('frm_list').elements[j].type=='checkbox'){
|
||||
if (document.getElementById('frm_list').elements[j].checked == true){
|
||||
flag = "Not Empty";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (flag == "Empty") {
|
||||
alert ("데이터를 선택해 주세요.");
|
||||
return ;
|
||||
}
|
||||
|
||||
loading_st(1);
|
||||
document.getElementById('frm_list').action = "delete_ok.asp";
|
||||
document.getElementById('frm_list').status.value = "totdel";
|
||||
document.getElementById('frm_list').submit();
|
||||
|
||||
}else{
|
||||
|
||||
return ;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function levelchange(form, idx){
|
||||
|
||||
loading_st(1);
|
||||
document.getElementById('frm_list').b_l_chk.value = form;
|
||||
document.getElementById('frm_list').b_l_num.value = idx;
|
||||
document.getElementById('frm_list').action = "level_ok.asp";
|
||||
document.getElementById('frm_list').submit();
|
||||
}
|
||||
|
||||
|
||||
function tot_levelchage(page){
|
||||
|
||||
var flag;
|
||||
|
||||
|
||||
|
||||
flag = "Empty";
|
||||
for (var j = 0; j < document.getElementById('frm_list').elements.length; j++) {
|
||||
|
||||
if(document.getElementById('frm_list').elements[j].type=='checkbox'){
|
||||
if (document.getElementById('frm_list').elements[j].checked == true){
|
||||
flag = "Not Empty";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (flag == "Empty") {
|
||||
alert ("데이터를 선택해 주세요.");
|
||||
return ;
|
||||
}
|
||||
|
||||
if (document.getElementById('frm_list').tot_level_chk.value=="") {
|
||||
alert ("변경할 등급을 선택해주세요");
|
||||
document.getElementById('frm_list').tot_level_chk.focus();
|
||||
return ;
|
||||
}
|
||||
|
||||
loading_st(1);
|
||||
document.getElementById('frm_list').action = "level_ok.asp?"+page;
|
||||
document.getElementById('frm_list').status.value = "totlevel";
|
||||
document.getElementById('frm_list').submit();
|
||||
}
|
||||
|
||||
|
||||
function win_popup(idx,vscrollbars,vtoolbar,vmenubar,vlocation,vwidth,vheight){
|
||||
window.open('view.asp?idx='+idx,'','scrollbars='+vscrollbars+',toolbar='+vtoolbar+',menubar='+vmenubar+',location='+vlocation+',width='+vwidth+',height='+vheight+',location=no');
|
||||
}
|
||||
|
||||
|
||||
function bmove(){
|
||||
|
||||
var flag;
|
||||
|
||||
flag = "Empty";
|
||||
for (var j = 0; j < document.getElementById('frm_list').elements.length; j++) {
|
||||
|
||||
if(document.getElementById('frm_list').elements[j].type=='checkbox'){
|
||||
if (document.getElementById('frm_list').elements[j].checked == true){
|
||||
flag = "Not Empty";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (flag == "Empty") {
|
||||
alert ("데이터를 선택해 주세요.");
|
||||
return ;
|
||||
}
|
||||
|
||||
|
||||
document.getElementById('frm_list').action = "/content/board/move.asp";
|
||||
// document.getElementById('frm_list').status.value = "totdel";
|
||||
document.getElementById('frm_list').submit();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
function focus_on1(str) {
|
||||
(str).style.border='1px solid #006DD2';
|
||||
(str).style.background='#ffffff';
|
||||
}
|
||||
|
||||
function focus_off1(str) {
|
||||
(str).style.border='1px solid #cdcdcd';
|
||||
(str).style.background='#ffffff';
|
||||
}
|
||||
|
||||
|
||||
|
||||
function add() {
|
||||
var change = false;
|
||||
for (var i = 1; i < 5; i++) {
|
||||
var obj = document.getElementById("filediv" + i);
|
||||
if (obj != null) {
|
||||
if (obj.style.display == "none") {
|
||||
obj.style.display = "block";
|
||||
change = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (change == false) {
|
||||
alert("파일을 더 이상 추가 할 수 없습니다.");
|
||||
}
|
||||
}
|
||||
function del(index) {
|
||||
var fileobj = document.getElementById("upload" + index);
|
||||
var divobj = document.getElementById("filediv" + index);
|
||||
fileobj.outerHTML = fileobj.outerHTML;
|
||||
divobj.style.display = "none";
|
||||
}
|
||||
|
||||
|
||||
//PNG 투명
|
||||
var clear="/content/board/default_calendar/img/clear.gif" //path to clear.gif
|
||||
|
||||
pngfix=function(){var els=document.getElementsByTagName('*');var ip=/\.png/i;var i=els.length;while(i-- >0){var el=els[i];var es=el.style;if(el.src&&el.src.match(ip)&&!es.filter){es.height=el.height;es.width=el.width;es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";el.src=clear;}else{var elb=el.currentStyle.backgroundImage;if(elb.match(ip)){var path=elb.split('"');var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";es.height=el.clientHeight+'px';es.backgroundImage='none';var elkids=el.getElementsByTagName('*');if (elkids){var j=elkids.length;if(el.currentStyle.position!="absolute")es.position='static';while (j-- >0)if(!elkids[j].style.position)elkids[j].style.position="relative";}}}}}
|
||||
window.attachEvent('onload',pngfix);
|
||||
@@ -0,0 +1,309 @@
|
||||
<%
|
||||
|
||||
if v_year = "" then
|
||||
intThisYear = Year(now)
|
||||
|
||||
else
|
||||
intThisYear = v_year
|
||||
|
||||
End if
|
||||
|
||||
if v_month = "" then
|
||||
intThisMonth = Right( "0" & Month(now), 2 )
|
||||
else
|
||||
intThisMonth = Right( "0" & v_month, 2 )
|
||||
End if
|
||||
|
||||
intThisMonth2 = intThisMonth '//1~9숫자 앞에 0붙이기
|
||||
|
||||
|
||||
|
||||
gday = Right("0"&Day(now), 2) '//오늘날짜
|
||||
datFirstDay = Weekday( DateSerial( intThisYear, intThisMonth, 1 ) ) '//요일 구하기 (num)
|
||||
intLastDay = Day( DateSerial( intThisYear, intThisMonth+1, 1-1 ) ) '//마지막날 구하기
|
||||
jucnt = Round( ( ( datFirstDay + intLastDay) / 7 ) + 0.5, 0 )
|
||||
|
||||
'response.write jucnt
|
||||
|
||||
'// 이전, 다음 만들기
|
||||
If CInt( intThisMonth ) = 1 Then
|
||||
prevYear = intThisYear - 1
|
||||
Else
|
||||
prevYear = intThisYear
|
||||
End if
|
||||
|
||||
If CInt( intThisMonth ) = 1 Then
|
||||
prevMonth = 12
|
||||
Else
|
||||
prevMonth = CInt(intThisMonth) - 1
|
||||
End if
|
||||
|
||||
If intThisMonth = 12 Then
|
||||
nextYear = intThisYear + 1
|
||||
Else
|
||||
nextYear = intThisYear
|
||||
End if
|
||||
|
||||
If intThisMonth = 12 Then
|
||||
nextMonth = 1
|
||||
Else
|
||||
nextMonth = intThisMonth + 1
|
||||
End if
|
||||
|
||||
nowpage_url = Request.ServerVariables("path_info")
|
||||
%>
|
||||
<!--#include virtual="/content/board/top.asp"-->
|
||||
|
||||
<!-- 리스트 -->
|
||||
<div id="board" style="width:<%=a_width%>;">
|
||||
|
||||
<div class="top">
|
||||
<div class="cal_top">
|
||||
<a class="sp sp_b_prev2" href='<%=nowpage_url%>?a_num=<%=a_num%>&p_year=<%=(prevYear-1)%>&p_month=<%=intThisMonth%>' onmouseover="this.className='sp sp_b_prev2_on'" onfocus="this.className='sp sp_b_prev2_on'" onmouseout="this.className='sp sp_b_prev2'" onblur="this.className='sp sp_b_prev2'"><span class="blind">이전 해</span></a>
|
||||
<a class="sp sp_b_prev" href='<%=nowpage_url%>?a_num=<%=a_num%>&p_year=<%=prevYear%>&p_month=<%=prevMonth%>' onmouseover="this.className='sp sp_b_prev_on'" onfocus="this.className='sp sp_b_prev_on'" onmouseout="this.className='sp sp_b_prev'" onblur="this.className='sp sp_b_prev'"><span class="blind">이전 달</span></a>
|
||||
|
||||
<span class="sp sp_null"></span>
|
||||
<span class="sp sp_n<%= Mid(intThisYear, 1, 1)%>"><span class="blind"><%= Mid(intThisYear, 1, 1)%></span></span>
|
||||
<span class="sp sp_n<%= Mid(intThisYear, 2, 1)%>"><span class="blind"><%= Mid(intThisYear, 2, 1)%></span></span>
|
||||
<span class="sp sp_n<%= Mid(intThisYear, 3, 1)%>"><span class="blind"><%= Mid(intThisYear, 3, 1)%></span></span>
|
||||
<span class="sp sp_n<%= Mid(intThisYear, 4, 1)%>"><span class="blind"><%= Mid(intThisYear, 4, 1)%></span></span>
|
||||
<span class="sp sp_ndot"><span class="blind">.</span></span>
|
||||
<span class="sp sp_n<%=Mid(intThisMonth2,1, 1)%>"><span class="blind"><%=Mid(intThisMonth2,1, 1)%></span></span>
|
||||
<span class="sp sp_n<%=Mid(intThisMonth2,2, 1)%>"><span class="blind"><%=Mid(intThisMonth2,2, 1)%></span></span>
|
||||
<span class="sp sp_null"></span>
|
||||
|
||||
<a class="sp sp_b_next" href='<%=nowpage_url%>?a_num=<%=a_num%>&p_year=<%=nextYear%>&p_month=<%=nextMonth%>' onmouseover="this.className='sp sp_b_next_on'" onfocus="this.className='sp sp_b_next_on'" onmouseout="this.className='sp sp_b_next'" onblur="this.className='sp sp_b_next'"><span class="blind">다음 달</span></a>
|
||||
<a class="sp sp_b_next2" href='<%=nowpage_url%>?a_num=<%=a_num%>&p_year=<%=nextYear+1%>&p_month=<%=intThisMonth%>' onmouseover="this.className='sp sp_b_next2_on'" onfocus="this.className='sp sp_b_next2_on'" onmouseout="this.className='sp sp_b_next2'" onblur="this.className='sp sp_b_next2'"><span class="blind">다음 해</span></a>
|
||||
|
||||
<span class="sp sp_null"></span>
|
||||
<a class="sp sp_b_today" href='<%=nowpage_url%>?a_num=<%=a_num%>&p_year=<%=Year(now)%>&p_month=<%=Month(now)%>' style="margin-bottom: 4px;"><span class="blind">오늘</span></a>
|
||||
</div>
|
||||
<div class="cal_right">
|
||||
<!-- #include virtual="/content/board/code.asp"--><!--분류-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<%If is_ad_cms = "Y" then%>
|
||||
<form id= "frm_list" action="" method='post'>
|
||||
<div>
|
||||
<input type="hidden" name="status" />
|
||||
<input type="hidden" name="a_num" value="<%=a_num%>" />
|
||||
|
||||
<input type="hidden" id="chk_all" name="chk_all" /><!-- 전체체크 사용하려구.. -->
|
||||
</div>
|
||||
<%End if%>
|
||||
|
||||
|
||||
|
||||
<!-- 리스트 테이블 -->
|
||||
<div class="cal_blist">
|
||||
|
||||
<table cellspacing="0" >
|
||||
<caption><%=replace( tit_name, " | ", "")%></caption>
|
||||
<colgroup>
|
||||
<col width="14%" />
|
||||
<col width="14%" />
|
||||
<col width="14%" />
|
||||
<col width="14%" />
|
||||
<col width="14%" />
|
||||
<col width="14%" />
|
||||
<col width="14%" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="sun">일요일</th>
|
||||
<th scope="col">월요일</th>
|
||||
<th scope="col">화요일</th>
|
||||
<th scope="col">수요일</th>
|
||||
<th scope="col">목요일</th>
|
||||
<th scope="col">금요일</th>
|
||||
<th scope="col" class="sat">토요일</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
|
||||
<tbody>
|
||||
<%
|
||||
|
||||
'cal = CInt(a_width) / 7
|
||||
day1 = (-1 * datFirstDay)+2 '//날수1
|
||||
day2 = (-1 * datFirstDay)+2 '//날수2(내용할때)
|
||||
|
||||
For ju = 1 to jucnt '//주간 7개 돌리공..
|
||||
%>
|
||||
|
||||
<tr>
|
||||
<%
|
||||
for i = 1 to 7
|
||||
'//글자색
|
||||
|
||||
Select Case i
|
||||
Case 1 : tcolor="sun"
|
||||
Case 7 : tcolor="sat"
|
||||
Case Else
|
||||
tcolor = ""
|
||||
End select
|
||||
|
||||
'//날짜계산
|
||||
If day1 > 0 and day1 <= intLastDay then
|
||||
cday = day1
|
||||
else
|
||||
cday = ""
|
||||
End if
|
||||
|
||||
%>
|
||||
<td class="day <%=tcolor%>"><%=cday%></td>
|
||||
<%
|
||||
day1 = day1 + 1
|
||||
next
|
||||
%>
|
||||
</tr>
|
||||
<!-- 내용 -->
|
||||
<tr>
|
||||
<%
|
||||
for c = 1 to 7
|
||||
|
||||
'날짜계산
|
||||
If day2 > 0 and day2 <= intLastDay then
|
||||
cday2 = day2
|
||||
else
|
||||
cday2 = ""
|
||||
End if
|
||||
|
||||
cday2 = Right( "00" & cday2, 2 ) '//1~9숫자 앞에 0붙이기
|
||||
|
||||
If cday2 <> "00" then
|
||||
|
||||
thisDate = DateSerial(intThisYear, intThisMonth, cday2)
|
||||
else
|
||||
thisDate = ""
|
||||
|
||||
End if
|
||||
|
||||
%>
|
||||
<td><%today_list_new(thisDate)%></td>
|
||||
<%
|
||||
day2 = day2 + 1
|
||||
Next
|
||||
%>
|
||||
</tr>
|
||||
<%next%>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<!-- //리스트 테이블 -->
|
||||
|
||||
<!-- 버튼 -->
|
||||
<div class="board_button">
|
||||
<div class="fr">
|
||||
<span class="bt"><a href="list.asp?a_num=<%=a_num%>" ><img src="/content/board/default_calendar/img/list_bt.gif" width="62" height="23" alt="목록" /></a></span>
|
||||
<%If is_write = "Y" then%>
|
||||
<span class="bt"><a href="write.asp?a_num=<%=a_num%>"><img src="/content/board/default_calendar/img/write_bt.gif" width="62" height="23" alt="쓰기" /></a></span>
|
||||
<%End if%>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- //버튼 -->
|
||||
|
||||
|
||||
<% If is_ad_cms = "Y" then%>
|
||||
</form>
|
||||
<% End if %>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- //리스트 -->
|
||||
<!--#include virtual="/content/board/bottom.asp"-->
|
||||
<%
|
||||
function today_list_new(thisDate2)
|
||||
|
||||
'global $b_subject, $a_tablename, $board_skin1_url, $a_cate, $v_cate, $a_num, $b_num, $page_info, $a_type, $b_cate_str;
|
||||
|
||||
Dim R_Fields_code, order_by_code, thisDate3, sql_opt1, sql_opt2, sql_opt3, sql
|
||||
|
||||
R_Fields_code = "b_num, b_subject, b_content, b_catename, b_open, b_sbjclr, b_cate"
|
||||
order_by_code = " ORDER BY b_sdate asc, b_edate asc"
|
||||
thisDate3 = thisDate2
|
||||
|
||||
|
||||
|
||||
'//검색 옵션-------------------------------------------------------
|
||||
sql_opt1 = " AND b_sdate <= '" & thisDate3 & "' AND b_edate >='" & thisDate3 & "'"
|
||||
|
||||
'//회원제 선택여부
|
||||
If a_member = "Y" then
|
||||
sql_opt2 = " AND b_id = '" & SESSION("ss_m_id") & "'"
|
||||
End if
|
||||
|
||||
|
||||
'//분류기능 사용시..
|
||||
If a_cate = "Y" and v_cate <> "" then
|
||||
sql_opt3 = " AND b_cate = " & v_cate
|
||||
End if
|
||||
'//----------------------------------------------------------------
|
||||
|
||||
|
||||
SQL = "Select " & R_Fields_code & " FROM " & a_tablename & " WHERE b_num <> '0'"
|
||||
SQL = SQL & sql_opt1 & sql_opt2 & sql_opt3
|
||||
SQL = SQL & order_by_code
|
||||
'response.write sql
|
||||
'response.end
|
||||
Set rs_tdy = dbcon.execute( sql )
|
||||
|
||||
If Not( rs_tdy.bof Or rs_tdy.eof ) then
|
||||
|
||||
'//$zul = 1;
|
||||
Do Until rs_tdy.eof
|
||||
|
||||
b_num = rs_tdy("b_num")
|
||||
b_subject = rs_tdy("b_subject")
|
||||
b_content = rs_tdy("b_content")
|
||||
b_catename = rs_tdy("b_catename")
|
||||
b_open = rs_tdy("b_open")
|
||||
|
||||
b_sbjclr = rs_tdy("b_sbjclr")
|
||||
b_cate = rs_tdy("b_cate")
|
||||
|
||||
b_subject_str = StringToHTML( b_subject, 15, false)
|
||||
'// $b_subject_str = remove_tags($b_subject);
|
||||
'// $b_subject_str = StringToHTML($b_subject_str, 18, false );
|
||||
|
||||
' //$_SESSOIN[$zul."_"."b_num"] = $b_num;
|
||||
|
||||
'//공개/비공개
|
||||
If a_type = "Y" Or a_type = "T" then '//사용하면, or 전체 비공개이면
|
||||
|
||||
If b_open = "N" Or a_type = "T" then '//비공개이면
|
||||
|
||||
b_open_str = "<img src='/content/board/default_calendar/img/icon_key.gif' width='17' height='12' alt='비밀글' />"
|
||||
else '//공개이면
|
||||
b_open_str = ""
|
||||
End if
|
||||
|
||||
Else
|
||||
b_open_str = ""
|
||||
End if
|
||||
|
||||
%>
|
||||
|
||||
|
||||
<a href="view.asp?a_num=<%=a_num%>&b_num=<%=b_num%>&<%=page_info%>" style="color:#6B6B6B;"><%If a_cate = "Y" Then response.write b_cate_str(b_cate)%><%=b_subject_str%></a><%=b_open_str%><br />
|
||||
|
||||
<%
|
||||
|
||||
'//$_SESSOIN["zul_".$zul] = "";
|
||||
'//$zul = $zul + 1;
|
||||
|
||||
rs_tdy.movenext
|
||||
loop
|
||||
End if
|
||||
Set rs_tdy = nothing
|
||||
|
||||
End function
|
||||
%>
|
||||
@@ -0,0 +1,250 @@
|
||||
<%
|
||||
|
||||
'//파라미터정보 *************************************************************************************
|
||||
b_num = InputValue(request("b_num"))
|
||||
b_type = InputValue(request("b_type"))
|
||||
'//**************************************************************************************************
|
||||
|
||||
|
||||
'//조회수 추가
|
||||
sql = "update " & a_tablename & " set b_count = b_count + 1 Where b_num = " & b_num
|
||||
dbcon.execute sql
|
||||
|
||||
|
||||
|
||||
'//레코드필드
|
||||
R_Fields = "b_num, b_type, b_id, b_name, b_pwd, b_subject, b_email, b_jumin, b_phone1, b_phone2, b_phone3, b_cate, b_catename, b_noticechk, b_content, b_ip, b_count, b_look, b_open, b_ref, b_step, b_level, b_regdate, b_chuchun, b_sbjclr, b_sdate, b_edate, b_temp1, b_temp2, b_temp3, b_temp4, b_file1, b_file2, b_file3, b_file4, b_file5,b_keyword,b_c_count, b_sbjclr"
|
||||
|
||||
R_tablename_str = a_tablename
|
||||
R_WHERE_str = " WHERE b_num=" & b_num
|
||||
|
||||
Call SelectQuery (R_Fields, R_tablename_str, R_WHERE_str)
|
||||
|
||||
|
||||
If is_ad_cms <> "Y" then '//관리자가아닐때 체크
|
||||
|
||||
'//공개/비공개 체크*************************************************************************************
|
||||
if a_type = "Y" Or a_type = "T" then '//공개여부 사용일때
|
||||
|
||||
If b_open = "N" Or a_type = "T" then '//비공개일때
|
||||
|
||||
If SESSION("pwd_chk_" & a_num & "_" & b_num) <> "ok" then
|
||||
Call locationhref( "pwd.asp?prepage=vie&a_num=" & a_num & "&b_num=" & b_num & "&" & page_info)
|
||||
End if
|
||||
|
||||
End if
|
||||
|
||||
End if
|
||||
'//**************************************************************************************************
|
||||
|
||||
End if
|
||||
|
||||
If a_edit = "N" then '//에디터 사용하지 않을때...
|
||||
|
||||
b_content = getTextmode(b_content)
|
||||
|
||||
End if
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
'//이전글 ------------------------------------------------------------------------------------------------
|
||||
sql_p_opt1 = " WHERE b_look = 'Y' AND b_num <> " & b_num & " AND b_ref <= " & b_ref & " AND b_step >=" & b_step
|
||||
sql_p_orderby = " ORDER BY b_ref DESC, b_step ASC"
|
||||
|
||||
|
||||
'//답변글 사용하지 않을때..적용
|
||||
If a_reply = "N" then sql_p_opt2 = " AND b_type='N'"
|
||||
|
||||
sql_p = "SELECT top 1 b_num, b_subject FROM " & a_tablename
|
||||
sql_p = sql_p & sql_p_opt1 & sql_p_opt2 & sql_p_orderby
|
||||
Set rs_prev = dbcon.execute( sql_p )
|
||||
|
||||
If rs_prev.bof Or rs_prev.eof then
|
||||
prev_b_num = ""
|
||||
else
|
||||
prev_b_num = rs_prev("b_num")
|
||||
prev_b_subject = rs_prev("b_subject")
|
||||
End If
|
||||
Set rs_prev = nothing
|
||||
|
||||
'//이전글끝 ------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
'//다음글 ------------------------------------------------------------------------------------------------
|
||||
sql_p_opt1 = " WHERE b_look = 'Y' AND b_num <> " & b_num & " AND b_ref >= " & b_ref & " AND b_step <=" & b_step
|
||||
sql_p_orderby = " ORDER BY b_ref ASC, b_step DESC"
|
||||
|
||||
|
||||
'//답변글 사용하지 않을때..적용
|
||||
If a_reply = "N" then sql_p_opt2 = " AND b_type='N'"
|
||||
|
||||
sql_p = "SELECT top 1 b_num, b_subject FROM " & a_tablename
|
||||
sql_p = sql_p & sql_p_opt1 & sql_p_opt2 & sql_p_orderby
|
||||
Set rs_next = dbcon.execute( sql_p )
|
||||
|
||||
If rs_next.bof Or rs_next.eof then
|
||||
next_b_num = ""
|
||||
else
|
||||
next_b_num = rs_next("b_num")
|
||||
next_b_subject = rs_next("b_subject")
|
||||
End If
|
||||
|
||||
Set rs_next = nothing
|
||||
|
||||
'//다음글끝 ------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
%>
|
||||
<!--#include virtual="/content/board/top.asp"-->
|
||||
|
||||
<!-- 보기 -->
|
||||
<div id="board" style="width:<%=a_width%>;">
|
||||
|
||||
<!-- 보기 테이블 -->
|
||||
<div class="table_bview">
|
||||
|
||||
<table cellspacing="0" >
|
||||
<caption><%=replace( tit_name, " | ", "")%></caption>
|
||||
<colgroup>
|
||||
<col width="6" />
|
||||
<col width="" />
|
||||
<col width="6" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"></th>
|
||||
<th scope="col" class="th_none"><%If a_cate = "Y" Then response.write "<span class='category_color'>" & b_cate_str( b_cate ) & "</span>"%> <%=b_subject%></th>
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<dl class="info">
|
||||
<dt>일시</dt>
|
||||
<dd class="c4895D7"><strong><%=b_sdate%> ~ <%=b_edate%></strong></dd>
|
||||
<!-- <dt>작성자</dt>
|
||||
<dd><?=$b_name?></dd> -->
|
||||
|
||||
</dl>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
'//사용자필드
|
||||
for z=1 To 4
|
||||
a_ftemp = eval("a_ftemp" & z )
|
||||
a_ftemp_str = eval("a_ftemp" & z & "_str")
|
||||
b_temp = eval("b_temp" & z )
|
||||
|
||||
If a_ftemp = "Y" then
|
||||
%>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<dl class="info">
|
||||
<dt><%=a_ftemp_str%></dt>
|
||||
<dd><%=b_temp%></dd>
|
||||
</dl>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<%
|
||||
End if
|
||||
next
|
||||
%>
|
||||
|
||||
<%If a_upload = "Y" and (b_file1 <> "" or b_file2 <> "" or b_file3 <> "" or b_file4 <> "" or b_file5 <> "" ) then '//첨부파일 사용일때{%>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<dl class="info">
|
||||
<dt>첨부파일</dt>
|
||||
<dd>
|
||||
<%
|
||||
For z=1 To 5
|
||||
b_file_name = eval("b_file" & z)
|
||||
b_file_name_tmp = b_file_name
|
||||
|
||||
If b_file_name <> "" Then '//파일이 있으면..
|
||||
|
||||
strDir = server.mappath("/data/board/") & "\" & a_tablename & "\"
|
||||
'response.write b_file_name
|
||||
%>
|
||||
|
||||
<img src="/content/board/nninc_simple/img/file/<%=get_FileName1(b_file_name_tmp)%>" alt="<%=b_file_name%>" /><a href="down.asp?a_tablename=<%=a_tablename%>&filename=<%=b_file_name%>" ><%=b_file_name%></a> <span class="size">(<%=Folderfilesize(strDir& b_file_name)%> byte)</span>
|
||||
|
||||
|
||||
<%
|
||||
End if
|
||||
next
|
||||
%>
|
||||
</dd>
|
||||
</dl>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<%End if%>
|
||||
|
||||
<tr>
|
||||
<td colspan="3" class="content">
|
||||
<%=b_content%>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<!-- //보기 테이블 -->
|
||||
|
||||
<!-- 버튼 -->
|
||||
|
||||
|
||||
<div class="board_button">
|
||||
|
||||
<div class="fr pt10">
|
||||
<%If is_write = "Y" then '//쓰기/수정권한%>
|
||||
<span><a href="write.asp?a_num=<%=a_num%>" ><img src="/content/board/default_calendar/img/write_bt.gif" width="62" height="23" alt="쓰기" /></a></span>
|
||||
|
||||
<span><a href="write.asp?a_num=<%=a_num%>&b_num=<%=b_num%>&<%=page_info%>" ><img src="/content/board/default_calendar/img/modify_bt.gif" width="62" height="23" alt="수정" /></a></span>
|
||||
<%End if%>
|
||||
|
||||
<%If is_delete = "Y" then
|
||||
msg = "정말 삭제하시겠습니까?"
|
||||
querystring = "msg=" & server.urlencode( msg )
|
||||
querystring = querystring & "&ok=" & server.urlencode("/content/board/delete_ok.asp?a_num=" & a_num & "&b_num=" & b_num & "&" & page_info)
|
||||
querystring = querystring & "&no=" & server.urlencode(nowpage)
|
||||
go_url = "/content/board/message.asp?a_num=" & a_num & "&" & querystring
|
||||
%>
|
||||
<span><a href="<%=go_url%>" ><img src="/content/board/default_calendar/img/delete_bt.gif" width="62" height="23" alt="삭제" /></a></span>
|
||||
<%End if%>
|
||||
|
||||
<span><a href="list.asp?a_num=<%=a_num%>&<%=page_info%>" ><img src="/content/board/default_calendar/img/list_bt.gif" width="62" height="23" alt="목록" /></a></span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //버튼 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 댓글 -->
|
||||
<%If a_command = "Y" Then%>
|
||||
<!--#include virtual="/content/board/command.asp"-->
|
||||
<%End if%>
|
||||
<!-- //댓글 -->
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- //보기 -->
|
||||
<!--#include virtual="/content/board/bottom.asp"-->
|
||||