사용자: 폼메일, 쪽지쓰기, 쪽지보기, 자기소개
This commit is contained in:
27
css/def.css
27
css/def.css
@ -34,7 +34,6 @@ fieldset button,
|
||||
.fieldset_submit {padding:0 15px;height:23px;border:0;background:#333;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle;cursor:pointer}
|
||||
fieldset button:focus,
|
||||
.fieldset_submit:focus {padding:0 15px;height:23px;border:0;background:#555;color:#fff;font-size:0.8em;line-height:1.9em;vertical-align:middle}
|
||||
.readonly {background:#ff3061}
|
||||
|
||||
/* 이미지 등비율 리사이징 */
|
||||
.img_fix {float:left;width:100%;height:auto}
|
||||
@ -73,7 +72,7 @@ h6 {margin:0 0 20px}
|
||||
#tnb li {float:left;margin-left:-1px}
|
||||
#tnb a {display:block;padding:20px;border-right:1px solid #e9e9e9;border-left:1px solid #e9e9e9;color:#595959;font-family:"dotum";font-size:0.875em;font-weight:bold;text-decoration:none}
|
||||
#tnb a:hover,
|
||||
#tnb a:focus {background:#faf9f5}
|
||||
#tnb a:focus {background:#f0f0ed}
|
||||
|
||||
/* 전체검색 */
|
||||
#hdsch {position:absolute;top:90px;right:50px;margin:0;padding:0;border:1px solid #ccc;background:#fff}
|
||||
@ -125,7 +124,7 @@ h6 {margin:0 0 20px}
|
||||
#poll footer input {padding:0 15px;height:24px;border:0;background:#333;color:#fff;font-size:0.9em;letter-spacing:-0.1em;vertical-align:top}
|
||||
#poll footer a {display:inline-block;padding:0 5px;height:22px;border:1px solid #b7b7b7;background:#fff;color:#000;font-size:0.9em;vertical-align:top;text-decoration:none;letter-spacing:-0.1em;line-height:2.1em}
|
||||
/* 설문조사 결과 (새창) */
|
||||
#poll_result section {margin:0 auto 20px;;padding:10px;width:90%}
|
||||
#poll_result section {margin:0 auto 20px;padding:10px;width:90%}
|
||||
#poll_result h2 {margin-top:10px;font-size:1em}
|
||||
#poll_result_list {border:1px solid #ddd;background:#f7f7f7}
|
||||
#poll_result_list h2 {padding:10px 0 0;text-align:center}
|
||||
@ -141,7 +140,6 @@ h6 {margin:0 0 20px}
|
||||
#poll_result_cmt h2 {text-align:center}
|
||||
#poll_result_cmt article {margin-bottom:15px;border-bottom:1px solid #e7e7e7}
|
||||
#poll_result_cmt h1 {display:inline-block;margin:0 10px 0 0;padding:0;font-size:0.875em}
|
||||
#poll_result_cmt h1 a {color:#000;text-decoration:none}
|
||||
#poll_result_cmt .poll_datetime,
|
||||
#poll_result_cmt .poll_del {font-size:0.75em}
|
||||
#poll_result_cmt p {padding:3px 0;font-size:0.875em}
|
||||
@ -202,6 +200,8 @@ h6 {margin:0 0 20px}
|
||||
.frm_tbl select {padding:2px}
|
||||
.frm_info {display:block;padding:10px 0 0;color:#595959;line-height:1.3em}
|
||||
|
||||
.readonly {background:#ff3061}
|
||||
|
||||
/* 테이블 항목별 정의 */
|
||||
.td_group {width:100px;text-align:center}
|
||||
.td_board {width:120px;text-align:center}
|
||||
@ -233,7 +233,10 @@ h6 {margin:0 0 20px}
|
||||
|
||||
/* 새창 공통 */
|
||||
.new_win h1 {padding:10px 30px;background:#333;color:#fff;font-size:1.2em}
|
||||
.new_win h1 a {color:#fff;text-decoration:none}
|
||||
.new_win article h1 {background:transparent;color:#000}
|
||||
.new_win article h1 a {color:#000;text-decoration:none}
|
||||
.new_win h2 {font-size:1em}
|
||||
.new_win table {margin:0 auto 30px;width:90%}
|
||||
.new_win fieldset {margin:0 auto 30px;width:90%}
|
||||
.new_win_ul {margin:-30px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;font-size:0.8em;list-style:none;zoom:1}
|
||||
@ -267,6 +270,22 @@ h6 {margin:0 0 20px}
|
||||
#fregister textarea {display:block;margin-bottom:10px;width:99%;height:200px;border:1px solid #ddd}
|
||||
#fregister label {display:inline-block;margin-right:10px}
|
||||
|
||||
/* 폼메일 */
|
||||
#formmail textarea {height:100px}
|
||||
|
||||
/* 자기소개 */
|
||||
#profile table {margin-bottom:15px}
|
||||
#profile section {margin:0 auto 20px;width:90%;border-bottom:1px solid #d9d9d9}
|
||||
#profile h2 {margin:0;font-size:0.8em;font-family:"gulim"}
|
||||
#profile p {font-size:0.75em}
|
||||
|
||||
/* 쪽지 읽기 */
|
||||
#memo_view section {margin:0 auto 20px;width:90%;border-bottom:1px solid #d9d9d9}
|
||||
#memo_view p {font-size:0.75em}
|
||||
|
||||
/* 쪽지 쓰기 */
|
||||
#memo_write textarea {height:100px}
|
||||
|
||||
/* pagination */
|
||||
.pg {margin-bottom:30px;font-size:0.875em;text-align:center}
|
||||
.pg_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}
|
||||
|
||||
@ -1,72 +1,73 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
<section>
|
||||
<h1><?=$name?>님께 메일보내기</h1>
|
||||
|
||||
<form name="fformmail" method="post" onsubmit="return fformmail_submit(this);" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type="hidden" name="to" value="<?=$email?>">
|
||||
<input type="hidden" name="attach" value="2">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<? if ($is_member) { // 회원이면 ?>
|
||||
<input type="hidden" name="fnick" value="<?=$member[mb_nick]?>">
|
||||
<input type="hidden" name="fmail" value="<?=$member[mb_email]?>">
|
||||
<? } ?>
|
||||
<table>
|
||||
<caption>메일쓰기</caption>
|
||||
<tbody>
|
||||
<? if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름</label></th>
|
||||
<td><input type="text" id="fnick" name="fnick" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail</label></th>
|
||||
<td><input type="text" id="fmail" name="fmail" required></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="subject">제목</label></th>
|
||||
<td><input type=text id="subject" name="subject" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">형식</th>
|
||||
<td>
|
||||
<input type="radio" id="type_text" name="type" value="0" checked> <label for="type_text">TEXT</label>
|
||||
<input type="radio" id="type_html" name="type" value="1" > <label for="type_html">HTML</label>
|
||||
<input type="radio" id="type_both" name="type" value="2" > <label for="type_both">TEXT+HTML</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="content">내용</label></th>
|
||||
<td><textarea id="content" name="content" required></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 1</label></th>
|
||||
<td><input type="file" id="file1" name="file1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file2">첨부 2</label></th>
|
||||
<td><input type="file" id="file2" name="file2"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="formmail" class="new_win">
|
||||
<h1><?=$name?>님께 메일보내기</h1>
|
||||
|
||||
<fieldset>
|
||||
<legend>자동등록방지</legend>
|
||||
<img id="kcaptcha_image" />
|
||||
<input type="text" name="wr_key" title="자동등록방지" size="10" required>
|
||||
왼쪽의 글자를 입력하세요.
|
||||
</fieldset>
|
||||
<form name="fformmail" method="post" onsubmit="return fformmail_submit(this);" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type="hidden" name="to" value="<?=$email?>">
|
||||
<input type="hidden" name="attach" value="2">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
<? if ($is_member) { // 회원이면 ?>
|
||||
<input type="hidden" name="fnick" value="<?=$member[mb_nick]?>">
|
||||
<input type="hidden" name="fmail" value="<?=$member[mb_email]?>">
|
||||
<? } ?>
|
||||
<table class="frm_tbl">
|
||||
<caption>메일쓰기</caption>
|
||||
<tbody>
|
||||
<? if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름</label></th>
|
||||
<td><input type="text" id="fnick" name="fnick" class="frm_input required" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail</label></th>
|
||||
<td><input type="text" id="fmail" name="fmail" class="frm_input required" required></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="subject">제목</label></th>
|
||||
<td><input type=text id="subject" name="subject" class="frm_input required" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">형식</th>
|
||||
<td>
|
||||
<input type="radio" id="type_text" name="type" value="0" checked> <label for="type_text">TEXT</label>
|
||||
<input type="radio" id="type_html" name="type" value="1" > <label for="type_html">HTML</label>
|
||||
<input type="radio" id="type_both" name="type" value="2" > <label for="type_both">TEXT+HTML</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="content">내용</label></th>
|
||||
<td><textarea id="content" name="content" class="required" required></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 1</label></th>
|
||||
<td><input type="file" id="file1" name="file1" class="frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file2">첨부 2</label></th>
|
||||
<td><input type="file" id="file2" name="file2" class="frm_input"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" value="메일발송">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
<fieldset>
|
||||
<legend>자동등록방지</legend>
|
||||
<img id="kcaptcha_image" />
|
||||
<input type="text" name="wr_key" class="fieldset_input required" title="자동등록방지" size="10" required>
|
||||
왼쪽의 글자를 입력하세요.
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" value="메일발송">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<script src="<?="$g4[path]/js/md5.js"?>"></script>
|
||||
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>
|
||||
<script>
|
||||
|
||||
@ -2,44 +2,47 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<h1>쪽지보내기</h1>
|
||||
|
||||
<ul>
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지보내기</a></li>
|
||||
</ul>
|
||||
<div id="memo_write" class="new_win">
|
||||
<h1>쪽지보내기</h1>
|
||||
|
||||
<form name="fmemoform" method="post" onsubmit="return fmemoform_submit(this);" autocomplete="off">
|
||||
<table>
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디</label></th>
|
||||
<td>
|
||||
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" required value="<?=$me_recv_mb_id?>">
|
||||
여러 회원에게 보낼때는 컴마(,)로 구분하세요.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_memo">내용</label></th>
|
||||
<td><textarea id="me_memo" name="me_memo" required><?=$content?></textarea></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<ul class="new_win_ul">
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지보내기</a></li>
|
||||
</ul>
|
||||
|
||||
<fieldset>
|
||||
<legend>자동등록방지</legend>
|
||||
<img id="kcaptcha_image" />
|
||||
<input type="text" name="wr_key" required>
|
||||
왼쪽의 글자를 입력하세요.
|
||||
</fieldset>
|
||||
<form name="fmemoform" method="post" onsubmit="return fmemoform_submit(this);" autocomplete="off">
|
||||
<table class="frm_tbl">
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디</label></th>
|
||||
<td>
|
||||
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" class="frm_input required" size="47" required value="<?=$me_recv_mb_id?>">
|
||||
<span class="frm_info">여러 회원에게 보낼때는 컴마(,)로 구분하세요.</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_memo">내용</label></th>
|
||||
<td><textarea id="me_memo" name="me_memo" required><?=$content?></textarea></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" value="보내기">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
<fieldset>
|
||||
<legend>자동등록방지</legend>
|
||||
<img id="kcaptcha_image" />
|
||||
<input type="text" name="wr_key" required>
|
||||
왼쪽의 글자를 입력하세요.
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" value="보내기">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script src="<?=$g4[path]?>/js/md5.js"></script>
|
||||
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>
|
||||
|
||||
@ -2,22 +2,28 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>
|
||||
<?
|
||||
//$nick = cut_str($mb[mb_nick], $config[cf_cut_name]);
|
||||
$nick = get_sideview($mb[mb_id], $mb[mb_nick], $mb[mb_email], $mb[mb_homepage]);
|
||||
if ($kind == "recv")
|
||||
echo "{$nick}님께서 {$memo[me_send_datetime]}에 보내온 쪽지의 내용입니다.";
|
||||
if ($kind == "send")
|
||||
echo "{$nick}님께 {$memo[me_send_datetime]}에 보낸 쪽지의 내용입니다.";
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
<p>
|
||||
<?=conv_content($memo[me_memo], 0)?>
|
||||
</p>
|
||||
<div id="memo_view" class="new_win">
|
||||
<h1>
|
||||
<?
|
||||
//$nick = cut_str($mb[mb_nick], $config[cf_cut_name]);
|
||||
$nick = get_sideview($mb[mb_id], $mb[mb_nick], $mb[mb_email], $mb[mb_homepage]);
|
||||
if ($kind == "recv")
|
||||
echo "{$nick}님께서 {$memo[me_send_datetime]}에 보내온 쪽지의 내용입니다.";
|
||||
if ($kind == "send")
|
||||
echo "{$nick}님께 {$memo[me_send_datetime]}에 보낸 쪽지의 내용입니다.";
|
||||
?>
|
||||
</h1>
|
||||
<ul class="new_win_ul">
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지보내기</a></li>
|
||||
</ul>
|
||||
<section>
|
||||
<h2>쪽지내용</h2>
|
||||
<p>
|
||||
<?=conv_content($memo[me_memo], 0)?>
|
||||
</p>
|
||||
</section>
|
||||
<div>
|
||||
<a href="<?=$prev_link?>">이전쪽지</a>
|
||||
<a href="<?=$next_link?>">다음쪽지</a>
|
||||
|
||||
@ -2,40 +2,42 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<h1><?=$mb_nick?>님의 프로필</h1>
|
||||
<div id="profile" class="new_win">
|
||||
<h1><?=$mb_nick?>님의 프로필</h1>
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회원권한</th>
|
||||
<td><?=$mb[mb_level]?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">포인트</th>
|
||||
<td><?=number_format($mb[mb_point])?></td>
|
||||
</tr>
|
||||
<? if ($mb_homepage) { ?>
|
||||
<tr>
|
||||
<th scope="row">홈페이지</th>
|
||||
<td><a href="<?=$mb_homepage?>" target="_blank"><?=$mb_homepage?></a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row">회원가입일</th>
|
||||
<td><?=($member[mb_level] >= $mb[mb_level]) ? substr($mb[mb_datetime],0,10) ." (".$mb_reg_after." 일)" : "알 수 없음"; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">최종접속일</th>
|
||||
<td><?=($member[mb_level] >= $mb[mb_level]) ? $mb[mb_today_login] : "알 수 없음";?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="frm_tbl">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회원권한</th>
|
||||
<td><?=$mb[mb_level]?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">포인트</th>
|
||||
<td><?=number_format($mb[mb_point])?></td>
|
||||
</tr>
|
||||
<? if ($mb_homepage) { ?>
|
||||
<tr>
|
||||
<th scope="row">홈페이지</th>
|
||||
<td><a href="<?=$mb_homepage?>" target="_blank"><?=$mb_homepage?></a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row">회원가입일</th>
|
||||
<td><?=($member[mb_level] >= $mb[mb_level]) ? substr($mb[mb_datetime],0,10) ." (".$mb_reg_after." 일)" : "알 수 없음"; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">최종접속일</th>
|
||||
<td><?=($member[mb_level] >= $mb[mb_level]) ? $mb[mb_today_login] : "알 수 없음";?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<section>
|
||||
<h2><?=$mb_nick?>님의 자기소개</h2>
|
||||
<p><?=$mb_profile?></p>
|
||||
</section>
|
||||
<section>
|
||||
<h2><?=$mb_nick?>님의 자기소개</h2>
|
||||
<p><?=$mb_profile?></p>
|
||||
</section>
|
||||
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user