Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -25,7 +25,7 @@ $total_page = ceil($total_count / $rows); // 전체 페이지 계산
|
|||||||
if (!$page) $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
|
if (!$page) $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
$from_record = ($page - 1) * $rows; // 시작 열을 구함
|
$from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||||
|
|
||||||
$group_select = '<select name="gr_id" id="gr_id" onchange="select_change();"><option value="">전체그룹';
|
$group_select = '<select name="gr_id" id="gr_id" title="검색대상" onchange="select_change();"><option value="">전체그룹';
|
||||||
$sql = " select gr_id, gr_subject from {$g4[group_table]} order by gr_id ";
|
$sql = " select gr_id, gr_subject from {$g4[group_table]} order by gr_id ";
|
||||||
$result = sql_query($sql);
|
$result = sql_query($sql);
|
||||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||||
|
|||||||
@ -37,8 +37,8 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section id="point" class="new_win">
|
<div id="point" class="new_win">
|
||||||
<h1>포인트내역</h1>
|
<h1><?=$g4['title']?></h1>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<caption>포인트내역 목록</caption>
|
<caption>포인트내역 목록</caption>
|
||||||
@ -106,7 +106,7 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
|
|||||||
<div class="btn_window">
|
<div class="btn_window">
|
||||||
<a href="javascript:window.close();">창닫기</a>
|
<a href="javascript:window.close();">창닫기</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
<?
|
<?
|
||||||
include_once($g4['path'].'/tail.sub.php');
|
include_once($g4['path'].'/tail.sub.php');
|
||||||
|
|||||||
@ -3,7 +3,7 @@ include_once('./_common.php');
|
|||||||
|
|
||||||
//if (!$stx) alert("검색어가 없습니다.");
|
//if (!$stx) alert("검색어가 없습니다.");
|
||||||
|
|
||||||
$g4['title'] = "검색어 "".$stx."" 검색결과";
|
$g4['title'] = "전체검색 결과";
|
||||||
include_once('./_head.php');
|
include_once('./_head.php');
|
||||||
|
|
||||||
if ($stx)
|
if ($stx)
|
||||||
|
|||||||
106
css/def.css
106
css/def.css
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/* 초기화 */
|
/* 초기화 */
|
||||||
html {overflow-y:scroll}
|
html {overflow-y:scroll}
|
||||||
body {background:#f5f4ed;font-size:1em}
|
body {background:#fff;font-size:1em}
|
||||||
html, body, h1, h2, h3, h4, h5, h6 {margin:0 0 0;padding:0}
|
html, body, h1, h2, h3, h4, h5, h6 {margin:0 0 0;padding:0}
|
||||||
h1, h2, h3, h4, h5, h6 {font-family:"verdana","dotum"}
|
h1, h2, h3, h4, h5, h6 {font-family:"verdana","dotum"}
|
||||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
|
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
|
||||||
@ -15,23 +15,23 @@ hr {display:none}
|
|||||||
|
|
||||||
/* 기본테이블 */
|
/* 기본테이블 */
|
||||||
table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||||
tfoot td {background:#f0f0ed;font-weight:bold;text-align:center}
|
tfoot td {background:#f9f9f5;font-weight:bold;text-align:center}
|
||||||
caption {padding:0 0 10px;text-align:left}
|
caption {padding:0 0 10px;text-align:left}
|
||||||
.caption_desc {font-size:0.75em}
|
.caption_desc {font-size:0.75em}
|
||||||
th {padding:12px 0 8px;border-top:3px solid #a9a9a9;border-bottom:1px solid #a9a9a9;font-size:0.8em}
|
th {padding:12px 0 8px;border-top:3px solid #666;border-bottom:1px solid #a9a9a9;font-size:0.8em}
|
||||||
td {padding:10px 0;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;font-size:0.75em}
|
td {padding:10px 0;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;font-size:0.75em}
|
||||||
.empty_table {padding:50px 0;text-align:center}
|
.empty_table {padding:50px 0;text-align:center}
|
||||||
|
|
||||||
/* 필드셋 */
|
/* 필드셋 */
|
||||||
fieldset {margin-bottom:20px;padding:13px;border:1px solid #dedace;background:#fefefe}
|
fieldset {margin-bottom:20px;padding:13px;border:1px solid #dedace;background:#fefefe}
|
||||||
legend {margin-left:0;padding:7px 10px;border:1px solid #dedace;background:#494946;color:#fff}
|
legend {margin-left:0;padding:7px 10px;border:1px solid #dedace;background:#333;color:#fff}
|
||||||
fieldset .fieldset_input {padding:3px;border:1px solid #ddd;background:#f0f0ed;vertical-align:middle}
|
fieldset .fieldset_input {padding:3px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
|
||||||
fieldset .fieldset_input:focus {padding:4px;border:0;background:#494946;color:#fff}
|
fieldset .fieldset_input:focus {padding:4px;border:0;background:#333;color:#fff}
|
||||||
fieldset select {padding:2px;border:1px solid #ddd;background:#f0f0ed;vertical-align:middle}
|
fieldset select {padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
|
||||||
fieldset p {margin:0}
|
fieldset p {margin:0}
|
||||||
fieldset .span_highlight {color:#ff3061}
|
fieldset .span_highlight {color:#ff3061}
|
||||||
fieldset button,
|
fieldset button,
|
||||||
.fieldset_submit {padding:0 15px;height:23px;border:0;background:#494946;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle;cursor:pointer}
|
.fieldset_submit {padding:0 15px;height:23px;border:0;background:#333;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle;cursor:pointer}
|
||||||
fieldset button:focus,
|
fieldset button:focus,
|
||||||
.fieldset_submit:focus {padding:0 15px;height:23px;border:0;background:#555;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle}
|
.fieldset_submit:focus {padding:0 15px;height:23px;border:0;background:#555;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle}
|
||||||
.readonly {background:#ff3061}
|
.readonly {background:#ff3061}
|
||||||
@ -64,19 +64,19 @@ h6 {margin:0 0 20px}
|
|||||||
#header h1 {margin:0;height:0;overflow:hidden}
|
#header h1 {margin:0;height:0;overflow:hidden}
|
||||||
|
|
||||||
/* 로고 */
|
/* 로고 */
|
||||||
#logo {background:#494946;text-align:center}
|
#logo {background:#333;text-align:center}
|
||||||
#logo a {display:inline-block;padding:20px 30px}
|
#logo a {display:inline-block;padding:20px 30px}
|
||||||
|
|
||||||
/* 상단메뉴 */
|
/* 상단메뉴 */
|
||||||
#tnb {padding-left:50px;border-bottom:1px solid #ddd;background:#fff;zoom:1}
|
#tnb {padding-left:50px;border-bottom:1px solid #ddd;background:#f9f9f5;zoom:1}
|
||||||
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
|
#tnb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
#tnb li {float:left;margin-left:-1px}
|
#tnb li {float:left;margin-left:-1px}
|
||||||
#tnb a {display:block;padding:20px;border-right:1px solid #eee;border-left:1px solid #eee;color:#595959;font-family:"dotum";font-size:0.875em;font-weight:bold;text-decoration:none}
|
#tnb a {display:block;padding:20px;border-right:1px solid #e9e9e9;border-left:1px solid #e9e9e9;color:#595959;font-family:"dotum";font-size:0.875em;font-weight:bold;text-decoration:none}
|
||||||
#tnb a:hover,
|
#tnb a:hover,
|
||||||
#tnb a:focus {background:#faf9f5}
|
#tnb a:focus {background:#faf9f5}
|
||||||
|
|
||||||
/* 전체검색 */
|
/* 전체검색 */
|
||||||
#hdsch {position:absolute;top:90px;right:50px;margin:0;padding:0;border:1px solid #ddd;background:#f0f0ed}
|
#hdsch {position:absolute;top:90px;right:50px;margin:0;padding:0;border:1px solid #ccc;background:#fff}
|
||||||
#hdsch legend {position:absolute;padding:0;width:0;height:0;border:0;overflow:hidden}
|
#hdsch legend {position:absolute;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||||
#hdsch_stx {margin:5px 0 5px 5px;height:16px;width:166px;border:0;background:transparent}
|
#hdsch_stx {margin:5px 0 5px 5px;height:16px;width:166px;border:0;background:transparent}
|
||||||
#hdsch_stx:focus {background:#464649;color:#fff}
|
#hdsch_stx:focus {background:#464649;color:#fff}
|
||||||
@ -90,10 +90,10 @@ h6 {margin:0 0 20px}
|
|||||||
.outlogin {margin-bottom:5px;border:1px solid #dedace}
|
.outlogin {margin-bottom:5px;border:1px solid #dedace}
|
||||||
.outlogin h2 {margin:0;height:0;overflow:hidden}
|
.outlogin h2 {margin:0;height:0;overflow:hidden}
|
||||||
/* 로그인 전 */
|
/* 로그인 전 */
|
||||||
#ol_before {padding:10px 10px 0;width:178px;background:#f0f0ed;font-size:0.7em}
|
#ol_before {padding:10px 10px 0;width:178px;background:#f9f9f5;font-size:0.7em}
|
||||||
#ol_before fieldset {margin:0;padding:0;border:0;background:transparent}
|
#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 legend {position:absolute;padding:0;width:0;height:0;border:0;background:transparent;overflow:hidden}
|
||||||
#ol_before input:focus {background:#494946;color:#fff}
|
#ol_before input:focus {background:#333;color:#fff}
|
||||||
#ol_before ul {position:relative;top:0;left:90px;margin:10px 0;width:90px;zoom:1}
|
#ol_before ul {position:relative;top:0;left:90px;margin:10px 0;width:90px;zoom:1}
|
||||||
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
|
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
#ol_before li {float:left;margin-right:5px}
|
#ol_before li {float:left;margin-right:5px}
|
||||||
@ -106,25 +106,49 @@ h6 {margin:0 0 20px}
|
|||||||
#auto_login_label {position:absolute;top:72px;left:28px;color:#696969;letter-spacing:-0.1em}
|
#auto_login_label {position:absolute;top:72px;left:28px;color:#696969;letter-spacing:-0.1em}
|
||||||
#ol_submit {position:absolute;top:38px;right:12px;width:60px;height:24px;border:1px solid #b7b7b7;background:#fff;font-size:1em;font-weight:bold;letter-spacing:-0.1em;line-height:2em}
|
#ol_submit {position:absolute;top:38px;right:12px;width:60px;height:24px;border:1px solid #b7b7b7;background:#fff;font-size:1em;font-weight:bold;letter-spacing:-0.1em;line-height:2em}
|
||||||
/* 로그인 후 */
|
/* 로그인 후 */
|
||||||
#ol_after {width:198px;background:#f0f0ed;color:#000;font-size:0.75em}
|
#ol_after {width:198px;background:#f9f9f5;color:#000;font-size:0.75em}
|
||||||
#ol_after a {color:#000;text-decoration:none}
|
|
||||||
#ol_after header {padding:10px 0;text-align:center}
|
#ol_after header {padding:10px 0;text-align:center}
|
||||||
#ol_after ul {padding:5px 0;background:#fff}
|
#ol_after ul {padding:5px 0;background:#fff}
|
||||||
#ol_after li a {display:block;position:relative;padding:7px 10px}
|
#ol_after li a {display:block;position:relative;padding:7px 10px;color:#000;text-decoration:none}
|
||||||
#ol_after li span {position:absolute;top:7px;right:10px}
|
#ol_after li span {position:absolute;top:7px;right:10px}
|
||||||
#ol_after footer {padding:7px 0 10px;text-align:center}
|
#ol_after footer {padding:7px 0 10px;text-align:center}
|
||||||
#ol_after footer a {display:inline-block;padding:0 5px}
|
#ol_after footer a {display:inline-block;padding:0 5px;color:#000;text-decoration:none}
|
||||||
|
|
||||||
/* 설문조사 */
|
/* 설문조사 */
|
||||||
#poll {width:198px;border:1px solid #dedace;background:#fff;font-size:0.75em}
|
#poll {width:198px;border:1px solid #dedace;background:#fff;font-size:0.75em}
|
||||||
#poll header {padding:10px 10px 1px;border-bottom:1px solid #efeada;background:#f0f0ed}
|
#poll header {padding:10px 10px 1px;border-bottom:1px solid #efeada;background:#f9f9f5}
|
||||||
#poll h2 {display:inline-block;margin:0;font-size:1em}
|
#poll h2 {display:inline-block;margin:0;font-size:1em}
|
||||||
#poll p {padding:0}
|
#poll p {padding:0}
|
||||||
#poll ul {margin:10px}
|
#poll ul {margin:10px}
|
||||||
#poll li {margin:7px 0}
|
#poll li {margin:7px 0}
|
||||||
#poll footer {padding:10px;border-top:1px solid #efeada;text-align:center}
|
#poll footer {padding:10px;border-top:1px solid #efeada;text-align:center}
|
||||||
#poll footer input {padding:0 15px;height:24px;border:0;background:#494946;color:#fff;font-size:0.9em;letter-spacing:-0.1em;vertical-align:top}
|
#poll footer input {padding:0 15px;height:24px;border:0;background:#333;color:#fff;font-size:0.9em;letter-spacing:-0.1em;vertical-align:top}
|
||||||
#poll footer a {display:inline-block;padding:0 5px;height:22px;border:1px solid #b7b7b7;background:#fff;color:#000;font-size:0.9em;vertical-align:top;text-decoration:none;letter-spacing:-0.1em;line-height:2.1em}
|
#poll footer a {display:inline-block;padding:0 5px;height:22px;border:1px solid #b7b7b7;background:#fff;color:#000;font-size:0.9em;vertical-align:top;text-decoration:none;letter-spacing:-0.1em;line-height:2.1em}
|
||||||
|
/* 설문조사 결과 (새창) */
|
||||||
|
#poll_result section {margin:0 auto 20px;;padding:10px;width:90%}
|
||||||
|
#poll_result 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_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:#ff7200}
|
||||||
|
#poll_result_cmt {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 h1 a {color:#000;text-decoration:none}
|
||||||
|
#poll_result_cmt .poll_datetime,
|
||||||
|
#poll_result_cmt .poll_del {font-size:0.75em}
|
||||||
|
#poll_result_cmt p {padding:3px 0;font-size:0.875em}
|
||||||
|
#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}
|
||||||
|
|
||||||
/* 레이아웃 중간 */
|
/* 레이아웃 중간 */
|
||||||
#wrapper {z-index:2;clear:both;position:relative;margin-right:270px;padding-left:50px;min-height:520px;height:auto !important;height:520px}
|
#wrapper {z-index:2;clear:both;position:relative;margin-right:270px;padding-left:50px;min-height:520px;height:auto !important;height:520px}
|
||||||
@ -165,15 +189,18 @@ h6 {margin:0 0 20px}
|
|||||||
/* ##################################################################### 스킨 및 컨텐츠 */
|
/* ##################################################################### 스킨 및 컨텐츠 */
|
||||||
/* 폼 테이블 */
|
/* 폼 테이블 */
|
||||||
.frm_tbl {}
|
.frm_tbl {}
|
||||||
|
.frm_tbl caption {padding-top:10px;border-bottom:1px solid #aaa;font-weight:bold}
|
||||||
|
.frm_tbl th {width:170px;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;text-align:left}
|
||||||
.frm_tbl textarea,
|
.frm_tbl textarea,
|
||||||
.frm_tbl input,
|
.frm_tbl .frm_input,
|
||||||
.frm_tbl select {border:1px solid #ced9de;background:#f6f9fa;vertical-align:middle}
|
.frm_tbl select {border:1px solid #d7d7d7;background:#f6f9fa;vertical-align:middle}
|
||||||
.frm_tbl textarea,
|
.frm_tbl textarea,
|
||||||
.frm_tbl input {padding:3px}
|
.frm_tbl .frm_input {padding:3px;background:#f5f5f2}
|
||||||
.frm_tbl textarea:focus,
|
.frm_tbl textarea:focus,
|
||||||
.frm_tbl input:focus {padding:4px;border:0;background:#434f54;color:#fff}
|
.frm_tbl .frm_input:focus {padding:4px;border:0;background:#333;color:#fff}
|
||||||
.frm_tbl textarea {width:90%}
|
.frm_tbl textarea {width:90%}
|
||||||
.frm_tbl select {padding:2px}
|
.frm_tbl select {padding:2px}
|
||||||
|
.frm_info {display:block;padding:10px 0 0;color:#595959;line-height:1.3em}
|
||||||
|
|
||||||
/* 테이블 항목별 정의 */
|
/* 테이블 항목별 정의 */
|
||||||
.td_group {width:100px;text-align:center}
|
.td_group {width:100px;text-align:center}
|
||||||
@ -192,18 +219,21 @@ h6 {margin:0 0 20px}
|
|||||||
#current_connect_tbl .td_name {text-align:center}
|
#current_connect_tbl .td_name {text-align:center}
|
||||||
|
|
||||||
/* 전체검색 */
|
/* 전체검색 */
|
||||||
.search_result {}
|
#sch_result_hd {margin:0;border:1px solid #ddd;background:#fff}
|
||||||
.search_result dt {font-weight:bold}
|
#sch_result_hd dt {padding:10px;background:#f5f5f2}
|
||||||
.search_result dd {margin-bottom:30px}
|
#sch_result_hd dd {margin:0;padding:0}
|
||||||
.search_result ul {padding:0}
|
.sch_result {}
|
||||||
.search_result li {padding:10px 0;border-bottom:1px solid #ddd}
|
.sch_result dt {font-weight:bold}
|
||||||
.search_result li span {font-size:0.75em}
|
.sch_result dd {margin-bottom:30px}
|
||||||
.search_result li span span {font-size:1em}
|
.sch_result ul {padding:0}
|
||||||
.search_result a span {font-size:1em}
|
.sch_result li {padding:10px 0;border-bottom:1px solid #ddd}
|
||||||
.search_result p {margin:5px 0;padding:0;font-size:0.75em}
|
.sch_result p {margin:5px 0;padding:0;font-size:0.75em}
|
||||||
|
.sch_sideview {display:inline-block;font-size:0.75em}
|
||||||
|
.sch_datetime {font-size:0.75em}
|
||||||
|
|
||||||
/* 새창 공통 */
|
/* 새창 공통 */
|
||||||
.new_win h1 {padding:10px 30px;background:#494946;color:#fff;font-size:1.2em}
|
.new_win h1 {padding:10px 30px;background:#333;color:#fff;font-size:1.2em}
|
||||||
|
.new_win article h1 {background:transparent;color:#000}
|
||||||
.new_win table {margin:0 auto 30px;width:90%}
|
.new_win table {margin:0 auto 30px;width:90%}
|
||||||
.new_win fieldset {margin:0 auto 30px;width:90%}
|
.new_win fieldset {margin:0 auto 30px;width:90%}
|
||||||
.new_win_ul {margin:-30px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;font-size:0.8em;list-style:none;zoom:1}
|
.new_win_ul {margin:-30px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;font-size:0.8em;list-style:none;zoom:1}
|
||||||
@ -229,6 +259,14 @@ h6 {margin:0 0 20px}
|
|||||||
#post_num li a {display:block;padding:5px 0;font-size:0.8em}
|
#post_num li a {display:block;padding:5px 0;font-size:0.8em}
|
||||||
#post_num p {margin:0 auto 30px;width:90%}
|
#post_num p {margin:0 auto 30px;width:90%}
|
||||||
|
|
||||||
|
/* 회원가입 약관 */
|
||||||
|
#fregister {padding:20px;background:#f5f5f2}
|
||||||
|
#fregister h2 {padding-top:10px;text-align:center}
|
||||||
|
#fregister_term {float:left;width:49%}
|
||||||
|
#fregister_private {float:right;width:49%}
|
||||||
|
#fregister textarea {display:block;margin-bottom:10px;width:99%;height:200px;border:1px solid #ddd}
|
||||||
|
#fregister label {display:inline-block;margin-right:10px}
|
||||||
|
|
||||||
/* pagination */
|
/* pagination */
|
||||||
.pg {margin-bottom:30px;font-size:0.875em;text-align:center}
|
.pg {margin-bottom:30px;font-size:0.875em;text-align:center}
|
||||||
.pg_page, .pg_current {display:inline-block;position:relative;margin-left:-6px;padding:0 10px;height:25px;border:1px solid #ddd;background:#fff;line-height:1.9em;vertical-align:middle}
|
.pg_page, .pg_current {display:inline-block;position:relative;margin-left:-6px;padding:0 10px;height:25px;border:1px solid #ddd;background:#fff;line-height:1.9em;vertical-align:middle}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 696 B |
BIN
img/logo.jpg
BIN
img/logo.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.5 KiB |
@ -2,8 +2,8 @@
|
|||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section id="memo_list" class="new_win">
|
<div id="memo_list" class="new_win">
|
||||||
<h1><?= ($kind == 'recv') ? "받은" : "보낸";?> 쪽지함</h1>
|
<h1><?=$g4['title']?></h1>
|
||||||
|
|
||||||
<ul class="new_win_ul">
|
<ul class="new_win_ul">
|
||||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||||
@ -40,4 +40,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
<div class="btn_window">
|
<div class="btn_window">
|
||||||
<a href="javascript:window.close();">창닫기</a>
|
<a href="javascript:window.close();">창닫기</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
|
|||||||
@ -2,21 +2,22 @@
|
|||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<form name="fregister" method="POST" onsubmit="return fregister_submit(this);" autocomplete="off">
|
<form id="fregister" name="fregister" method="POST" onsubmit="return fregister_submit(this);" autocomplete="off">
|
||||||
|
|
||||||
<section>
|
<section id="fregister_term">
|
||||||
<h2>회원가입약관</h2>
|
<h2>회원가입약관</h2>
|
||||||
<textarea readonly><?=get_text($config['cf_stipulation'])?></textarea>
|
<textarea readonly><?=get_text($config['cf_stipulation'])?></textarea>
|
||||||
<input type="radio" id="agree11" name="agree" value="1"><label for="agree11">동의합니다.</label>
|
<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>
|
<input type="radio" id="agree10" name="agree" value="0"><label for="agree10">동의하지 않습니다.</label>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section id="fregister_private">
|
||||||
<section>
|
|
||||||
<h2>개인정보취급방침</h2>
|
<h2>개인정보취급방침</h2>
|
||||||
<textarea readonly><?=get_text($config['cf_privacy'])?></textarea>
|
<textarea readonly><?=get_text($config['cf_privacy'])?></textarea>
|
||||||
<input type="radio" id="agree21" name="agree2" value="1"><label for="agree21">동의합니다.</label>
|
<input type="radio" id="agree21" name="agree2" value="1">
|
||||||
<input type="radio" id="agree20" name="agree2" value="0"><label for="agree20">동의하지 않습니다.</label>
|
<label for="agree21">동의합니다.</label>
|
||||||
|
<input type="radio" id="agree20" name="agree2" value="0">
|
||||||
|
<label for="agree20">동의하지 않습니다.</label>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="btn_confirm">
|
<div class="btn_confirm">
|
||||||
@ -25,8 +26,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<script>
|
||||||
<script type="text/javascript">
|
|
||||||
function fregister_submit(f)
|
function fregister_submit(f)
|
||||||
{
|
{
|
||||||
var agree1 = document.getElementsByName("agree");
|
var agree1 = document.getElementsByName("agree");
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
<?
|
<?
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
|
$required = "";
|
||||||
|
$readonly = "";
|
||||||
|
if ($w == '') $required = "required";
|
||||||
|
else if ($w == 'u') $readonly = "readonly";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -16,37 +20,37 @@ var member_skin_path = "<?=$member_skin_path?>";
|
|||||||
<input type="hidden" id="mb_email_enabled" name="mb_email_enabled" value="">
|
<input type="hidden" id="mb_email_enabled" name="mb_email_enabled" value="">
|
||||||
<!-- <input type="hidden" name="token" value="<?=$token?>"> -->
|
<!-- <input type="hidden" name="token" value="<?=$token?>"> -->
|
||||||
<? if (isset($member['mb_sex'])) { ?><input type="hidden" name="mb_sex" value="<?=$member['mb_sex']?>"><? } ?>
|
<? 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))) { // 별명수정일이 지나지 않았다면 ?>
|
<? 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']?>">
|
<input type="hidden" name="mb_nick_default" value="<?=$member['mb_nick']?>">
|
||||||
<input type="hidden" name="mb_nick" value="<?=$member['mb_nick']?>">
|
<input type="hidden" name="mb_nick" value="<?=$member['mb_nick']?>">
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
<table>
|
<table class="frm_tbl">
|
||||||
<caption>사이트 이용정보 입력</caption>
|
<caption>사이트 이용정보 입력</caption>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_id">아이디</label></th>
|
<th scope="row"><label for="reg_mb_id">아이디</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" id="reg_mb_id" name="mb_id" value="<?=$member['mb_id']?>" maxlength="20" <? if ($w=='u') { echo "readonly style='background-color:#dddddd;'"; } ?> <? if ($w=='') { echo 'required="required"'; } ?> title="회원아이디">
|
<input type="text" id="reg_mb_id" name="mb_id" class="frm_input <?=$required?> <?=$readonly?>" value="<?=$member['mb_id']?>" maxlength="20" <?=$required?> <?=$readonly?>>
|
||||||
<span id="msg_mb_id"></span>
|
<span id="msg_mb_id"></span>
|
||||||
<span>영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
|
<span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="mb_password">패스워드</label></th>
|
<th scope="row"><label for="reg_mb_password">패스워드</label></th>
|
||||||
<td><input type="password" id="reg_mb_password" name="mb_password" maxlength="20" <?=($w=='')?'required="required"':'';?> title="패스워드"></td>
|
<td><input type="password" id="reg_mb_password" name="mb_password" class="frm_input <?=$required?>" maxlength="20" <?=$required?>></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_password_re">패스워드 확인</label></th>
|
<th scope="row"><label for="reg_mb_password_re">패스워드 확인</label></th>
|
||||||
<td><input type="password" id="reg_mb_password_re" name="mb_password_re" maxlength="20" <?=($w=='')?'required="required"':'';?> title="패스워드 확인"></td>
|
<td><input type="password" id="reg_mb_password_re" name="mb_password_re" class="frm_input <?=$required?>" maxlength="20" <?=$required?>></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table>
|
<table class="frm_tbl">
|
||||||
<caption>개인정보 입력</caption>
|
<caption>개인정보 입력</caption>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_name">이름</label></th>
|
<th scope="row"><label for="reg_mb_name">이름</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input id="reg_mb_name" name="mb_name" value="<?=$member['mb_name']?>" <?=$member['mb_name']?"readonly2":"";?><?echo($w==''?'required="required"':'');?> title="이름">
|
<input id="reg_mb_name" name="mb_name" class="frm_input <?=$required?> <?=$readonly?>" value="<?=$member['mb_name']?>" <?=$required?> <?=$readonly?>>
|
||||||
<? if ($w=='') { echo "(공백없이 한글만 입력 가능)"; } ?>
|
<? if ($w=='') { echo "(공백없이 한글만 입력 가능)"; } ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -55,10 +59,12 @@ var member_skin_path = "<?=$member_skin_path?>";
|
|||||||
<th scope="row"><label for="reg_mb_nick">별명</label></th>
|
<th scope="row"><label for="reg_mb_nick">별명</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="hidden" name="mb_nick_default" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>">
|
<input type="hidden" name="mb_nick_default" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>">
|
||||||
<input type="text" id="reg_mb_nick" name="mb_nick" maxlength="20" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>"<?echo($w==''?'required="required"':'');?> title="별명">
|
<input type="text" id="reg_mb_nick" name="mb_nick" class="frm_input required" maxlength="20" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" required>
|
||||||
<span id="msg_mb_nick"></span>
|
<span id="msg_mb_nick"></span>
|
||||||
<br>공백없이 한글,영문,숫자만 입력 가능 (한글2자, 영문4자 이상)
|
<span class="frm_info">
|
||||||
<br>별명을 바꾸시면 앞으로 <?=(int)$config['cf_nick_modify']?>일 이내에는 변경 할 수 없습니다.
|
공백없이 한글,영문,숫자만 입력 가능 (한글2자, 영문4자 이상)<br>
|
||||||
|
별명을 바꾸시면 앞으로 <?=(int)$config['cf_nick_modify']?>일 이내에는 변경 할 수 없습니다.
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
@ -67,11 +73,13 @@ var member_skin_path = "<?=$member_skin_path?>";
|
|||||||
<th scope="row"><label for="reg_mb_email">E-mail</label></th>
|
<th scope="row"><label for="reg_mb_email">E-mail</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
|
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
|
||||||
<input type="text" id="reg_mb_email" name="mb_email" maxlength="100" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>'>
|
<input type="text" id="reg_mb_email" name="mb_email" class="frm_input <?=$config['cf_use_email_certify']?"required":"";?>" maxlength="100" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?>>
|
||||||
<span id="msg_mb_email"></span>
|
<span id="msg_mb_email"></span>
|
||||||
<? if ($config['cf_use_email_certify']) { ?>
|
<? if ($config['cf_use_email_certify']) { ?>
|
||||||
<? if ($w=='') { echo "<br>e-mail 로 발송된 내용을 확인한 후 인증하셔야 회원가입이 완료됩니다."; } ?>
|
<span class="frm_info">
|
||||||
<? if ($w=='u') { echo "<br>e-mail 주소를 변경하시면 다시 인증하셔야 합니다."; } ?>
|
<? if ($w=='') { echo "e-mail 로 발송된 내용을 확인한 후 인증하셔야 회원가입이 완료됩니다."; } ?>
|
||||||
|
<? if ($w=='u') { echo "e-mail 주소를 변경하시면 다시 인증하셔야 합니다."; } ?>
|
||||||
|
</span>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -79,21 +87,21 @@ var member_skin_path = "<?=$member_skin_path?>";
|
|||||||
<? if ($config['cf_use_homepage']) { ?>
|
<? if ($config['cf_use_homepage']) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_homepage">홈페이지</label></th>
|
<th scope="row"><label for="reg_mb_homepage">홈페이지</label></th>
|
||||||
<td><input type="text" id="reg_mb_homepage" name="mb_homepage" maxlength="255" <?=$config['cf_req_homepage']?'required':'';?> value="<?=$member[mb_homepage]?>"></td>
|
<td><input type="text" id="reg_mb_homepage" name="mb_homepage" class="frm_input <?=$config['cf_req_homepage']?"required":"";?>" maxlength="255" <?=$config['cf_req_homepage']?"required":"";?> value="<?=$member['mb_homepage']?>"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
<? if ($config['cf_use_tel']) { ?>
|
<? if ($config['cf_use_tel']) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_tel">전화번호</label></th>
|
<th scope="row"><label for="reg_mb_tel">전화번호</label></th>
|
||||||
<td><input type="text" id="reg_mb_tel" name="mb_tel" maxlength="20" <?=$config['cf_req_tel']?'required':'';?> value="<?=$member[mb_tel]?>"></td>
|
<td><input type="text" id="reg_mb_tel" name="mb_tel" class="frm_input <?=$config['cf_req_tel']?"required":"";?>" maxlength="20" <?=$config['cf_req_tel']?"required":"";?> value="<?=$member['mb_tel']?>"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
<? if ($config['cf_use_hp']) { ?>
|
<? if ($config['cf_use_hp']) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_hp">핸드폰번호</label></th>
|
<th scope="row"><label for="reg_mb_hp">핸드폰번호</label></th>
|
||||||
<td><input type="text" id="reg_mb_hp" name="mb_hp" maxlength="20" <?=$config['cf_req_hp']?'required':'';?> value="<?=$member[mb_hp]?>"></td>
|
<td><input type="text" id="reg_mb_hp" name="mb_hp" class="frm_input <?=$config['cf_req_hp']?"required":"";?>" maxlength="20" <?=$config['cf_req_hp']?"required":"";?> value="<?=$member[mb_hp]?>"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
@ -101,30 +109,30 @@ var member_skin_path = "<?=$member_skin_path?>";
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row">주소</th>
|
<th scope="row">주소</th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" id="reg_mb_zip1" name="mb_zip1" 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":"";?>" maxlength="3" readonly <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip1']?>" title="우편번호 앞자리">
|
||||||
-
|
-
|
||||||
<input type="text" id="reg_mb_zip2" name="mb_zip2" maxlength="3" readonly <?=$config[cf_req_addr]?'required':'';?> value="<?=$member[mb_zip2]?>" 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>
|
<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" readonly <?=$config[cf_req_addr]?'required':'';?> value="<?=$member[mb_addr1]?>" title="행정구역주소">
|
<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" <?=$config[cf_req_addr]?'required':'';?> value="<?=$member[mb_addr2]?>" 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="상세주소">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table>
|
<table class="frm_tbl">
|
||||||
<caption>기타 개인설정</caption>
|
<caption>기타 개인설정</caption>
|
||||||
<? if ($config['cf_use_signature']) { ?>
|
<? if ($config['cf_use_signature']) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_signature">서명</label></th>
|
<th scope="row"><label for="reg_mb_signature">서명</label></th>
|
||||||
<td><textarea id="reg_mb_signature" name="mb_signature" <?=$config[cf_req_signature]?'required':'';?>><?=$member[mb_signature]?></textarea></td>
|
<td><textarea id="reg_mb_signature" name="mb_signature" class="<?=$config['cf_req_signature']?"required":"";?>" <?=$config['cf_req_signature']?"required":"";?>><?=$member['mb_signature']?></textarea></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
<? if ($config['cf_use_profile']) { ?>
|
<? if ($config['cf_use_profile']) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_profile">자기소개</label></th>
|
<th scope="row"><label for="reg_mb_profile">자기소개</label></th>
|
||||||
<td><textarea id="reg_mb_profile" name="mb_profile" <?=$config[cf_req_profile]?'required':'';?>><?=$member[mb_profile]?></textarea></td>
|
<td><textarea id="reg_mb_profile" name="mb_profile" class="<?=$config['cf_req_profile']?"required":"";?>" <?=$config['cf_req_profile']?"required":"";?>><?=$member['mb_profile']?></textarea></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
@ -132,32 +140,47 @@ var member_skin_path = "<?=$member_skin_path?>";
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_icon">회원아이콘</label></th>
|
<th scope="row"><label for="reg_mb_icon">회원아이콘</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="file" id="reg_mb_icon" name="mb_icon">
|
<input type="file" id="reg_mb_icon" name="mb_icon" class="frm_input">
|
||||||
이미지 크기는 가로 <?=$config[cf_member_icon_width]?>픽셀, 세로 <?=$config[cf_member_icon_height]?>픽셀 이하로 해주세요.<br>
|
|
||||||
gif만 가능 / 용량:<?=number_format($config[cf_member_icon_size])?>바이트 이하만 등록됩니다.)
|
|
||||||
<? if ($w == 'u' && file_exists($mb_icon)) { ?>
|
<? if ($w == 'u' && file_exists($mb_icon)) { ?>
|
||||||
<input type="checkbox" id="del_mb_icon" name="del_mb_icon" value="1"> 삭제
|
<input type="checkbox" id="del_mb_icon" name="del_mb_icon" value="1">
|
||||||
|
<label for="del_mb_icon">삭제</label>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
<span class="frm_info">
|
||||||
|
이미지 크기는 가로 <?=$config['cf_member_icon_width']?>픽셀, 세로 <?=$config['cf_member_icon_height']?>픽셀 이하로 해주세요.<br>
|
||||||
|
gif만 가능하며 용량 <?=number_format($config['cf_member_icon_size'])?>바이트 이하만 등록됩니다.
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_mailling">메일링서비스</label></th>
|
<th scope="row"><label for="reg_mb_mailling">메일링서비스</label></th>
|
||||||
<td><input type="checkbox" id="reg_mb_mailling" name="mb_mailling" value="1" <?=($w=='' || $member['mb_mailling'])?'checked':'';?>>정보 메일을 받겠습니다.</td>
|
<td>
|
||||||
|
<input type="checkbox" id="reg_mb_mailling" name="mb_mailling" value="1" <?=($w=='' || $member['mb_mailling'])?'checked':'';?>>
|
||||||
|
정보 메일을 받겠습니다.
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<? if ($config['cf_use_hp']) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_sms">SMS 수신여부</label></th>
|
<th scope="row"><label for="reg_mb_sms">SMS 수신여부</label></th>
|
||||||
<td><input type="checkbox" id="reg_mb_sms" name="mb_sms" value="1" <?=($w=='' || $member['mb_sms'])?'checked':'';?>>핸드폰 문자메세지를 받겠습니다.</td>
|
<td>
|
||||||
|
<input type="checkbox" id="reg_mb_sms" name="mb_sms" value="1" <?=($w=='' || $member['mb_sms'])?'checked':'';?>>
|
||||||
|
핸드폰 문자메세지를 받겠습니다.
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<? } ?>
|
||||||
|
|
||||||
<? if (isset($member['mb_open_date']) && $member['mb_open_date'] <= date("Y-m-d", $g4['server_time'] - ($config['cf_open_modify'] * 86400))) { // 정보공개 수정일이 지났다면 수정가능 ?>
|
<? if (isset($member['mb_open_date']) && $member['mb_open_date'] <= date("Y-m-d", $g4['server_time'] - ($config['cf_open_modify'] * 86400))) { // 정보공개 수정일이 지났다면 수정가능 ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="reg_mb_open">정보공개</label></th>
|
<th scope="row"><label for="reg_mb_open">정보공개</label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="hidden" name="mb_open_default" value="<?=$member['mb_open']?>">
|
<input type="hidden" name="mb_open_default" value="<?=$member['mb_open']?>">
|
||||||
<input type="checkbox" id="reg_mb_open" name="mb_open" value="1" <?=($w=='' || $member['mb_open'])?'checked':'';?>>다른분들이 나의 정보를 볼 수 있도록 합니다.<br>
|
<input type="checkbox" id="reg_mb_open" name="mb_open" value="1" <?=($w=='' || $member['mb_open'])?'checked':'';?>>
|
||||||
정보공개를 바꾸시면 앞으로 <?=(int)$config['cf_open_modify']?>일 이내에는 변경이 안됩니다.
|
다른분들이 나의 정보를 볼 수 있도록 합니다.
|
||||||
|
<span class="frm_info">
|
||||||
|
정보공개를 바꾸시면 앞으로 <?=(int)$config['cf_open_modify']?>일 이내에는 변경이 안됩니다.
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
@ -165,8 +188,10 @@ var member_skin_path = "<?=$member_skin_path?>";
|
|||||||
<th scope="row">정보공개</th>
|
<th scope="row">정보공개</th>
|
||||||
<td>
|
<td>
|
||||||
<input type="hidden" name="mb_open" value="<?=$member['mb_open']?>">
|
<input type="hidden" name="mb_open" value="<?=$member['mb_open']?>">
|
||||||
정보공개는 수정후 <?=(int)$config['cf_open_modify']?>일 이내, <?=date("Y년 m월 j일", isset($member['mb_open_date']) ? strtotime("{$member['mb_open_date']} 00:00:00")+$config['cf_open_modify']*86400:$g4['server_time']+$config['cf_open_modify']*86400);?> 까지는 변경이 안됩니다.<br>
|
<span class="frm_info">
|
||||||
이렇게 하는 이유는 잦은 정보공개 수정으로 인하여 쪽지를 보낸 후 받지 않는 경우를 막기 위해서 입니다.
|
정보공개는 수정후 <?=(int)$config['cf_open_modify']?>일 이내, <?=date("Y년 m월 j일", isset($member['mb_open_date']) ? strtotime("{$member['mb_open_date']} 00:00:00")+$config['cf_open_modify']*86400:$g4['server_time']+$config['cf_open_modify']*86400);?> 까지는 변경이 안됩니다.<br>
|
||||||
|
이렇게 하는 이유는 잦은 정보공개 수정으로 인하여 쪽지를 보낸 후 받지 않는 경우를 막기 위해서 입니다.
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|||||||
@ -2,8 +2,8 @@
|
|||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section id="scrap" class="new_win">
|
<div id="scrap" class="new_win">
|
||||||
<h1>스크랩</h1>
|
<h1><?=$g4['title']?></h1>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<caption>스크랩 목록</caption>
|
<caption>스크랩 목록</caption>
|
||||||
@ -38,4 +38,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
<div class="btn_window">
|
<div class="btn_window">
|
||||||
<a href="javascript:window.close();">창닫기</a>
|
<a href="javascript:window.close();">창닫기</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
@ -2,8 +2,8 @@
|
|||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section id="post_num" class="new_win">
|
<div id="post_num" class="new_win">
|
||||||
<h1>우편번호검색</h1>
|
<h1><?=$g4['title']?></h1>
|
||||||
|
|
||||||
<form name="fzip" method="get" autocomplete="off">
|
<form name="fzip" method="get" autocomplete="off">
|
||||||
<input type="hidden" name="frm_name" value="<?=$frm_name?>">
|
<input type="hidden" name="frm_name" value="<?=$frm_name?>">
|
||||||
@ -60,4 +60,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</section>
|
</div>
|
||||||
|
|||||||
@ -2,31 +2,6 @@
|
|||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- 검색 -->
|
|
||||||
<form name="fnew" method="get">
|
|
||||||
<fieldset>
|
|
||||||
<legend>사이트 상세검색</legend>
|
|
||||||
<label for="gr_id">검색대상</label>
|
|
||||||
<?=$group_select?>
|
|
||||||
<select id="view" name="view" onchange="select_change()" title="검색종류">
|
|
||||||
<option value="">전체게시물
|
|
||||||
<option value="w">원글만
|
|
||||||
<option value="c">코멘트만
|
|
||||||
</select>
|
|
||||||
<input type="text" id="mb_id" name="mb_id" class="fieldset_input" value="<?=$mb_id?>" title="검색어">
|
|
||||||
<input type="submit" class="fieldset_submit" value="검색">
|
|
||||||
<script>
|
|
||||||
function select_change()
|
|
||||||
{
|
|
||||||
document.fnew.submit();
|
|
||||||
}
|
|
||||||
document.getElementById("gr_id").value = "<?=$gr_id?>";
|
|
||||||
document.getElementById("view").value = "<?=$view?>";
|
|
||||||
</script>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
<!-- 검색 끝 -->
|
|
||||||
|
|
||||||
<!-- 제목 시작 -->
|
<!-- 제목 시작 -->
|
||||||
<table>
|
<table>
|
||||||
<caption>최근게시물 목록</caption>
|
<caption>최근게시물 목록</caption>
|
||||||
@ -65,3 +40,27 @@ for ($i=0; $i<count($list); $i++)
|
|||||||
<div class="pg">
|
<div class="pg">
|
||||||
<?=$write_pages?>
|
<?=$write_pages?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- 검색 -->
|
||||||
|
<form name="fnew" method="get">
|
||||||
|
<fieldset>
|
||||||
|
<legend>상세검색</legend>
|
||||||
|
<?=$group_select?>
|
||||||
|
<select id="view" name="view" onchange="select_change()" title="검색종류">
|
||||||
|
<option value="">전체게시물
|
||||||
|
<option value="w">원글만
|
||||||
|
<option value="c">코멘트만
|
||||||
|
</select>
|
||||||
|
<input type="text" id="mb_id" name="mb_id" class="fieldset_input" value="<?=$mb_id?>" title="검색어">
|
||||||
|
<input type="submit" class="fieldset_submit" value="검색">
|
||||||
|
<script>
|
||||||
|
function select_change()
|
||||||
|
{
|
||||||
|
document.fnew.submit();
|
||||||
|
}
|
||||||
|
document.getElementById("gr_id").value = "<?=$gr_id?>";
|
||||||
|
document.getElementById("view").value = "<?=$view?>";
|
||||||
|
</script>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<!-- 검색 끝 -->
|
||||||
|
|||||||
@ -7,7 +7,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
<header>
|
<header>
|
||||||
<h2>나의 회원정보</h2>
|
<h2>나의 회원정보</h2>
|
||||||
<strong><?=$nick?></strong>님
|
<strong><?=$nick?></strong>님
|
||||||
<? if ($is_admin == 'super' || $is_auth) { ?><a href="<?=$g4['admin_path']?>/">관리자</a><? } ?>
|
<? if ($is_admin == 'super' || $is_auth) { ?><a href="<?=$g4['admin_path']?>/" id="ol_admin">관리자</a><? } ?>
|
||||||
</header>
|
</header>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="javascript:win_memo();">안 읽은 쪽지 <span><?=$memo_not_read?>통</span></a></li>
|
<li><a href="javascript:win_memo();">안 읽은 쪽지 <span><?=$memo_not_read?>통</span></a></li>
|
||||||
|
|||||||
@ -2,80 +2,90 @@
|
|||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h1>설문조사 결과</h1>
|
<div id="poll_result" class="new_win">
|
||||||
|
<h1><?=$g4['title']?></h1>
|
||||||
|
|
||||||
<section>
|
<section id="poll_result_list">
|
||||||
<h2><?=$po_subject?> 결과</h2>
|
<h2><?=$po_subject?> 결과</h2>
|
||||||
<span>전체 <?=$nf_total_po_cnt?>표</span>
|
|
||||||
|
|
||||||
<ol>
|
<dl>
|
||||||
<? for ($i=1; $i<=count($list); $i++) { ?>
|
<dt><span>전체 <?=$nf_total_po_cnt?>표</span></dt>
|
||||||
<li>
|
<dd>
|
||||||
<p>
|
<ol>
|
||||||
<?=$list[$i][content]?>
|
<? for ($i=1; $i<=count($list); $i++) { ?>
|
||||||
<span><?=$list[$i][cnt]?>표 <?=number_format($list[$i][rate], 1)?>%</span>
|
<li>
|
||||||
</p>
|
<p>
|
||||||
<div>
|
<?=$list[$i][content]?>
|
||||||
<span></span>
|
<span><?=$list[$i][cnt]?>표 <?=number_format($list[$i][rate], 1)?>%</span>
|
||||||
</div>
|
</p>
|
||||||
</li>
|
<div class="poll_result_graph">
|
||||||
<? } ?>
|
<span style="width:<?=number_format($list[$i][rate], 1)?>%"></span>
|
||||||
</ol>
|
</div>
|
||||||
</section>
|
</li>
|
||||||
|
<? } ?>
|
||||||
|
</ol>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</section>
|
||||||
|
|
||||||
<? if ($is_etc) { ?>
|
<? if ($is_etc) { ?>
|
||||||
<section>
|
<section id="poll_result_cmt">
|
||||||
<h2>의견</h2>
|
<h2>이 설문에 대한 기타의견</h2>
|
||||||
|
|
||||||
<? if ($member[mb_level] >= $po[po_level]) { ?>
|
<? for ($i=0; $i<count($list2); $i++) { ?>
|
||||||
<form name="fpollresult" method="post" onsubmit="return fpollresult_submit(this);" autocomplete="off">
|
<article>
|
||||||
<input type=hidden name="po_id" value="<?=$po_id?>">
|
<header>
|
||||||
<input type=hidden name="w" value="">
|
<h1><?=$list2[$i][name]?>님의 의견</h1>
|
||||||
<input type=hidden name="skin_dir" value="<?=$skin_dir?>">
|
<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>
|
||||||
|
</article>
|
||||||
|
<? } ?>
|
||||||
|
|
||||||
|
<? if ($member[mb_level] >= $po[po_level]) { ?>
|
||||||
|
<form name="fpollresult" method="post" onsubmit="return fpollresult_submit(this);" 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?>">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>의견남기기</legend>
|
<legend>의견남기기</legend>
|
||||||
<p><?=$po_etc?></p>
|
<p><?=$po_etc?></p>
|
||||||
<? if ($member[mb_id]) { ?>
|
<?
|
||||||
|
$comment_size = "";
|
||||||
|
if ($member[mb_id]) { $comment_size = 52; ?>
|
||||||
<input type="hidden" name="pc_name" value="<?=cut_str($member[mb_nick],255)?>">
|
<input type="hidden" name="pc_name" value="<?=cut_str($member[mb_nick],255)?>">
|
||||||
<b><?=$member[mb_nick]?></b>
|
<? } else { $comment_size = 32; ?>
|
||||||
<? } else { ?>
|
<label for="pc_name">이름</label>
|
||||||
<label for="pc_name">이름</label> <input type='text' id="pc_name" name="pc_name" size="10" required>
|
<input type='text' id="pc_name" name="pc_name" class="fieldset_input required" size="10" required>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
<label for="pc_idea">의견</label> <input type="text" id="pc_idea" name="pc_idea" size="55" required maxlength="100">
|
<input type="text" id="pc_idea" name="pc_idea" class="fieldset_input required" size="<?=$comment_size?>" required maxlength="100" title="의견">
|
||||||
<input type="submit" value="의견남기기">
|
<input type="submit" class="fieldset_submit" value="의견남기기">
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function fpollresult_submit(f)
|
function fpollresult_submit(f)
|
||||||
{
|
{
|
||||||
f.action = "./poll_etc_update.php";
|
f.action = "./poll_etc_update.php";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<? } ?>
|
||||||
|
|
||||||
|
</section>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
<? for ($i=0; $i<count($list2); $i++) { ?>
|
<section id="poll_result_another">
|
||||||
<article>
|
<h2>다른 투표 결과 보기</h2>
|
||||||
<header>
|
<ul>
|
||||||
<h1><?=$list2[$i][name]?>님의 의견</h1>
|
<? 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><? } ?>
|
||||||
<?=$list2[$i][datetime]?>
|
</ul>
|
||||||
</header>
|
</section>
|
||||||
<p>
|
|
||||||
<?=$list2[$i][idea]?>
|
|
||||||
</p>
|
|
||||||
<? if ($list2[$i][del]) { echo $list2[$i][del]."삭제</a>"; } ?>
|
|
||||||
</article>
|
|
||||||
<? } ?>
|
|
||||||
|
|
||||||
</section>
|
<div class="btn_window">
|
||||||
<? } ?>
|
<a href="javascript:window.close();">창닫기</a>
|
||||||
|
</div>
|
||||||
<section>
|
</div>
|
||||||
<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><? } ?>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<a href="javascript:window.close();">창닫기</a>
|
|
||||||
@ -2,6 +2,78 @@
|
|||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<? if ($stx) { ?>
|
||||||
|
<? if ($board_count) { ?>
|
||||||
|
<dl id="sch_result_hd">
|
||||||
|
<dt>검색어 <strong><?=$stx?></strong>에 대한 결과입니다.</dt>
|
||||||
|
<dd>
|
||||||
|
<ul>
|
||||||
|
<li><span class="span_highlight"><?=$board_count?></span>개의 게시판</li>
|
||||||
|
<li><span class="span_highlight"><?=number_format($total_count)?></span>개의 게시글</li>
|
||||||
|
<li>현재 <?=number_format($page)?>/<?=number_format($total_page)?> 페이지 열람 중</li>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<? } ?>
|
||||||
|
<? } ?>
|
||||||
|
|
||||||
|
<?
|
||||||
|
if ($stx) {
|
||||||
|
if ($board_count) {
|
||||||
|
?>
|
||||||
|
<dl class="sch_result">
|
||||||
|
<dt>검색결과가 있는 게시판 목록</dt>
|
||||||
|
<dd>
|
||||||
|
<ul>
|
||||||
|
<? if ($onetable) { ?>
|
||||||
|
<li><a href="?<?=$search_query?>&gr_id=<?=$gr_id?>">전체게시판 검색</a>
|
||||||
|
<? } ?>
|
||||||
|
<?=$str_board_list;?>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<?
|
||||||
|
} else {
|
||||||
|
?>
|
||||||
|
<p>검색된 자료가 하나도 없습니다.</p>
|
||||||
|
<? } } ?>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<? if ($stx && $board_count) { ?><dl class="sch_result"><? } ?>
|
||||||
|
<?
|
||||||
|
$k=0;
|
||||||
|
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
|
||||||
|
$comment_href = "";
|
||||||
|
?>
|
||||||
|
<dt><a href="./board.php?bo_table=<?=$search_table[$idx]?>&<?=$search_query?>"><?=$bo_subject[$idx]?></a>에서의 검색결과</dt>
|
||||||
|
<dd>
|
||||||
|
<ul>
|
||||||
|
<?
|
||||||
|
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
||||||
|
if ($list[$idx][$i][wr_is_comment])
|
||||||
|
{
|
||||||
|
echo "댓글 ";
|
||||||
|
$comment_href = "#c_".$list[$idx][$i][wr_id];
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<li>
|
||||||
|
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>"><?=$list[$idx][$i][subject]?></a>
|
||||||
|
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>" target="_blank">새창</a>
|
||||||
|
<p><?=$list[$idx][$i][content]?></p>
|
||||||
|
<div class="sch_sideview"><?=$list[$idx][$i][name]?></div>
|
||||||
|
<span class="sch_datetime"><?=$list[$idx][$i][wr_datetime]?></span>
|
||||||
|
</li>
|
||||||
|
<? } ?>
|
||||||
|
</ul>
|
||||||
|
</dd>
|
||||||
|
<? } ?>
|
||||||
|
<? if ($stx && $board_count) { ?></dl><? } ?>
|
||||||
|
|
||||||
|
<div class="pg">
|
||||||
|
<?=$write_pages?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<form name="fsearch" method="get" onsubmit="return fsearch_submit(this);">
|
<form name="fsearch" method="get" onsubmit="return fsearch_submit(this);">
|
||||||
<input type="hidden" name="srows" value="<?=$srows?>">
|
<input type="hidden" name="srows" value="<?=$srows?>">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
@ -52,70 +124,5 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
</script>
|
</script>
|
||||||
<input type="radio" id="sop_or" name="sop" value="or" <?=($sop == "or") ? "checked" : "";?>> <label for="sop_or">OR</label>
|
<input type="radio" id="sop_or" name="sop" value="or" <?=($sop == "or") ? "checked" : "";?>> <label for="sop_or">OR</label>
|
||||||
<input type="radio" id="sop_and" name="sop" value="and" <?=($sop == "and") ? "checked" : "";?>> <label for="sop_and">AND</label>
|
<input type="radio" id="sop_and" name="sop" value="and" <?=($sop == "and") ? "checked" : "";?>> <label for="sop_and">AND</label>
|
||||||
<? if ($stx) { ?>
|
|
||||||
<p>
|
|
||||||
<? if ($board_count) { ?>
|
|
||||||
검색결과 <span class="span_highlight"><?=$board_count?></span>개의 게시판, <span class="span_highlight"><?=number_format($total_count)?></span>개의 게시글, <?=number_format($page)?>/<?=number_format($total_page)?> 페이지
|
|
||||||
<? } else { ?>
|
|
||||||
<? } ?>
|
|
||||||
</p>
|
|
||||||
<? } ?>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?
|
|
||||||
if ($stx) {
|
|
||||||
if ($board_count) {
|
|
||||||
?>
|
|
||||||
<dl class="search_result">
|
|
||||||
<dt>검색어가 들어간 게시물을 포함하고 있는 게시판 목록</dt>
|
|
||||||
<dd>
|
|
||||||
<ul>
|
|
||||||
<? if ($onetable) { ?>
|
|
||||||
<li><a href="?<?=$search_query?>&gr_id=<?=$gr_id?>">전체게시판 검색</a>
|
|
||||||
<? } ?>
|
|
||||||
<?=$str_board_list;?>
|
|
||||||
</ul>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<?
|
|
||||||
} else {
|
|
||||||
?>
|
|
||||||
<p>검색된 자료가 하나도 없습니다.</p>
|
|
||||||
<? } } ?>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<? if ($stx && $board_count) { ?><dl class="search_result"><? } ?>
|
|
||||||
<?
|
|
||||||
$k=0;
|
|
||||||
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
|
|
||||||
$comment_href = "";
|
|
||||||
?>
|
|
||||||
<dt><a href="./board.php?bo_table=<?=$search_table[$idx]?>&<?=$search_query?>"><?=$bo_subject[$idx]?></a>에서의 검색결과</dt>
|
|
||||||
<dd>
|
|
||||||
<ul>
|
|
||||||
<?
|
|
||||||
for ($i=0; $i<count($list[$idx]) && $k<$rows; $i++, $k++) {
|
|
||||||
if ($list[$idx][$i][wr_is_comment])
|
|
||||||
{
|
|
||||||
echo "댓글 ";
|
|
||||||
$comment_href = "#c_".$list[$idx][$i][wr_id];
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<li>
|
|
||||||
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>"><?=$list[$idx][$i][subject]?></a>
|
|
||||||
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>" target="_blank">새창</a>
|
|
||||||
<p><?=$list[$idx][$i][content]?></p>
|
|
||||||
<span><?=$list[$idx][$i][name]?></span>
|
|
||||||
<span><?=$list[$idx][$i][wr_datetime]?></span>
|
|
||||||
</li>
|
|
||||||
<? } ?>
|
|
||||||
</ul>
|
|
||||||
</dd>
|
|
||||||
<? } ?>
|
|
||||||
<? if ($stx && $board_count) { ?></dl><? } ?>
|
|
||||||
|
|
||||||
<div class="pg">
|
|
||||||
<?=$write_pages?>
|
|
||||||
</div>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user