Merge branch 'master' of github.com:gnuboard/g4s
Conflicts: adm/board_list.php bbs/memo.php bbs/memo_form_update.php bbs/memo_view.php head.sub.php
This commit is contained in:
@ -115,9 +115,18 @@ var list_delete_php = 'board_list_delete.php';
|
||||
<th scope="col"><?=subject_sort_link('bo_table')?>TABLE</a></th>
|
||||
<th scope="col"><?=subject_sort_link('bo_skin', '', 'desc')?>스킨</a></th>
|
||||
<th scope="col"><?=subject_sort_link('bo_subject')?>제목</a></th>
|
||||
<<<<<<< HEAD
|
||||
<th scope="col">포인트</th>
|
||||
<th scope="col">검색</th>
|
||||
<th scope="col"><?=subject_sort_link('bo_use')?>사용여부</a></th>
|
||||
=======
|
||||
<th scope="col">읽기P<span class="sound_only">포인트</span></th>
|
||||
<th scope="col">쓰기P<span class="sound_only">포인트</span></th>
|
||||
<th scope="col">댓글P<span class="sound_only">포인트</span></th>
|
||||
<th scope="col">다운P<span class="sound_only">포인트</span></th>
|
||||
<th scope="col">검색<br>사용</th>
|
||||
<th scope="col">검색<br>순서</th>
|
||||
>>>>>>> fca2c7be504cccbd5466136a893f3d3ed875554c
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -146,6 +155,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<td>
|
||||
<?=get_skin_select("board", "bo_skin_$i", "bo_skin[$i]", $row['bo_skin']);?>
|
||||
</td>
|
||||
<<<<<<< HEAD
|
||||
<td><input type="text" id="bo_subject_<?=$i?>" name="bo_subject[<?=$i?>]" class="required" value="<?=get_text($row['bo_subject'])?>" title="게시판제목" size="20" required="required"></td>
|
||||
<td>
|
||||
<label for="bo_read_point_<?=$i?>">읽기</label>
|
||||
@ -162,6 +172,15 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<input type="checkbox" id="bo_use_search_<?=$i?>" name="bo_use_search[<?=$i?>]" <?=$row['bo_use_search']?"checked":""?> value="1">
|
||||
<label for="bo_order_search_<?=$i?>">순서</label>
|
||||
<input type="text" id="bo_order_search_<?=$i?>" name="bo_order_search[<?=$i?>]" value="<?=$row['bo_order_search']?>" size="1">
|
||||
=======
|
||||
<td><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" class="required" value="<?=get_text($row['bo_subject'])?>" title="게시판제목" size="10" required="required"></td>
|
||||
<td><input type="text" name="bo_read_point[<?=$i?>]" value="<?=$row['bo_read_point']?>" size="1" title="읽기"></td>
|
||||
<td><input type="text" name="bo_write_point[<?=$i?>]" value="<?=$row['bo_write_point']?>" size="1" title="쓰기"></td>
|
||||
<td><input type="text" name="bo_comment_point[<?=$i?>]" value="<?=$row['bo_comment_point']?>" size="1" title="댓글"></td>
|
||||
<td><input type="text" name="bo_download_point[<?=$i?>]" value="<?=$row['bo_download_point']?>" size="1" title="다운"></td>
|
||||
<td><input type="checkbox" id="bo_use_search_<?=$i?>" name="bo_use_search[<?=$i?>]" <?=$row['bo_use_search']?"checked":""?> value="1" title="검색사용"></td>
|
||||
<td><input type="text" id="bo_order_search_<?=$i?>" name="bo_order_search[<?=$i?>]" value="<?=$row['bo_order_search']?>" size="1" title="검색순서"></td>
|
||||
>>>>>>> fca2c7be504cccbd5466136a893f3d3ed875554c
|
||||
</td>
|
||||
<td>
|
||||
<select id="bo_use_<?=$i?>" name="bo_use[<?=$i?>]">
|
||||
|
||||
@ -116,7 +116,7 @@ var list_delete_php = 'member_list_delete.php';
|
||||
<option value="mb_recommend">추천인</option>
|
||||
</select>
|
||||
<label for="stx">검색어</label>
|
||||
<input type="text" id="stx" name="stx" required value="<?=isset($stx)?>">
|
||||
<input type="text" id="stx" name="stx" required value="<?=$stx?>">
|
||||
<input type="submit" class="fieldset_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
4
bbs/_head.sub.php
Normal file
4
bbs/_head.sub.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once($g4['path'].'/head.sub.php');
|
||||
?>
|
||||
4
bbs/_tail.sub.php
Normal file
4
bbs/_tail.sub.php
Normal file
@ -0,0 +1,4 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once($g4['path'].'/tail.sub.php');
|
||||
?>
|
||||
@ -21,27 +21,44 @@ include_once($g4['path'].'/head.sub.php');
|
||||
// 이미지 파일이 아닙니다..gif .jpg .png 파일만 가능합니다.
|
||||
// 파일만 가능합니다.
|
||||
// 공백이 없어야 합니다.
|
||||
|
||||
$msg2 = str_replace("\\n", "<br>", $msg);
|
||||
|
||||
if (!$url) $url = $_SERVER['HTTP_REFERER'];
|
||||
|
||||
if($error) {
|
||||
$header2 = "다음 항목에 오류가 있습니다.";
|
||||
} else {
|
||||
$header2 = "다음 내용을 확인해 주세요.";
|
||||
}
|
||||
?>
|
||||
|
||||
<script>
|
||||
alert("<? echo $msg; ?>");
|
||||
document.location.href = "<? echo $url; ?>";
|
||||
</script>
|
||||
|
||||
<noscript>
|
||||
<article id="validation_check">
|
||||
<header>
|
||||
<hgroup>
|
||||
<!-- <h1>회원가입 정보 입력 확인</h1> --> <!-- 수행 중이던 작업 내용 -->
|
||||
<h1><?=$header?></h1> <!-- 수행 중이던 작업 내용 -->
|
||||
<h2>다음 항목<!-- 을 입력하지 않으셨거나 입력 -->에 오류가 있습니다.</h2>
|
||||
<h2><?=$header2?></h2>
|
||||
</hgroup>
|
||||
</header>
|
||||
<p>
|
||||
<!-- <strong>항목</strong> 오류내역 -->
|
||||
<!--
|
||||
<!--
|
||||
<strong>이름</strong> 필수 입력입니다. 한글만 입력할 수 있습니다.<br>
|
||||
<strong>이메일</strong> 올바르게 입력하지 않았습니다.<br>
|
||||
-->
|
||||
<?=$msg?>
|
||||
<?=$msg2?>
|
||||
</p>
|
||||
|
||||
<a href="<?=$url?>">돌아가기</a>
|
||||
</article>
|
||||
</noscript>
|
||||
|
||||
<?
|
||||
include_once($g4['path'].'/tail.sub.php');
|
||||
|
||||
24
bbs/confirm.php
Normal file
24
bbs/confirm.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?
|
||||
include_once('./_common.php');
|
||||
include_once($g4['path'].'/head.sub.php');
|
||||
?>
|
||||
|
||||
<article id="confirm_check">
|
||||
<header>
|
||||
<hgroup>
|
||||
<h1><? echo $header; ?></h1> <!-- 수행 중이던 작업 내용 -->
|
||||
<h2>아래 내용을 확인해 주세요.</h2>
|
||||
</hgroup>
|
||||
</header>
|
||||
<p>
|
||||
<? echo $msg; ?>
|
||||
</p>
|
||||
|
||||
<a href="<? echo $url1; ?>">확인</a>
|
||||
<a href="<? echo $url2; ?>">취소</a><br><br>
|
||||
<a href="<? echo $url3; ?>">돌아가기</a>
|
||||
</article>
|
||||
|
||||
<?
|
||||
include_once($g4['path'].'/tail.sub.php');
|
||||
?>
|
||||
@ -15,6 +15,17 @@ $file = sql_fetch($sql);
|
||||
if (!$file['bf_file'])
|
||||
alert_close('파일 정보가 존재하지 않습니다.');
|
||||
|
||||
// JavaScript 불가일 때
|
||||
if($confirm != 'yes' && $board['bo_download_point'] < 0) {
|
||||
$msg = $file['bf_source'].' 파일을 다운로드 하시면 포인트가 차감('.number_format($board['bo_download_point']).'점)됩니다.\\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\\n그래도 다운로드 하시겠습니까?';
|
||||
$url1 = './download.php?'.$_SERVER['QUERY_STRING'].'&confirm=yes';
|
||||
$url2 = $_SERVER['HTTP_REFERER'];
|
||||
|
||||
//$url1 = 확인link, $url2=취소link
|
||||
// 특정주소로 이동시키려면 $url3 이용
|
||||
confirm($msg, $url1, $url2);
|
||||
}
|
||||
|
||||
if ($member['mb_level'] < $board['bo_download_level']) {
|
||||
$alert_msg = '다운로드 권한이 없습니다.';
|
||||
if ($member['mb_id'])
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once($g4['path'].'/head.sub.php');
|
||||
|
||||
$no = (int)$no;
|
||||
|
||||
// 쿠키에 저장된 ID값과 넘어온 ID값을 비교하여 같지 않을 경우 오류 발생
|
||||
// 다른곳에서 링크 거는것을 방지하기 위한 코드
|
||||
if (!get_session('ss_view_'.$bo_table.'_'.$wr_id))
|
||||
alert('잘못된 접근입니다.');
|
||||
|
||||
$sql = " select bf_source from {$g4['board_file_table']} where bo_table = '$bo_table' and wr_id = '$wr_id' and bf_no = '$no' ";
|
||||
$file = sql_fetch($sql);
|
||||
|
||||
$board_href = 'bo_table='.$bo_table;
|
||||
if($wr_id)
|
||||
$board_href .= '&wr_id='.$wr_id;
|
||||
|
||||
if($qstr)
|
||||
$board_href .= $qstr;
|
||||
|
||||
if($board['bo_download_point'] < 0) {
|
||||
echo '
|
||||
<article>
|
||||
<header>
|
||||
<hgroup>
|
||||
<h1>파일다운로드</h1>
|
||||
<h2>아래 내용을 확인해 주세요.</h2>
|
||||
</hgroup>
|
||||
</header>
|
||||
<p>
|
||||
'.$file['bf_source'].' 파일을 다운로드 하시면 포인트가 차감('.number_format($board['bo_download_point']).'점)됩니다.<br />
|
||||
포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.<br />
|
||||
그래도 다운로드 하시겠습니까?
|
||||
</p>
|
||||
<a href="./download.php?'.$_SERVER['QUERY_STRING'].'">파일다운로드</a>
|
||||
<a href="./board.php?'.$board_href.'">다운로드안함</a>
|
||||
';
|
||||
} else {
|
||||
goto_url('./download.php?'.$_SERVER['QUERY_STRING']);
|
||||
}
|
||||
|
||||
include_once($g4['path'].'/tail.sub.php');
|
||||
?>
|
||||
@ -2,7 +2,7 @@
|
||||
include_once('./_common.php');
|
||||
|
||||
$g4['title'] = '로그인';
|
||||
include_once('./_head.php');
|
||||
include_once('./_head.sub.php');
|
||||
|
||||
$p = parse_url($url);
|
||||
if ((isset($p['scheme']) && $p['scheme']) ||
|
||||
@ -50,5 +50,5 @@ else
|
||||
|
||||
include_once($member_skin_path.'/login.skin.php');
|
||||
|
||||
include_once('./_tail.php');
|
||||
include_once('./_tail.sub.php');
|
||||
?>
|
||||
|
||||
55
bbs/memo.php
55
bbs/memo.php
@ -1,16 +1,21 @@
|
||||
<?
|
||||
include_once('./_common.php');
|
||||
<<<<<<< HEAD
|
||||
|
||||
if ($is_guest)
|
||||
=======
|
||||
|
||||
if (!$member[mb_id])
|
||||
>>>>>>> fca2c7be504cccbd5466136a893f3d3ed875554c
|
||||
alert_close('회원만 이용하실 수 있습니다.');
|
||||
|
||||
$g4['title'] = '내 쪽지함';
|
||||
include_once($g4['path'].'/head.sub.php');
|
||||
|
||||
// 설정일이 지난 메모 삭제
|
||||
$sql = " delete from {$g4[memo_table]}
|
||||
where me_recv_mb_id = '{$member[mb_id]}'
|
||||
and me_send_datetime < '".date("Y-m-d H:i:s", $g4[server_time] - (86400 * $config[cf_memo_del]))."' ";
|
||||
$sql = " delete from {$g4['memo_table']}
|
||||
where me_recv_mb_id = '{$member['mb_id']}'
|
||||
and me_send_datetime < '".date("Y-m-d H:i:s", $g4['server_time'] - (86400 * $config['cf_memo_del']))."' ";
|
||||
sql_query($sql);
|
||||
|
||||
if (!$kind) $kind = 'recv';
|
||||
@ -22,17 +27,17 @@ else if ($kind == 'send')
|
||||
else
|
||||
alert(''.$kind .'값을 넘겨주세요.');
|
||||
|
||||
$sql = " select count(*) as cnt from {$g4[memo_table]} where me_{$kind}_mb_id = '{$member[mb_id]}' ";
|
||||
$sql = " select count(*) as cnt from {$g4['memo_table']} where me_{$kind}_mb_id = '{$member['mb_id']}' ";
|
||||
$row = sql_fetch($sql);
|
||||
$total_count = number_format($row[cnt]);
|
||||
$total_count = number_format($row['cnt']);
|
||||
|
||||
if ($kind == 'recv')
|
||||
{
|
||||
$kind_title = '받은';
|
||||
$recv_img = 'on';
|
||||
$send_img = 'off';
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
$kind_title = '보낸';
|
||||
$recv_img = 'off';
|
||||
@ -41,41 +46,45 @@ else
|
||||
|
||||
$list = array();
|
||||
|
||||
$sql = " select a.*, b.mb_id, b.mb_nick, b.mb_email, b.mb_homepage
|
||||
from {$g4[memo_table]} a
|
||||
left join {$g4[member_table]} b on (a.me_{$unkind}_mb_id = b.mb_id)
|
||||
where a.me_{$kind}_mb_id = '{$member[mb_id]}'
|
||||
$sql = " select a.*, b.mb_id, b.mb_nick, b.mb_email, b.mb_homepage
|
||||
from {$g4['memo_table']} a
|
||||
left join {$g4['member_table']} b on (a.me_{$unkind}_mb_id = b.mb_id)
|
||||
where a.me_{$kind}_mb_id = '{$member['mb_id']}'
|
||||
order by a.me_id desc ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$list[$i] = $row;
|
||||
|
||||
$mb_id = $row['me_'.$unkind.'_mb_id'];
|
||||
$mb_id = $row["me_{$unkind}_mb_id"];
|
||||
|
||||
if ($row[mb_nick])
|
||||
$mb_nick = $row[mb_nick];
|
||||
if ($row['mb_nick'])
|
||||
$mb_nick = $row['mb_nick'];
|
||||
else
|
||||
$mb_nick = '정보없음';
|
||||
|
||||
$name = get_sideview($row[mb_id], $row[mb_nick], $row[mb_email], $row[mb_homepage]);
|
||||
$name = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']);
|
||||
|
||||
if (substr($row[me_read_datetime],0,1) == 0)
|
||||
if (substr($row['me_read_datetime'],0,1) == 0)
|
||||
$read_datetime = '아직 읽지 않음';
|
||||
else
|
||||
$read_datetime = substr($row[me_read_datetime],2,14);
|
||||
$read_datetime = substr($row['me_read_datetime'],2,14);
|
||||
|
||||
$send_datetime = substr($row[me_send_datetime],2,14);
|
||||
$send_datetime = substr($row['me_send_datetime'],2,14);
|
||||
|
||||
$list[$i][name] = $name;
|
||||
$list[$i][send_datetime] = $send_datetime;
|
||||
$list[$i][read_datetime] = $read_datetime;
|
||||
$list[$i][view_href] = './memo_view.php?me_id='.$row[me_id].'&kind='.$kind;
|
||||
$list[$i][del_href] = './memo_delete.php?me_id='.$row[me_id].'&kind='.$kind;
|
||||
$list[$i]['name'] = $name;
|
||||
$list[$i]['send_datetime'] = $send_datetime;
|
||||
$list[$i]['read_datetime'] = $read_datetime;
|
||||
$list[$i]['view_href'] = './memo_view.php?me_id='.$row['me_id'].'&kind='.$kind;
|
||||
$list[$i]['del_href'] = './memo_delete.php?me_id='.$row['me_id'].'&kind='.$kind;
|
||||
}
|
||||
|
||||
echo '<script src="'.$g4['path'].'/js/sideview.js"></script>';
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
$member_skin_path = $g4['path'].'/skin/member/'.$config['cf_member_skin'];
|
||||
>>>>>>> fca2c7be504cccbd5466136a893f3d3ed875554c
|
||||
include_once($member_skin_path.'/memo.skin.php');
|
||||
|
||||
include_once($g4['path'].'/tail.sub.php');
|
||||
|
||||
@ -2,10 +2,17 @@
|
||||
define('_CAPTCHA_', 1);
|
||||
include_once('./_common.php');
|
||||
|
||||
<<<<<<< HEAD
|
||||
if ($is_guest)
|
||||
alert('회원만 이용하실 수 있습니다.');
|
||||
|
||||
if (!chk_captcha()) {
|
||||
=======
|
||||
if (!$is_member)
|
||||
alert('회원만 이용하실 수 있습니다.');
|
||||
|
||||
if ($is_guest && !chk_captcha()) {
|
||||
>>>>>>> fca2c7be504cccbd5466136a893f3d3ed875554c
|
||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
@ -15,52 +22,52 @@ $msg = '';
|
||||
$error_list = array();
|
||||
$member_list = array();
|
||||
for ($i=0; $i<count($recv_list); $i++) {
|
||||
$row = sql_fetch(" select mb_id, mb_nick, mb_open, mb_leave_date, mb_intercept_date from {$g4[member_table]} where mb_id = '{$recv_list[$i]}' ");
|
||||
$row = sql_fetch(" select mb_id, mb_nick, mb_open, mb_leave_date, mb_intercept_date from {$g4['member_table']} where mb_id = '{$recv_list[$i]}' ");
|
||||
// 관리자가 아니면서
|
||||
// 가입된 회원이 아니거나 정보공개를 하지 않았거나 탈퇴한 회원이거나 차단된 회원에게 쪽지를 보내는것은 에러
|
||||
if ((!$row[mb_id] || !$row[mb_open] || $row[mb_leave_date] || $row[mb_intercept_date]) && !$is_admin) {
|
||||
if ((!$row['mb_id'] || !$row['mb_open'] || $row['mb_leave_date'] || $row['mb_intercept_date']) && !$is_admin) {
|
||||
$error_list[] = $recv_list[$i];
|
||||
} else {
|
||||
$member_list['id'][] = $row[mb_id];
|
||||
$member_list['nick'][] = $row[mb_nick];
|
||||
$member_list['id'][] = $row['mb_id'];
|
||||
$member_list['nick'][] = $row['mb_nick'];
|
||||
}
|
||||
}
|
||||
|
||||
$error_msg = implode(",", $error_list);
|
||||
|
||||
if ($error_msg && !$is_admin)
|
||||
alert('회원아이디 \''.$error_msg.'\' 은(는) 존재(또는 정보공개)하지 않는 회원아이디 이거나 탈퇴, 접근차단된 회원아이디 입니다.'.PHP_EOL.PHP_EOL.'쪽지를 발송하지 않았습니다.');
|
||||
alert('회원아이디 \''.$error_msg.'\' 은(는) 존재(또는 정보공개)하지 않는 회원아이디 이거나 탈퇴, 접근차단된 회원아이디 입니다.\\n\\n쪽지를 발송하지 않았습니다.');
|
||||
|
||||
if (!$is_admin) {
|
||||
if (count($member_list['id'])) {
|
||||
$point = (int)$config[cf_memo_send_point] * count($member_list['id']);
|
||||
$point = (int)$config['cf_memo_send_point'] * count($member_list['id']);
|
||||
if ($point) {
|
||||
if ($member[mb_point] - $point < 0) {
|
||||
alert('보유하신 포인트('.number_format($member[mb_point]).'점)가 모자라서 쪽지를 보낼 수 없습니다.');
|
||||
}
|
||||
if ($member['mb_point'] - $point < 0) {
|
||||
alert('보유하신 포인트('.number_format($member['mb_point']).'점)가 모자라서 쪽지를 보낼 수 없습니다.');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for ($i=0; $i<count($member_list['id']); $i++) {
|
||||
$tmp_row = sql_fetch(" select max(me_id) as max_me_id from {$g4[memo_table]} ");
|
||||
$me_id = $tmp_row[max_me_id] + 1;
|
||||
$tmp_row = sql_fetch(" select max(me_id) as max_me_id from {$g4['memo_table']} ");
|
||||
$me_id = $tmp_row['max_me_id'] + 1;
|
||||
|
||||
$recv_mb_id = $member_list['id'][$i];
|
||||
$recv_mb_nick = get_text($member_list['nick'][$i]);
|
||||
|
||||
// 쪽지 INSERT
|
||||
$sql = " insert into $g4[memo_table]
|
||||
$sql = " insert into {$g4['memo_table']}
|
||||
( me_id, me_recv_mb_id, me_send_mb_id, me_send_datetime, me_memo )
|
||||
values ( '{$me_id}', '{$recv_mb_id}', '{$member[mb_id]}', '{$g4[time_ymdhis]}', '{$_POST[me_memo]}' ) ";
|
||||
values ( '$me_id', '$recv_mb_id', '{$member['mb_id']}', '{$g4['time_ymdhis']}', '{$_POST['me_memo']}' ) ";
|
||||
sql_query($sql);
|
||||
|
||||
// 실시간 쪽지 알림 기능
|
||||
$sql = " update {$g4[member_table]} set mb_memo_call = '{$member[mb_id]}' where mb_id = '{$recv_mb_id}' ";
|
||||
$sql = " update {$g4['member_table']} set mb_memo_call = '{$member['mb_id']}' where mb_id = '$recv_mb_id' ";
|
||||
sql_query($sql);
|
||||
|
||||
if (!$is_admin) {
|
||||
insert_point($member[mb_id], (int)$config[cf_memo_send_point] * (-1), '{$recv_mb_nick}({$recv_mb_id})님께 쪽지 발송', '{@memo}', $recv_mb_id, $me_id);
|
||||
insert_point($member['mb_id'], (int)$config['cf_memo_send_point'] * (-1), $recv_mb_nick.'('.$recv_mb_id.')님께 쪽지 발송', '{@memo}', $recv_mb_id, $me_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,27 +1,27 @@
|
||||
<?
|
||||
include_once('./_common.php');
|
||||
|
||||
if (!$member[mb_id])
|
||||
if (!$is_member)
|
||||
alert('회원만 이용하실 수 있습니다.');
|
||||
|
||||
if ($kind == 'recv')
|
||||
if ($kind == 'recv')
|
||||
{
|
||||
$t = '받은';
|
||||
$unkind = 'send';
|
||||
|
||||
$sql = " update {$g4[memo_table]}
|
||||
set me_read_datetime = '{$g4[time_ymdhis]}'
|
||||
where me_id = '{$me_id}'
|
||||
and me_recv_mb_id = '{$member[mb_id]}'
|
||||
$sql = " update {$g4['memo_table']}
|
||||
set me_read_datetime = '{$g4['time_ymdhis']}'
|
||||
where me_id = '$me_id'
|
||||
and me_recv_mb_id = '{$member['mb_id']}'
|
||||
and me_read_datetime = '0000-00-00 00:00:00' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
else if ($kind == 'send')
|
||||
}
|
||||
else if ($kind == 'send')
|
||||
{
|
||||
$t = '보낸';
|
||||
$unkind = 'recv';
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
alert($kind.' 값을 넘겨주세요.');
|
||||
}
|
||||
@ -29,22 +29,23 @@ else
|
||||
$g4['title'] = $t.' 쪽지 보기';
|
||||
include_once($g4['path'].'/head.sub.php');
|
||||
|
||||
$sql = " select * from {$g4[memo_table]}
|
||||
where me_id = '{$me_id}'
|
||||
and me_{$kind}_mb_id = '{$member[mb_id]}' ";
|
||||
$sql = " select * from {$g4['memo_table']}
|
||||
where me_id = '$me_id'
|
||||
and me_{$kind}_mb_id = '{$member['mb_id']}' ";
|
||||
$memo = sql_fetch($sql);
|
||||
|
||||
// 이전 쪽지
|
||||
$sql = " select * from {$g4[memo_table]}
|
||||
$sql = " select * from {$g4['memo_table']}
|
||||
where me_id > '{$me_id}'
|
||||
and me_{$kind}_mb_id = '{$member[mb_id]}'
|
||||
and me_{$kind}_mb_id = '{$member['mb_id']}'
|
||||
order by me_id asc
|
||||
limit 1 ";
|
||||
$prev = sql_fetch($sql);
|
||||
if ($prev[me_id])
|
||||
$prev_link = './memo_view.php?kind='.$kind.'&me_id='.$prev[me_id];
|
||||
if ($prev['me_id'])
|
||||
$prev_link = './memo_view.php?kind='.$kind.'&me_id='.$prev['me_id'];
|
||||
else
|
||||
$prev_link = 'javascript:alert(\'쪽지의 처음입니다.\');';
|
||||
//$prev_link = 'javascript:alert(\'쪽지의 처음입니다.\');';
|
||||
$prev_link = '';
|
||||
|
||||
|
||||
// 다음 쪽지
|
||||
@ -57,12 +58,17 @@ $next = sql_fetch($sql);
|
||||
if ($next[me_id])
|
||||
$next_link = './memo_view.php?kind='.$kind.'&me_id='.$next[me_id];
|
||||
else
|
||||
$next_link = 'javascript:alert(\'쪽지의 마지막입니다.\');';
|
||||
//$next_link = 'javascript:alert(\'쪽지의 마지막입니다.\');';
|
||||
$next_link = '';
|
||||
|
||||
$mb = get_member($memo['me_'.$unkind.'_mb_id']);
|
||||
|
||||
echo '<script src="'.$g4['path'].'/js/sideview.js"></script>';
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
$member_skin_path = $g4['path'].'/skin/member/'.$config['cf_member_skin'];
|
||||
>>>>>>> fca2c7be504cccbd5466136a893f3d3ed875554c
|
||||
include_once($member_skin_path.'/memo_view.skin.php');
|
||||
|
||||
include_once($g4['path'].'/tail.sub.php');
|
||||
|
||||
@ -85,13 +85,20 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
<div class="btn_win btn_confirm">
|
||||
<input type="submit" id="btn_submit" class="btn_submit" value="<?=$act?>">
|
||||
<a href="javascript:window.close();" class="btn_cancel">창닫기</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".btn_win").append("<a class=\"btn_cancel\">창닫기</a>");
|
||||
|
||||
$(".btn_win a").click(function() {
|
||||
window.close();
|
||||
});
|
||||
});
|
||||
|
||||
function fboardmoveall_submit(f)
|
||||
{
|
||||
var check = false;
|
||||
|
||||
@ -104,12 +104,18 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<div class="pg">
|
||||
<?=get_paging($config[cf_write_pages], $page, $total_page, $_SERVER[PHP_SELF].'?'.$qstr.'&page=');?>
|
||||
</div>
|
||||
|
||||
<div class="btn_win">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#point").append("<div class=\"btn_win\"><a>창닫기</a></div>");
|
||||
|
||||
$(".btn_win a").click(function() {
|
||||
window.close();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?
|
||||
include_once($g4['path'].'/tail.sub.php');
|
||||
?>
|
||||
@ -2,9 +2,12 @@
|
||||
include_once('./_common.php');
|
||||
|
||||
$po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '{$po_id}' ");
|
||||
if (!$po['po_id'])
|
||||
if (!$po['po_id'])
|
||||
alert('설문조사 정보가 없습니다.');
|
||||
|
||||
if ($member['mb_level'] < $po['po_level'])
|
||||
alert('권한 '.$po['po_level'].' 이상의 회원만 결과를 보실 수 있습니다.');
|
||||
|
||||
$g4['title'] = '설문조사 결과';
|
||||
|
||||
$po_subject = $po['po_subject'];
|
||||
@ -31,11 +34,11 @@ for ($i=1; $i<=9; $i++) {
|
||||
|
||||
$list[$i]['content'] = $poll;
|
||||
$list[$i]['cnt'] = $po['po_cnt'.$i];
|
||||
if ($total_po_cnt > 0)
|
||||
if ($total_po_cnt > 0)
|
||||
$list[$i]['rate'] = ($list[$i]['cnt'] / $total_po_cnt) * 100;
|
||||
|
||||
$bar = (int)($list[$i]['cnt'] / $max * 100);
|
||||
|
||||
|
||||
$list[$i]['bar'] = $bar;
|
||||
$list[$i]['num'] = $i;
|
||||
}
|
||||
@ -54,8 +57,8 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$list2[$i]['datetime'] = $row['pc_datetime'];
|
||||
|
||||
$list2[$i]['del'] = '';
|
||||
if ($is_admin == 'super' || ($row['mb_id'] == $member['mb_id'] && $row['mb_id']))
|
||||
$list2[$i]['del'] = '<a href="'.$g4['bbs_url'].'/poll_etc_update.php?w=d&pc_id='.$row['pc_id'].'&po_id='.$po_id.'\');">';
|
||||
if ($is_admin == 'super' || ($row['mb_id'] == $member['mb_id'] && $row['mb_id']))
|
||||
$list2[$i]['del'] = '<a href="'.$g4['bbs_url'].'/poll_etc_update.php?w=d&pc_id='.$row['pc_id'].'&po_id='.$po_id.'&skin_dir='.$skin_dir.'">';
|
||||
}
|
||||
|
||||
// 기타의견 입력
|
||||
@ -63,9 +66,9 @@ $is_etc = false;
|
||||
if ($po['po_etc']) {
|
||||
$is_etc = true;
|
||||
$po_etc = $po['po_etc'];
|
||||
if ($member['mb_id'])
|
||||
if ($member['mb_id'])
|
||||
$name = '<b>'.$member['mb_nick'].'</b> <input type="hidden" name="pc_name" value="'.$member['mb_nick'].'">';
|
||||
else
|
||||
else
|
||||
$name = '<input type="text" name="pc_name" size="10" class="input" required>';
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ if (!($w == '' || $w == 'u')) {
|
||||
}
|
||||
|
||||
if ($w == 'u' && $is_admin == 'super') {
|
||||
if (file_exists($g4['path'].'/DEMO'))
|
||||
if (file_exists($g4['path'].'/DEMO'))
|
||||
alert('데모 화면에서는 하실(보실) 수 없는 작업입니다.');
|
||||
}
|
||||
|
||||
@ -22,6 +22,7 @@ if (!chk_captcha()) {
|
||||
|
||||
$mb_id = escape_trim($_POST['mb_id']);
|
||||
$mb_password = escape_trim($_POST['mb_password']);
|
||||
$mb_password_re = escape_trim($_POST['mb_password_re']);
|
||||
$mb_name = escape_trim($_POST['mb_name']);
|
||||
$mb_nick = escape_trim($_POST['mb_nick']);
|
||||
$mb_email = escape_trim($_POST['mb_email']);
|
||||
@ -54,8 +55,10 @@ if ($w == '' || $w == 'u') {
|
||||
|
||||
if ($msg = empty_mb_id($mb_id)) alert($msg);
|
||||
|
||||
if ($w == '' && !$mb_password)
|
||||
if ($w == '' && !$mb_password)
|
||||
alert('패스워드가 넘어오지 않았습니다.');
|
||||
if($w == '' && $mb_password != $mb_password_re)
|
||||
alert('패스워드가 일치하지 않습니다.');
|
||||
|
||||
if ($msg = empty_mb_name($mb_id)) alert($msg);
|
||||
if ($msg = empty_mb_nick($mb_nick)) alert($msg);
|
||||
@ -189,19 +192,19 @@ if ($w == '') {
|
||||
|
||||
$mb_md5 = md5($mb_id.$mb_email.$g4['time_ymdhis']);
|
||||
$certify_href = $g4['url'].'/'.$g4['bbs'].'/email_certify.php?mb_id='.$mb_id.'&mb_md5='.$mb_md5;
|
||||
|
||||
|
||||
ob_start();
|
||||
include_once ('./register_form_update_mail1.php');
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
||||
mailer($admin['mb_nick'], $admin['mb_email'], $mb_email, $subject, $content, 1);
|
||||
}
|
||||
|
||||
// 최고관리자님께 메일 발송
|
||||
if ($config['cf_email_mb_super_admin']) {
|
||||
$subject = $mb_nick .' 님께서 회원으로 가입하셨습니다.';
|
||||
|
||||
|
||||
ob_start();
|
||||
include_once ('./register_form_update_mail2.php');
|
||||
$content = ob_get_contents();
|
||||
@ -211,7 +214,7 @@ if ($w == '') {
|
||||
}
|
||||
|
||||
// 메일인증 사용하지 않는 경우에만 로그인
|
||||
if (!$config['cf_use_email_certify'])
|
||||
if (!$config['cf_use_email_certify'])
|
||||
set_session('ss_mb_id', $mb_id);
|
||||
|
||||
set_session('ss_mb_reg', $mb_id);
|
||||
@ -290,12 +293,12 @@ if ($w == '') {
|
||||
|
||||
$mb_md5 = md5($mb_id.$mb_email.$member['mb_datetime']);
|
||||
$certify_href = $g4['url'].'/'.$g4['bbs'].'/email_certify.php?mb_id='.$mb_id.'&mb_md5='.$mb_md5;
|
||||
|
||||
|
||||
ob_start();
|
||||
include_once ('./register_form_update_mail3.php');
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
||||
mailer($admin['mb_nick'], $admin['mb_email'], $mb_email, $subject, $content, 1);
|
||||
}
|
||||
}
|
||||
@ -305,7 +308,7 @@ if ($w == '') {
|
||||
@include_once ($g4['path'].'/skin/member/'.$config['cf_member_skin'].'/register_update.skin.php');
|
||||
|
||||
|
||||
if ($msg)
|
||||
if ($msg)
|
||||
echo '<script>alert(\''.$msg.'\');</script>';
|
||||
|
||||
if ($w == "") {
|
||||
|
||||
@ -50,7 +50,7 @@ $notice_array = explode(',', trim($board['bo_notice']));
|
||||
if ($w == 'u' || $w == 'r') {
|
||||
$wr = get_write($write_table, $wr_id);
|
||||
if (!$wr['wr_id']) {
|
||||
alert("글이 존재하지 않습니다.\\n글이 삭제되었거나 이동하였을 수 있습니다.");
|
||||
alert("글이 존재하지 않습니다.\\n글이 삭제되었거나 이동하였을 수 있습니다.");
|
||||
}
|
||||
}
|
||||
|
||||
@ -60,7 +60,6 @@ if (!$is_admin && !$board['bo_use_secret'] && $secret) {
|
||||
}
|
||||
|
||||
// 외부에서 글을 등록할 수 있는 버그가 존재하므로 비밀글 무조건 사용일때는 관리자를 제외(공지)하고 무조건 비밀글로 등록
|
||||
$secret = '';
|
||||
if (!$is_admin && $board['bo_use_secret'] == 2) {
|
||||
$secret = 'secret';
|
||||
}
|
||||
@ -146,7 +145,7 @@ if ($w == '' || $w == 'u') {
|
||||
$reply = $reply_array['wr_reply'] . $reply_char;
|
||||
|
||||
} else {
|
||||
alert('w 값이 제대로 넘어오지 않았습니다.');
|
||||
alert('w 값이 제대로 넘어오지 않았습니다.');
|
||||
}
|
||||
|
||||
if ($is_guest && !chk_captcha()) {
|
||||
@ -155,15 +154,15 @@ if ($is_guest && !chk_captcha()) {
|
||||
|
||||
if ($w == '' || $w == 'r') {
|
||||
if (isset($_SESSION['ss_datetime'])) {
|
||||
if ($_SESSION['ss_datetime'] >= ($g4['server_time'] - $config['cf_delay_sec']) && !$is_admin)
|
||||
if ($_SESSION['ss_datetime'] >= ($g4['server_time'] - $config['cf_delay_sec']) && !$is_admin)
|
||||
alert('너무 빠른 시간내에 게시물을 연속해서 올릴 수 없습니다.');
|
||||
}
|
||||
|
||||
set_session("ss_datetime", $g4['server_time']);
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($_POST['wr_subject']) || !trim($_POST['wr_subject']))
|
||||
alert('제목을 입력하여 주십시오.');
|
||||
if (!isset($_POST['wr_subject']) || !trim($_POST['wr_subject']))
|
||||
alert('제목을 입력하여 주십시오.');
|
||||
|
||||
// 디렉토리가 없다면 생성합니다. (퍼미션도 변경하구요.)
|
||||
@mkdir($g4['path'].'/data/file/'.$bo_table, 0707);
|
||||
@ -248,14 +247,14 @@ for ($i=0; $i<count($_FILES['bf_file']['name']); $i++) {
|
||||
|
||||
// 접미사를 붙인 파일명
|
||||
//$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr(md5(uniqid($g4['server_time'])),0,8).'_'.urlencode($filename);
|
||||
// 달빛온도님 수정 : 한글파일은 urlencode($filename) 처리를 할경우 '%'를 붙여주게 되는데 '%'표시는 미디어플레이어가 인식을 못하기 때문에 재생이 안됩니다. 그래서 변경한 파일명에서 '%'부분을 빼주면 해결됩니다.
|
||||
//$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr(md5(uniqid($g4['server_time'])),0,8).'_'.str_replace('%', '', urlencode($filename));
|
||||
// 달빛온도님 수정 : 한글파일은 urlencode($filename) 처리를 할경우 '%'를 붙여주게 되는데 '%'표시는 미디어플레이어가 인식을 못하기 때문에 재생이 안됩니다. 그래서 변경한 파일명에서 '%'부분을 빼주면 해결됩니다.
|
||||
//$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr(md5(uniqid($g4['server_time'])),0,8).'_'.str_replace('%', '', urlencode($filename));
|
||||
shuffle($chars_array);
|
||||
$shuffle = implode('', $chars_array);
|
||||
|
||||
// 첨부파일 첨부시 첨부파일명에 공백이 포함되어 있으면 일부 PC에서 보이지 않거나 다운로드 되지 않는 현상이 있습니다. (길상여의 님 090925)
|
||||
//$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.str_replace('%', '', urlencode($filename));
|
||||
$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.str_replace('%', '', urlencode(str_replace(' ', '_', $filename)));
|
||||
//$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.str_replace('%', '', urlencode($filename));
|
||||
$upload[$i]['file'] = abs(ip2long($_SERVER['REMOTE_ADDR'])).'_'.substr($shuffle,0,8).'_'.str_replace('%', '', urlencode(str_replace(' ', '_', $filename)));
|
||||
|
||||
$dest_file = $g4['path'].'/data/file/'.$bo_table.'/'.$upload[$i]['file'];
|
||||
|
||||
@ -289,7 +288,7 @@ if ($w == '' || $w == 'r') {
|
||||
|
||||
if ($w == 'r') {
|
||||
// 답변의 원글이 비밀글이라면 패스워드는 원글과 동일하게 넣는다.
|
||||
if ($secret)
|
||||
if ($secret)
|
||||
$wr_password = $wr['wr_password'];
|
||||
|
||||
$wr_id = $wr_id . $reply;
|
||||
@ -300,45 +299,45 @@ if ($w == '' || $w == 'r') {
|
||||
$wr_reply = '';
|
||||
}
|
||||
|
||||
$sql = " insert into {$write_table}
|
||||
set wr_num = '{$wr_num}',
|
||||
wr_reply = '{$wr_reply}',
|
||||
$sql = " insert into $write_table
|
||||
set wr_num = '$wr_num',
|
||||
wr_reply = '$wr_reply',
|
||||
wr_comment = 0,
|
||||
ca_name = '{$ca_name}',
|
||||
wr_option = '{$html},{$secret},{$mail}',
|
||||
wr_subject = '{$wr_subject}',
|
||||
wr_content = '{$wr_content}',
|
||||
wr_link1 = '{$wr_link1}',
|
||||
wr_link2 = '{$wr_link2}',
|
||||
ca_name = '$ca_name',
|
||||
wr_option = '$html,$secret,$mail',
|
||||
wr_subject = '$wr_subject',
|
||||
wr_content = '$wr_content',
|
||||
wr_link1 = '$wr_link1',
|
||||
wr_link2 = '$wr_link2',
|
||||
wr_link1_hit = 0,
|
||||
wr_link2_hit = 0,
|
||||
wr_hit = 0,
|
||||
wr_good = 0,
|
||||
wr_nogood = 0,
|
||||
mb_id = '{$member['mb_id']}',
|
||||
wr_password = '{$wr_password}',
|
||||
wr_name = '{$wr_name}',
|
||||
wr_email = '{$wr_email}',
|
||||
wr_homepage = '{$wr_homepage}',
|
||||
wr_password = '$wr_password',
|
||||
wr_name = '$wr_name',
|
||||
wr_email = '$wr_email',
|
||||
wr_homepage = '$wr_homepage',
|
||||
wr_datetime = '{$g4['time_ymdhis']}',
|
||||
wr_last = '{$g4['time_ymdhis']}',
|
||||
wr_ip = '{$_SERVER['REMOTE_ADDR']}',
|
||||
wr_1 = '{$wr_1}',
|
||||
wr_2 = '{$wr_2}',
|
||||
wr_3 = '{$wr_3}',
|
||||
wr_4 = '{$wr_4}',
|
||||
wr_5 = '{$wr_5}',
|
||||
wr_6 = '{$wr_6}',
|
||||
wr_7 = '{$wr_7}',
|
||||
wr_8 = '{$wr_8}',
|
||||
wr_9 = '{$wr_9}',
|
||||
wr_10 = '{$wr_10}' ";
|
||||
wr_1 = '$wr_1',
|
||||
wr_2 = '$wr_2',
|
||||
wr_3 = '$wr_3',
|
||||
wr_4 = '$wr_4',
|
||||
wr_5 = '$wr_5',
|
||||
wr_6 = '$wr_6',
|
||||
wr_7 = '$wr_7',
|
||||
wr_8 = '$wr_8',
|
||||
wr_9 = '$wr_9',
|
||||
wr_10 = '$wr_10' ";
|
||||
sql_query($sql);
|
||||
|
||||
$wr_id = mysql_insert_id();
|
||||
|
||||
// 부모 아이디에 UPDATE
|
||||
sql_query(" update {$write_table} set wr_parent = '{$wr_id}' where wr_id = '{$wr_id}' ");
|
||||
sql_query(" update $write_table set wr_parent = '$wr_id' where wr_id = '$wr_id' ");
|
||||
|
||||
// 새글 INSERT
|
||||
//sql_query(" insert into $g4['board_new_table'] ( bo_table, wr_id, wr_parent, bn_datetime ) values ( '$bo_table', '$wr_id', '$wr_id', '$g4['time_ymdhis']' ) ");
|
||||
@ -444,7 +443,7 @@ if ($w == '' || $w == 'r') {
|
||||
sql_query($sql);
|
||||
|
||||
if ($notice) {
|
||||
//if (!preg_match("/[^0-9]{0,1}{$wr_id}[\r]{0,1}/",$board['bo_notice']))
|
||||
//if (!preg_match("/[^0-9]{0,1}{$wr_id}[\r]{0,1}/",$board['bo_notice']))
|
||||
if (!in_array((int)$wr_id, $notice_array)) {
|
||||
$bo_notice = $wr_id . '\n' . $board['bo_notice'];
|
||||
sql_query(" update {$g4['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' ");
|
||||
@ -464,18 +463,18 @@ if ($w == '' || $w == 'r') {
|
||||
//------------------------------------------------------------------------------
|
||||
// 가변 파일 업로드
|
||||
// 나중에 테이블에 저장하는 이유는 $wr_id 값을 저장해야 하기 때문입니다.
|
||||
for ($i=0; $i<count($upload); $i++)
|
||||
for ($i=0; $i<count($upload); $i++)
|
||||
{
|
||||
if (!get_magic_quotes_gpc()) {
|
||||
$upload[$i]['source'] = addslashes($upload[$i]['source']);
|
||||
}
|
||||
|
||||
$row = sql_fetch(" select count(*) as cnt from {$g4['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' and bf_no = '{$i}' ");
|
||||
if ($row['cnt'])
|
||||
if ($row['cnt'])
|
||||
{
|
||||
// 삭제에 체크가 있거나 파일이 있다면 업데이트를 합니다.
|
||||
// 그렇지 않다면 내용만 업데이트 합니다.
|
||||
if ($upload[$i]['del_check'] || $upload[$i]['file'])
|
||||
if ($upload[$i]['del_check'] || $upload[$i]['file'])
|
||||
{
|
||||
$sql = " update {$g4['board_file_table']}
|
||||
set bf_source = '{$upload[$i]['source']}',
|
||||
@ -490,18 +489,18 @@ for ($i=0; $i<count($upload); $i++)
|
||||
and wr_id = '{$wr_id}'
|
||||
and bf_no = '{$i}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = " update {$g4['board_file_table']}
|
||||
set bf_content = '{$bf_content[$i]}'
|
||||
set bf_content = '{$bf_content[$i]}'
|
||||
where bo_table = '{$bo_table}'
|
||||
and wr_id = '{$wr_id}'
|
||||
and bf_no = '{$i}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = " insert into {$g4['board_file_table']}
|
||||
set bo_table = '{$bo_table}',
|
||||
@ -523,7 +522,7 @@ for ($i=0; $i<count($upload); $i++)
|
||||
// 업로드된 파일 내용에서 가장 큰 번호를 얻어 거꾸로 확인해 가면서
|
||||
// 파일 정보가 없다면 테이블의 내용을 삭제합니다.
|
||||
$row = sql_fetch(" select max(bf_no) as max_bf_no from {$g4['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' ");
|
||||
for ($i=(int)$row['max_bf_no']; $i>=0; $i--)
|
||||
for ($i=(int)$row['max_bf_no']; $i>=0; $i--)
|
||||
{
|
||||
$row2 = sql_fetch(" select bf_file from {$g4['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' and bf_no = '{$i}' ");
|
||||
|
||||
@ -536,7 +535,7 @@ for ($i=(int)$row['max_bf_no']; $i>=0; $i--)
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// 비밀글이라면 세션에 비밀글의 아이디를 저장한다. 자신의 글은 다시 패스워드를 묻지 않기 위함
|
||||
if ($secret)
|
||||
if ($secret)
|
||||
set_session("ss_secret_{$bo_table}_{$wr_num}", TRUE);
|
||||
|
||||
// 메일발송 사용 (수정글은 발송하지 않음)
|
||||
|
||||
23
css/adm.css
23
css/adm.css
@ -11,10 +11,21 @@ form, img {border:0}
|
||||
input,img {vertical-align:middle}
|
||||
p {margin:10px 0;line-height:1.5em}
|
||||
|
||||
/* 내용 건너뛰기 */
|
||||
/* 웹접근성 스킬 --- 기본 block 속성에는 적용 안됨*/
|
||||
.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
/* 본문 바로가기 */
|
||||
#to_content a {display:block;position:absolute;top:0;left:0;margin:5px;height:0;text-decoration:none;overflow:hidden}
|
||||
#to_content a:focus, #to_content a:active {height:auto;padding:5px 10px;border:1px solid #000;background:#eee;color:#333;font-size:0.75em;overflow:auto}
|
||||
|
||||
/* 테이블 */
|
||||
table {margin-bottom:10px;width:100%;border:1px solid #d5dcdf;background:#fff}
|
||||
caption {padding:10px 0 15px;color:#2f4d59;text-align:left;font-size:1em;font-weight:bold}
|
||||
caption p {margin:7px 0 0;padding:0;color:#6b8088;font:0.75em normal}
|
||||
th, td {border-bottom:1px solid #e9ecee;font-size:0.75em}
|
||||
th {padding:10px;background:#f1f6f7}
|
||||
th label {display:block}
|
||||
th a {color:#000}
|
||||
td {padding:10px}
|
||||
/* 내용 없는 테이블 */
|
||||
.empty_table {padding:200px 0;text-align:center}
|
||||
|
||||
@ -88,16 +99,6 @@ fieldset button:focus, .fieldset_submit:focus {padding:0 15px;height:23px;border
|
||||
.frm_list a {display:block;border:1px solid #586267;background:#667379;padding:0 7px;height:30px;color:#fff;font-size:0.875em;text-decoration:none;line-height:2.3em}
|
||||
.frm_list a:focus, .frm_list a:hover {background:#434f54}
|
||||
|
||||
/* 테이블 */
|
||||
table {margin-bottom:10px;width:100%;border:1px solid #d5dcdf;background:#fff}
|
||||
caption {padding:10px 0 15px;color:#2f4d59;text-align:left;font-size:1em;font-weight:bold}
|
||||
caption p {margin:7px 0 0;padding:0;color:#6b8088;font:0.75em normal}
|
||||
th, td {border-bottom:1px solid #e9ecee;font-size:0.75em}
|
||||
th {padding:10px;background:#f1f6f7}
|
||||
th label {display:block}
|
||||
th a {color:#000}
|
||||
td {padding:10px}
|
||||
|
||||
/* 폼 테이블 */
|
||||
.frm_tbl th {width:130px;text-align:left;font-weight:normal}
|
||||
.frm_tbl textarea {height:150px}
|
||||
|
||||
349
css/default.css
349
css/default.css
@ -2,14 +2,14 @@
|
||||
|
||||
/* 초기화 */
|
||||
html {overflow-y:scroll}
|
||||
body {margin:0;padding:0;background:#fff;font-size:1em}
|
||||
html, body, h1, h2, h3, h4, h5, h6, form {margin:0;padding:0}
|
||||
h1, h2, h3, h4, h5, h6 {font-family:"verdana","dotum"}
|
||||
body {margin:0;padding:0;background:#fff;font-size:0.75em;font-family:"dotum"}
|
||||
html, body, h1, h2, h3, h4, h5, h6, form, dl, ul, ol {margin:0;padding:0}
|
||||
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
|
||||
header ul, nav ul {margin:0;padding:0;list-style:none}
|
||||
form, img {border:0}
|
||||
label, input, select, img {vertical-align:middle}
|
||||
input {margin:0;padding:0;font-family:"verdana","dotum"}
|
||||
input {margin:0;padding:0;font-family:"dotum"}
|
||||
p {margin:5px 0;padding:10px 0;line-height:1.5em}
|
||||
hr {display:none}
|
||||
|
||||
@ -25,10 +25,9 @@ table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
tfoot th {border-top:1px solid #c9c9c9;border-bottom:1px solid #c9c9c9}
|
||||
tfoot td {border-color:#c9c9c9;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.75em}
|
||||
th {padding:12px 0 8px;border-top:3px solid #666;border-bottom:1px solid #a9a9a9}
|
||||
th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
|
||||
td {padding:10px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;font-size:0.75em}
|
||||
td {padding:10px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
|
||||
.empty_table {padding:85px 0;text-align:center}
|
||||
|
||||
/* 캡챠 자동등록(입력)방지 기본 */
|
||||
@ -36,19 +35,18 @@ td {padding:10px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;
|
||||
#captcha_wav img {border:1px solid #ddd;border-left:0;background:#494949}
|
||||
|
||||
/* 필드셋 */
|
||||
fieldset {margin-bottom:20px;padding:13px;border:1px solid #dedace;background:#fefefe}
|
||||
legend {margin-left:0;padding:7px 10px;border:1px solid #dedace;background:#333;color:#fff}
|
||||
fieldset .fieldset_input,
|
||||
fieldset textarea {padding:3px;border:1px solid #ddd;background:#fff;vertical-align:middle}
|
||||
fieldset .fieldset_input:focus,
|
||||
fieldset textarea:focus {padding:4px;border:0;background:#494949;color:#fff}
|
||||
fieldset select {padding:2px 2px 3px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
|
||||
fieldset {margin-bottom:20px;padding:13px;border:0}
|
||||
legend {position:absolute;padding:0;width:0;height:0;border:0;background:transparent;overflow:hidden}
|
||||
.fieldset_input,
|
||||
fieldset textarea {padding:3px 3px 4px;border:1px solid #ddd;background:#fff;vertical-align:middle}
|
||||
.fieldset_input:focus,
|
||||
fieldset textarea:focus {padding:4px 4px 5px;border:0;background:#494949;color:#fff}
|
||||
fieldset p {margin:0}
|
||||
fieldset .span_highlight {color:#ff3061}
|
||||
fieldset .span_highlight {color:#ff4679}
|
||||
fieldset button,
|
||||
.fieldset_submit {padding:0 15px;height:24px;border:0;background:#494949;color:#fff;font-size:0.75em;line-height:1.9em;vertical-align:middle;cursor:pointer}
|
||||
.fieldset_submit {padding:0 15px;height:24px;border:0;background:#494949;color:#fff;line-height:1.9em;vertical-align:middle;cursor:pointer}
|
||||
fieldset button:focus,
|
||||
.fieldset_submit:focus {padding:0 15px;height:24px;border:0;background:#494949;color:#fff;font-size:0.75em;line-height:1.9em;vertical-align:middle}
|
||||
.fieldset_submit:focus {padding:0 15px;height:24px;border:0;background:#494949;color:#fff;line-height:1.9em;vertical-align:middle}
|
||||
|
||||
/* 이미지 등비율 리사이징 */
|
||||
.img_fix {float:left;margin-bottom:20px;width:100%;height:auto}
|
||||
@ -61,7 +59,7 @@ fieldset button:focus,
|
||||
#install_done div span {position:absolute;top:-28px;left:0;width:700px;height:580px;background:url("../img/install_done.jpg")}
|
||||
|
||||
/* 헤딩 */
|
||||
h1 {margin:0 0 20px;font-size:1.6em}
|
||||
h1 {margin:0 0 20px}
|
||||
h2, h3, h4, h5, h6 {margin:0 0 20px}
|
||||
|
||||
/* 하이퍼링크 */
|
||||
@ -76,50 +74,47 @@ a {color:#000;text-decoration:none}
|
||||
#logo a {display:inline-block;padding:20px 30px 20px}
|
||||
|
||||
/* 상단메뉴 */
|
||||
#tnb {position:absolute;top:-31px;left:0;width:100%;border-bottom:1px solid #bbb;background:url('../img/tnb_bg.jpg') #fff bottom left repeat-x;zoom:1}
|
||||
#tnb {position:absolute;top:-31px;left:0;width:100%;border-bottom:1px solid #bbb;background:#fff;zoom:1}
|
||||
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#tnb li {float:left}
|
||||
#tnb a {display:inline-block;padding:0 10px;height:30px;border-right:1px solid #dadada;font-family:"dotum";font-size:0.7em;text-decoration:none;line-height:2.7em}
|
||||
#tnb a {display:inline-block;padding:0 10px;height:30px;border-right:1px solid #dadada;font-family:"dotum";text-decoration:none;line-height:2.7em}
|
||||
|
||||
/* 상단 전체검색 */
|
||||
#hdsch {z-index:3;position:absolute;top:-31px !important;top:-33px;right:0;margin:0;padding:0;width:219px;border:0;border-left:1px solid #bbb;background:url('../img/search_bg.jpg') #fff bottom left repeat-x}
|
||||
#hdsch legend {position:absolute;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#hdsch_stx {margin:5px 0 5px 5px;padding:0 5px;height:20px;width:170px;border:0;background:transparent;font-size:1em;line-height:1.4em}
|
||||
#hdsch {z-index:3;position:absolute;top:-31px !important;top:-33px;right:0;margin:0;padding:0;width:219px;border:0;border-left:1px solid #bbb;background:#fff}
|
||||
#hdsch_stx {margin:5px 0 5px 5px;padding:0 5px;height:20px;width:165px;border:0;background:transparent;line-height:1.4em}
|
||||
#hdsch_stx:focus {background:#464649;color:#fff}
|
||||
|
||||
/* 사이드 네비게이션: 아웃로그인, 설문조사 등 */
|
||||
#snb {z-index:3;position:absolute;top:111px;right:0;font-family:"verdana","dotum"}
|
||||
#snb {z-index:3;position:absolute;top:111px;right:0;font-family:"dotum"}
|
||||
#snb ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
/* 아웃로그인 */
|
||||
.outlogin {position:relative;border-bottom:1px solid #bbb;background:#e3e6ea;line-height:1em}
|
||||
.outlogin {position:relative;border-bottom:1px solid #bbb;line-height:1em}
|
||||
.outlogin h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
/* 아웃로그인 전 */
|
||||
#ol_before {padding:15px 10px 0;width:199px;font-size:0.7em}
|
||||
#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_id {display:block;margin-bottom:3px;padding:0 5px;width:185px;height:22px;border:1px solid #d7d7d7;background:#fff;line-height:1.6em}
|
||||
.ol_idlabel {position:absolute;top:23px;left:20px;color:#696969}
|
||||
#ol_pw {display:block;margin-bottom:3px;padding:0 5px;width:185px;height:22px;border:1px solid #d7d7d7;background:#fff;line-height:1.6em}
|
||||
.ol_pwlabel {position:absolute;top:50px;left:20px;color:#696969}
|
||||
#ol_before {padding:15px 10px 0;width:199px}
|
||||
#ol_before fieldset {margin:0;padding:0}
|
||||
#ol_id {display:block;padding:3px 5px;width:185px;border:1px solid #d7d7d7;background:#fff;line-height:1.6em}
|
||||
.ol_idlabel {position:absolute;top:21px;left:15px;color:#696969;font-size:0.9em}
|
||||
#ol_pw {display:block;padding:3px 5px;width:185px;border:1px solid #d7d7d7;background:#fff;vertical-align:top;line-height:1.6em}
|
||||
.ol_pwlabel {position:absolute;top:48px;left:15px;color:#696969;font-size:0.9em}
|
||||
#auto_login {}
|
||||
#auto_login_label {color:#696969;letter-spacing:-0.1em}
|
||||
#ol_submit {width:60px;height:24px;border:1px solid #b7b7b7;background:#fff;font-size:1em;font-weight:bold;letter-spacing:-0.1em;line-height:2em}
|
||||
#ol_before ul {float:right;margin:10px 0;width:199px;zoom:1}
|
||||
#ol_submit {width:60px;height:24px;border:1px solid #b7b7b7;background:#fff;font-weight:bold;letter-spacing:-0.1em;vertical-align:top}
|
||||
#ol_before ul {float:right;margin:7px 0 13px;zoom:1}
|
||||
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_before li {float:right;margin-right:5px;padding-top:2px}
|
||||
#ol_before #ol_auto {float:left;margin:0;padding:0}
|
||||
#ol_before li {float:left;margin-left:5px;padding-top:2px}
|
||||
#ol_before #ol_auto {float:left;margin:4px 0 0;padding:0}
|
||||
#ol_before a {color:#696969;letter-spacing:-0.1em}
|
||||
/* 아웃로그인 후 */
|
||||
#ol_after {width:219px;color:#000;font-size:0.75em}
|
||||
#ol_after {width:219px}
|
||||
#ol_after_hd {position:relative;padding:15px 10px 11px}
|
||||
#ol_after_hd a {position:absolute;top:16px;right:10px;color:#815e68}
|
||||
#ol_after ul {margin:0;border-top:1px solid #ddd;zoom:1}
|
||||
#ol_after ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_after li {float:left}
|
||||
#ol_after_rec {background:#fff}
|
||||
#ol_after_rec a {display:inline-block;position:relative;width:60px;height:50px;font-size:0.9em;vertical-align:top}
|
||||
#ol_after_rec {margin:0;padding:0;background:#fff}
|
||||
#ol_after_rec a {display:inline-block;position:relative;width:60px;height:50px;vertical-align:top;line-height:1.5em}
|
||||
#ol_after_rec span {position:absolute;top:0;left:0;padding-top:30px;width:100%;height:20px;text-align:center}
|
||||
#ol_after_rec #ol_after_pt {width:97px;border-right:1px solid #ddd;border-left:1px solid #ddd}
|
||||
#ol_after_memo span {background:url('../img/ol_after_bg.jpg')}
|
||||
@ -131,54 +126,60 @@ a {color:#000;text-decoration:none}
|
||||
#ol_after_scrap span {background:url('../img/ol_after_bg.jpg') -159px 0}
|
||||
#ol_after_scrap:focus span,
|
||||
#ol_after_scrap:hover span {background-position:-159px -50px}
|
||||
#ol_after_ft {background:#f0f0f0;text-align:center}
|
||||
#ol_after_ft {text-align:center}
|
||||
#ol_after_ft a {display:inline-block;padding:9px 0 8px !important;width:109px;text-align:center}
|
||||
|
||||
/* 설문조사 */
|
||||
#poll {width:219px;border-bottom:1px solid #bbb;background:#fff;font-size:0.75em}
|
||||
#poll header {position:relative;padding:15px 10px 1px;border-bottom:1px solid #ddd;background:#e3e6ea}
|
||||
#poll {width:219px;border-bottom:1px solid #bbb}
|
||||
#poll header {position:relative;padding:15px 10px 1px;border-bottom:1px solid #ddd}
|
||||
#poll header a {position:absolute;top:15px;right:10px;color:#815e68}
|
||||
#poll h2 {display:inline-block;margin:0;font-size:1em}
|
||||
#poll h2 {display:inline-block;margin:0}
|
||||
#poll p {padding:0}
|
||||
#poll ul {padding:5px 10px}
|
||||
#poll ul {padding:5px 10px;background:#fff}
|
||||
#poll li {margin:7px 0}
|
||||
#poll footer {padding:10px 10px 15px;text-align:center}
|
||||
#poll footer input {padding:0 15px;height:24px;border:0;background:#494936;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;font-size:0.9em;vertical-align:top;letter-spacing:-0.1em;line-height:2.1em}
|
||||
#poll footer {padding:10px 10px 15px;background:#fff;text-align:center}
|
||||
#poll .btn_submit {padding:0 10px;height:24px;background:#494949;font-weight:bold}
|
||||
#poll .btn_cancel {padding:0 7px;height:22px;line-height:1.95em}
|
||||
/* 설문조사 결과 (새창) */
|
||||
#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}
|
||||
#poll_result section {padding:15px;width:90%}
|
||||
#poll_result h2 {margin:0;padding:20px 0}
|
||||
#poll_result_list {margin:0 auto;border:1px solid #ddd;border-bottom:0}
|
||||
#poll_result_list h2 {text-align:center}
|
||||
#poll_result_list dl,
|
||||
#poll_result_list dt,
|
||||
#poll_result_list dd {margin:0;padding:0}
|
||||
#poll_result_list dt {text-align:center}
|
||||
#poll_result_list p {position:relative;margin-bottom:0}
|
||||
#poll_result_list p span {position:absolute;top:5px;right:5%}
|
||||
.poll_result_graph {position:relative;margin-right:5%;height:10px;background:#ddd}
|
||||
.poll_result_graph span {position:absolute;top:0;left:0;height:100%;background:#ff3061}
|
||||
#poll_result_cmt {border:1px solid #ddd;background:#f7f7f7}
|
||||
#poll_result_list dl {padding-bottom:30px}
|
||||
#poll_result_list dt {margin-right:5%;color:#ff4679;text-align:right}
|
||||
#poll_result_list ol {padding-left:30px}
|
||||
#poll_result_list li {margin-top:10px}
|
||||
#poll_result_list p {position:relative;margin:0;padding:5px 0}
|
||||
#poll_result_list p strong {position:absolute;top:5px;right:5%;padding-right:80px;width:100px;text-align:right}
|
||||
#poll_result_list p span {position:absolute;top:5px;right:5%;width:80px;text-align:right}
|
||||
.poll_result_graph {position:relative;margin-right:5%;height:5px;background:#ddd}
|
||||
.poll_result_graph span {position:absolute;top:0;left:0;height:100%;background:#ff4679}
|
||||
#poll_result_cmt {margin:0 auto 20px;border:1px solid #ddd;background:#f7f7f7}
|
||||
#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 .poll_datetime,
|
||||
#poll_result_cmt .poll_del {font-size:0.75em}
|
||||
#poll_result_cmt p {padding:3px 0;font-size:0.875em}
|
||||
#poll_result_cmt fieldset {border:0;text-align:center}
|
||||
#poll_result_cmt legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#poll_result_cmt fieldset p {margin:0 0 15px;padding:3px 0 10px;border-bottom:1px solid #dedede;text-align:left}
|
||||
#poll_result_another a {display:block;padding:5px 0}
|
||||
#poll_result_cmt article {margin:0 18px 15px;border-bottom:1px solid #e7e7e7}
|
||||
#poll_result_cmt h1 {display:inline-block;margin:0 10px 0 0;padding:0}
|
||||
#poll_result_cmt p {padding:3px 0}
|
||||
#poll_result_cmt fieldset {margin-bottom:0;text-align:left}
|
||||
#poll_result_cmt fieldset p {margin:0 0 15px;padding:3px 0 0px;text-align:left}
|
||||
#poll_result_cmt footer {text-align:right}
|
||||
.poll_cmt_del a {display:inline-block;padding-bottom:10px}
|
||||
#poll_result_oth {margin:0 auto 20px}
|
||||
#poll_result_oth h2 {padding:0 0 10px}
|
||||
#poll_result_oth ul {margin:0;padding:0;list-style:none}
|
||||
#poll_result_oth a {display:block;padding:10px 0;border-bottom:1px solid #eee}
|
||||
|
||||
/* 레이아웃 중간 */
|
||||
#wrapper {z-index:2;clear:both;position:relative;padding:20px 240px 30px 20px;min-height:520px;height:auto !important;height:520px;background:url("../img/wrapper_bg.jpg") top right repeat-y}
|
||||
#wrapper h1 {font-size:1em}
|
||||
#wrapper_title {font-size:1.2em}
|
||||
|
||||
/* 레이아웃 하단 */
|
||||
#footer {z-index:1;position:relative;padding:15px 0 20px;border-top:1px solid #bbb;color:#595959;font-size:0.75em}
|
||||
#footer {z-index:1;position:relative;padding:15px 0 20px;border-top:1px solid #bbb;color:#595959}
|
||||
#footer h1 {margin:0;height:0;overflow:hidden}
|
||||
#footer section {margin-left:20px}
|
||||
#footer h2 {margin:0;width:100px;color:#000;font-size:1em}
|
||||
#footer h2 {margin:0;width:100px;color:#000}
|
||||
#footer a {color:#595959}
|
||||
|
||||
/* 방문자집계 */
|
||||
@ -209,51 +210,47 @@ a {color:#000;text-decoration:none}
|
||||
|
||||
/* ##################################################################### 스킨 및 컨텐츠 */
|
||||
/* 공통 */
|
||||
.cnt_cmt {display:inline-block;margin-left:10px;color:#ff3061}
|
||||
.readonly {background:#ff3061}
|
||||
.highlight {font-weight:bold;color:#ff3061}
|
||||
.cnt_cmt {display:inline-block;margin-left:5px;color:#ff4679}
|
||||
.readonly {background:#ff4679}
|
||||
.highlight {font-weight:bold;color:#ff4679}
|
||||
|
||||
/* 버튼 */
|
||||
.btn01 {display:inline-block;padding:0 10px;height:24px;border:1px solid #ff5e1c;background:#ff3061;color:#fff;font-size:0.75em;text-decoration:none;line-height:2.2em}
|
||||
.btn01:hover,
|
||||
.btn01:focus {}
|
||||
.btn02 {display:inline-block;padding:0 10px;height:24px;border:1px solid #ccc;background:#fafafa;color:#000;font-size:0.75em;text-decoration:none;line-height:2.2em}
|
||||
.btn02:hover,
|
||||
.btn02:focus {}
|
||||
.btn03 {display:inline-block;padding:0 10px;height:24px;border:1px solid #494949;background:#494949;color:#fff;font-size:0.75em;text-decoration:none;line-height:2.2em}
|
||||
.btn02:hover,
|
||||
.btn02:focus {}
|
||||
.btn01 {display:inline-block;padding:0 10px;height:24px;border:1px solid #ff5e1c;background:#ff4679;color:#fff;text-decoration:none;line-height:2.2em}
|
||||
.btn02 {display:inline-block;padding:0 10px;height:24px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2.2em}
|
||||
.btn03 {display:inline-block;padding:0 10px;height:24px;border:1px solid #494949;background:#494949;color:#fff;text-decoration:none;line-height:2.2em}
|
||||
.btn_confirm {text-align:center} /* 서식단계 진행 */
|
||||
.btn_submit {padding:0 15px;height:30px;border:0;background:#ff3061;color:#fff;font-size:0.9em;letter-spacing:-0.1em;vertical-align:top}
|
||||
.btn_cancel {display:inline-block;padding:0 10px;height:28px;border:1px solid #ccc;background:#fafafa;color:#000;font-size:0.75em;text-decoration:none;line-height:2.5em}
|
||||
.btn_submit {padding:0 15px;height:30px;border:0;background:#ff4679;color:#fff;letter-spacing:-0.1em;vertical-align:top}
|
||||
.btn_cancel {display:inline-block;padding:0 10px;height:28px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2.5em}
|
||||
.btn_frmline {padding:0 7px 0 5px;height:22px;border:0;background:#ff4679;color:#fff;letter-spacing:-0.1em;vertical-align:top;line-height:2em}
|
||||
.btn_win {clear:both;margin-bottom:20px;text-align:center} /* 새창용 */
|
||||
.btn_win a {display:inline-block;padding:0 10px;height:28px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2.5em;cursor:pointer}
|
||||
|
||||
/* 폼 테이블 */
|
||||
.frm_tbl {}
|
||||
.frm_tbl caption {padding-top:10px;color:#999;font-size:0.75em;font-weight:bold}
|
||||
.frm_tbl caption {padding-top:10px;color:#999;font-weight:bold}
|
||||
.frm_tbl th {padding-left:10px;width:160px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;text-align:left}
|
||||
.frm_tbl td {padding:7px 10px}
|
||||
.frm_tbl textarea,
|
||||
.frm_tbl .frm_input,
|
||||
.frm_tbl select {border:1px solid #d7d7d7;background:#f6f9fa;vertical-align:middle}
|
||||
.frm_input {border:1px solid #d7d7d7;background:#f6f9fa;vertical-align:middle}
|
||||
.frm_tbl textarea,
|
||||
.frm_tbl .frm_input {padding:2px;background:#f5f5f2}
|
||||
.frm_input {padding:2px 2px 3px;background:#f5f5f2}
|
||||
.frm_tbl textarea:focus,
|
||||
.frm_tbl .frm_input:focus {padding:3px;border:0;background:#494949;color:#fff}
|
||||
.frm_input:focus {padding:3px 3px 4px;border:0;background:#494949;color:#fff}
|
||||
.frm_tbl textarea {width:90%}
|
||||
.frm_tbl select {padding:2px}
|
||||
.frm_address {display:block;margin-top:5px}
|
||||
.frm_file {display:block;margin-bottom:5px}
|
||||
.frm_info {display:block;padding:5px 0 0;color:#595959;line-height:1.3em}
|
||||
.frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent}
|
||||
.frm_tbl #captcha input {margin-left:5px}
|
||||
|
||||
/* 최신글 */
|
||||
.latest {clear:both;position:relative;margin-bottom:30px;padding:0 0 20px;border-bottom:1px solid #ccc;font-size:0.75em}
|
||||
.latest strong {display:block;margin-bottom:15px;padding:0 10px 10px;border-bottom:1px solid #eee;font-size:1.1em}
|
||||
.latest {clear:both;position:relative;margin-bottom:30px;padding:0 0 20px;width:100%;border-bottom:1px solid #ccc}
|
||||
.latest_title {display:block;margin-bottom:15px;padding:0 10px 10px;border-bottom:1px solid #eee}
|
||||
.latest ul {margin:0;padding:0;list-style:none}
|
||||
.latest li {padding:0 10px}
|
||||
.latest li a {display:inline-block;padding:4px 0}
|
||||
.latest p {text-align:center}
|
||||
.latest_more {position:absolute;top:-2px;right:10px}
|
||||
.latest_more {position:absolute;top:-5px;right:10px}
|
||||
.latest_more a {display:inline-block;padding:5px 0}
|
||||
|
||||
/* 테이블 항목별 정의 */
|
||||
@ -266,6 +263,9 @@ a {color:#000;text-decoration:none}
|
||||
.td_nick {width:120px;text-align:center}
|
||||
.td_name {width:120px;text-align:left}
|
||||
.td_name div {position:relative}
|
||||
#sideview {z-index:1000;position:absolute;top:15px;left:0;border:1px solid #999;background:#f9f9f9}
|
||||
#sideview ul {list-style:none}
|
||||
#sideview a {display:inline-block;padding:5px 10px 4px;width:100px;border-bottom:1px solid #ddd}
|
||||
.td_date {width:60px;text-align:center}
|
||||
.td_datetime {width:100px;text-align:center}
|
||||
.td_mng {width:80px;text-align:center}
|
||||
@ -275,55 +275,54 @@ a {color:#000;text-decoration:none}
|
||||
|
||||
/* 전체검색 */
|
||||
#sch_result_detail {margin:0;padding:15px 0;border:0;text-align:right}
|
||||
#sch_result_detail label {font-size:0.75em}
|
||||
#sch_result {position:relative;padding:10px 0 0 200px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;background:url('../img/sch_result_bg.jpg') repeat-y}
|
||||
#sch_result dl {padding:0}
|
||||
#sch_result ul {margin:0;padding:0;list-style:none}
|
||||
#sch_result p {margin:5px 0;padding:0;font-size:0.75em}
|
||||
#sch_result_hd {margin:0 0 20px;border-bottom:1px solid #eee;background:#fff;font-size:0.75em;zoom:1}
|
||||
#sch_result p {margin:5px 0;padding:0}
|
||||
#sch_result_hd {margin:0 0 20px;border-bottom:1px solid #eee;background:#fff;zoom:1}
|
||||
#sch_result_hd:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sch_result_hd dt {float:left;padding:10px 0 15px}
|
||||
#sch_result_hd dd {float:right;margin:0;padding:10px 0 15px}
|
||||
#sch_result_hd ul {float:left;padding:0;list-style:none}
|
||||
#sch_result_hd li {float:left;padding:0 10px;border-right:1px solid #ddd}
|
||||
#sch_result_bo {position:absolute;top:0;left:0;margin:0;width:170px;font-size:0.875em}
|
||||
#sch_result_bo {position:absolute;top:0;left:0;margin:0;width:170px}
|
||||
#sch_result_bo dt {margin:0;padding:0;height:0;border:0;overflow:hidden}
|
||||
#sch_result_bo dd {margin:0}
|
||||
#sch_result_bo li {position:relative;margin-top:-1px}
|
||||
#sch_result_bo a {display:inline-block;padding:10px 0 10px 10px;width:160px;border:1px solid #ddd;background:#eee}
|
||||
#sch_result_bo a {display:inline-block;padding:10px 0 10px 10px;width:160px;border:1px solid #ddd;background:#eee;font-size:1.2em}
|
||||
#sch_result_bo .sch_on {width:161px;border-right:0;background:#fff;font-weight:bold}
|
||||
#sch_result_bo .cnt_cmt {color:#000}
|
||||
#sch_result_atc dt a {display:inline-block;margin-bottom:15px;font-size:0.75em}
|
||||
#sch_result_atc dt a {display:inline-block;margin-bottom:15px;font-size:1.2em;font-weight:bold}
|
||||
#sch_result_atc dd {margin:0 0 30px;border-bottom:1px solid #ddd}
|
||||
#sch_result_atc li {padding:10px 0}
|
||||
#sch_result_atc li a {font-size:0.875em}
|
||||
#sch_result_atc p {margin-top:15px}
|
||||
.sch_more {padding:10px 0 15px;font-size:0.75em;text-align:right}
|
||||
#sch_result_atc p {margin-top:10px}
|
||||
#sch_result_atc b {display:inline-block;margin:0 10px 0 0}
|
||||
#sch_result_atc b span {display:inline-block;margin:0 10px 0 0}
|
||||
.sch_more {padding:10px 0 15px;text-align:right}
|
||||
.sch_more a {color:#818385}
|
||||
.sch_sideview {display:inline-block;font-size:0.875em}
|
||||
.sch_datetime {color:#818385;font-size:0.75em}
|
||||
.sch_sideview {display:inline-block}
|
||||
.sch_datetime {color:#818385}
|
||||
|
||||
/* 게시판 목록 */
|
||||
#btn_bo_adm {text-align:center}
|
||||
#btn_bo_adm a {display:inline-block;margin-bottom:20px;padding:10px 20px;text-align:center}
|
||||
.btn_bo_adm input {padding:0 10px;height:26px;border:1px solid #494949;background:#494949;color:#fff;text-decoration:none}
|
||||
.bo_fx {margin-bottom:5px;zoom:1}
|
||||
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.bo_fx ul {margin:0;padding:0;list-style:none}
|
||||
#bo_cate {float:left;margin:0 10px 10px 0;font-size:0.75em}
|
||||
#bo_cate {float:left;margin:0 10px 10px 0}
|
||||
#bo_cate form {display:inline-block}
|
||||
#bo_cate select {margin-right:5px;padding:4px;border:1px solid #ddd;background:#f9f9f5;font-size:1em;vertical-align:middle}
|
||||
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
|
||||
.btn_bo_user li {float:left;margin-left:5px}
|
||||
.btn_bo_adm {float:left}
|
||||
.btn_bo_adm li {float:left;margin-right:5px}
|
||||
#bo_sch {display:inline-block;float:left;margin:0;padding:0;border:0;vertical-align:middle}
|
||||
#bo_sch legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#bo_sch form {display:inline-block}
|
||||
#bo_list caption {padding:0;height:0;color:transparent;overflow:hidden} /* ff에서 감추기 위해 color:transparent 사용 */
|
||||
#bo_list td {line-height:1em}
|
||||
#bo_list strong {color:#ff4679}
|
||||
#bo_list img {vertical-align:top}
|
||||
.bo_notice {background:#f5f5f5}
|
||||
.bo_cate_link {display:inline-block;margin:0 10px 0 0;font-weight:bold;text-decoration:none}
|
||||
.bo_current {color:#ff3061}
|
||||
.bo_current {color:#ff4679}
|
||||
.td_subject img {margin-left:5px}
|
||||
|
||||
/* 게시판 쓰기 */
|
||||
@ -331,127 +330,145 @@ a {color:#000;text-decoration:none}
|
||||
|
||||
/* 게시판 읽기 */
|
||||
#bo_v_title {}
|
||||
#bo_v {position:relative;margin-bottom:30px;border-top:3px solid #666;border-bottom:1px solid #ccc}
|
||||
#bo_v_h1 {margin:0 !important;padding:15px 0 0 10px;font-size:1em}
|
||||
#bo_v {position:relative;margin-bottom:30px;border-top:3px solid #666;border-bottom:1px solid #ccc;zoom:1}
|
||||
#bo_v_h1 {margin:0 0 10px !important;padding:15px 0 0 10px}
|
||||
#bo_v_info {padding:0 0 10px;border-bottom:1px solid #efeada;zoom:1}
|
||||
#bo_v_info:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_info dl {padding:0 0 0 10px;font-size:0.75em}
|
||||
#bo_v_info dl {margin:0;padding:0 0 0 10px}
|
||||
#bo_v_info dt {float:left}
|
||||
#bo_v_info dd {float:left;margin:0 20px 0 10px}
|
||||
#bo_v_top {zoom:1}
|
||||
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_top ul {padding:0;list-style:none}
|
||||
.bo_v_com {float:right}
|
||||
.bo_v_com li {float:left;margin-left:5px}
|
||||
#bo_v_atc {padding:0 10px;zoom:1}
|
||||
#bo_v_atc:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_atc h1 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_atc p {padding:0 0 10px;min-height:300px;height:auto !important;height:300px;font-size:0.875em}
|
||||
#bo_v_file {background:#494949;font-size:0.75em}
|
||||
#bo_v_atc p {padding:0 0 10px;min-height:300px;height:auto !important;height:300px}
|
||||
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_file ul {margin:0;padding:0;list-style:none}
|
||||
#bo_v_file a {display:inline-block;margin-top:5px;padding:5px 10px;color:#fff}
|
||||
.bo_v_file_cnt {display:inline-block;margin-left:10px;color:#ddd}
|
||||
#bo_v_link {background:#494949;font-size:0.75em}
|
||||
#bo_v_file li {border-bottom:1px solid #ddd;background:#f7f7f7}
|
||||
#bo_v_file a {display:inline-block;padding:8px 10px 7px}
|
||||
#bo_v_file strong {text-decoration:underline}
|
||||
.bo_v_file_cnt {display:inline-block;margin:0 10px;color:#ff4679}
|
||||
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_link ul {margin:0;padding:0;list-style:none}
|
||||
#bo_v_link a {display:inline-block;margin-top:5px;padding:5px 10px;color:#fff}
|
||||
.bo_v_link_cnt {display:inline-block;margin-left:10px;color:#ddd}
|
||||
#bo_v_link li {border-bottom:1px solid #ddd;background:#f7f7f7}
|
||||
#bo_v_link a {display:inline-block;padding:8px 10px 7px}
|
||||
#bo_v_link strong {text-decoration:underline}
|
||||
.bo_v_link_cnt {display:inline-block;margin:0 10px;color:#ff4679}
|
||||
#bo_v_act {margin:20px 0;text-align:center}
|
||||
#bo_v_act a {margin-right:5px;vertical-align:top}
|
||||
#bo_v_act strong {color:#ff3061}
|
||||
#bo_v_act strong {color:#ff4679}
|
||||
#bo_v_bot {zoom:1}
|
||||
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_bot h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_bot ul {float:right;padding:0;list-style:none}
|
||||
#bo_v_bot li {float:left;margin-left:5px}
|
||||
#bo_v_bot ul {padding:0;list-style:none}
|
||||
#bo_v_nb {float:left;margin:10px 0}
|
||||
#bo_v_nb li {float:left;margin-right:5px}
|
||||
.bo_v_com {float:right;margin:10px 0}
|
||||
.bo_v_com li {float:left;margin-left:5px}
|
||||
|
||||
/* 게시판 댓글 */
|
||||
#bo_vc {padding:10px;border:1px solid #eee;background:#f9f9f9}
|
||||
#bo_vc h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_vc article {padding:0 10px 20px;border-bottom:1px solid #ddd}
|
||||
#bo_vc header {zoom:1}
|
||||
#bo_vc article {margin:0 10px;padding:0 0 20px;border-bottom:1px solid #ddd}
|
||||
#bo_vc header {position:relative;zoom:1}
|
||||
#bo_vc header:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_vc h1 {margin:15px 0 10px;font-size:0.875em}
|
||||
.bo_vc_info {font-size:0.75em;zoom:1}
|
||||
#bo_vc header img {position:absolute;top:0;left:-30px}
|
||||
#bo_vc h1 {float:left;margin:15px 0 10px}
|
||||
.bo_vc_info {float:left;margin:15px 0 10px 15px;zoom:1}
|
||||
.bo_vc_info:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.bo_vc_info dt {float:left}
|
||||
.bo_vc_info dd {float:left;margin:0 15px 0 10px}
|
||||
#bo_vc p {padding:0;font-size:0.75em}
|
||||
#bo_vc fieldset {margin:0 0 10px;padding:0;border:0;background:transparent;font-size:0.75em}
|
||||
#bo_vc p {padding:0}
|
||||
#bo_vc fieldset {margin:0 0 10px;padding:0}
|
||||
#bo_vc #bo_vc_winfo {float:left}
|
||||
#bo_vc #captcha {float:left;margin-left:10px;padding:0 5px 0 0;border:0}
|
||||
#bo_vc #captcha a {display:inline-block;margin-right:5px;text-decoration:underline;vertical-align:middle}
|
||||
#bo_vc .fieldset_input {margin-right:5px}
|
||||
#bo_vc footer {zoom:1}
|
||||
#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.bo_vc_act {float:right;margin:0;font-size:0.75em;list-style:none;zoom:1}
|
||||
.bo_vc_act {float:right;margin:0;list-style:none;zoom:1}
|
||||
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.bo_vc_act li {float:left;margin-left:5px}
|
||||
#bo_vc_w {position:relative;margin-top:10px}
|
||||
#bo_vc_w {position:relative;margin-top:10px;padding:10px}
|
||||
#bo_vc_w #char_cnt {position:absolute;top:5px;right:10px}
|
||||
#bo_vc_warea {clear:both;position:relative;margin:0 100px 10px 0}
|
||||
#bo_vc_warea {clear:both;position:relative;margin:0 90px 10px 0}
|
||||
#bo_vc_warea textarea {padding:3px;width:100%;height:50px;border:1px solid #ddd;background:#fff;vertical-align:middle}
|
||||
#bo_vc_warea textarea:focus {padding:4px;border:0;background:#494949;color:#fff}
|
||||
#bo_vc_warea .bo_vc_submit {position:absolute;top:0;right:-90px !important;right:10px;width:75px;height:57px;border:1px solid #666;background:#494949;color:#fff;letter-spacing:-0.1em}
|
||||
#bo_vc_warea .bo_vc_submit {position:absolute;top:0;right:-90px !important;right:20px;width:75px;height:57px;border:1px solid #666;background:#494949;color:#fff;letter-spacing:-0.1em}
|
||||
|
||||
/* 우편번호 검색 */
|
||||
#post_num dl {margin:0 auto 10px;padding:0;width:90%}
|
||||
#post_num dt {margin-bottom:15px}
|
||||
#post_num dd {margin:0;padding:0}
|
||||
#post_num ul {margin:0;padding:0;list-style:none}
|
||||
#post_num li a {display:block;padding:5px 0;font-size:0.75em}
|
||||
#post_num p {margin:0 auto 30px;width:90%}
|
||||
#post_code fieldset {border-bottom:3px solid #666}
|
||||
#post_code dl {margin:0 auto 10px;padding:0;width:90%}
|
||||
#post_code dt {margin-bottom:15px}
|
||||
#post_code dd {margin:0;padding:0}
|
||||
#post_code ul {margin:0;padding:0;list-style:none}
|
||||
#post_code li a {display:block;padding:8px 0 6px;border-bottom:1px solid #eee}
|
||||
#post_code p {margin:0 auto 30px;width:90%}
|
||||
.post_code {display:inline-block;width:50px;color:#999}
|
||||
|
||||
/* 로그인 */
|
||||
#mb_login {margin:0 auto;padding:100px 0;width:500px}
|
||||
#mb_login h1 {font-size:1.3em}
|
||||
#mb_login h2 {margin:0}
|
||||
#mb_login fieldset {position:relative;margin:0;padding:20px 20px 20px 95px;border:1px solid #ddd;border-top:5px solid #333;border-bottom:0}
|
||||
#mb_login label {letter-spacing:-0.1em}
|
||||
#mb_login .login_id {position:absolute;top:26px;left:105px}
|
||||
#mb_login .login_pw {position:absolute;top:55px;left:105px}
|
||||
#mb_login .fieldset_input {display:block;margin-bottom:5px;padding-left:70px}
|
||||
#mb_login .btn_submit {position:absolute;top:20px;left:335px;height:53px}
|
||||
#mb_login section {margin-bottom:30px;padding:20px;border:1px solid #ddd;background:#f5f5f5}
|
||||
#mb_login section div {text-align:right}
|
||||
|
||||
/* 회원가입 약관 */
|
||||
#fregister {}
|
||||
#fregister section {margin-bottom:20px}
|
||||
#fregister h2 {font-size:0.875em}
|
||||
#fregister textarea {display:block;margin-bottom:10px;padding:5px;width:98%;height:150px;border:1px solid #ddd;background:#f7f7f7}
|
||||
#fregister textarea:focus {background:#333;color:#fff}
|
||||
.fregister_agree {text-align:right}
|
||||
.fregister_agree label {display:inline-block;margin-right:10px;font-size:0.75em;vertical-align:middle}
|
||||
.fregister_agree {margin:0;padding:0;text-align:right}
|
||||
.fregister_agree label {display:inline-block;margin-right:10px;vertical-align:middle}
|
||||
|
||||
/* 회원가입 입력 */
|
||||
#fregisterform textarea {height:50px}
|
||||
|
||||
/* 회원가입 완료 */
|
||||
#reg_result {padding:50px;border:1px solid #eee;background:#f9f9f9}
|
||||
#reg_result p {font-size:0.75em}
|
||||
#reg_result_email {padding:10px 50px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff;line-height:2em}
|
||||
#reg_result_email span {display:inline-block;width:150px}
|
||||
#reg_result_email strong {font-size:1.2em}
|
||||
.reg_result_deco {text-align:center}
|
||||
|
||||
/* 회원 패스워드 확인 */
|
||||
#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}
|
||||
#mb_confirm {padding:100px 0;text-align:center}
|
||||
#mb_confirm p {margin-bottom:20px}
|
||||
#mb_confirm strong {display:block;margin-bottom:1em;font-size:1.3em}
|
||||
#mb_confirm fieldset {margin:0 auto;width:400px;border:1px solid #ddd;background:#f5f5f5}
|
||||
#mb_confirm_id {display:inline-block;margin:0 30px 0 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}
|
||||
#password_confirm {padding:100px 0;text-align:center}
|
||||
#password_confirm p {margin-bottom:20px}
|
||||
#password_confirm strong {display:block;margin-bottom:1em;font-size:1.3em}
|
||||
#password_confirm fieldset {margin:0 auto;width:400px;border:1px solid #ddd;background:#f5f5f5}
|
||||
|
||||
/* 최근게시물 */
|
||||
#new_search {margin:0 0 10px;padding:0;border:0;text-align:right}
|
||||
#new_search legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
|
||||
/* 새창 공통 */
|
||||
.new_win h1 {padding:20px 30px 10px;background:#494949;color:#fff;font-size:0.875em}
|
||||
.new_win h1 {padding:20px 30px 10px;background:#494949;color:#fff}
|
||||
.new_win h1 a {color:#fff}
|
||||
.new_win article h1 {background:transparent;color:#000}
|
||||
.new_win article h1 a {color:#000}
|
||||
.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:-20px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;font-size:0.75em;list-style:none;zoom:1}
|
||||
.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;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:1em;font-weight:bold}
|
||||
.new_win_ul a {display:block;padding:10px;border-right:1px solid #eee;border-left:1px solid #eee;color:#595959;font-family:"dotum";font-weight:bold}
|
||||
.new_win_ul a:hover,
|
||||
.new_win_ul a:focus {background:#faf9f5}
|
||||
.btn_win {clear:both;margin-bottom:20px;text-align:center} /* 새창용 */
|
||||
.btn_win a {display:inline-block;padding:0 10px;height:28px;border:1px solid #ccc;background:#fafafa;color:#000;font-size:0.75em;text-decoration:none;line-height:2.5em;cursor:pointer}
|
||||
|
||||
/* 포인트 내역 */
|
||||
#point table {margin-bottom:0}
|
||||
@ -463,7 +480,7 @@ a {color:#000;text-decoration:none}
|
||||
#scrap .td_datetime {width:150px}
|
||||
#scrap_do table {margin-bottom:10px}
|
||||
#scrap_do textarea {height:100px}
|
||||
#scrap_do p {margin:0 auto 20px;width:90%;font-size:0.875em}
|
||||
#scrap_do p {margin:0 auto 20px;width:90%}
|
||||
|
||||
/* 폼메일 */
|
||||
#formmail textarea {height:100px}
|
||||
@ -471,25 +488,21 @@ a {color:#000;text-decoration:none}
|
||||
/* 자기소개 */
|
||||
#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.75em;font-family:"gulim"}
|
||||
#profile p {font-size:0.75em}
|
||||
#profile h2 {margin:0;font-family:"gulim"}
|
||||
|
||||
/* 쪽지 읽기 */
|
||||
#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}
|
||||
|
||||
/* 아이디/패스워드 찾기 */
|
||||
#find_info fieldset {padding:0;border:0}
|
||||
#find_info legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#find_info p {font-size:0.75em}
|
||||
#find_info fieldset {padding:0}
|
||||
#find_info #captcha {padding-top:20px;border-top:1px solid #ddd}
|
||||
#find_info #captcha input {margin-left:5px}
|
||||
|
||||
/* pagination */
|
||||
.pg {clear:both;margin:0 0 20px;padding-top:20px;font-size:0.75em;text-align:center}
|
||||
.pg {clear:both;margin:0 0 20px;padding-top:20px;text-align:center}
|
||||
.pg_wrap {display:inline-block;border:1px solid #ddd;letter-spacing:-4px}
|
||||
.pg_page,
|
||||
.pg_current {display:inline-block;padding:0 12px;height:30px;background:#fff;color:#000;letter-spacing:0;line-height:2.6em;vertical-align:middle}
|
||||
|
||||
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 || $w == 's') {?><h1><?=$g4['title']?></h1><?}?>
|
||||
<? if (!$bo_table || $w == 's') {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
|
||||
16
head.sub.php
16
head.sub.php
@ -12,7 +12,7 @@ if (isset($member['mb_memo_call']) && $member['mb_memo_call']) {
|
||||
$mb = get_member($member['mb_memo_call'], "mb_nick");
|
||||
sql_query(" update {$g4['member_table']} set mb_memo_call = '' where mb_id = '{$member['mb_id']}' ");
|
||||
|
||||
alert($mb['mb_nick'].'님으로부터 쪽지가 전달되었습니다.', $_SERVER['REQUEST_URI']);
|
||||
alert($mb['mb_nick'].'님으로부터 쪽지가 전달되었습니다.', $_SERVER['REQUEST_URI'], false);
|
||||
}
|
||||
|
||||
|
||||
@ -61,11 +61,23 @@ if (G4_IS_MOBILE) {
|
||||
}
|
||||
?>
|
||||
<title><?=$g4['title']?></title>
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
<!-- <meta http-equiv='X-UA-Compatible' content='IE=Edge'> -->
|
||||
<? if (isset($administrator)) { ?>
|
||||
<link rel="stylesheet" href="<?=$g4['url']?>/css/adm.css?=<?=date("md")?>">
|
||||
<? } else { ?>
|
||||
<link rel="stylesheet" href="<?=$g4['url']?>/css/default.css?=<?=date("md")?>">
|
||||
<?}?>
|
||||
>>>>>>> fca2c7be504cccbd5466136a893f3d3ed875554c
|
||||
<!--[if lte IE 8]>
|
||||
<script src="<?=$g4['url']?>/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script>
|
||||
// 자바스크립트에서 사용하는 전역변수 선언
|
||||
var g4_path = "<?=$g4['path']?>";
|
||||
var g4_bbs = "<?=$g4['bbs']?>";
|
||||
var g4_bbs_img = "<?=$g4['bbs_img']?>";
|
||||
var g4_url = "<?=$g4['url']?>";
|
||||
var g4_path = "<?=$g4['path']?>";
|
||||
var g4_bbs_url = "<?=$g4['bbs_url']?>";
|
||||
@ -106,4 +118,4 @@ if (!empty($g4['js_file'])) {
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once($g4['path'].'/mobile.head.php');
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 711 B |
BIN
img/icon/icon_re.gif
Normal file
BIN
img/icon/icon_re.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 69 B |
Binary file not shown.
|
Before Width: | Height: | Size: 8.9 KiB |
BIN
img/tnb_bg.jpg
BIN
img/tnb_bg.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 8.9 KiB |
@ -47,7 +47,7 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
|
||||
function showSideView(curObj, mb_id, name, email, homepage)
|
||||
{
|
||||
var sideView = new SideView('nameContextMenu', curObj, mb_id, name, email, homepage);
|
||||
var sideView = new SideView('sideview', curObj, mb_id, name, email, homepage);
|
||||
sideView.showLayer();
|
||||
}
|
||||
|
||||
@ -118,7 +118,7 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
if (oSideViewLayer == null) {
|
||||
oSideViewLayer = document.createElement("div");
|
||||
oSideViewLayer.id = this.targetObj;
|
||||
oSideViewLayer.style.position = "absolute";
|
||||
//oSideViewLayer.style.position = "absolute";
|
||||
//oBody.appendChild(oSideViewLayer);
|
||||
}
|
||||
|
||||
@ -126,6 +126,8 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
|
||||
oSideViewLayer.innerHTML = this.makeNameContextMenus();
|
||||
|
||||
/*
|
||||
|
||||
if (getAbsoluteTop(this.curObj) + this.curObj.offsetHeight + oSideViewLayer.scrollHeight + 5 > oBody.scrollHeight)
|
||||
oSideViewLayer.style.top = getAbsoluteTop(this.curObj) - getAbsoluteTop(this.curObj.offsetParent) - oSideViewLayer.scrollHeight + "px";
|
||||
else
|
||||
@ -133,11 +135,15 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
|
||||
oSideViewLayer.style.left = getAbsoluteLeft(this.curObj) - getAbsoluteLeft(this.curObj.offsetParent) - this.curObj.offsetWidth + 65 + "px";
|
||||
|
||||
*/
|
||||
|
||||
divDisplay(this.targetObj, 'block');
|
||||
|
||||
selectBoxHidden(this.targetObj);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
function getAbsoluteTop(oNode)
|
||||
{
|
||||
var oCurrentNode=oNode;
|
||||
@ -161,6 +167,8 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
return iLeft;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
|
||||
function makeNameContextMenus()
|
||||
{
|
||||
@ -305,8 +313,8 @@ if (typeof(SIDEVIEW_JS) == 'undefined') // 한번만 실행
|
||||
|
||||
function hideSideView()
|
||||
{
|
||||
if (document.getElementById("nameContextMenu"))
|
||||
divDisplay ("nameContextMenu", 'none');
|
||||
if (document.getElementById("sizeview"))
|
||||
divDisplay ("sideview", 'none');
|
||||
}
|
||||
|
||||
var clickAreaCheck = false;
|
||||
|
||||
@ -112,15 +112,12 @@ function get_cookie($cookie_name)
|
||||
|
||||
|
||||
// 경고메세지를 경고창으로
|
||||
function alert($msg='', $url='')
|
||||
function alert($msg='', $url='', $error=true)
|
||||
{
|
||||
global $g4, $config, $member;
|
||||
global $is_admin;
|
||||
|
||||
if (!$msg) $msg = '올바른 방법으로 이용해 주십시오.';
|
||||
$msg = str_replace("\\n", "<br>", $msg);
|
||||
|
||||
if (!$url) $url = $_SERVER['HTTP_REFERER'];
|
||||
|
||||
/*
|
||||
//header("Content-Type: text/html; charset=$g4['charset']");
|
||||
@ -154,6 +151,33 @@ function alert_close($msg)
|
||||
exit;
|
||||
}
|
||||
|
||||
// confirm 창
|
||||
function confirm($msg, $url1='', $url2='', $url3='')
|
||||
{
|
||||
global $g4;
|
||||
|
||||
if (!$msg) {
|
||||
$msg = '올바른 방법으로 이용해 주십시오.';
|
||||
alert($msg);
|
||||
}
|
||||
|
||||
if(!trim($url1) || !trim($url2)) {
|
||||
$msg = '$url1 과 $url2 를 지정해 주세요.';
|
||||
alert($msg);
|
||||
}
|
||||
|
||||
if (!$url3) $url3 = $_SERVER['HTTP_REFERER'];
|
||||
|
||||
$msg = str_replace("\\n", "<br>", $msg);
|
||||
|
||||
$header = '';
|
||||
if (isset($g4['title'])) {
|
||||
$header = $g4['title'];
|
||||
}
|
||||
include_once("{$g4['bbs_path']}/confirm.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
// way.co.kr 의 wayboard 참고
|
||||
function url_auto_link($str)
|
||||
|
||||
@ -31,6 +31,7 @@ if ($is_nogood) $colspan++;
|
||||
<form name="fsearch" method="get">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<select name="sfl" title="검색대상">
|
||||
<option value="wr_subject">제목</option>
|
||||
<option value="wr_content">내용</option>
|
||||
@ -41,7 +42,6 @@ if ($is_nogood) $colspan++;
|
||||
<option value="wr_name,0">글쓴이(코)</option>
|
||||
</select>
|
||||
<input name="stx" class="fieldset_input required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<input type="submit" class="fieldset_submit" value="검색">
|
||||
</form>
|
||||
</fieldset>
|
||||
@ -85,7 +85,7 @@ for ($i=0; $i<count($list); $i++) {
|
||||
<td class="td_bignum">
|
||||
<?
|
||||
if ($list[$i]['is_notice']) // 공지사항
|
||||
echo '공지';
|
||||
echo '<strong>공지</strong>';
|
||||
else if ($wr_id == $list[$i]['wr_id'])
|
||||
echo "<span class=\"bo_current\">열람중</span>";
|
||||
else
|
||||
@ -104,7 +104,7 @@ for ($i=0; $i<count($list); $i++) {
|
||||
|
||||
<a href="<?=$list[$i]['href']?>"<? if ($wr_id == $list[$i]['wr_id']) echo " class=\"bo_current\"";?>>
|
||||
<?=$list[$i]['subject']?>
|
||||
<? if ($list[$i]['comment_cnt']) { ?><?=$list[$i]['comment_cnt'];?><? } ?>
|
||||
<? if ($list[$i]['comment_cnt']) { ?><span class="sound_only">댓글</span><?=$list[$i]['comment_cnt'];?><span class="sound_only">개</span><? } ?>
|
||||
</a>
|
||||
|
||||
<?
|
||||
@ -135,9 +135,9 @@ for ($i=0; $i<count($list); $i++) {
|
||||
<li><a href="<?=$list_href?>" class="btn02">목록</a></li>
|
||||
<? } ?>
|
||||
<? if ($is_checkbox) { ?>
|
||||
<li><input type="submit" name="btn_submit" class="btn02" onclick="document.pressed=this.value" value="선택삭제"></li>
|
||||
<li><input type="submit" name="btn_submit" class="btn02" onclick="document.pressed=this.value" value="선택복사"></li>
|
||||
<li><input type="submit" name="btn_submit" class="btn02" onclick="document.pressed=this.value" value="선택이동"></li>
|
||||
<li><input type="submit" name="btn_submit" onclick="document.pressed=this.value" value="선택삭제"></li>
|
||||
<li><input type="submit" name="btn_submit" onclick="document.pressed=this.value" value="선택복사"></li>
|
||||
<li><input type="submit" name="btn_submit" onclick="document.pressed=this.value" value="선택이동"></li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -35,17 +35,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
|
||||
$cnt++;
|
||||
|
||||
if($board['bo_download_point'] < 0) {
|
||||
$view['file'][$i]['confirm_href'] = str_replace("download.php", "downloadconfirm.php", $view['file'][$i]['href']);
|
||||
} else {
|
||||
$view['file'][$i]['confirm_href'] = $view['file'][$i]['href'];
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<a href="<? echo $view['file'][$i]['confirm_href']; ?>" onclick="javascript:file_download('<?=$view['file'][$i]['href']?>', '<?=$view['file'][$i]['source']?>'); return false;">
|
||||
<span><?=$view['file'][$i]['source']?> (<?=$view['file'][$i]['size']?>)</span>
|
||||
<span class="bo_v_file_cnt"><?=$view['file'][$i]['download']?></span>
|
||||
<a href="<? echo $view['file'][$i]['href']; ?>" onclick="javascript:file_download('<? echo $view['file'][$i]['href'].'&confirm=yes'; ?>', '<?=$view['file'][$i]['source']?>'); return false;">
|
||||
<strong><?=$view['file'][$i]['source']?></strong>
|
||||
<span> (<?=$view['file'][$i]['size']?>)</span>
|
||||
<span class="bo_v_file_cnt"><?=$view['file'][$i]['download']?>회 다운로드</span>
|
||||
<span>DATE : <?=$view['file'][$i]['datetime']?></span>
|
||||
</a>
|
||||
</li>
|
||||
@ -71,7 +66,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
<li>
|
||||
<a href="<?=$view['link_href'][$i]?>" target="_blank">
|
||||
<span><?=$link?></span>
|
||||
<strong><?=$link?></strong>
|
||||
<span class="bo_v_link_cnt"><?=$view['link_hit'][$i]?>회 연결</span>
|
||||
</a>
|
||||
</li>
|
||||
@ -126,7 +121,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<? if ($scrap_href || $good_href || $nogood_href) { ?>
|
||||
<div id="bo_v_act">
|
||||
<? if ($scrap_href) { ?><a href="<? echo $scrap_href; ?>" onclick="win_scrap(this.href); return false;" target="_blank" class="btn02">스크랩</a><? } ?>
|
||||
<? if ($scrap_href) { ?><a href="<? echo $scrap_href; ?>" onclick="win_scrap(this.href); return false;" class="btn02">스크랩</a><? } ?>
|
||||
<? if ($good_href) {?><a href="<?=$good_href?>" class="btn02" target="hiddenframe">추천 <strong><?=number_format($view['wr_good'])?></strong></a><? } ?>
|
||||
<? if ($nogood_href) {?><a href="<?=$nogood_href?>" class="btn02" target="hiddenframe">비추천 <strong><?=number_format($view['wr_nogood'])?></strong></a><? } ?>
|
||||
</div>
|
||||
|
||||
@ -14,7 +14,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<?
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
$comment_id = $list[$i]['wr_id'];
|
||||
$comment_depth = strlen($list[$i]['wr_comment_reply']);
|
||||
$comment_depth = strlen($list[$i]['wr_comment_reply']) * 30;
|
||||
if (strstr($list[$i]['wr_option'], "secret")) echo '비밀글';
|
||||
$str = $list[$i]['content'];
|
||||
if (strstr($list[$i]['wr_option'], "secret"))
|
||||
@ -24,9 +24,10 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
//$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(swf)\".*\<\/a\>\]/i", "<script>doc_write(flash_movie('$1://$2.$3'));</script>", $str);
|
||||
$str = preg_replace("/\[\<a\s*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(gif|png|jpg|jpeg|bmp)\"\s*[^\>]*\>[^\s]*\<\/a\>\]/i", "<img src='$1://$2.$3' id='target_resize_image[]' onclick='image_window(this);'>", $str);
|
||||
?>
|
||||
<article id="c_<?=$comment_id?>">
|
||||
<article id="c_<?=$comment_id?>" <?if ($comment_depth) {?>style="margin-left:<?=$comment_depth?>px"<?}?>>
|
||||
<header>
|
||||
<h1><?=$list[$i]['name']?><span class="sound_only">님의 댓글</span></h1>
|
||||
<? if ($comment_depth) {?><img src="<?=$g4['path']?>/img/icon/icon_re.gif" alt="댓글의 댓글"><? } ?>
|
||||
<dl class="bo_vc_info">
|
||||
<? if ($is_ip_view) { ?>
|
||||
<dt>아이피</dt>
|
||||
@ -46,12 +47,23 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<input type="hidden" id="secret_comment_<?=$comment_id?>" value="<?=strstr($list[$i]['wr_option'],"secret")?>">
|
||||
<textarea id="save_comment_<?=$comment_id?>" style="display:none"><?=get_text($list[$i]['content1'], 0)?></textarea>
|
||||
|
||||
<? if($list[$i]['is_reply'] || $list[$i]['is_edit'] || $list[$i]['is_del']) { ?>
|
||||
<? if($list[$i]['is_reply'] || $list[$i]['is_edit'] || $list[$i]['is_del']) {
|
||||
$query_string = str_replace("&", "&", $_SERVER['QUERY_STRING']);
|
||||
|
||||
if($w == 'cu') {
|
||||
$sql = " select wr_id, wr_content from $write_table where wr_id = '$c_id' and wr_is_comment = '1' ";
|
||||
$cmt = sql_fetch($sql);
|
||||
$c_wr_content = $cmt['wr_content'];
|
||||
}
|
||||
|
||||
$c_reply_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=c#bo_vc_w';
|
||||
$c_edit_href = './board.php?'.$query_string.'&c_id='.$comment_id.'&w=cu#bo_vc_w';
|
||||
?>
|
||||
<footer>
|
||||
<ul class="bo_vc_act">
|
||||
<? if ($list[$i]['is_reply']) { ?><li><a href="javascript:comment_box('<?=$comment_id?>', 'c');">답변</a></li><? } ?>
|
||||
<? if ($list[$i]['is_edit']) { ?><li><a href="javascript:comment_box('<?=$comment_id?>', 'cu');">수정</a></li><? } ?>
|
||||
<? if ($list[$i]['is_del']) { ?><li><a href="javascript:comment_delete('<?=$list[$i]['del_link']?>');">삭제</a></li><? } ?>
|
||||
<? if ($list[$i]['is_reply']) { ?><li><a href="<? echo $c_reply_href; ?>" onclick="comment_box('<?=$comment_id?>', 'c'); return false;">답변</a></li><? } ?>
|
||||
<? if ($list[$i]['is_edit']) { ?><li><a href="<? echo $c_edit_href; ?>" onclick="comment_box('<?=$comment_id?>', 'cu'); return false;">수정</a></li><? } ?>
|
||||
<? if ($list[$i]['is_del']) { ?><li><a href="<? echo $list[$i]['del_link']; ?>" onclick="comment_delete('<?=$list[$i]['del_link']?>'); return false;">삭제</a></li><? } ?>
|
||||
</ul>
|
||||
</footer>
|
||||
<? } ?>
|
||||
@ -59,20 +71,20 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<?}?>
|
||||
|
||||
<? if ($is_comment_write) { ?>
|
||||
<form name="fviewcomment" method="post" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" autocomplete="off">
|
||||
<input type="hidden" id="w" name="w" value="c">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
|
||||
<input type="hidden" id="comment_id" name="comment_id" value="">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="spt" value="<?=$spt?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="is_good" value="">
|
||||
|
||||
<aside id="bo_vc_w">
|
||||
<h2>댓글쓰기</h2>
|
||||
<form name="fviewcomment" method="post" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" autocomplete="off">
|
||||
<input type="hidden" id="w" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
|
||||
<input type="hidden" id="comment_id" name="comment_id" value="<?=$c_id?>">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="spt" value="<?=$spt?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="is_good" value="">
|
||||
|
||||
<fieldset id="bo_vc_winfo">
|
||||
<legend class="sound_only">작성자</legend>
|
||||
<? if ($is_guest) { ?>
|
||||
@ -86,14 +98,13 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<? if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?}?>
|
||||
<div id="bo_vc_warea">
|
||||
<textarea id="wr_content" name="wr_content" required
|
||||
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>></textarea>
|
||||
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><? echo $c_wr_content; ?></textarea>
|
||||
<? if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?}?>
|
||||
<input type="submit" class="bo_vc_submit" value="댓글입력">
|
||||
</div>
|
||||
</form>
|
||||
</aside>
|
||||
|
||||
</form>
|
||||
|
||||
<script>
|
||||
var save_before = '';
|
||||
var save_html = document.getElementById('bo_vc_w').innerHTML;
|
||||
|
||||
@ -41,7 +41,7 @@ if ($is_notice || $is_html || $is_secret || $is_mail) {
|
||||
}
|
||||
|
||||
if ($is_mail) {
|
||||
$option .= PHP_EOL.'<input type="checkbox" name="mail" value="mail" '.$recv_email_checked.'>'.PHP_EOL.'<label for="mail">답변메일받기</label>';
|
||||
$option .= PHP_EOL.'<input type="checkbox" id="mail" name="mail" value="mail" '.$recv_email_checked.'>'.PHP_EOL.'<label for="mail">답변메일받기</label>';
|
||||
}
|
||||
}
|
||||
|
||||
@ -114,14 +114,17 @@ echo $option_hidden;
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? for ($i=1; $is_file && $i<=$file_count; $i++) { ?>
|
||||
<? for ($i=0; $is_file && $i<$file_count; $i++) { ?>
|
||||
<tr>
|
||||
<th scope="row">파일 #<?=$i?></th>
|
||||
<th scope="row">파일 #<?=$i+1?></th>
|
||||
<td>
|
||||
<input type="file" name="bf_file[]" class="frm_input" title="파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<input type="file" name="bf_file[]" class="frm_file frm_input" title="파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<? if ($is_file_content) { ?>
|
||||
<input type="text" name="bf_content[]" class="frm_input" size="50" title="파일 설명을 입력해주세요.">
|
||||
<input type="text" name="bf_content[]" class="frm_file frm_input" value="<? echo $file[$i]['bf_content']; ?>" size="50" title="파일 설명을 입력해주세요.">
|
||||
<?}?>
|
||||
<? if($w == 'u' && $file[$i]['file']) { ?>
|
||||
<input type="checkbox" id="bf_file_del<?=$i?>" name="bf_file_del[<? echo $i; ?>]" value="1"> <label for="bf_file_del<?=$i?>"><? echo $file[$i]['source'].'('.$file[$i]['size'].')'; ?> 파일 삭제</label>
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?}?>
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div class="latest">
|
||||
<strong><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><?=$board['bo_subject']?></a></strong>
|
||||
<strong class="latest_title"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><?=$board['bo_subject']?></a></strong>
|
||||
<ul>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
@ -11,7 +11,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
echo $list[$i]['icon_reply']." ";
|
||||
echo "<a href=\"".$list[$i]['href']."\">";
|
||||
if ($list[$i]['is_notice'])
|
||||
echo "<strong>".$list[$i]['subject']."<strong>";
|
||||
echo "<strong>".$list[$i]['subject']."</strong>";
|
||||
else
|
||||
echo $list[$i]['subject'];
|
||||
echo "</a>";
|
||||
|
||||
@ -2,30 +2,41 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<form name="flogin" method="post" action="<?=$login_action_url?>" onsubmit="return flogin_submit(this);">
|
||||
<input type="hidden" name="url" value='<?=$login_url?>'>
|
||||
<div id="mb_login">
|
||||
<h1>로그인</h1>
|
||||
|
||||
<fieldset>
|
||||
<label for="login_mb_id">회원아이디</label>
|
||||
<input type="text" id="login_mb_id" name="mb_id" maxLength="20" size="15" required title="회원아이디">
|
||||
<label for="login_mb_password">패스워드</label>
|
||||
<input type="password" id="login_mb_password" name="mb_password" maxLength="20" size="15" required title="패스워드">
|
||||
<input type="checkbox" id="login_auto_login" name="auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
<input type="submit" value="로그인">
|
||||
</fieldset>
|
||||
<form name="flogin" method="post" action="<?=$login_action_url?>" onsubmit="return flogin_submit(this);">
|
||||
<input type="hidden" name="url" value='<?=$login_url?>'>
|
||||
|
||||
<section>
|
||||
<h2>회원로그인 안내</h2>
|
||||
<p>
|
||||
회원아이디 및 패스워드가 기억 안나실 때는 아이디/패스워드 찾기를 이용하십시오.<br>
|
||||
아직 회원이 아니시라면 회원으로 가입 후 이용해 주십시오.
|
||||
</p>
|
||||
<a href="<?=$g4['bbs_url']?>/password_lost.php" id="login_password_lost" target="win_password_lost">아이디/패스워드 찾기</a>
|
||||
<a href="./register.php">회원가입</a>
|
||||
</section>
|
||||
<fieldset>
|
||||
<label for="login_id" class="login_id">회원아이디</label>
|
||||
<input type="text" id="login_id" name="mb_id" class="fieldset_input" maxLength="20" size="20" required title="회원아이디">
|
||||
<label for="login_pw" class="login_pw">패스워드</label>
|
||||
<input type="password" id="login_pw" class="fieldset_input" name="mb_password" maxLength="20" size="20" required title="패스워드">
|
||||
<input type="submit" class="btn_submit" value="로그인">
|
||||
<input type="checkbox" id="login_auto_login" name="auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
<section>
|
||||
<h2>회원로그인 안내</h2>
|
||||
<p>
|
||||
회원아이디 및 패스워드가 기억 안나실 때는 아이디/패스워드 찾기를 이용하십시오.<br>
|
||||
아직 회원이 아니시라면 회원으로 가입 후 이용해 주십시오.
|
||||
</p>
|
||||
<div>
|
||||
<a href="<?=$g4['bbs_url']?>/password_lost.php" id="login_password_lost" class="btn03" target="win_password_lost">아이디 패스워드 찾기</a>
|
||||
<a href="./register.php" class="btn01">회원 가입</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<a href="<?=$g4['path']?>/">메인으로 돌아가기</a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
|
||||
@ -4,22 +4,28 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<script src="<?=$g4[path]?>/js/capslock.js"></script>
|
||||
|
||||
<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 id="member_confirm">
|
||||
<legend>패스워드 확인</legend>
|
||||
<div id="mb_confirm">
|
||||
|
||||
<p>회원님의 정보를 안전하게 보호하기 위해 패스워드를 한번 더 확인합니다.</p>
|
||||
<p>
|
||||
<strong>패스워드를 한번 더 입력해주세요.</strong>
|
||||
회원님의 정보를 안전하게 보호하기 위해 패스워드를 한번 더 확인합니다.
|
||||
</p>
|
||||
|
||||
회원아이디
|
||||
<span id="member_confirm_id"><?=$member[mb_id]?></span>
|
||||
<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">
|
||||
|
||||
<label for="confirm_mb_password">패스워드</label>
|
||||
<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>
|
||||
<fieldset>
|
||||
회원아이디
|
||||
<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" 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>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.onload = document.fmemberconfirm.mb_password.focus();
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="memo_list" class="new_win">
|
||||
@ -14,7 +14,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<table>
|
||||
<caption>
|
||||
전체 <?=$kind_title?>쪽지 <?=$total_count?>통<br>
|
||||
<span class="caption_desc">쪽지 보관일수는 최장 <?=$config[cf_memo_del]?>일 입니다.</span>
|
||||
<span class="caption_desc">쪽지 보관일수는 최장 <?=$config['cf_memo_del']?>일 입니다.</span>
|
||||
</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -27,17 +27,23 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<tbody>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<tr>
|
||||
<td><div><?=$list[$i][name]?></div></td>
|
||||
<td class="td_datetime"><a href="<?=$list[$i][view_href]?>"><?=$list[$i][send_datetime]?></font></td>
|
||||
<td class="td_datetime"><a href="<?=$list[$i][view_href]?>"><?=$list[$i][read_datetime]?></font></td>
|
||||
<td class="td_mng"><a href="javascript:del('<?=$list[$i][del_href]?>');">삭제</a></td>
|
||||
<td><div><?=$list[$i]['name']?></div></td>
|
||||
<td class="td_datetime"><a href="<?=$list[$i]['view_href']?>"><?=$list[$i]['send_datetime']?></font></td>
|
||||
<td class="td_datetime"><a href="<?=$list[$i]['view_href']?>"><?=$list[$i]['read_datetime']?></font></td>
|
||||
<td class="td_mng"><a href="<?=$list[$i]['del_href']?>" onclick="del(this.href); return false;">삭제</a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<? if ($i==0) { echo "<tr><td colspan=\"4\" class=\"empty_table\">자료가 없습니다.</td></tr>"; } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_win">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#memo_list").append("<div class=\"btn_win\"><a>창닫기</a></div>");
|
||||
|
||||
$(".btn_win a").click(function() {
|
||||
window.close();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="memo_write" class="new_win">
|
||||
@ -11,7 +11,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<li><a href="./memo_form.php">쪽지보내기</a></li>
|
||||
</ul>
|
||||
|
||||
<form name="fmemoform" method="post" onsubmit="return fmemoform_submit(this);" autocomplete="off">
|
||||
<form name="fmemoform" method="post" action="./memo_form_update.php" onsubmit="return fmemoform_submit(this);" autocomplete="off">
|
||||
<table class="frm_tbl">
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
@ -37,7 +37,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<div class="btn_win">
|
||||
<input type="submit" id="btn_submit" class="btn_submit" value="보내기">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -45,6 +44,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<script src="<?=$g4[path]?>/js/md5.js"></script>
|
||||
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
$(".btn_win").append("<a>창닫기</a>");
|
||||
|
||||
$(".btn_win a").click(function() {
|
||||
window.close();
|
||||
});
|
||||
});
|
||||
|
||||
with (document.fmemoform) {
|
||||
if (me_recv_mb_id.value == "")
|
||||
me_recv_mb_id.focus();
|
||||
@ -60,7 +67,6 @@ function fmemoform_submit(f)
|
||||
|
||||
document.getElementById("btn_submit").disabled = true;
|
||||
|
||||
f.action = "./memo_form_update.php";
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<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]);
|
||||
$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]}에 보낸 쪽지의 내용입니다.";
|
||||
echo "{$nick}님께서 {$memo['me_send_datetime']}에 보내온 쪽지의 내용입니다.";
|
||||
if ($kind == "send")
|
||||
echo "{$nick}님께 {$memo['me_send_datetime']}에 보낸 쪽지의 내용입니다.";
|
||||
?>
|
||||
</h1>
|
||||
<ul class="new_win_ul">
|
||||
@ -21,14 +21,27 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<section>
|
||||
<h2>쪽지내용</h2>
|
||||
<p>
|
||||
<?=conv_content($memo[me_memo], 0)?>
|
||||
<?=conv_content($memo['me_memo'], 0)?>
|
||||
</p>
|
||||
</section>
|
||||
<div class="btn_win">
|
||||
<? if($prev_link) { ?>
|
||||
<a href="<?=$prev_link?>">이전쪽지</a>
|
||||
<? } ?>
|
||||
<? if($next_link) { ?>
|
||||
<a href="<?=$next_link?>">다음쪽지</a>
|
||||
<? if ($kind == 'recv') { ?><a href="./memo_form.php?me_recv_mb_id=<?=$mb[mb_id]?>&me_id=<?=$memo[me_id]?>">답장</a><? } ?>
|
||||
<? } ?>
|
||||
<? if ($kind == 'recv') { ?><a href="./memo_form.php?me_recv_mb_id=<?=$mb['mb_id']?>&me_id=<?=$memo['me_id']?>">답장</a><? } ?>
|
||||
<a href="./memo.php?kind=<?=$kind?>">목록보기</a>
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".btn_win").append("<a id=\win_close\">창닫기</a>");
|
||||
|
||||
$(".btn_win a.win_close").click(function() {
|
||||
window.close();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@ -2,24 +2,29 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<form name="fboardpassword" method="post" action="<? echo $action; ?>">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
|
||||
<input type="hidden" name="comment_id" value="<?=$comment_id?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<div id="password_confirm">
|
||||
<p>
|
||||
<strong>비밀글 기능으로 보호된 글입니다.</strong>
|
||||
작성자와 관리자만 열람하실 수 있습니다. 작성자 본인이시라면 패스워드를 입력하세요.
|
||||
</p>
|
||||
|
||||
<fieldset id="password_confirm">
|
||||
<legend>패스워드 확인</legend>
|
||||
<p>비밀글 기능으로 보호된 글입니다. 작성자와 관리자만 열람하실 수 있습니다.<br>작성자 본인이시라면 패스워드를 입력하세요.</p>
|
||||
<label for="password_wr_password">패스워드</label>
|
||||
<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 name="fboardpassword" method="post" action="<? echo $action; ?>">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
|
||||
<input type="hidden" name="comment_id" value="<?=$comment_id?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
|
||||
</form>
|
||||
<fieldset>
|
||||
<label for="password_wr_password">패스워드</label>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.fboardpassword.wr_password.focus();
|
||||
|
||||
@ -7,23 +7,23 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<section id="fregister_term">
|
||||
<h2>회원가입약관</h2>
|
||||
<textarea readonly><?=get_text($config['cf_stipulation'])?></textarea>
|
||||
<div class="fregister_agree">
|
||||
<fieldset class="fregister_agree">
|
||||
<input type="radio" id="agree11" name="agree" value="1">
|
||||
<label for="agree11">동의합니다.</label>
|
||||
<input type="radio" id="agree10" name="agree" value="0">
|
||||
<label for="agree10">동의하지 않습니다.</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
<section id="fregister_private">
|
||||
<h2>개인정보수집이용안내</h2>
|
||||
<textarea readonly><?=get_text($config['cf_privacy'])?></textarea>
|
||||
<div class="fregister_agree">
|
||||
<fieldset class="fregister_agree">
|
||||
<input type="radio" id="agree21" name="agree2" value="1">
|
||||
<label for="agree21">동의합니다.</label>
|
||||
<input type="radio" id="agree20" name="agree2" value="0">
|
||||
<label for="agree20">동의하지 않습니다.</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
<div class="btn_confirm">
|
||||
|
||||
@ -10,7 +10,6 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<form id="fregisterform" name="fregisterform" method="post" action="<?=$register_action_url?>" onsubmit="return fregisterform_submit(this);" enctype="multipart/form-data" autocomplete="off">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="url" value="<?=$urlencode?>">
|
||||
<input type="hidden" name="mb_jumin" value="<?=$jumin?>">
|
||||
<? if (isset($member['mb_sex'])) { ?><input type="hidden" name="mb_sex" value="<?=$member['mb_sex']?>"><? } ?>
|
||||
<? if (isset($member['mb_nick_date']) && $member['mb_nick_date'] <= date("Y-m-d", $g4['server_time'] - ($config['cf_nick_modify'] * 86400))) { // 별명수정일이 지나지 않았다면 ?>
|
||||
<input type="hidden" name="mb_nick_default" value="<?=$member['mb_nick']?>">
|
||||
@ -27,6 +26,7 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_password">패스워드</label></th>
|
||||
<td><input type="password" id="reg_mb_password" name="mb_password" class="frm_input minlength_3 <?=$required?>" maxlength="20" <?=$required?> title="패스워드"></td>
|
||||
</tr>
|
||||
@ -96,16 +96,18 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($config['cf_use_addr']) { ?>
|
||||
<? if ($config['cf_use_addr']) {
|
||||
$zip_href = './zip.php?frm_name=fregisterform&frm_zip1=mb_zip1&frm_zip2=mb_zip2&frm_addr1=mb_addr1&frm_addr2=mb_addr2';
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row">주소</th>
|
||||
<td>
|
||||
<input type="text" id="reg_mb_zip1" name="mb_zip1" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" maxlength="3" readonly <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip1']?>" title="우편번호 앞자리">
|
||||
<input type="text" id="reg_mb_zip1" name="mb_zip1" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip1']?>" title="우편번호 앞자리">
|
||||
-
|
||||
<input type="text" id="reg_mb_zip2" name="mb_zip2" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" maxlength="3" readonly <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip2']?>" title="우편번호 뒷자리">
|
||||
<a href="javascript:;" onclick="win_zip('fregisterform', 'mb_zip1', 'mb_zip2', 'mb_addr1', 'mb_addr2');">주소찾기</a>
|
||||
<input type="text" id="reg_mb_addr1" name="mb_addr1" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" readonly <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr1']?>" title="행정구역주소">
|
||||
<input type="text" id="reg_mb_addr2" name="mb_addr2" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr2']?>" title="상세주소">
|
||||
<input type="text" id="reg_mb_zip2" name="mb_zip2" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip2']?>" title="우편번호 뒷자리">
|
||||
<a href="<? echo $zip_href; ?>" id="reg_zip_find" class="btn_frmline" target="_blank" onclick="win_zip('fregisterform', 'mb_zip1', 'mb_zip2', 'mb_addr1', 'mb_addr2'); return false;" style="display: none;">주소찾기</a>
|
||||
<input type="text" id="reg_mb_addr1" name="mb_addr1" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr1']?>" title="행정구역주소">
|
||||
<input type="text" id="reg_mb_addr2" name="mb_addr2" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr2']?>" title="상세주소">
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
@ -207,8 +209,13 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
$("#reg_mb_zip1, #reg_mb_zip2, #reg_mb_addr1").attr("readonly", true);
|
||||
});
|
||||
|
||||
// submit 최종 폼체크
|
||||
function fregisterform_submit(f)
|
||||
function fregisterform_submit(f)
|
||||
{
|
||||
// 회원아이디 검사
|
||||
if (f.w.value == "") {
|
||||
@ -250,7 +257,7 @@ function fregisterform_submit(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
var pattern = /([^가-힣\x20])/i;
|
||||
var pattern = /([^가-힣\x20])/i;
|
||||
if (pattern.test(f.mb_name.value)) {
|
||||
alert('이름은 한글로 입력하십시오.');
|
||||
f.mb_name.select();
|
||||
|
||||
@ -28,7 +28,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</p>
|
||||
|
||||
<div class="btn_win">
|
||||
<input type="submit" value="스크랩">
|
||||
<input type="submit" class="btn_submit" value="스크랩">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="post_num" class="new_win">
|
||||
<div id="post_code" class="new_win">
|
||||
<h1><?=$g4['title']?></h1>
|
||||
|
||||
<form name="fzip" method="get" autocomplete="off">
|
||||
@ -13,7 +13,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<input type="hidden" name="frm_addr2" value="<?=$frm_addr2?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>우편번호 검색</legend>
|
||||
<label for="addr1">동/읍/면/리 검색</label>
|
||||
<input type="text" id="addr1" name="addr1" class="fieldset_input" value="<?=$addr1?>" required minlength=2>
|
||||
<input type="submit" class="fieldset_submit" value="검색">
|
||||
@ -32,7 +31,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<dd>
|
||||
<ul>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li><a href='javascript:;' onclick="find_zip('<?=$list[$i][zip1]?>', '<?=$list[$i][zip2]?>', '<?=$list[$i][addr]?>');"><?=$list[$i][zip1]?>-<?=$list[$i][zip2]?> <?=$list[$i][addr]?> <?=$list[$i][bunji]?></a></li>
|
||||
<li><a href='javascript:;' onclick="find_zip('<?=$list[$i][zip1]?>', '<?=$list[$i][zip2]?>', '<?=$list[$i][addr]?>');"><span class="post_code"><?=$list[$i][zip1]?>-<?=$list[$i][zip2]?></span> <?=$list[$i][addr]?> <?=$list[$i][bunji]?></a></li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
</dd>
|
||||
|
||||
@ -13,11 +13,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<label for="ol_pw" id="ol_pwlabel">패스워드</label>
|
||||
<input type="password" id="ol_pw" name="mb_password" maxlength="20" required title="패스워드">
|
||||
<input type="submit" id="ol_submit" value="로그인">
|
||||
<div id="ol_auto">
|
||||
<input type="checkbox" id="auto_login" name="auto_login" value="1">
|
||||
<label for="auto_login" id="auto_login_label">자동로그인</label>
|
||||
</div>
|
||||
<ul>
|
||||
<li id="ol_auto">
|
||||
<input type="checkbox" id="auto_login" name="auto_login" value="1">
|
||||
<label for="auto_login" id="auto_login_label">자동로그인</label>
|
||||
</li>
|
||||
<li><a href="<?=$g4['bbs_url']?>/register.php">회원가입</a></li>
|
||||
<li><a href="<?=$g4['bbs_url']?>/password_lost.php" id="ol_password_lost">정보찾기</a></li>
|
||||
</ul>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<!-- 로그인 후 외부로그인 시작 -->
|
||||
@ -10,9 +10,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<? if ($is_admin == 'super' || $is_auth) { ?><a href="<?=$g4['admin_path']?>/" id="ol_admin">관리자</a><? } ?>
|
||||
</header>
|
||||
<ul id="ol_after_rec">
|
||||
<li><a href="<?=$g4['path']?>/bbs/memo.php" id="ol_after_memo" target="_blank">안 읽은 쪽지 <span id="ol_after_memo_img"><?=$memo_not_read?></span></a></li>
|
||||
<li><a href="<?=$g4['path']?>/bbs/point.php" id="ol_after_pt" target="_blank">포인트 <span id="ol_after_pt_img"><?=$point?></span></a></li>
|
||||
<li><a href="<?=$g4['path']?>/bbs/scrap.php" id="ol_after_scrap" target="_blank"><span id="ol_after_scrap_img">스크랩</span></a></li>
|
||||
<li><a href="<?=$g4['path']?>/bbs/memo.php" id="ol_after_memo" target="_blank" onclick="win_memo(); return false;">안 읽은 쪽지 <span id="ol_after_memo_img"><?=$memo_not_read?></span></a></li>
|
||||
<li><a href="<?=$g4['path']?>/bbs/point.php" id="ol_after_pt" target="_blank" onclick="win_point(); return false;">포인트 <span id="ol_after_pt_img"><?=$point?></span></a></li>
|
||||
<li><a href="<?=$g4['path']?>/bbs/scrap.php" id="ol_after_scrap" target="_blank" onclick="win_scrap(); return false;"><span id="ol_after_scrap_img">스크랩</span></a></li>
|
||||
</ul>
|
||||
<footer id="ol_after_ft">
|
||||
<ul>
|
||||
@ -24,9 +24,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<script>
|
||||
// 탈퇴의 경우 아래 코드를 연동하시면 됩니다.
|
||||
function member_leave()
|
||||
function member_leave()
|
||||
{
|
||||
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
|
||||
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
|
||||
location.href = "<?=$g4['bbs_path']?>/member_confirm.php?url=member_leave.php";
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
global $is_admin;
|
||||
|
||||
@ -28,8 +28,8 @@ $po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '$po_id' ");
|
||||
<? } ?>
|
||||
</ul>
|
||||
<footer>
|
||||
<input type="submit" value="투표하기">
|
||||
<a href="<?="{$g4['bbs_url']}/poll_result.php?po_id={$po_id}&skin_dir={$skin_dir}";?>" target="win_poll">결과보기</a>
|
||||
<input type="submit" class="btn_submit" value="투표하기">
|
||||
<a href="<?="{$g4['bbs_path']}/poll_result.php?po_id=$po_id&skin_dir=$skin_dir"?>" class="btn_cancel" target="_blank" onclick="poll_result(this.href); return false;">결과보기</a>
|
||||
</footer>
|
||||
</section>
|
||||
</form>
|
||||
@ -58,4 +58,14 @@ function fpoll_submit(f)
|
||||
win_poll();
|
||||
return true;
|
||||
}
|
||||
|
||||
function poll_result(url)
|
||||
{
|
||||
<?
|
||||
if ($member['mb_level'] < $po['po_level'])
|
||||
echo " alert('권한 {$po['po_level']} 이상의 회원만 결과를 보실 수 있습니다.'); return false; ";
|
||||
?>
|
||||
|
||||
win_poll(url);
|
||||
}
|
||||
</script>
|
||||
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="poll_result" class="new_win">
|
||||
@ -7,7 +7,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<section id="poll_result_list">
|
||||
<h2><?=$po_subject?> 결과</h2>
|
||||
|
||||
|
||||
<dl>
|
||||
<dt><span>전체 <?=$nf_total_po_cnt?>표</span></dt>
|
||||
<dd>
|
||||
@ -16,7 +16,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<li>
|
||||
<p>
|
||||
<?=$list[$i]['content']?>
|
||||
<span><?=$list[$i]['cnt']?>표 <?=number_format($list[$i]['rate'], 1)?>%</span>
|
||||
<strong><?=$list[$i]['cnt']?> 표</strong>
|
||||
<span><?=number_format($list[$i]['rate'], 1)?> 퍼센트</span>
|
||||
</p>
|
||||
<div class="poll_result_graph">
|
||||
<span style="width:<?=number_format($list[$i]['rate'], 1)?>%"></span>
|
||||
@ -37,16 +38,18 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<header>
|
||||
<h1><?=$list2[$i]['name']?>님의 의견</h1>
|
||||
<span class="poll_datetime"><?=$list2[$i]['datetime']?></span>
|
||||
<span class="poll_del"><? if ($list2[$i]['del']) { echo $list2[$i]['del']."삭제</a>"; } ?></span>
|
||||
</header>
|
||||
<p>
|
||||
<?=$list2[$i]['idea']?>
|
||||
</p>
|
||||
<footer>
|
||||
<span class="poll_cmt_del"><? if ($list2[$i]['del']) { echo $list2[$i]['del']."삭제</a>"; } ?></span>
|
||||
</footer>
|
||||
</article>
|
||||
<? } ?>
|
||||
|
||||
<? if ($member['mb_level'] >= $po['po_level']) { ?>
|
||||
<form name="fpollresult" method="post" onsubmit="return fpollresult_submit(this);" autocomplete="off">
|
||||
<form name="fpollresult" method="post" action="./poll_etc_update.php" autocomplete="off">
|
||||
<input type=hidden name="po_id" value="<?=$po_id?>">
|
||||
<input type=hidden name="w" value="">
|
||||
<input type=hidden name="skin_dir" value="<?=$skin_dir?>">
|
||||
@ -55,7 +58,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<p><?=$po_etc?></p>
|
||||
<?
|
||||
$comment_size = "";
|
||||
if ($is_member) { $comment_size = 52; ?>
|
||||
if ($is_member) { $comment_size = 50; ?>
|
||||
<input type="hidden" name="pc_name" value="<?=cut_str($member['mb_nick'],255)?>">
|
||||
<? } else { $comment_size = 32; ?>
|
||||
<label for="pc_name">이름</label>
|
||||
@ -65,27 +68,27 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<input type="submit" class="fieldset_submit" value="의견남기기">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function fpollresult_submit(f)
|
||||
{
|
||||
f.action = "./poll_etc_update.php";
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<? } ?>
|
||||
|
||||
</section>
|
||||
<? } ?>
|
||||
|
||||
<section id="poll_result_another">
|
||||
<section id="poll_result_oth">
|
||||
<h2>다른 투표 결과 보기</h2>
|
||||
<ul>
|
||||
<? for ($i=0; $i<count($list3); $i++) { ?><li><a href="./poll_result.php?po_id=<?=$list3[$i]['po_id']?>&skin_dir=<?=$skin_dir?>">[<?=$list3[$i]['date']?>] <?=$list3[$i]['subject']?></a></li><? } ?>
|
||||
<? for ($i=0; $i<count($list3); $i++) { ?>
|
||||
<li><a href="./poll_result.php?po_id=<?=$list3[$i]['po_id']?>&skin_dir=<?=$skin_dir?>">[<?=$list3[$i]['date']?>] <?=$list3[$i]['subject']?></a></li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="btn_win">
|
||||
<a href="javascript:window.close();" class="btn_cancel">창닫기</a>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$("#poll_result").append("<div class=\"btn_win\"><a class=\"btn_cancel\">창닫기</a></div>");
|
||||
|
||||
$(".btn_win a").click(function() {
|
||||
window.close();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@ -99,6 +99,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<?
|
||||
$k=0;
|
||||
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
|
||||
$comment_def = "";
|
||||
$comment_href = "";
|
||||
?>
|
||||
<dt><a href="./board.php?bo_table=<?=$search_table[$idx]?>&<?=$search_query?>"><?=$bo_subject[$idx]?>에서</a></dt>
|
||||
@ -108,12 +109,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
||||
if ($list[$idx][$i][wr_is_comment])
|
||||
{
|
||||
echo "댓글 ";
|
||||
$comment_def = "<span>댓글</span>";
|
||||
$comment_href = "#c_".$list[$idx][$i][wr_id];
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>"><b><?=$list[$idx][$i][subject]?></b></a>
|
||||
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>"><b><?=$comment_def?><?=$list[$idx][$i][subject]?></b></a>
|
||||
<span class="sch_datetime"><?=$list[$idx][$i][wr_datetime]?></span>
|
||||
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>" target="_blank">새창</a>
|
||||
<p><?=$list[$idx][$i][content]?></p>
|
||||
|
||||
Reference in New Issue
Block a user