회원스킨/쪽지목록

This commit is contained in:
whitedot
2012-12-06 14:13:43 +09:00
parent de96afedf7
commit 89abfb29e9
2 changed files with 41 additions and 151 deletions

View File

@ -2,85 +2,22 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<script type="text/javascript" src="<?=$g4[path]?>/js/capslock.js"></script>
<br>
<br>
<form name=fmemberconfirm method=post onsubmit="return fmemberconfirm_submit(this);">
<input type=hidden name=mb_id value='<?=$member[mb_id]?>'>
<input type=hidden name=w value='u'>
<table width="668" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20" height="26"></td>
<td width="628"></td>
<td width="20"></td>
</tr>
<tr>
<td width="20" height="2"></td>
<td width="628" bgcolor="#8F8F8F"></td>
<td width="20"></td>
</tr>
<tr>
<td width="20" height="48"></td>
<td width="628" align="right" background="<?=$member_skin_path?>/img/modify_table_bg_top.gif"><img src="<?=$member_skin_path?>/img/modify_img.gif" width="344" height="48"></td>
<td width="20"></td>
</tr>
<tr>
<td width="20" height="223"></td>
<td width="628" align="center" background="<?=$member_skin_path?>/img/modify_table_bg.gif">
<table width="460" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="460" height="223" align="center" bgcolor="#FFFFFF">
<table width="350" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="250">
<table width="250" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"><img src="<?=$member_skin_path?>/img/icon.gif" width="3" height="3"></td>
<td width="90" height="26"><b>회원아이디</b></td>
<td width="150"><b><?=$member[mb_id]?></b></td>
</tr>
<tr>
<td><img src="<?=$member_skin_path?>/img/icon.gif" width="3" height="3"></td>
<td height="26"><b>패스워드</b></td>
<td><INPUT type=password maxLength=20 size=15 name="mb_password" id="confirm_mb_password" itemname="패스워드" required onkeypress="check_capslock('confirm_mb_password');"></td>
</tr>
</table>
</td>
<td width="100" valign="top"><INPUT name="image" type=image src="<?=$member_skin_path?>/img/ok_button.gif" width="65" height="52" border=0 id="btn_submit"></td>
</tr>
<tr>
<td height="20" colspan="2"></td>
</tr>
<tr>
<td height="1" background="<?=$member_skin_path?>/img/dot_line.gif" colspan="2"></td>
</tr>
</table>
<table>
<tr align="center">
<td height="80" colspan="2">외부로부터 회원님의 정보를 안전하게 보호하기 위해<br>패스워드를 확인하셔야 합니다.</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="20"></td>
</tr>
<tr>
<td width="20" height="1"></td>
<td width="628" bgcolor="#F0F0F0"></td>
<td width="20"></td>
</tr>
<tr>
<td height="20" colspan="3"></td>
</tr>
</table>
<script src="<?=$g4[path]?>/js/capslock.js"></script>
<form name="fmemberconfirm" method="post" onsubmit="return fmemberconfirm_submit(this);">
<input type=hidden name="mb_id" value="<?=$member[mb_id]?>">
<input type=hidden name="w" value="u">
<fieldset>
<legend>패스워드 확인</legend>
회원아이디
<?=$member[mb_id]?>
<label for="confirm_mb_password">패스워드</label>
<input type="password" id="confirm_mb_password" name="mb_password" maxLength="20" size="15" required onkeypress="check_capslock('confirm_mb_password');">
<input type="submit" id="btn_submit" value="확인">
</fieldset>
</form>
<script type='text/javascript'>
<script>
document.onload = document.fmemberconfirm.mb_password.focus();
function fmemberconfirm_submit(f)

View File

@ -2,83 +2,36 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="600" height="50" border="0" cellpadding="0" cellspacing="0">
<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>
<table>
<caption>
전체 <?=$kind_title?>쪽지 <?=$total_count?>통<br>
쪽지 보관일수는 최장 <?=$config[cf_memo_del]?>일 입니다.
</caption>
<thead>
<tr>
<td align="center" valign="middle" bgcolor="#EBEBEB">
<table width="590" height="40" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" align="center" bgcolor="#FFFFFF" ><img src="<?=$member_skin_path?>/img/icon_01.gif" width="5" height="5"></td>
<td width="65" align="left" bgcolor="#FFFFFF" ><font color="#666666"><b><?=$g4[title]?></b></font></td>
<td width="500" bgcolor="#FFFFFF" ></td>
</tr>
</table></td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="600" height="20" colspan="14"></td>
</tr>
<tr>
<td width="30" height="24"></td>
<td width="99" align="center" valign="middle"><a href="./memo.php?kind=recv"><img src="<?=$member_skin_path?>/img/btn_recv_paper_<?=$recv_img?>.gif" width="99" height="24" border="0"></a></td>
<td width="2" align="center" valign="middle">&nbsp;</td>
<td width="99" align="center" valign="middle"><a href="./memo.php?kind=send"><img src="<?=$member_skin_path?>/img/btn_send_paper_<?=$send_img?>.gif" width="99" height="24" border="0"></a></td>
<td width="2" align="center" valign="middle">&nbsp;</td>
<td width="99" align="center" valign="middle"><a href="./memo_form.php"><img src="<?=$member_skin_path?>/img/btn_write_paper_off.gif" width="99" height="24" border="0"></a></td>
<td width="2" align="center" valign="middle">&nbsp;</td>
<td width="60" valign="middle" bgcolor="#EFEFEF">&nbsp;</td>
<td width="4" align="center" valign="middle"><img src="<?=$member_skin_path?>/img/left_img.gif" width="4" height="24"></td>
<td width="18" align="center" valign="middle" background="<?=$member_skin_path?>/img/bar_bg_img.gif"><img src="<?=$member_skin_path?>/img/arrow_01.gif" width="7" height="5"></td>
<td width="148" align="left" valign="middle" background="<?=$member_skin_path?>/img/bar_bg_img.gif">전체 <?=$kind_title?> 쪽지 [ <B><?=$total_count?></B> ]통</td>
<td width="4"><img src="<?=$member_skin_path?>/img/right_img.gif" width="4" height="24"></td>
<td width="3" bgcolor="#EFEFEF"></td>
<td width="30" height="24"></td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="200" align="center" valign="top">
<table width="540" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30">* 쪽지 보관일수는 최장 <?=$config[cf_memo_del]?>일 입니다.</td>
</tr>
<tr>
<td height="2" bgcolor="#808080"></td>
</tr>
<tr>
<td width="540" bgcolor="#FFFFFF">
<table width=100% cellpadding=1 cellspacing=1 border=0>
<tr bgcolor=#E1E1E1 align=center>
<td width="30%" height="24"><b><?= ($kind == "recv") ? "보낸사람" : "받는사람"; ?></b></td>
<td width=25%><b>보낸시간</b></td>
<td width=25%><b>읽은시간</b></td>
<td width=20%><b>쪽지삭제</b></td>
</tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr height=25 bgcolor=#F6F6F6 align=center>
<td width="30%"><?=$list[$i][name]?></td>
<td width="25%"><a href="<?=$list[$i][view_href]?>"><?=$list[$i][send_datetime]?></font></td>
<td width="25%"><a href="<?=$list[$i][view_href]?>"><?=$list[$i][read_datetime]?></font></td>
<td width="20%"><a href="javascript:del('<?=$list[$i][del_href]?>');"><img src="<?=$member_skin_path?>/img/btn_comment_delete.gif" width="45" height="14" border="0"></a></td>
</tr>
<? } ?>
<? if ($i==0) { echo "<tr><td height=100 align=center colspan=4>자료가 없습니다.</td></tr>"; } ?>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="2" align="center" valign="top" bgcolor="#D5D5D5"></td>
<th scope="col"><?= ($kind == "recv") ? "보낸사람" : "받는사람"; ?></th>
<th scope="col">보낸시간</th>
<th scope="col">읽은시간</th>
<th scope="col">쪽지삭제</th>
</tr>
</thead>
<tbody>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td height="2" align="center" valign="top" bgcolor="#E6E6E6"></td>
</tr>
<tr>
<td height="40" align="center" valign="bottom"><a href="javascript:window.close();"><img src="<?=$member_skin_path?>/img/btn_close.gif" width="48" height="20" border="0"></a><br><br></td>
<td><?=$list[$i][name]?></td>
<td><a href="<?=$list[$i][view_href]?>"><?=$list[$i][send_datetime]?></font></td>
<td><a href="<?=$list[$i][view_href]?>"><?=$list[$i][read_datetime]?></font></td>
<td><a href="javascript:del('<?=$list[$i][del_href]?>');"><img src="<?=$member_skin_path?>/img/btn_comment_delete.gif" width="45" height="14" border="0"></a></td>
</tr>
<? } ?>
<? if ($i==0) { echo "<tr><td colspan=\"4\" class=\"empty_table\">자료가 없습니다.</td></tr>"; } ?>
</tbody>
</table>