사용자: 폼메일, 쪽지쓰기, 쪽지보기, 자기소개
This commit is contained in:
@ -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