사용자: 쪽지 목록 작업 중, 아웃로그인 로그인 후 스타일
This commit is contained in:
122
bbs/point.php
122
bbs/point.php
@ -38,74 +38,74 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
|
||||
<section id="point" class="new_win">
|
||||
<h1>포인트내역</h1>
|
||||
<h1>포인트내역</h1>
|
||||
|
||||
<table>
|
||||
<caption>포인트내역 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">일시</th>
|
||||
<th scope="col">내용</th>
|
||||
<th scope="col">지급포인트</th>
|
||||
<th scope="col">사용포인트</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2">소계</td>
|
||||
<td><?=number_format($sum_point1)?></td>
|
||||
<td><?=number_format($sum_point2)?></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?
|
||||
$sum_point1 = $sum_point2 = 0;
|
||||
<table>
|
||||
<caption>포인트내역 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">일시</th>
|
||||
<th scope="col">내용</th>
|
||||
<th scope="col">지급포인트</th>
|
||||
<th scope="col">사용포인트</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2">소계</td>
|
||||
<td><?=number_format($sum_point1)?></td>
|
||||
<td><?=number_format($sum_point2)?></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?
|
||||
$sum_point1 = $sum_point2 = 0;
|
||||
|
||||
$sql = " select *
|
||||
{$sql_common}
|
||||
{$sql_order}
|
||||
limit {$from_record}, {$rows} ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$point1 = $point2 = 0;
|
||||
if ($row[po_point] > 0) {
|
||||
$point1 = '+' .number_format($row[po_point]);
|
||||
$sum_point1 += $row[po_point];
|
||||
} else {
|
||||
$point2 = number_format($row[po_point]);
|
||||
$sum_point2 += $row[po_point];
|
||||
$sql = " select *
|
||||
{$sql_common}
|
||||
{$sql_order}
|
||||
limit {$from_record}, {$rows} ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$point1 = $point2 = 0;
|
||||
if ($row[po_point] > 0) {
|
||||
$point1 = '+' .number_format($row[po_point]);
|
||||
$sum_point1 += $row[po_point];
|
||||
} else {
|
||||
$point2 = number_format($row[po_point]);
|
||||
$sum_point2 += $row[po_point];
|
||||
}
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td><?=$row[po_datetime]?></td>
|
||||
<td><?=$row[po_content]?></td>
|
||||
<td><?=$point1?></td>
|
||||
<td><?=$point2?></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td><?=$row[po_datetime]?></td>
|
||||
<td><?=$row[po_content]?></td>
|
||||
<td><?=$point1?></td>
|
||||
<td><?=$point2?></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
else {
|
||||
if ($sum_point1 > 0)
|
||||
$sum_point1 = "+" . number_format($sum_point1);
|
||||
$sum_point2 = number_format($sum_point2);
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
else {
|
||||
if ($sum_point1 > 0)
|
||||
$sum_point1 = "+" . number_format($sum_point1);
|
||||
$sum_point2 = number_format($sum_point2);
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>보유 포인트 <?=number_format($member[mb_point])?>점</p>
|
||||
|
||||
<p>보유 포인트 <?=number_format($member[mb_point])?>점</p>
|
||||
<div class="pg">
|
||||
<?=get_paging($config[cf_write_pages], $page, $total_page, $_SERVER[PHP_SELF].'?'.$qstr.'&page=');?>
|
||||
</div>
|
||||
|
||||
<div class="pg">
|
||||
<?=get_paging($config[cf_write_pages], $page, $total_page, $_SERVER[PHP_SELF].'?'.$qstr.'&page=');?>
|
||||
</div>
|
||||
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?
|
||||
|
||||
23
css/def.css
23
css/def.css
@ -2,7 +2,7 @@
|
||||
|
||||
/* 초기화 */
|
||||
html {overflow-y:scroll}
|
||||
body {background:#f5f4ed;font-size:1em}
|
||||
body {background:#f5f4ed;font-size:1em}
|
||||
html, body, h1, h2, h3, h4, h5, h6 {margin:0 0 0;padding:0}
|
||||
h1, h2, h3, h4, h5, h6 {font-family:"verdana","dotum"}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
|
||||
@ -17,11 +17,13 @@ hr {display:none}
|
||||
table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
tfoot td {font-weight:bold;text-align:center}
|
||||
caption {padding:0 0 10px;text-align:left}
|
||||
th {padding:8px 0;border-top:1px solid #a9a9a9;border-bottom:1px solid #a9a9a9;font-size:0.8em}
|
||||
.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}
|
||||
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}
|
||||
|
||||
/* 필드셋 */
|
||||
fieldset {margin-bottom:20px;padding:13px;border:1px solid #dedace;background:#fff}
|
||||
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}
|
||||
fieldset .fieldset_input {padding:3px;border:1px solid #ddd;background:#f0f0ed;vertical-align:middle}
|
||||
fieldset .fieldset_input:focus {padding:4px;border:0;background:#494946;color:#fff}
|
||||
@ -85,10 +87,10 @@ h6 {margin:0 0 20px}
|
||||
#snb ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
/* 아웃로그인 */
|
||||
.outlogin {margin-bottom:5px;padding:10px 10px 0;width:178px;border:1px solid #dedace;background:#f0f0ed}
|
||||
.outlogin {margin-bottom:5px;border:1px solid #dedace}
|
||||
.outlogin h2 {margin:0;height:0;overflow:hidden}
|
||||
/* 로그인 전 */
|
||||
#ol_before {font-size:0.7em}
|
||||
#ol_before {padding:10px 10px 0;width:178px;background:#f0f0ed;font-size:0.7em}
|
||||
#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 input:focus {background:#494946;color:#fff}
|
||||
@ -104,12 +106,13 @@ h6 {margin:0 0 20px}
|
||||
#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_after {padding-bottom:10px;font-size:0.75em}
|
||||
#ol_after {width:198px;background:#f0f0ed;color:#000;font-size:0.75em}
|
||||
#ol_after a {color:#000;text-decoration:none}
|
||||
#ol_after header {padding:5px 0 7px;border-bottom:1px solid #ddd;text-align:center}
|
||||
#ol_after li a {display:block;position:relative;padding:7px 0 5px}
|
||||
#ol_after li span {position:absolute;top:7px;right:0}
|
||||
#ol_after footer {padding-top:7px;border-top:1px solid #ddd;text-align:center}
|
||||
#ol_after header {padding:10px 0;text-align:center}
|
||||
#ol_after ul {padding:5px 0;background:#fff}
|
||||
#ol_after li a {display:block;position:relative;padding:7px 10px}
|
||||
#ol_after li span {position:absolute;top:7px;right:10px}
|
||||
#ol_after footer {padding:7px 0 10px;text-align:center}
|
||||
#ol_after footer a {display:inline-block;padding:0 5px}
|
||||
|
||||
/* 설문조사 */
|
||||
|
||||
@ -2,36 +2,42 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<h1>쪽지함</h1>
|
||||
<section id="memo" class="new_win">
|
||||
<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>
|
||||
<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>
|
||||
<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><?=$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>
|
||||
<table>
|
||||
<caption>
|
||||
전체 <?=$kind_title?>쪽지 <?=$total_count?>통<br>
|
||||
<span class="caption_desc">쪽지 보관일수는 최장 <?=$config[cf_memo_del]?>일 입니다.</span>
|
||||
</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<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><?=$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>
|
||||
|
||||
<div class="btn_window">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user