Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -175,7 +175,7 @@ if ($group['gr_use_access']) {
|
||||
}
|
||||
}
|
||||
|
||||
$g4['title'] = $title_msg.' > '.$board['bo_subject'];
|
||||
$g4['title'] = $board['bo_subject']." ".$title_msg;
|
||||
|
||||
$is_notice = false;
|
||||
$notice_checked = '';
|
||||
|
||||
141
css/def.css
141
css/def.css
@ -19,6 +19,7 @@ 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 a {color:#000;text-decoration:none}
|
||||
td {padding:10px 0;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;font-size:0.75em}
|
||||
.empty_table {padding:50px 0;text-align:center}
|
||||
|
||||
@ -31,10 +32,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:23px;border:0;background:#333;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:#333;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle;cursor:pointer}
|
||||
fieldset button:focus,
|
||||
.fieldset_submit:focus {padding:0 15px;height:23px;border:0;background:#555;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle}
|
||||
.readonly {background:#ff3061}
|
||||
.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}
|
||||
|
||||
/* 이미지 등비율 리사이징 */
|
||||
.img_fix {float:left;width:100%;height:auto}
|
||||
@ -73,7 +73,7 @@ h6 {margin:0 0 20px}
|
||||
#tnb li {float:left;margin-left:-1px}
|
||||
#tnb a {display:block;padding:20px;border-right:1px solid #e9e9e9;border-left:1px solid #e9e9e9;color:#595959;font-family:"dotum";font-size:0.875em;font-weight:bold;text-decoration:none}
|
||||
#tnb a:hover,
|
||||
#tnb a:focus {background:#faf9f5}
|
||||
#tnb a:focus {background:#f0f0ed}
|
||||
|
||||
/* 전체검색 */
|
||||
#hdsch {position:absolute;top:90px;right:50px;margin:0;padding:0;border:1px solid #ccc;background:#fff}
|
||||
@ -83,31 +83,32 @@ h6 {margin:0 0 20px}
|
||||
#hdsch_submit {position:relative;margin-left:-5px}
|
||||
|
||||
/* 사이드 네비게이션: 아웃로그인, 설문조사 등 */
|
||||
#snb {position:absolute;top:150px;right:50px;font-family:"verdana","dotum"}
|
||||
#snb {position:absolute;top:162px;right:50px;font-family:"verdana","dotum"}
|
||||
#snb ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
/* 아웃로그인 */
|
||||
.outlogin {margin-bottom:5px;border:1px solid #dedace}
|
||||
.outlogin h2 {margin:0;height:0;overflow:hidden}
|
||||
/* 로그인 전 */
|
||||
#ol_before {padding:10px 10px 0;width:178px;background:#f9f9f5;font-size:0.7em}
|
||||
#ol_before h2 {margin-bottom:5px;font-size:1.1em}
|
||||
#ol_before fieldset {margin:0;padding:0;border:0;background:transparent}
|
||||
#ol_before legend {position:absolute;padding:0;width:0;height:0;border:0;background:transparent;overflow:hidden}
|
||||
#ol_before input:focus {background:#333;color:#fff}
|
||||
#ol_before ul {position:relative;top:0;left:90px;margin:10px 0;width:90px;zoom:1}
|
||||
#ol_before ul {position:relative;top:0;left:93px;margin:10px 0;width:90px;zoom:1}
|
||||
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_before li {float:left;margin-right:5px}
|
||||
#ol_before a {color:#696969;text-decoration:none;letter-spacing:-0.1em}
|
||||
#ol_mb_id{display:block;margin-bottom:3px;padding:0 5px;width:165px;height:22px;border:1px solid #d7d7d7;background:#fff;line-height:1.6em}
|
||||
#ol_mb_id_label {z-index:2;position:absolute;top:17px;left:20px;color:#696969}
|
||||
#ol_mb_id_label {z-index:2;position:absolute;top:38px;left:20px;color:#696969}
|
||||
#ol_mb_pw {display:block;padding:0 5px;width:100px;height:22px;border:1px solid #d7d7d7;background:#fff;line-height:1.6em}
|
||||
#ol_mb_pw_label {z-index:2;position:absolute;top:45px;left:20px;color:#696969}
|
||||
#auto_login {position:absolute;top:71px;left:13px}
|
||||
#auto_login_label {position:absolute;top:72px;left:28px;color:#696969;letter-spacing:-0.1em}
|
||||
#ol_submit {position:absolute;top:38px;right:12px;width:60px;height:24px;border:1px solid #b7b7b7;background:#fff;font-size:1em;font-weight:bold;letter-spacing:-0.1em;line-height:2em}
|
||||
#ol_mb_pw_label {z-index:2;position:absolute;top:65px;left:20px;color:#696969}
|
||||
#auto_login {position:absolute;top:92px;left:13px}
|
||||
#auto_login_label {position:absolute;top:93px;left:28px;color:#696969;letter-spacing:-0.1em}
|
||||
#ol_submit {position:absolute;top:58px;right:12px;width:60px;height:24px;border:1px solid #b7b7b7;background:#fff;font-size:1em;font-weight:bold;letter-spacing:-0.1em;line-height:2em}
|
||||
/* 로그인 후 */
|
||||
#ol_after {width:198px;background:#f9f9f5;color:#000;font-size:0.75em}
|
||||
#ol_after header {padding:10px 0;text-align:center}
|
||||
#ol_after h2 {margin-bottom:5px;padding-left:10px;font-size:1em;text-align:left}
|
||||
#ol_after ul {padding:5px 0;background:#fff}
|
||||
#ol_after li a {display:block;position:relative;padding:7px 10px;color:#000;text-decoration:none}
|
||||
#ol_after li span {position:absolute;top:7px;right:10px}
|
||||
@ -125,7 +126,7 @@ h6 {margin:0 0 20px}
|
||||
#poll footer input {padding:0 15px;height:24px;border:0;background:#333;color:#fff;font-size:0.9em;letter-spacing:-0.1em;vertical-align:top}
|
||||
#poll footer a {display:inline-block;padding:0 5px;height:22px;border:1px solid #b7b7b7;background:#fff;color:#000;font-size:0.9em;vertical-align:top;text-decoration:none;letter-spacing:-0.1em;line-height:2.1em}
|
||||
/* 설문조사 결과 (새창) */
|
||||
#poll_result section {margin:0 auto 20px;;padding:10px;width:90%}
|
||||
#poll_result section {margin:0 auto 20px;padding:10px;width:90%}
|
||||
#poll_result h2 {margin-top:10px;font-size:1em}
|
||||
#poll_result_list {border:1px solid #ddd;background:#f7f7f7}
|
||||
#poll_result_list h2 {padding:10px 0 0;text-align:center}
|
||||
@ -141,7 +142,6 @@ h6 {margin:0 0 20px}
|
||||
#poll_result_cmt h2 {text-align:center}
|
||||
#poll_result_cmt article {margin-bottom:15px;border-bottom:1px solid #e7e7e7}
|
||||
#poll_result_cmt h1 {display:inline-block;margin:0 10px 0 0;padding:0;font-size:0.875em}
|
||||
#poll_result_cmt h1 a {color:#000;text-decoration:none}
|
||||
#poll_result_cmt .poll_datetime,
|
||||
#poll_result_cmt .poll_del {font-size:0.75em}
|
||||
#poll_result_cmt p {padding:3px 0;font-size:0.875em}
|
||||
@ -187,6 +187,17 @@ h6 {margin:0 0 20px}
|
||||
#footer p {position:absolute;top:25px;right:50px}
|
||||
|
||||
/* ##################################################################### 스킨 및 컨텐츠 */
|
||||
/* 버튼 */
|
||||
.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: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:hover,
|
||||
.btn02:focus {}
|
||||
.btn03 {display:inline-block;padding:0 10px;height:25px;border:1px solid #555;background:#666;color:#fff;font-size:0.8em;text-decoration:none;line-height:2.2em}
|
||||
.btn02:hover,
|
||||
.btn02:focus {}
|
||||
|
||||
/* 폼 테이블 */
|
||||
.frm_tbl {}
|
||||
.frm_tbl caption {padding-top:10px;border-bottom:1px solid #aaa;font-weight:bold}
|
||||
@ -200,8 +211,20 @@ h6 {margin:0 0 20px}
|
||||
.frm_tbl .frm_input:focus {padding:4px;border:0;background:#333;color:#fff}
|
||||
.frm_tbl textarea {width:90%}
|
||||
.frm_tbl select {padding:2px}
|
||||
.frm_file {display:block;margin-bottom:5px}
|
||||
.frm_info {display:block;padding:10px 0 0;color:#595959;line-height:1.3em}
|
||||
|
||||
.readonly {background:#ff3061}
|
||||
|
||||
/* 최신글 */
|
||||
.latest {clear:both;margin-bottom:30px;padding:20px;border:1px solid #eee;font-size:0.8em}
|
||||
.latest strong {display:inline-block;margin-bottom:15px}
|
||||
.latest ul {margin:0;padding:0;list-style:none}
|
||||
.latest li a {display:inline-block;padding:4px 0}
|
||||
.latest p {padding:0}
|
||||
.latest_more {clear:both;text-align:right}
|
||||
.latest_more a {display:inline-block;padding:5px 0}
|
||||
|
||||
/* 테이블 항목별 정의 */
|
||||
.td_group {width:100px;text-align:center}
|
||||
.td_board {width:120px;text-align:center}
|
||||
@ -231,25 +254,29 @@ h6 {margin:0 0 20px}
|
||||
.sch_sideview {display:inline-block;font-size:0.75em}
|
||||
.sch_datetime {font-size:0.75em}
|
||||
|
||||
/* 새창 공통 */
|
||||
.new_win h1 {padding:10px 30px;background:#333;color:#fff;font-size:1.2em}
|
||||
.new_win article h1 {background:transparent;color:#000}
|
||||
.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: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}
|
||||
.new_win_ul a:hover,
|
||||
.new_win_ul a:focus {background:#faf9f5}
|
||||
/* 게시판 목록 */
|
||||
#btn_board_adm {text-align:center}
|
||||
#btn_board_adm a {display:inline-block;margin-bottom:20px;padding:10px 20px;text-align:center}
|
||||
.btn_board {margin-bottom:10px;zoom:1}
|
||||
.btn_board:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.btn_board ul {margin:0;padding:0;list-style:none}
|
||||
.btn_board_user {float:right}
|
||||
.btn_board_user li {float:left;margin-left:5px}
|
||||
.btn_board_user a {display:block}
|
||||
.btn_board_adm {float:left}
|
||||
.btn_board_adm li {float:left;margin-right:5px}
|
||||
.btn_board_adm a {display:block}
|
||||
#board_search {float:left;padding:0;margin:0;border:0}
|
||||
#board_search legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#board_search form {display:inline-block}
|
||||
#fcategory select {margin-right:10px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
|
||||
|
||||
/* 포인트 내역 */
|
||||
#point p {text-align:center}
|
||||
#point .td_datetime {width:150px}
|
||||
#board_list caption {padding:0;height:0;overflow:hidden}
|
||||
.board_cate_link {display:inline-block;margin-right:10px;font-weight:bold}
|
||||
.td_subject img {margin-left:5px}
|
||||
|
||||
/* 쪽지 */
|
||||
|
||||
/* 스크랩 */
|
||||
/* 게시판 쓰기 */
|
||||
#board_write caption {padding:0;height:0;overflow:hidden}
|
||||
|
||||
/* 우편번호 검색 */
|
||||
#post_num dl {margin:0 auto 10px;padding:0;width:90%}
|
||||
@ -267,8 +294,58 @@ h6 {margin:0 0 20px}
|
||||
#fregister textarea {display:block;margin-bottom:10px;width:99%;height:200px;border:1px solid #ddd}
|
||||
#fregister label {display:inline-block;margin-right:10px}
|
||||
|
||||
/* 회원 패스워드 확인 */
|
||||
#member_confirm {padding:150px 0;background:#fcfcfc;text-align:center}
|
||||
#member_confirm legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#member_confirm p {margin-bottom:20px;font-size:0.75em}
|
||||
#member_confirm_id {display:inline-block;margin-right:20px}
|
||||
|
||||
/* 비밀글 패스워드 확인 */
|
||||
#password_confirm {padding:150px 0;background:#fcfcfc;text-align:center}
|
||||
#password_confirm legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#password_confirm p {margin-bottom:20px;font-size:0.75em}
|
||||
|
||||
/* 새창 공통 */
|
||||
.new_win h1 {padding:10px 30px;background:#393936;color:#fff;font-size:1.2em}
|
||||
.new_win h1 a {color:#fff;text-decoration:none}
|
||||
.new_win article h1 {background:transparent;color:#000}
|
||||
.new_win article h1 a {color:#000;text-decoration:none}
|
||||
.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: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}
|
||||
.new_win_ul a:hover,
|
||||
.new_win_ul a:focus {background:#faf9f5}
|
||||
|
||||
/* 포인트 내역 */
|
||||
#point p {text-align:center}
|
||||
#point .td_datetime {width:150px}
|
||||
|
||||
/* 쪽지 */
|
||||
|
||||
/* 스크랩 */
|
||||
|
||||
/* 폼메일 */
|
||||
#formmail textarea {height:100px}
|
||||
|
||||
/* 자기소개 */
|
||||
#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 p {font-size:0.75em}
|
||||
|
||||
/* 쪽지 읽기 */
|
||||
#memo_view section {margin:0 auto 20px;width:90%;border-bottom:1px solid #d9d9d9}
|
||||
#memo_view p {font-size:0.75em}
|
||||
|
||||
/* 쪽지 쓰기 */
|
||||
#memo_write textarea {height:100px}
|
||||
|
||||
/* pagination */
|
||||
.pg {margin-bottom:30px;font-size:0.875em;text-align:center}
|
||||
.pg {clear:both;margin-bottom:30px;font-size:0.875em;text-align:center}
|
||||
.pg_page, .pg_current {display:inline-block;position:relative;margin-left:-6px;padding:0 10px;height:25px;border:1px solid #ddd;background:#fff;line-height:1.9em;vertical-align:middle}
|
||||
.pg_page {text-decoration:none}
|
||||
.pg_current {font-weight:normal}
|
||||
2
head.php
2
head.php
@ -77,4 +77,4 @@ include_once($g4['path'].'/lib/popular.lib.php');
|
||||
<hr>
|
||||
|
||||
<div id="wrapper">
|
||||
<? if (!$bo_table) {?><h1><?=$g4['title']?></h1><?}?>
|
||||
<? if (!$bo_table || $w == 's') {?><h1><?=$g4['title']?></h1><?}?>
|
||||
@ -73,7 +73,9 @@ var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
|
||||
<script src="<?=$g4['path']?>/js/jquery-1.4.2.min.js"></script>
|
||||
<script src="<?=$g4['path']?>/js/common.js"></script>
|
||||
<script src="<?=$g4['path']?>/js/wrest.js"></script>
|
||||
<!--[if lte IE 8]>
|
||||
<script src="<?=$g4['path']?>/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<?
|
||||
if (!empty($g4['js_file'])) {
|
||||
foreach ($g4['js_file'] as $key=>$value) {
|
||||
|
||||
@ -377,7 +377,7 @@ function get_list($write_row, $board, $skin_path, $subject_len=40)
|
||||
$list['file'] = get_file($board['bo_table'], $list['wr_id']);
|
||||
|
||||
if ($list['file']['count'])
|
||||
$list['icon_file'] = '<img src="'.$skin_path.'/img/icon_file.gif" alt="관련링크">';
|
||||
$list['icon_file'] = '<img src="'.$skin_path.'/img/icon_file.gif" alt="첨부파일">';
|
||||
|
||||
return $list;
|
||||
}
|
||||
@ -911,7 +911,7 @@ function get_sideview($mb_id, $name='', $email='', $homepage='')
|
||||
//$height = $size['1'];
|
||||
$width = $config['cf_member_icon_width'];
|
||||
$height = $config['cf_member_icon_height'];
|
||||
$tmp_name = '<img src="'.$icon_file.'" width="'.$width.'" height="'.$height.'" border="0" alt="첨부파일">';
|
||||
$tmp_name = '<img src="'.$icon_file.'" width="'.$width.'" height="'.$height.'" border="0" alt="">';
|
||||
|
||||
if ($config['cf_use_member_icon'] == 2) // 회원아이콘+이름
|
||||
$tmp_name = $tmp_name . ' <span class="member">'.$name.'</span>';
|
||||
|
||||
@ -11,26 +11,26 @@ if ($is_nogood) $colspan++;
|
||||
|
||||
<? if (!$wr_id) {?><h1><?=$g4['title']?></h1><?}?>
|
||||
|
||||
<? if ($admin_href) { ?><div id="bo_admin_btn"><a href="<?=$admin_href?>">관리자 바로가기</a></div><?}?>
|
||||
<? if ($admin_href) { ?><div id="btn_board_adm"><a href="<?=$admin_href?>">게시판 관리자 바로가기</a></div><?}?>
|
||||
|
||||
<div>
|
||||
<? if ($is_category) { ?>
|
||||
<form name="fcategory" method="get">
|
||||
<div class="btn_board">
|
||||
<fieldset id="board_search">
|
||||
<legend>게시물 분류 및 검색</legend>
|
||||
|
||||
<? if ($is_category) { ?>
|
||||
<form id="fcategory" name="fcategory" method="get">
|
||||
<select name="sca" onchange="location='<?=$category_location?>'+<?=strtolower($g4['charset'])=='utf-8' ? "encodeURIComponent(this.value)" : "this.value"?>;">
|
||||
<option value=''>전체</option>
|
||||
<?=$category_option?>
|
||||
</select>
|
||||
</form>
|
||||
<? } ?>
|
||||
</form>
|
||||
<? } ?>
|
||||
|
||||
<form name="fsearch" method="get">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<fieldset>
|
||||
<legend>게시물 검색</legend>
|
||||
<span>Total <?=number_format($total_count)?>건 중</span>
|
||||
<label for="sfl">검색대상</label>
|
||||
<select id="sfl" name="sfl">
|
||||
<form name="fsearch" method="get">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<span>Total <?=number_format($total_count)?>건</span>
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="wr_subject">제목</option>
|
||||
<option value="wr_content">내용</option>
|
||||
<option value="wr_subject||wr_content">제목+내용</option>
|
||||
@ -39,23 +39,23 @@ if ($is_nogood) $colspan++;
|
||||
<option value="wr_name,1">글쓴이</option>
|
||||
<option value="wr_name,0">글쓴이(코)</option>
|
||||
</select>
|
||||
<label for="stx">검색어</label>
|
||||
<input id="stx" name="stx" maxlength="15" required value="<?=stripslashes($stx)?>">
|
||||
<input name="stx" class="fieldset_input required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어">
|
||||
<input type="radio" id="sop_and" name="sop" value="and">
|
||||
<label for="sop_and">and</label>
|
||||
<input type="radio" id="sop_or" name="sop" value="or">
|
||||
<label for="sop_or">or</label>
|
||||
<input type="submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<input type="submit" class="fieldset_submit" value="검색">
|
||||
</form>
|
||||
|
||||
<? if ($rss_href || $write_href) {?>
|
||||
<ul>
|
||||
<? if ($rss_href) { ?><li><a href="<?=$rss_href?>">RSS</a></li><? } ?>
|
||||
<? if ($write_href) { ?><li><a href="<?=$write_href?>">글쓰기</a></li><? } ?>
|
||||
</ul>
|
||||
<? } ?>
|
||||
</fieldset>
|
||||
|
||||
<? if ($rss_href || $write_href) {?>
|
||||
<ul class="btn_board_user">
|
||||
<? if ($rss_href) { ?><li><a href="<?=$rss_href?>" class="btn02">RSS</a></li><? } ?>
|
||||
<? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?>
|
||||
</ul>
|
||||
<? } ?>
|
||||
</div>
|
||||
|
||||
<!-- 게시판 목록 시작 -->
|
||||
<form id="fboardlist" name="fboardlist" method="post">
|
||||
@ -65,7 +65,7 @@ if ($is_nogood) $colspan++;
|
||||
<input type="hidden" name="spt" value="<?=$spt?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="sw" value="">
|
||||
<table>
|
||||
<table id="board_list">
|
||||
<caption><?=$board['bo_subject']?> 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -83,8 +83,8 @@ if ($is_nogood) $colspan++;
|
||||
<?
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<tr<? if ($list[$i]['is_notice']) echo " class=\"board_notice\"";?>>
|
||||
<td class="td_bignum">
|
||||
<?
|
||||
if ($list[$i]['is_notice']) // 공지사항
|
||||
echo '공지';
|
||||
@ -95,22 +95,22 @@ for ($i=0; $i<count($list); $i++) {
|
||||
?>
|
||||
</td>
|
||||
<? if ($is_checkbox) { ?><td><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="이 게시물 선택"></td><? } ?>
|
||||
<td>
|
||||
<td class="td_subject">
|
||||
<?
|
||||
echo $list[$i]['reply'];
|
||||
echo $list[$i]['icon_reply'];
|
||||
if ($is_category && $list[$i]['ca_name']) {
|
||||
echo '<a href="'.$list[$i]['ca_name_href'].'">'.$list[$i]['ca_name'].'</a>';
|
||||
}
|
||||
?>
|
||||
<a href="'.$list[$i]['ca_name_href'].'" class="board_cate_link"><?=$list[$i]['ca_name']?></a>
|
||||
<? } ?>
|
||||
|
||||
if ($list[$i]['is_notice'])
|
||||
echo '<a href="'.$list[$i]['href'].'">'.$list[$i]['subject'].'</a>';
|
||||
else
|
||||
echo '<a href="'.$list[$i]['href'].'">'.$list[$i]['subject'].'</a>';
|
||||
<a href="<?=$list[$i]['href']?>"><?=$list[$i]['subject']?>
|
||||
|
||||
if ($list[$i]['comment_cnt'])
|
||||
echo '<a href="'.$list[$i]['comment_href'].'">'.$list[$i]['comment_cnt'].'</a>';
|
||||
<? if ($list[$i]['comment_cnt']) { ?><?=$list[$i]['comment_cnt'];?><? } ?>
|
||||
|
||||
</a>
|
||||
|
||||
<?
|
||||
// if ($list[$i]['link']['count']) { echo '['.$list[$i]['link']['count']}.']'; }
|
||||
// if ($list[$i]['file']['count']) { echo '<'.$list[$i]['file']['count'].'>'; }
|
||||
|
||||
@ -121,11 +121,11 @@ for ($i=0; $i<count($list); $i++) {
|
||||
if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret'];
|
||||
?>
|
||||
</td>
|
||||
<td><div style="position:relative"><?=$list[$i]['name']?></div></td>
|
||||
<td><?=$list[$i]['datetime2']?></td>
|
||||
<td><?=$list[$i]['wr_hit']?></td>
|
||||
<? if ($is_good) { ?><td><?=$list[$i]['wr_good']?></td><? } ?>
|
||||
<? if ($is_nogood) { ?><td><?=$list[$i]['wr_nogood']?></td><? } ?>
|
||||
<td class="td_name"><div><?=$list[$i]['name']?></div></td>
|
||||
<td class="td_date"><?=$list[$i]['datetime2']?></td>
|
||||
<td class="td_num"><?=$list[$i]['wr_hit']?></td>
|
||||
<? if ($is_good) { ?><td class="td_num"><?=$list[$i]['wr_good']?></td><? } ?>
|
||||
<? if ($is_nogood) { ?><td class="td_num"><?=$list[$i]['wr_nogood']?></td><? } ?>
|
||||
</tr>
|
||||
<?}?>
|
||||
<? if (count($list) == 0) { echo '<tr><td colspan="'.$colspan.'" class="empty_table">게시물이 없습니다.</td></tr>'; } ?>
|
||||
@ -133,25 +133,25 @@ for ($i=0; $i<count($list); $i++) {
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<div class="btn_board">
|
||||
<ul class="btn_board_adm">
|
||||
<? if ($list_href) { ?>
|
||||
<li><a href="<?=$list_href?>">목록</a></li>
|
||||
<? } ?>
|
||||
<? if ($is_checkbox) { ?>
|
||||
<li><a href="javascript:select_delete();">선택삭제</a></li>
|
||||
<li><a href="javascript:select_copy('copy');">선택복사</a></li>
|
||||
<li><a href="javascript:select_copy('move');">선택이동</a></li>
|
||||
<li><a href="javascript:select_delete();" class="btn03">선택삭제</a></li>
|
||||
<li><a href="javascript:select_copy('copy');" class="btn03">선택복사</a></li>
|
||||
<li><a href="javascript:select_copy('move');" class="btn03">선택이동</a></li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li><? if ($write_href) { ?><a href="<?=$write_href?>">글쓰기</a><? } ?></li>
|
||||
<ul class="btn_board_user">
|
||||
<li><? if ($write_href) { ?><a href="<?=$write_href?>" class="btn01">글쓰기</a><? } ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 페이지 -->
|
||||
<div id="pg">
|
||||
<div class="pg">
|
||||
<? if ($prev_part_href) { echo '<a href="'.$prev_part_href.'">이전검색</a>'; } ?>
|
||||
<?=$write_pages?>
|
||||
<? if ($next_part_href) { echo '<a href="'.$next_part_href.'">다음검색</a>'; } ?>
|
||||
|
||||
@ -8,6 +8,8 @@ var char_min = parseInt(<?=$write_min?>); // 최소
|
||||
var char_max = parseInt(<?=$write_max?>); // 최대
|
||||
</script>
|
||||
|
||||
<h1><?=$g4['title']?></h1>
|
||||
|
||||
<form id="fwrite" name="fwrite" method="post" action="<?=$action_url?>" onsubmit="return fwrite_submit(this);" enctype="multipart/form-data" autocomplete="off">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
@ -20,34 +22,34 @@ var char_max = parseInt(<?=$write_max?>); // 최대
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
|
||||
<table>
|
||||
<table id="board_write" class="frm_tbl">
|
||||
<caption><?=$board['bo_subject']?> <?=$title_msg?></caption>
|
||||
<tbody>
|
||||
<? if ($is_name) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_name">이름</label></th>
|
||||
<td><input type="text" id="wr_name" name="wr_name" maxlength="20" class="required" required="required" value="<?=$name?>" title="이름"></td>
|
||||
<td><input type="text" id="wr_name" name="wr_name" class="frm_input required" size="10" maxlength="20" required value="<?=$name?>"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($is_password) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_password">패스워드</label></th>
|
||||
<td><input type="password" id="wr_password" name="wr_password" maxlength="20" <?=$password_required?> title="패스워드"></td>
|
||||
<td><input type="password" id="wr_password" name="wr_password" class="frm_input" maxlength="20" <?=$password_required?>></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($is_email) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_email">이메일</label></th>
|
||||
<td><input type="text" id="wr_email" name="wr_email" class="email" value="<?=$email?>" title="이메일" maxlength="100"></td>
|
||||
<td><input type="text" id="wr_email" name="wr_email" class="frm_input email" size="60" value="<?=$email?>" maxlength="100"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($is_homepage) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_homepage">홈페이지</label></th>
|
||||
<td><input type="text" id="wr_homepage" name="wr_homepage" value="<?=$homepage?>"></td>
|
||||
<td><input type="text" id="wr_homepage" name="wr_homepage" class="frm_input" size="60" value="<?=$homepage?>"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
@ -57,27 +59,27 @@ $option_hidden = '';
|
||||
if ($is_notice || $is_html || $is_secret || $is_mail) {
|
||||
$option = '';
|
||||
if ($is_notice) {
|
||||
$option .= PHP_EOL.'<input type="checkbox" id="notice" name="notice" value="1" '.$notice_checked.'><label for="notice">공지</label>';
|
||||
$option .= PHP_EOL.'<input type="checkbox" id="notice" name="notice" value="1" '.$notice_checked.'>'.PHP_EOL.'<label for="notice">공지</label>';
|
||||
}
|
||||
|
||||
if ($is_html) {
|
||||
if ($is_dhtml_editor) {
|
||||
$option_hidden .= '<input type="hidden" value="html1" name="html">';
|
||||
} else {
|
||||
$option .= PHP_EOL.'<input type="checkbox" id="html" name="html" onclick="html_auto_br(this);" value="'.$html_value.'" '.$html_checked.'><label for="html">html</label>';
|
||||
$option .= PHP_EOL.'<input type="checkbox" id="html" name="html" onclick="html_auto_br(this);" value="'.$html_value.'" '.$html_checked.'>'.PHP_EOL.'<label for="html">html</label>';
|
||||
}
|
||||
}
|
||||
|
||||
if ($is_secret) {
|
||||
if ($is_admin || $is_secret==1) {
|
||||
$option .= PHP_EOL.'<input type="checkbox" id="secret" name="secret" value="secret" '.$secret_checked.'><label for="secret">비밀글</label>';
|
||||
$option .= PHP_EOL.'<input type="checkbox" id="secret" name="secret" value="secret" '.$secret_checked.'>'.PHP_EOL.'<label for="secret">비밀글</label>';
|
||||
} else {
|
||||
$option_hidden .= '<input type="hidden" name="secret" value="secret">';
|
||||
}
|
||||
}
|
||||
|
||||
if ($is_mail) {
|
||||
$option .= PHP_EOL.'<input type="checkbox" name="mail" value="mail" '.$recv_email_checked.'><label for="mail">답변메일받기</label>';
|
||||
$option .= PHP_EOL.'<input type="checkbox" name="mail" value="mail" '.$recv_email_checked.'>'.PHP_EOL.'<label for="mail">답변메일받기</label>';
|
||||
}
|
||||
}
|
||||
|
||||
@ -94,7 +96,7 @@ if ($option) {
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_name">분류</label></th>
|
||||
<td>
|
||||
<select id="ca_name" name="ca_name" required="required">
|
||||
<select id="ca_name" name="ca_name" class="required" required>
|
||||
<option value="">선택하세요</option>
|
||||
<?=$category_option?>
|
||||
</select>
|
||||
@ -104,7 +106,7 @@ if ($option) {
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_subject">제목</label></th>
|
||||
<td><input id="wr_subject" name="wr_subject" required="required" value="<?=$subject?>" title="제목"></td>
|
||||
<td><input id="wr_subject" name="wr_subject" class="frm_input required" size="60" required value="<?=$subject?>" title="제목"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -120,72 +122,45 @@ if ($option) {
|
||||
<? for ($i=1; $i<=$g4['link_count']; $i++) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_link<?=$i?>">링크 #<?=$i?></label></th>
|
||||
<td><input type="text" id="wr_link<?=$i?>" name="wr_link<?=$i?>" value="<?if($w=="u"){echo$write['wr_link'.$i];}?>"></td>
|
||||
<td><input type="text" id="wr_link<?=$i?>" name="wr_link<?=$i?>" class="frm_input" size="60" value="<?if($w=="u"){echo$write['wr_link'.$i];}?>"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<? } ?>
|
||||
|
||||
<? if ($is_file) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="">파일첨부</label></th>
|
||||
<th scope="row">파일 #1</th>
|
||||
<td>
|
||||
<table id="variableFiles"></table><?// print_r2($file); ?>
|
||||
<script>
|
||||
var flen = 0;
|
||||
function add_file(delete_code)
|
||||
{
|
||||
var upload_count = <?=(int)$board['bo_upload_count']?>;
|
||||
if (upload_count && flen >= upload_count)
|
||||
{
|
||||
alert("이 게시판은 "+upload_count+"개 까지만 파일 업로드가 가능합니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
var objTbl;
|
||||
var objRow;
|
||||
var objCell;
|
||||
if (document.getElementById)
|
||||
objTbl = document.getElementById("variableFiles");
|
||||
else
|
||||
objTbl = document.all["variableFiles"];
|
||||
|
||||
objRow = objTbl.insertRow(objTbl.rows.length);
|
||||
objCell = objRow.insertCell(0);
|
||||
|
||||
objCell.innerHTML = "<input type='file' name='bf_file[]' title='파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능'>";
|
||||
if (delete_code)
|
||||
objCell.innerHTML += delete_code;
|
||||
else
|
||||
{
|
||||
<? if ($is_file_content) { ?>
|
||||
objCell.innerHTML += "<br><input type='text' size=50 name='bf_content[]' title='업로드 이미지 파일에 해당 되는 내용을 입력하세요.'>";
|
||||
<? } ?>
|
||||
;
|
||||
}
|
||||
|
||||
flen++;
|
||||
}
|
||||
|
||||
<?=$file_script; //수정시에 필요한 스크립트?>
|
||||
|
||||
function del_file()
|
||||
{
|
||||
// file_length 이하로는 필드가 삭제되지 않아야 합니다.
|
||||
var file_length = <?=(int)$file_length?>;
|
||||
var objTbl = document.getElementById("variableFiles");
|
||||
if (objTbl.rows.length - 1 > file_length) {
|
||||
objTbl.deleteRow(objTbl.rows.length - 1);
|
||||
flen--;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<input type="file" name="bf_file[]" class="frm_input frm_file" size="50" title="파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<input type="text" name="bf_content[]" class="frm_input" size="50" title="파일 설명을 입력해주세요.">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<span onclick="add_file();" style="cursor:pointer;">파일증가</span>
|
||||
<span onclick="del_file();" style="cursor:pointer;">파일감소</span>
|
||||
<th scope="row">파일 #2</th>
|
||||
<td>
|
||||
<input type="file" name="bf_file[]" class="frm_input frm_file" size="50" title="파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<input type="text" name="bf_content[]" class="frm_input" size="50" title="파일 설명을 입력해주세요.">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">파일 #3</th>
|
||||
<td>
|
||||
<input type="file" name="bf_file[]" class="frm_input frm_file" size="50" title="파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<input type="text" name="bf_content[]" class="frm_input" size="50" title="파일 설명을 입력해주세요.">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">파일 #4</th>
|
||||
<td>
|
||||
<input type="file" name="bf_file[]" class="frm_input frm_file" size="50" title="파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<input type="text" name="bf_content[]" class="frm_input" size="50" title="파일 설명을 입력해주세요.">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">파일 #5</th>
|
||||
<td>
|
||||
<input type="file" name="bf_file[]" class="frm_input frm_file" size="50" title="파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<input type="text" name="bf_content[]" class="frm_input" size="50" title="파일 설명을 입력해주세요.">
|
||||
</td>
|
||||
</tr>
|
||||
<?}?>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div>
|
||||
<div class="latest">
|
||||
<strong><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><?=$board['bo_subject']?></a></strong>
|
||||
<ul>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
@ -30,9 +30,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
</li>
|
||||
<? } ?>
|
||||
<? if (count($list) == 0) { //게시물이 없을 때 ?>
|
||||
<li>게시물이 없습니다.</li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
<a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>">더보기</a>
|
||||
</div>
|
||||
<? if (count($list) == 0) { //게시물이 없을 때 ?>
|
||||
<p>게시물이 없습니다.</p>
|
||||
<? } ?>
|
||||
<div class="latest_more"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>">더보기</a></div>
|
||||
</div>
|
||||
|
||||
@ -1,72 +1,73 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
<section>
|
||||
<h1><?=$name?>님께 메일보내기</h1>
|
||||
|
||||
<form name="fformmail" method="post" onsubmit="return fformmail_submit(this);" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type="hidden" name="to" value="<?=$email?>">
|
||||
<input type="hidden" name="attach" value="2">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<? if ($is_member) { // 회원이면 ?>
|
||||
<input type="hidden" name="fnick" value="<?=$member[mb_nick]?>">
|
||||
<input type="hidden" name="fmail" value="<?=$member[mb_email]?>">
|
||||
<? } ?>
|
||||
<table>
|
||||
<caption>메일쓰기</caption>
|
||||
<tbody>
|
||||
<? if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름</label></th>
|
||||
<td><input type="text" id="fnick" name="fnick" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail</label></th>
|
||||
<td><input type="text" id="fmail" name="fmail" required></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="subject">제목</label></th>
|
||||
<td><input type=text id="subject" name="subject" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">형식</th>
|
||||
<td>
|
||||
<input type="radio" id="type_text" name="type" value="0" checked> <label for="type_text">TEXT</label>
|
||||
<input type="radio" id="type_html" name="type" value="1" > <label for="type_html">HTML</label>
|
||||
<input type="radio" id="type_both" name="type" value="2" > <label for="type_both">TEXT+HTML</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="content">내용</label></th>
|
||||
<td><textarea id="content" name="content" required></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 1</label></th>
|
||||
<td><input type="file" id="file1" name="file1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file2">첨부 2</label></th>
|
||||
<td><input type="file" id="file2" name="file2"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="formmail" class="new_win">
|
||||
<h1><?=$name?>님께 메일보내기</h1>
|
||||
|
||||
<fieldset>
|
||||
<legend>자동등록방지</legend>
|
||||
<img id="kcaptcha_image" />
|
||||
<input type="text" name="wr_key" title="자동등록방지" size="10" required>
|
||||
왼쪽의 글자를 입력하세요.
|
||||
</fieldset>
|
||||
<form name="fformmail" method="post" onsubmit="return fformmail_submit(this);" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type="hidden" name="to" value="<?=$email?>">
|
||||
<input type="hidden" name="attach" value="2">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<? if ($is_member) { // 회원이면 ?>
|
||||
<input type="hidden" name="fnick" value="<?=$member[mb_nick]?>">
|
||||
<input type="hidden" name="fmail" value="<?=$member[mb_email]?>">
|
||||
<? } ?>
|
||||
<table class="frm_tbl">
|
||||
<caption>메일쓰기</caption>
|
||||
<tbody>
|
||||
<? if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름</label></th>
|
||||
<td><input type="text" id="fnick" name="fnick" class="frm_input required" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail</label></th>
|
||||
<td><input type="text" id="fmail" name="fmail" class="frm_input required" required></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="subject">제목</label></th>
|
||||
<td><input type=text id="subject" name="subject" class="frm_input required" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">형식</th>
|
||||
<td>
|
||||
<input type="radio" id="type_text" name="type" value="0" checked> <label for="type_text">TEXT</label>
|
||||
<input type="radio" id="type_html" name="type" value="1" > <label for="type_html">HTML</label>
|
||||
<input type="radio" id="type_both" name="type" value="2" > <label for="type_both">TEXT+HTML</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="content">내용</label></th>
|
||||
<td><textarea id="content" name="content" class="required" required></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 1</label></th>
|
||||
<td><input type="file" id="file1" name="file1" class="frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file2">첨부 2</label></th>
|
||||
<td><input type="file" id="file2" name="file2" class="frm_input"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" value="메일발송">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
<fieldset>
|
||||
<legend>자동등록방지</legend>
|
||||
<img id="kcaptcha_image" />
|
||||
<input type="text" name="wr_key" class="fieldset_input required" title="자동등록방지" size="10" required>
|
||||
왼쪽의 글자를 입력하세요.
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" value="메일발송">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<script src="<?="$g4[path]/js/md5.js"?>"></script>
|
||||
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>
|
||||
<script>
|
||||
|
||||
@ -7,13 +7,17 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<form name="fmemberconfirm" method="post" onsubmit="return fmemberconfirm_submit(this);">
|
||||
<input type=hidden name="mb_id" value="<?=$member[mb_id]?>">
|
||||
<input type=hidden name="w" value="u">
|
||||
<fieldset>
|
||||
<fieldset id="member_confirm">
|
||||
<legend>패스워드 확인</legend>
|
||||
|
||||
<p>회원님의 정보를 안전하게 보호하기 위해 패스워드를 한번 더 확인합니다.</p>
|
||||
|
||||
회원아이디
|
||||
<?=$member[mb_id]?>
|
||||
<span id="member_confirm_id"><?=$member[mb_id]?></span>
|
||||
|
||||
<label for="confirm_mb_password">패스워드</label>
|
||||
<input type="password" id="confirm_mb_password" name="mb_password" maxLength="20" size="15" required onkeypress="check_capslock('confirm_mb_password');">
|
||||
<input type="submit" id="btn_submit" value="확인">
|
||||
<input type="password" id="confirm_mb_password" name="mb_password" class="fieldset_input" maxLength="20" size="15" required onkeypress="check_capslock('confirm_mb_password');">
|
||||
<input type="submit" id="btn_submit" class="fieldset_submit" value="확인">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
@ -2,44 +2,47 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<h1>쪽지보내기</h1>
|
||||
|
||||
<ul>
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지보내기</a></li>
|
||||
</ul>
|
||||
<div id="memo_write" class="new_win">
|
||||
<h1>쪽지보내기</h1>
|
||||
|
||||
<form name="fmemoform" method="post" onsubmit="return fmemoform_submit(this);" autocomplete="off">
|
||||
<table>
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디</label></th>
|
||||
<td>
|
||||
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" required value="<?=$me_recv_mb_id?>">
|
||||
여러 회원에게 보낼때는 컴마(,)로 구분하세요.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_memo">내용</label></th>
|
||||
<td><textarea id="me_memo" name="me_memo" required><?=$content?></textarea></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<ul class="new_win_ul">
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지보내기</a></li>
|
||||
</ul>
|
||||
|
||||
<fieldset>
|
||||
<legend>자동등록방지</legend>
|
||||
<img id="kcaptcha_image" />
|
||||
<input type="text" name="wr_key" required>
|
||||
왼쪽의 글자를 입력하세요.
|
||||
</fieldset>
|
||||
<form name="fmemoform" method="post" onsubmit="return fmemoform_submit(this);" autocomplete="off">
|
||||
<table class="frm_tbl">
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디</label></th>
|
||||
<td>
|
||||
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" class="frm_input required" size="47" required value="<?=$me_recv_mb_id?>">
|
||||
<span class="frm_info">여러 회원에게 보낼때는 컴마(,)로 구분하세요.</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_memo">내용</label></th>
|
||||
<td><textarea id="me_memo" name="me_memo" required><?=$content?></textarea></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" value="보내기">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
<fieldset>
|
||||
<legend>자동등록방지</legend>
|
||||
<img id="kcaptcha_image" />
|
||||
<input type="text" name="wr_key" required>
|
||||
왼쪽의 글자를 입력하세요.
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" value="보내기">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script src="<?=$g4[path]?>/js/md5.js"></script>
|
||||
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>
|
||||
|
||||
@ -2,22 +2,28 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>
|
||||
<?
|
||||
//$nick = cut_str($mb[mb_nick], $config[cf_cut_name]);
|
||||
$nick = get_sideview($mb[mb_id], $mb[mb_nick], $mb[mb_email], $mb[mb_homepage]);
|
||||
if ($kind == "recv")
|
||||
echo "{$nick}님께서 {$memo[me_send_datetime]}에 보내온 쪽지의 내용입니다.";
|
||||
if ($kind == "send")
|
||||
echo "{$nick}님께 {$memo[me_send_datetime]}에 보낸 쪽지의 내용입니다.";
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
<p>
|
||||
<?=conv_content($memo[me_memo], 0)?>
|
||||
</p>
|
||||
<div id="memo_view" class="new_win">
|
||||
<h1>
|
||||
<?
|
||||
//$nick = cut_str($mb[mb_nick], $config[cf_cut_name]);
|
||||
$nick = get_sideview($mb[mb_id], $mb[mb_nick], $mb[mb_email], $mb[mb_homepage]);
|
||||
if ($kind == "recv")
|
||||
echo "{$nick}님께서 {$memo[me_send_datetime]}에 보내온 쪽지의 내용입니다.";
|
||||
if ($kind == "send")
|
||||
echo "{$nick}님께 {$memo[me_send_datetime]}에 보낸 쪽지의 내용입니다.";
|
||||
?>
|
||||
</h1>
|
||||
<ul class="new_win_ul">
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지보내기</a></li>
|
||||
</ul>
|
||||
<section>
|
||||
<h2>쪽지내용</h2>
|
||||
<p>
|
||||
<?=conv_content($memo[me_memo], 0)?>
|
||||
</p>
|
||||
</section>
|
||||
<div>
|
||||
<a href="<?=$prev_link?>">이전쪽지</a>
|
||||
<a href="<?=$next_link?>">다음쪽지</a>
|
||||
|
||||
@ -11,12 +11,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
|
||||
<fieldset>
|
||||
<fieldset id="password_confirm">
|
||||
<legend>패스워드 확인</legend>
|
||||
<p>비밀글 기능으로 보호된 글입니다. 작성자와 관리자만 열람하실 수 있습니다. 작성자 본인이시라면 패스워드를 입력하세요.</p>
|
||||
<p>비밀글 기능으로 보호된 글입니다. 작성자와 관리자만 열람하실 수 있습니다.<br>작성자 본인이시라면 패스워드를 입력하세요.</p>
|
||||
<label for="password_wr_password">패스워드</label>
|
||||
<input type="password" id="password_wr_password" name="wr_password" maxLength="20" size="15" required="required" title="패스워드">
|
||||
<input type="submit" value="확인">
|
||||
<input type="password" id="password_wr_password" name="wr_password" class="fieldset_input required" maxLength="20" size="15" required>
|
||||
<input type="submit" class="fieldset_submit" value="확인">
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
@ -2,40 +2,42 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<h1><?=$mb_nick?>님의 프로필</h1>
|
||||
<div id="profile" class="new_win">
|
||||
<h1><?=$mb_nick?>님의 프로필</h1>
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회원권한</th>
|
||||
<td><?=$mb[mb_level]?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">포인트</th>
|
||||
<td><?=number_format($mb[mb_point])?></td>
|
||||
</tr>
|
||||
<? if ($mb_homepage) { ?>
|
||||
<tr>
|
||||
<th scope="row">홈페이지</th>
|
||||
<td><a href="<?=$mb_homepage?>" target="_blank"><?=$mb_homepage?></a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row">회원가입일</th>
|
||||
<td><?=($member[mb_level] >= $mb[mb_level]) ? substr($mb[mb_datetime],0,10) ." (".$mb_reg_after." 일)" : "알 수 없음"; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">최종접속일</th>
|
||||
<td><?=($member[mb_level] >= $mb[mb_level]) ? $mb[mb_today_login] : "알 수 없음";?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="frm_tbl">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회원권한</th>
|
||||
<td><?=$mb[mb_level]?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">포인트</th>
|
||||
<td><?=number_format($mb[mb_point])?></td>
|
||||
</tr>
|
||||
<? if ($mb_homepage) { ?>
|
||||
<tr>
|
||||
<th scope="row">홈페이지</th>
|
||||
<td><a href="<?=$mb_homepage?>" target="_blank"><?=$mb_homepage?></a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row">회원가입일</th>
|
||||
<td><?=($member[mb_level] >= $mb[mb_level]) ? substr($mb[mb_datetime],0,10) ." (".$mb_reg_after." 일)" : "알 수 없음"; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">최종접속일</th>
|
||||
<td><?=($member[mb_level] >= $mb[mb_level]) ? $mb[mb_today_login] : "알 수 없음";?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<section>
|
||||
<h2><?=$mb_nick?>님의 자기소개</h2>
|
||||
<p><?=$mb_profile?></p>
|
||||
</section>
|
||||
<section>
|
||||
<h2><?=$mb_nick?>님의 자기소개</h2>
|
||||
<p><?=$mb_profile?></p>
|
||||
</section>
|
||||
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user