쇼핑몰관리자: 개인결제관리 섹션 구분

This commit is contained in:
whitedot
2013-09-17 13:47:15 +09:00
parent 360fe9de31
commit 7b2fc83b94
3 changed files with 96 additions and 69 deletions

View File

@ -41,10 +41,13 @@ if($popup == 'yes') { // 팝업창일 때
} }
else { // 현재페이지일 때 else { // 현재페이지일 때
include_once (G5_ADMIN_PATH.'/admin.head.php'); include_once (G5_ADMIN_PATH.'/admin.head.php');
$wrp_tag_st = '<section class="cbox">'.PHP_EOL.'<h2>'.$html_title.'</h2>';
$wrp_tag_end = '</section>';
} }
$pg_anchor = '<ul class="anchor">
<li><a href="#anc_spp_info">주문 정보</a></li>
<li><a href="#anc_spp_pay">결제 정보</a></li>
</ul>';
?> ?>
<form name="fpersonalpayform" action="./personalpayformupdate.php" method="post" onsubmit="return form_check(this);"> <form name="fpersonalpayform" action="./personalpayformupdate.php" method="post" onsubmit="return form_check(this);">
<input type="hidden" name="w" value="<?php echo $w; ?>"> <input type="hidden" name="w" value="<?php echo $w; ?>">
<input type="hidden" name="pp_id" value="<?php echo $pp_id; ?>"> <input type="hidden" name="pp_id" value="<?php echo $pp_id; ?>">
@ -56,70 +59,90 @@ else { // 현재페이지일 때
<input type="hidden" name="popup" value="<?php echo $popup; ?>"> <input type="hidden" name="popup" value="<?php echo $popup; ?>">
<?php echo $wrp_tag_st; ?> <?php echo $wrp_tag_st; ?>
<table class="frm_tbl">
<colgroup> <section id="anc_spp_info" class="cbox">
<col class="grid_3"> <h2>주문 정보</h2>
<col> <?php echo $pg_anchor; ?>
</colgroup> <p class="title_desc">주문 관련 기본 정보입니다.</p>
<tbody> <table class="frm_tbl">
<tr> <colgroup>
<th scope="row"><label for="pp_name">이름</label></th> <col class="grid_3">
<td><input type="text" name="pp_name" value="<?php echo $pp['pp_name']; ?>" id="pp_name" required class="required frm_input"></td> <col>
</tr> </colgroup>
<tr> <tbody>
<th scope="row"><label for="pp_price">주문금액</label></th> <tr>
<td><input type="text" name="pp_price" value="<?php echo $pp['pp_price']; ?>" id="pp_price" required class="required frm_input" size="15"> 원</td> <th scope="row"><label for="pp_name">이름</label></th>
</tr> <td><input type="text" name="pp_name" value="<?php echo $pp['pp_name']; ?>" id="pp_name" required class="required frm_input"></td>
<tr> </tr>
<th scope="row"><label for="od_id">주문번호</label></th> <tr>
<td><input type="text" name="od_id" value="<?php echo $pp['od_id'] ? $pp['od_id'] : ''; ?>" id="od_id" class="frm_input" size="20"></td> <th scope="row"><label for="pp_price">주문금액</label></th>
</tr> <td><input type="text" name="pp_price" value="<?php echo $pp['pp_price']; ?>" id="pp_price" required class="required frm_input" size="15"> 원</td>
<tr> </tr>
<th scope="row"><label for="pp_content">내용</label></th> <tr>
<td><textarea name="pp_content" id="pp_content" rows="8"><?php echo $pp['pp_content']; ?></textarea></td> <th scope="row"><label for="od_id">주문번호</label></th>
</tr> <td><input type="text" name="od_id" value="<?php echo $pp['od_id'] ? $pp['od_id'] : ''; ?>" id="od_id" class="frm_input" size="20"></td>
<?php if($popup != 'yes') { ?> </tr>
<tr> <tr>
<th scope="row"><label for="pp_receipt_price">결제금액</label></th> <th scope="row"><label for="pp_content">내용</label></th>
<td><input type="text" name="pp_receipt_price" value="<?php echo $pp['pp_receipt_price'] ? $pp['pp_receipt_price'] : ''; ?>" id="pp_receipt_price" class="frm_input" size="15"> 원</td> <td><textarea name="pp_content" id="pp_content" rows="8"><?php echo $pp['pp_content']; ?></textarea></td>
</tr> </tr>
<tr> </tbody>
<th scope="row"><label for="pp_settle_case">결제방법</label></th> </table>
<td> </section>
<select name="pp_settle_case" id="pp_settle_case">
<option value="" <?php echo get_selected($pp['pp_settle_case'], ''); ?>>선택</option> <section id="anc_spp_pay" class="cbox">
<option value="무통장" <?php echo get_selected($pp['pp_settle_case'], '무통장'); ?>>무통장</option> <h2>결제 정보</h2>
<option value="계좌이체" <?php echo get_selected($pp['pp_settle_case'], '계좌이체'); ?>>계좌이체</option> <?php echo $pg_anchor; ?>
<option value="가상계좌" <?php echo get_selected($pp['pp_settle_case'], '가상계좌'); ?>>가상계좌</option> <p class="title_desc">결제 관련 정보입니다.</p>
<option value="신용카드" <?php echo get_selected($pp['pp_settle_case'], '신용카드'); ?>>신용카드</option> <table class="frm_tbl">
<option value="휴대폰" <?php echo get_selected($pp['pp_settle_case'], '휴대폰'); ?>>휴대폰</option> <colgroup>
</select> <col class="grid_3">
</td> <col>
</tr> </colgroup>
<tr> <tbody>
<th scope="row"><label for="pp_receipt_time">결제일시</label></th> <?php if($popup != 'yes') { ?>
<td> <tr>
<label for="pp_receipt_chk">현재 시간으로 설정</label> <th scope="row"><label for="pp_receipt_price">결제금액</label></th>
<input type="checkbox" name="pp_receipt_chk" id="pp_receipt_chk" value="<?php echo date("Y-m-d H:i:s", G5_SERVER_TIME); ?>" onclick="if (this.checked == true) this.form.pp_receipt_time.value=this.form.pp_receipt_chk.value; else this.form.pp_receipt_time.value = this.form.pp_receipt_time.defaultValue;"><br> <td><input type="text" name="pp_receipt_price" value="<?php echo $pp['pp_receipt_price'] ? $pp['pp_receipt_price'] : ''; ?>" id="pp_receipt_price" class="frm_input" size="15"> 원</td>
<input type="text" name="pp_receipt_time" value="<?php echo is_null_time($pp['pp_receipt_time']) ? "" : $pp['pp_receipt_time']; ?>" id="pp_receipt_time" class="frm_input" maxlength="19"> </tr>
</td> <tr>
</tr> <th scope="row"><label for="pp_settle_case">결제방법</label></th>
<?php } ?> <td>
<tr> <select name="pp_settle_case" id="pp_settle_case">
<th scope="row"><label for="pp_shop_memo">상점메모</label></th> <option value="" <?php echo get_selected($pp['pp_settle_case'], ''); ?>>선택</option>
<td><textarea name="pp_shop_memo" id="pp_shop_memo" rows="8"><?php echo $pp['pp_shop_memo']; ?></textarea></td> <option value="무통장" <?php echo get_selected($pp['pp_settle_case'], '무통장'); ?>>무통장</option>
</tr> <option value="계좌이체" <?php echo get_selected($pp['pp_settle_case'], '계좌이체'); ?>>계좌이체</option>
<tr> <option value="가상계좌" <?php echo get_selected($pp['pp_settle_case'], '가상계좌'); ?>>가상계좌</option>
<th scope="row"><label for="pp_use">사용</label></th> <option value="신용카드" <?php echo get_selected($pp['pp_settle_case'], '신용카드'); ?>>신용카드</option>
<td> <option value="휴대폰" <?php echo get_selected($pp['pp_settle_case'], '휴대폰'); ?>>휴대폰</option>
<select name="pp_use" id="pp_use"> </select>
<option value="1" <?php echo get_selected($pp['pp_use'], 1); ?>>사용함</option> </td>
<option value="0" <?php echo get_selected($pp['pp_use'], 0); ?>>사용안함</option> </tr>
</select> <tr>
</td> <th scope="row"><label for="pp_receipt_time">결제일시</label></th>
</tr> <td>
</tbody> <label for="pp_receipt_chk">현재 시간으로 설정</label>
</table> <input type="checkbox" name="pp_receipt_chk" id="pp_receipt_chk" value="<?php echo date("Y-m-d H:i:s", G5_SERVER_TIME); ?>" onclick="if (this.checked == true) this.form.pp_receipt_time.value=this.form.pp_receipt_chk.value; else this.form.pp_receipt_time.value = this.form.pp_receipt_time.defaultValue;"><br>
<input type="text" name="pp_receipt_time" value="<?php echo is_null_time($pp['pp_receipt_time']) ? "" : $pp['pp_receipt_time']; ?>" id="pp_receipt_time" class="frm_input" maxlength="19">
</td>
</tr>
<?php } ?>
<tr>
<th scope="row"><label for="pp_shop_memo">상점메모</label></th>
<td><textarea name="pp_shop_memo" id="pp_shop_memo" rows="8"><?php echo $pp['pp_shop_memo']; ?></textarea></td>
</tr>
<tr>
<th scope="row"><label for="pp_use">사용</label></th>
<td>
<select name="pp_use" id="pp_use">
<option value="1" <?php echo get_selected($pp['pp_use'], 1); ?>>사용함</option>
<option value="0" <?php echo get_selected($pp['pp_use'], 0); ?>>사용안함</option>
</select>
</td>
</tr>
</tbody>
</table>
</section>
<div class="btn_confirm"> <div class="btn_confirm">
<input type="submit" value="확인" class="btn_submit" accesskey="s"> <input type="submit" value="확인" class="btn_submit" accesskey="s">

View File

@ -433,7 +433,7 @@ fieldset button {padding:0 15px;height:23px;border:0;background:#617d46;color:#f
.adm_field_explain {display:block;padding:0 0 5px;color:#5b747e} .adm_field_explain {display:block;padding:0 0 5px;color:#5b747e}
/* 목록 바로가기 */ /* 목록 바로가기 */
.anchor {margin:0 0 10px 1px;padding:0;zoom:1} .anchor {margin:0 0 5px 1px;padding:0;zoom:1}
.anchor:after {display:block;visibility:hidden;clear:both;content:""} .anchor:after {display:block;visibility:hidden;clear:both;content:""}
.anchor li {float:left;margin-left:-1px;list-style:none} .anchor li {float:left;margin-left:-1px;list-style:none}
.anchor a {display:inline-block;border:1px solid #586267;background:#667379;padding:0 7px;height:30px;color:#fff;text-decoration:none;line-height:2.6em} .anchor a {display:inline-block;border:1px solid #586267;background:#667379;padding:0 7px;height:30px;color:#fff;text-decoration:none;line-height:2.6em}
@ -598,6 +598,7 @@ td {padding:8px 5px 6px;border:1px solid #e9e9e9;line-height:1.5em;word-break:br
/* 새창 기본 스타일 */ /* 새창 기본 스타일 */
.new_win {} .new_win {}
.new_win h1 {margin-bottom:20px;padding:0 20px;height:60px;border-top:2px solid #484848;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em} .new_win h1 {margin-bottom:20px;padding:0 20px;height:60px;border-top:2px solid #484848;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em}
.new_win h2 {margin:0 auto 10px;width:93%}
.new_win table {margin:0 auto 20px;width:93%;background:#fff} .new_win table {margin:0 auto 20px;width:93%;background:#fff}
.new_win th {padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#efefef;text-align:left} .new_win th {padding:7px 13px;border:1px solid #e9e9e9;border-left:0;background:#efefef;text-align:left}
.new_win td {border-top:1px solid #e9e9e9} .new_win td {border-top:1px solid #e9e9e9}
@ -607,6 +608,9 @@ td {padding:8px 5px 6px;border:1px solid #e9e9e9;line-height:1.5em;word-break:br
.new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none} .new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none}
.new_win_desc {margin:0 auto;width:93%} .new_win_desc {margin:0 auto;width:93%}
.new_win .cbox {padding:0;border:0;background:transparent}
.new_win .anchor {margin:0 auto 5px;width:93%}
.new_win .title_desc {margin:0 auto;width:93%}
/* 자바스크립트 alert 대안 */ /* 자바스크립트 alert 대안 */
#validation_check {margin:100px auto;width:500px} #validation_check {margin:100px auto;width:500px}

View File

@ -12,9 +12,9 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
<div id="skip_to_container"><a href="#container">본문 바로가기</a></div> <div id="skip_to_container"><a href="#container">본문 바로가기</a></div>
<div id="logo"><a href="<?php echo G4_SHOP_URL; ?>/"><img src="<?php echo G4_DATA_URL; ?>/common/mobile_logo_img" alt="<?php echo $config['cf_title']; ?> 메인"></a></div> <div id="logo"><a href="<?php echo G5_SHOP_URL; ?>/"><img src="<?php echo G5_DATA_URL; ?>/common/mobile_logo_img" alt="<?php echo $config['cf_title']; ?> 메인"></a></div>
<a href="<?php echo G4_SHOP_URL; ?>/category.php" target="_blank" id="hd_ct">전체분류</a> <a href="<?php echo G5_SHOP_URL; ?>/category.php" target="_blank" id="hd_ct">전체분류</a>
<button type="button" id="hd_sch_open">검색<span class="sound_only"> 열기</span></button> <button type="button" id="hd_sch_open">검색<span class="sound_only"> 열기</span></button>
<form name="frmsearch1" action="<?php echo G5_SHOP_URL; ?>/search.php"> <form name="frmsearch1" action="<?php echo G5_SHOP_URL; ?>/search.php">