사용자: 폼메일, 쪽지쓰기, 쪽지보기, 자기소개

This commit is contained in:
whitedot
2013-01-08 11:23:02 +09:00
parent f2ffc6139c
commit 0785367b30
5 changed files with 178 additions and 147 deletions

View File

@ -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_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}
/* 이미지 등비율 리사이징 */ /* 이미지 등비율 리사이징 */
.img_fix {float:left;width:100%;height:auto} .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 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 {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:#f0f0ed}
/* 전체검색 */ /* 전체검색 */
#hdsch {position:absolute;top:90px;right:50px;margin:0;padding:0;border:1px solid #ccc;background:#fff} #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 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 section {margin:0 auto 20px;padding:10px;width:90%}
#poll_result h2 {margin-top:10px;font-size:1em} #poll_result h2 {margin-top:10px;font-size:1em}
#poll_result_list {border:1px solid #ddd;background:#f7f7f7} #poll_result_list {border:1px solid #ddd;background:#f7f7f7}
#poll_result_list h2 {padding:10px 0 0;text-align:center} #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 h2 {text-align:center}
#poll_result_cmt article {margin-bottom:15px;border-bottom:1px solid #e7e7e7} #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 {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_datetime,
#poll_result_cmt .poll_del {font-size:0.75em} #poll_result_cmt .poll_del {font-size:0.75em}
#poll_result_cmt p {padding:3px 0;font-size:0.875em} #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_tbl select {padding:2px}
.frm_info {display:block;padding:10px 0 0;color:#595959;line-height:1.3em} .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_group {width:100px;text-align:center}
.td_board {width:120px;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 {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 {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 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}
@ -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 textarea {display:block;margin-bottom:10px;width:99%;height:200px;border:1px solid #ddd}
#fregister label {display:inline-block;margin-right:10px} #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 */ /* 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}

View File

@ -1,7 +1,8 @@
<? <?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?> ?>
<section>
<div id="formmail" class="new_win">
<h1><?=$name?>님께 메일보내기</h1> <h1><?=$name?>님께 메일보내기</h1>
<form name="fformmail" method="post" onsubmit="return fformmail_submit(this);" enctype="multipart/form-data" style="margin:0px;"> <form name="fformmail" method="post" onsubmit="return fformmail_submit(this);" enctype="multipart/form-data" style="margin:0px;">
@ -12,22 +13,22 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<input type="hidden" name="fnick" value="<?=$member[mb_nick]?>"> <input type="hidden" name="fnick" value="<?=$member[mb_nick]?>">
<input type="hidden" name="fmail" value="<?=$member[mb_email]?>"> <input type="hidden" name="fmail" value="<?=$member[mb_email]?>">
<? } ?> <? } ?>
<table> <table class="frm_tbl">
<caption>메일쓰기</caption> <caption>메일쓰기</caption>
<tbody> <tbody>
<? if (!$is_member) { ?> <? if (!$is_member) { ?>
<tr> <tr>
<th scope="row"><label for="fnick">이름</label></th> <th scope="row"><label for="fnick">이름</label></th>
<td><input type="text" id="fnick" name="fnick" required></td> <td><input type="text" id="fnick" name="fnick" class="frm_input required" required></td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="fmail">E-mail</label></th> <th scope="row"><label for="fmail">E-mail</label></th>
<td><input type="text" id="fmail" name="fmail" required></td> <td><input type="text" id="fmail" name="fmail" class="frm_input required" required></td>
</tr> </tr>
<? } ?> <? } ?>
<tr> <tr>
<th scope="row"><label for="subject">제목</label></th> <th scope="row"><label for="subject">제목</label></th>
<td><input type=text id="subject" name="subject" required></td> <td><input type=text id="subject" name="subject" class="frm_input required" required></td>
</tr> </tr>
<tr> <tr>
<th scope="row">형식</th> <th scope="row">형식</th>
@ -39,15 +40,15 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="content">내용</label></th> <th scope="row"><label for="content">내용</label></th>
<td><textarea id="content" name="content" required></textarea></td> <td><textarea id="content" name="content" class="required" required></textarea></td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="file1">첨부 1</label></th> <th scope="row"><label for="file1">첨부 1</label></th>
<td><input type="file" id="file1" name="file1"></td> <td><input type="file" id="file1" name="file1" class="frm_input"></td>
</tr> </tr>
<tr> <tr>
<th scope="row"><label for="file2">첨부 2</label></th> <th scope="row"><label for="file2">첨부 2</label></th>
<td><input type="file" id="file2" name="file2"></td> <td><input type="file" id="file2" name="file2" class="frm_input"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -55,7 +56,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<fieldset> <fieldset>
<legend>자동등록방지</legend> <legend>자동등록방지</legend>
<img id="kcaptcha_image" /> <img id="kcaptcha_image" />
<input type="text" name="wr_key" title="자동등록방지" size="10" required> <input type="text" name="wr_key" class="fieldset_input required" title="자동등록방지" size="10" required>
왼쪽의 글자를 입력하세요. 왼쪽의 글자를 입력하세요.
</fieldset> </fieldset>
@ -65,7 +66,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</div> </div>
</form> </form>
</section> </div>
<script src="<?="$g4[path]/js/md5.js"?>"></script> <script src="<?="$g4[path]/js/md5.js"?>"></script>
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script> <script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>

View File

@ -2,23 +2,25 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?> ?>
<div id="memo_write" class="new_win">
<h1>쪽지보내기</h1> <h1>쪽지보내기</h1>
<ul> <ul class="new_win_ul">
<li><a href="./memo.php?kind=recv">받은쪽지</a></li> <li><a href="./memo.php?kind=recv">받은쪽지</a></li>
<li><a href="./memo.php?kind=send">보낸쪽지</a></li> <li><a href="./memo.php?kind=send">보낸쪽지</a></li>
<li><a href="./memo_form.php">쪽지보내기</a></li> <li><a href="./memo_form.php">쪽지보내기</a></li>
</ul> </ul>
<form name="fmemoform" method="post" onsubmit="return fmemoform_submit(this);" autocomplete="off"> <form name="fmemoform" method="post" onsubmit="return fmemoform_submit(this);" autocomplete="off">
<table> <table class="frm_tbl">
<caption>쪽지쓰기</caption> <caption>쪽지쓰기</caption>
<tbody> <tbody>
<tr> <tr>
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디</label></th> <th scope="row"><label for="me_recv_mb_id">받는 회원아이디</label></th>
<td> <td>
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" required value="<?=$me_recv_mb_id?>"> <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> </td>
</tr> </tr>
<tr> <tr>
@ -40,6 +42,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<a href="javascript:window.close();">창닫기</a> <a href="javascript:window.close();">창닫기</a>
</div> </div>
</form> </form>
</div>
<script src="<?=$g4[path]?>/js/md5.js"></script> <script src="<?=$g4[path]?>/js/md5.js"></script>
<script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script> <script src="<?="$g4[path]/js/jquery.kcaptcha.js"?>"></script>

View File

@ -2,8 +2,7 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?> ?>
<article> <div id="memo_view" class="new_win">
<header>
<h1> <h1>
<? <?
//$nick = cut_str($mb[mb_nick], $config[cf_cut_name]); //$nick = cut_str($mb[mb_nick], $config[cf_cut_name]);
@ -14,10 +13,17 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
echo "{$nick}님께 {$memo[me_send_datetime]}에 보낸 쪽지의 내용입니다."; echo "{$nick}님께 {$memo[me_send_datetime]}에 보낸 쪽지의 내용입니다.";
?> ?>
</h1> </h1>
</header> <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> <p>
<?=conv_content($memo[me_memo], 0)?> <?=conv_content($memo[me_memo], 0)?>
</p> </p>
</section>
<div> <div>
<a href="<?=$prev_link?>">이전쪽지</a> <a href="<?=$prev_link?>">이전쪽지</a>
<a href="<?=$next_link?>">다음쪽지</a> <a href="<?=$next_link?>">다음쪽지</a>

View File

@ -2,9 +2,10 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?> ?>
<div id="profile" class="new_win">
<h1><?=$mb_nick?>님의 프로필</h1> <h1><?=$mb_nick?>님의 프로필</h1>
<table> <table class="frm_tbl">
<tbody> <tbody>
<tr> <tr>
<th scope="row">회원권한</th> <th scope="row">회원권한</th>
@ -39,3 +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>
</div>