Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
whitedot
2013-11-04 09:44:46 +09:00
27 changed files with 457 additions and 426 deletions

View File

@ -101,10 +101,12 @@ include_once('./admin.head.php');
</tbody>
</table>
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<a href="./poll_list.php?<?php echo $qstr ?>">목록</a>
</div>
</div>
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<a href="./poll_list.php?<?php echo $qstr ?>">목록</a>
</div>
</form>

View File

@ -1,27 +0,0 @@
<?php
$sub_menu = '400400';
include_once('./_common.php');
check_demo();
auth_check($auth[$sub_menu], "d");
if ($od_id)
{
// 장바구니 삭제
sql_query(" delete from {$g5['g5_shop_cart_table']} where od_id = '$od_id' ");
// 주문서 삭제
sql_query(" delete from {$g5['g5_shop_order_table']} where od_id = '$od_id' ");
}
if ($return_url)
{
goto_url("$return_url");
}
else
{
$qstr = "sel_ca_id=$sel_ca_id&amp;sel_field=$sel_field&amp;search=$search&amp;sort1=$sort1&amp;sort2=$sort2&amp;page=$page";
goto_url("./orderlist{$list}.php?$qstr");
}
?>

View File

@ -2,19 +2,12 @@
$sub_menu = '400400';
include_once('./_common.php');
// 메세지
$html_title = '주문 내역 수정';
$alt_msg1 = '주문번호 오류입니다.';
$mb_guest = '비회원';
$cart_title1 = '쇼핑';
$cart_title2 = '완료';
$cart_title3 = '주문번호';
$cart_title4 = '배송완료';
auth_check($auth[$sub_menu], "w");
$g5['title'] = $html_title;
$g5['title'] = "주문 내역 수정";
include_once(G5_ADMIN_PATH.'/admin.head.php');
//------------------------------------------------------------------------------
@ -23,20 +16,45 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
$keep_term = $default['de_cart_keep_term'];
if (!$keep_term) $keep_term = 15; // 기본값 15일
$beforetime = date('Y-m-d H:i:s', ( G5_SERVER_TIME - (86400 * $keep_term) ) );
$sql = " delete from {$g5['g5_shop_cart_table']} where ct_status = '$cart_title1' and ct_time <= '$beforetime' ";
$sql = " delete from {$g5['g5_shop_cart_table']} where ct_status = '쇼핑' and ct_time <= '$beforetime' ";
sql_query($sql);
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// 주문포인트를 적립한다.
// 설정일이 지난 포인트 부여되지 않은 배송완료된 장바구니 자료에 포인트 부여
// 설정일이 0 이면 주문서 완료 설정 시점에서 포인트를 바로 부여합니다.
//------------------------------------------------------------------------------
function save_order_point($ct_status="완료")
{
global $default;
$beforedays = date("Y-m-d H:i:s", ( time() - (86400 * (int)$default['de_point_days']) ) ); // 86400초는 하루
$sql = " select * from {$g5['g5_shop_cart_table']} where ct_status = '$ct_status' and ct_point_use = '0' and ct_time <= '$beforedays' ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 회원 ID 를 얻는다.
$od_row = sql_fetch("select od_id, mb_id from {$g5['g5_shop_order_table']} where od_id = '{$row['od_id']}' ");
if ($od_row['mb_id'] && $row['ct_point'] > 0) { // 회원이면서 포인트가 0보다 크다면
$po_point = $row['ct_point'] * $row['ct_qty'];
$po_content = "주문번호 {$od_row['od_id']} ({$row['ct_id']}) 배송완료";
insert_point($od_row['mb_id'], $po_point, $po_content, "@delivery", $od_row['mb_id'], "{$od_row['od_id']},{$row['ct_id']}");
}
sql_query("update {$g5['g5_shop_cart_table']} set ct_point_use = '1' where ct_id = '{$row['ct_id']}' ");
}
}
//------------------------------------------------------------------------------
// 주문완료 포인트
// 설정일이 지난 포인트 부여되지 않은 배송완료된 장바구니 자료에 포인트 부여
// 설정일이 0 이면 주문서 완료 설정 시점에서 포인트를 바로 부여합니다.
// 설정일이 지난 포인트 부여되지 않은 배송완료된 장바구니 자료에 포인트 부여
// 설정일이 0 이면 주문서 완료 설정 시점에서 포인트를 바로 부여합니다.
//------------------------------------------------------------------------------
if (!isset($order_not_point)) {
$beforedays = date("Y-m-d H:i:s", ( time() - (60 * 60 * 24 * (int)$default['de_point_days']) ) );
$sql = " select * from {$g5['g5_shop_cart_table']}
where ct_status = '$cart_title2'
where ct_status = '완료'
and ct_point_use = '0'
and ct_time <= '$beforedays' ";
$result = sql_query($sql);
@ -65,24 +83,27 @@ if (!isset($order_not_point)) {
$sql = " select * from {$g5['g5_shop_order_table']} where od_id = '$od_id' ";
$od = sql_fetch($sql);
if (!$od['od_id']) {
alert($alt_msg1);
alert("해당 주문번호로 주문서가 존재하지 않습니다.");
}
if ($od['mb_id'] == "") {
$od['mb_id'] = $mb_guest;
}
$od['mb_id'] = $od['mb_id'] ? $od['mb_id'] : "비회원";
//------------------------------------------------------------------------------
$qstr = "sort1=$sort1&amp;sort2=$sort2&amp;sel_field=$sel_field&amp;search=$search&amp;page=$page";
// PG사를 KCP 사용하면서 테스트 상점아이디라면
$pg_url = 'http://admin8.kcp.co.kr';
if ($default['de_card_test']) {
// 로그인 아이디 / 비번
// 일반 : test1234 / test12345
// 에스크로 : escrow / escrow913
$pg_url = 'http://testadmin8.kcp.co.kr';
}
$pg_anchor = '<ul class="anchor">
<li><a href="#anc_sodr_list">주문상품 목록</a></li>
<li><a href="#anc_sodr_pay">주문결제 내역</a></li>
<li><a href="#anc_sodr_chk">결제상세정보 확인</a></li>
<li><a href="#anc_sodr_paymo">결제상세정보 수정</a></li>
<li><a href="#anc_sodr_memo">상점메모</a></li>
<li><a href="#anc_sodr_payer">주문하신 분</a></li>
<li><a href="#anc_sodr_addressee">받으시는 분</a></li>
</ul>';
$html_receipt_chk = '<input type="checkbox" id="od_receipt_chk" value="'.$od['od_misu'].'" onclick="chk_receipt_price()">
<label for="od_receipt_chk">결제금액 입력</label><br>';
$qstr = "sort1=$sort1&amp;sort2=$sort2&amp;sel_field=$sel_field&amp;search=$search&amp;page=$page";
// 상품목록
$sql = " select it_id,
@ -94,30 +115,26 @@ $sql = " select it_id,
group by it_id
order by ct_id ";
$result = sql_query($sql);
$pg_anchor = '<ul class="anchor">
<li><a href="#anc_sodr_list">주문상품 목록</a></li>
<li><a href="#anc_sodr_pay">주문결제 내역</a></li>
<li><a href="#anc_sodr_chk">결제상세정보 확인</a></li>
<li><a href="#anc_sodr_paymo">결제상세정보 수정</a></li>
<li><a href="#anc_sodr_memo">상점메모</a></li>
<li><a href="#anc_sodr_payer">주문하신 분</a></li>
<li><a href="#anc_sodr_addressee">받으시는 분</a></li>
</ul>';
?>
<section id="anc_sodr_list">
<h2 class="h2_frm">주문상품 목록</h2>
<?php echo $pg_anchor; ?>
<div class="local_desc02 local_desc">
<p>주문일시 <?php echo substr($od['od_time'],0,16); ?> (<?php echo get_yoil($od['od_time']); ?>) / 주문총액 <strong><?php echo number_format($od['od_cart_price'] + $od['od_send_cost'] + $od['od_send_cost2']); ?></strong>원</p>
<p>
현재 주문상태 <strong><?php echo $od['od_status'] ?></strong>
|
주문일시 <strong><?php echo substr($od['od_time'],0,16); ?> (<?php echo get_yoil($od['od_time']); ?>)</strong>
|
주문총액 <strong><?php echo number_format($od['od_cart_price'] + $od['od_send_cost'] + $od['od_send_cost2']); ?></strong>원
</p>
<?php if ($default['de_hope_date_use']) { ?><p>희망배송일은 <?php echo $od['od_hope_date']; ?> (<?php echo get_yoil($od['od_hope_date']); ?>) 입니다.</p><?php } ?>
<?php if($od['od_mobile']) { ?>
<p>모바일 쇼핑몰의 주문입니다.</p>
<?php } ?>
</div>
<form name="frmorderform" method="post" action="./ordercartupdate.php" onsubmit="return form_submit(this);">
<form name="frmorderform" method="post" action="./orderformcartupdate.php" onsubmit="return form_submit(this);">
<input type="hidden" name="od_id" value="<?php echo $od_id; ?>">
<input type="hidden" name="mb_id" value="<?php echo $od['mb_id']; ?>">
<input type="hidden" name="od_email" value="<?php echo $od['od_email']; ?>">
@ -172,8 +189,9 @@ $pg_anchor = '<ul class="anchor">
else
$opt_price = $opt['ct_price'] + $opt['io_price'];
$ct_price['소계'] = $opt_price * $opt['ct_qty'];
$ct_point['소계'] = $opt['ct_point'] * $opt['ct_qty'];
// 소계
$ct_price['stotal'] = $opt_price * $opt['ct_qty'];
$ct_point['stotal'] = $opt['ct_point'] * $opt['ct_qty'];
?>
<tr>
<?php if($k == 0) { ?>
@ -198,9 +216,9 @@ $pg_anchor = '<ul class="anchor">
<input type="text" name="ct_qty[<?php echo $chk_cnt; ?>]" id="ct_qty_<?php echo $chk_cnt; ?>" value="<?php echo $opt['ct_qty']; ?>" required class="frm_input required" size="5">
</td>
<td class="td_numsmall"><?php echo number_format($opt_price); ?></td>
<td class="td_num"><?php echo number_format($ct_price['소계']); ?></td>
<td class="td_num"><?php echo number_format($ct_price['stotal']); ?></td>
<td class="td_num"><?php echo number_format($opt['cp_price']); ?></td>
<td class="td_num"><?php echo number_format($ct_point['소계']); ?></td>
<td class="td_num"><?php echo number_format($ct_point['stotal']); ?></td>
<td class="td_sendcost_by"><?php echo $opt['ct_send_cost'] ? '착불' : '선불'; ?></td>
<td class="td_mngsmall"><?php echo get_yn($opt['ct_point_use']); ?></td>
<td class="td_mngsmall"><?php echo get_yn($opt['ct_stock_use']); ?></td>
@ -218,16 +236,20 @@ $pg_anchor = '<ul class="anchor">
</div>
<div class="btn_list02 btn_list">
<strong>주문상태 변경</strong>
<input type="hidden" name="chk_cnt" value="<?php echo $chk_cnt; ?>">
<input type="submit" name="act_button" value="주문" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="상품" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="배송" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="완료" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="취소" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="반품" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="품절" onclick="document.pressed=this.value">
<p>취소,반품,품절 상태는 장바구니 상품의 상태만 변경이 되며 주문서의 상태는 변경되지 않습니다.</p>
<p>
<input type="hidden" name="chk_cnt" value="<?php echo $chk_cnt; ?>">
<strong>주문 및 장바구니 상태 변경</strong>
<input type="submit" name="ct_status" value="주문" onclick="document.pressed=this.value">
<input type="submit" name="ct_status" value="입금" onclick="document.pressed=this.value">
<input type="submit" name="ct_status" value="준비" onclick="document.pressed=this.value">
<input type="submit" name="ct_status" value="배송" onclick="document.pressed=this.value">
<input type="submit" name="ct_status" value="완료" onclick="document.pressed=this.value">
<input type="submit" name="ct_status" value="취소" onclick="document.pressed=this.value">
<input type="submit" name="ct_status" value="반품" onclick="document.pressed=this.value">
<input type="submit" name="ct_status" value="품절" onclick="document.pressed=this.value">
</p>
<p>주문, 입금, 준비, 배송, 완료는 장바구니와 주문서 상태를 모두 변경하지만, 취소, 반품, 품절은 장바구니의 상태만 변경하며, 주문서 상태는 변경하지 않습니다.</p>
<p>개별적인(이곳에서의) 상태 변경은 모든 작업을 수동으로 처리합니다. 예를 들어 주문에서 입금으로 상태 변경시 입금액(결제금액)을 포함한 모든 정보는 수동 입력으로 처리하셔야 합니다.</p>
</div>
</form>
@ -307,7 +329,7 @@ $pg_anchor = '<ul class="anchor">
<h2 class="h2_frm">결제상세정보</h2>
<?php echo $pg_anchor; ?>
<form name="frmorderreceiptform" action="./orderreceiptupdate.php" method="post" autocomplete="off">
<form name="frmorderreceiptform" action="./orderformreceiptupdate.php" method="post" autocomplete="off">
<input type="hidden" name="od_id" value="<?php echo $od_id; ?>">
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
@ -378,7 +400,7 @@ $pg_anchor = '<ul class="anchor">
<?php if ($od['od_settle_case'] == '신용카드') { ?>
<tr>
<th scope="row" class="sodr_sppay">신용카드 금액</th>
<th scope="row" class="sodr_sppay">신용카드 결제금액</th>
<td>
<?php if ($od['od_receipt_time'] == "0000-00-00 00:00:00") {?>0원
<?php } else { ?><?php echo display_price($od['od_receipt_price']); ?>
@ -394,6 +416,37 @@ $pg_anchor = '<ul class="anchor">
</td>
</tr>
<?php } ?>
<?php if ($od['od_settle_case'] != '무통장') { ?>
<tr>
<th scope="row">결제대행사 링크</th>
<td>
<?php
//------------------------------------------------------------------------------
// KCP(PG) 바로가기
//------------------------------------------------------------------------------
if ($od['od_settle_case'] != '무통장') {
// PG사를 KCP 사용하면서 테스트 상점아이디라면
$pg_url = 'http://admin8.kcp.co.kr';
$pg_test = '';
if ($default['de_card_test']) {
// 로그인 아이디 / 비번
// 일반 : test1234 / test12345
// 에스크로 : escrow / escrow913
$pg_url = 'http://testadmin8.kcp.co.kr';
if ($default['de_escrow_use'])
$pg_test = '에스크로 테스트 ';
else
$pg_test = '일반 테스트 ';
}
echo "<a href=\"{$pg_url}\" target=\"_blank\">KCP {$pg_test}바로가기</a><br>";
}
//------------------------------------------------------------------------------
?>
</td>
</tr>
<?php } ?>
<?php if($od['od_tax_flag']) { ?>
<tr>
<th scope="row">과세공급가액</th>
@ -514,17 +567,18 @@ $pg_anchor = '<ul class="anchor">
<td><?php echo $bank_account; ?></td>
</tr>
<?php } ?>
<tr>
<th scope="row"><label for="od_receipt_price"><?php echo $od['od_settle_case']; ?> 입금액</label></th>
<td>
<?php echo $html_receipt_chk; ?>
<input type="text" name="od_receipt_price" value="<?php echo $od['od_receipt_price']; ?>" id="od_receipt_price" class="frm_input"> 원
<a href="<?php echo $pg_url; ?>" target="_blank">결제대행사</a>
</td>
</tr>
<tr>
<th scope="row"><label for="od_deposit_name">입금자명</label></th>
<td>
<?php if ($default['de_sms_use3']) { ?>
<?php if ($default['de_sms_use'] && $default['de_sms_use3']) { ?>
<input type="checkbox" name="od_sms_ipgum_check" id="od_sms_ipgum_check">
<label for="od_sms_ipgum_check">SMS 입금 문자전송</label>
<br>
@ -550,8 +604,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="od_receipt_price"><?php echo $od['od_settle_case']; ?> 결제액</label></th>
<td>
<?php echo $html_receipt_chk; ?>
<input type="text" name="od_receipt_price" value="<?php echo $od['od_receipt_price']; ?>" id="od_receipt_price" class="frm_input"> 원
<a href="<?php echo $pg_url; ?>" target="_blank">결제대행사</a>
</td>
</tr>
<tr>
@ -566,10 +620,10 @@ $pg_anchor = '<ul class="anchor">
<?php if ($od['od_settle_case'] == '신용카드') { ?>
<tr>
<th scope="row" class="sodr_sppay"><label for="od_receipt_price">신용카드 결제액</label></th>
<th scope="row" class="sodr_sppay"><label for="od_receipt_price">신용카드 결제액</label></th>
<td>
<input type="text" name="od_receipt_price" value="<?php echo $od['od_receipt_price']; ?>" id="od_receipt_price" class="frm_input" size="10"> 원
<a href="<?php echo $pg_url; ?>" target="_blank">결제대행사</a>
<?php echo $html_receipt_chk; ?>
<input type="text" name="od_receipt_price" id="od_receipt_price" value="<?php echo $od['od_receipt_price']; ?>" class="frm_input" size="10"> 원
</td>
</tr>
<tr>
@ -595,7 +649,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="od_invoice">운송장번호</label></th>
<td>
<?php if ($default['de_sms_use4']) { ?>
<?php if ($default['de_sms_use'] && $default['de_sms_use4']) { ?>
<input type="checkbox" name="od_sms_baesong_check" id="od_sms_baesong_check">
<label for="od_sms_baesong_check">SMS 배송 문자전송</label>
<br>
@ -606,17 +660,21 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="od_delivery_company">배송회사</label></th>
<td>
<input type="text" name="od_delivery_company" value="<?php echo $od['od_delivery_company']; ?>" id="od_delivery_company" class="frm_input">
<input type="checkbox" id="od_delivery_chk" value="<?php echo $default['de_delivery_company']; ?>" onclick="chk_delivery_company()">
<label for="od_delivery_chk">기본 배송회사로 설정</label><br>
<input type="text" name="od_delivery_company" id="od_delivery_company" value="<?php echo $od['od_delivery_company']; ?>" class="frm_input">
</td>
</tr>
<tr>
<th scope="row"><label for="od_invoice_time">배송일시</label></th>
<td>
<input type="checkbox" name="od_invoice_chk" id="od_invoice_chk" value="<?php echo date("Y-m-d H:i:s", G5_SERVER_TIME); ?>" onclick="if (this.checked == true) this.form.od_invoice_time.value=this.form.od_invoice_chk.value; else this.form.od_invoice_time.value = this.form.od_invoice_time.defaultValue;">
<input type="checkbox" id="od_invoice_chk" value="<?php echo date("Y-m-d H:i:s", G5_SERVER_TIME); ?>" onclick="chk_invoice_time()">
<label for="od_invoice_chk">현재 시간으로 설정</label><br>
<input type="text" name="od_invoice_time" value="<?php echo is_null_time($od['od_invoice_time']) ? "" : $od['od_invoice_time']; ?>" id="od_invoice_time" class="frm_input" maxlength="19">
<input type="text" name="od_invoice_time" id="od_invoice_time" value="<?php echo is_null_time($od['od_invoice_time']) ? "" : $od['od_invoice_time']; ?>" class="frm_input" maxlength="19">
</td>
</tr>
<?php if ($config['cf_email_use']) { ?>
<tr>
<th scope="row"><label for="od_send_mail">메일발송</label></th>
<td>
@ -624,6 +682,8 @@ $pg_anchor = '<ul class="anchor">
<input type="checkbox" name="od_send_mail" value="1" id="od_send_mail"> 메일발송
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
@ -633,12 +693,7 @@ $pg_anchor = '<ul class="anchor">
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="결제/배송내역 수정" class="btn_submit">
<?php if($od['od_misu'] > 0) { ?>
<a href="./personalpayform.php?popup=yes&amp;od_id=<?php echo $od_id; ?>" id="personalpay_add">개인결제추가</a>
<?php } ?>
<?php if($od['od_misu'] < 0 && ($od['od_receipt_price'] - $od['od_refund_price']) > 0 && $od['od_settle_case'] == '신용카드' || $od['od_settle_case'] == '계좌이체') { ?>
<a href="./orderpartcancel.php?od_id=<?php echo $od_id; ?>" id="orderpartcancel"><?php echo $od['od_settle_case']; ?> 부분취소</a>
<?php } ?>
<a href="./orderlist.php?<?php echo $qstr; ?>">목록</a>
</div>
</form>
</section>
@ -816,14 +871,19 @@ $pg_anchor = '<ul class="anchor">
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="주문자/배송지 정보 수정" class="btn_submit">
<a href="./orderlist.php?<?php echo $qstr; ?>">목록</a>
</div>
</form>
</section>
<div class="btn_list03 btn_list">
<a href="./orderdelete.php?od_id=<?php echo $od['od_id']; ?>&amo;mb_id=<?php echo $od['mb_id']; ?>&amp;<?php echo $qstr; ?>" onclick="return del_confirm();">주문서 삭제</a>
<a href="./orderlist.php?<?php echo $qstr; ?>">목록</a>
<?php if($od['od_misu'] > 0) { ?>
<a href="./personalpayform.php?popup=yes&amp;od_id=<?php echo $od_id; ?>" id="personalpay_add">개인결제추가</a>
<?php } ?>
<?php if($od['od_misu'] < 0 && ($od['od_receipt_price'] - $od['od_refund_price']) > 0 && $od['od_settle_case'] == '신용카드' || $od['od_settle_case'] == '계좌이체') { ?>
<a href="./orderpartcancel.php?od_id=<?php echo $od_id; ?>" id="orderpartcancel"><?php echo $od['od_settle_case']; ?> 부분취소</a>
<?php } ?>
</div>
<script>
@ -879,7 +939,7 @@ function form_submit(f)
return false;
}
if (confirm("\'" + status + "\'을(를) 선택하셨습니다.\n\n이대로 처리 하시겠습니까?")) {
if (confirm("\'" + status + "\' 상태를 선택하셨습니다.\n\n처리 하시겠습니까?")) {
return true;
} else {
return false;
@ -894,6 +954,30 @@ function del_confirm()
return false;
}
}
// 기본 배송회사로 설정
function chk_delivery_company()
{
var chk = document.getElementById("od_delivery_chk");
var company = document.getElementById("od_delivery_company");
company.value = chk.checked ? chk.value : company.defaultValue;
}
// 현재 시간으로 배송일시 설정
function chk_invoice_time()
{
var chk = document.getElementById("od_invoice_chk");
var time = document.getElementById("od_invoice_time");
time.value = chk.checked ? chk.value : time.defaultValue;
}
// 결제금액 수동 설정
function chk_receipt_price()
{
var chk = document.getElementById("od_receipt_chk");
var price = document.getElementById("od_receipt_price");
price.value = chk.checked ? chk.value : price.defaultValue;
}
</script>
<?php

View File

@ -8,34 +8,16 @@ $ct_chk_count = count($_POST['ct_chk']);
if(!$ct_chk_count)
alert('처리할 자료를 하나 이상 선택해 주십시오.');
switch($_POST['act_button'])
{
case '주문':
$ct_status = '주문';
break;
case '상품준비중':
$ct_status = '준비';
break;
case '배송중':
$ct_status = '배송';
break;
case '완료':
$ct_status = '완료';
break;
case '취소':
$ct_status = '취소';
break;
case '반품':
$ct_status = '반품';
break;
case '품절':
$ct_status = '품절';
break;
default:
alert('변경할 상태가 올바르지 않습니다.');
break;
$status_normal = array('주문','입금','준비','배송','완료');
$status_cancel = array('취소','반품','품절');
if (in_array($_POST['ct_status'], $status_normal) || in_array($_POST['ct_status'], $status_cancel)) {
; // 통과
} else {
alert('변경할 상태가 올바르지 않습니다.');
}
$mod_history = '';
$cnt = count($_POST['ct_id']);
for ($i=0; $i<$cnt; $i++)
@ -43,9 +25,7 @@ for ($i=0; $i<$cnt; $i++)
$k = $_POST['ct_chk'][$i];
$ct_id = $_POST['ct_id'][$k];
$sql = " select * from {$g5['g5_shop_cart_table']}
where od_id = '$od_id'
and ct_id = '$ct_id' ";
$sql = " select * from {$g5['g5_shop_cart_table']} where od_id = '$od_id' and ct_id = '$ct_id' ";
$ct = sql_fetch($sql);
if(!$ct['ct_id'])
continue;
@ -174,22 +154,20 @@ $sql = " update {$g5['g5_shop_order_table']}
od_misu = '{$info['od_misu']}',
od_tax_mny = '{$info['od_tax_mny']}',
od_vat_mny = '{$info['od_vat_mny']}',
od_free_mny = '{$info['od_free_mny']}'
where od_id = '$od_id' ";
od_free_mny = '{$info['od_free_mny']}' ";
if ($mod_history) { // 수량변경 히스토리 기록
$sql .= " , od_mod_history = CONCAT(od_mod_history,'$mod_history') ";
}
if (in_array($_POST['ct_status'], $status_normal)) { // 정상인 주문상태만 기록
$sql .= " , od_status = '{$_POST['ct_status']}' ";
}
$sql .= " where od_id = '$od_id' ";
sql_query($sql);
$qstr = "sort1=$sort1&amp;sort2=$sort2&amp;sel_field=$sel_field&amp;search=$search&amp;page=$page";
$url = "./orderform.php?od_id=$od_id&amp;$qstr";
// 수량변경 히스토리 기록
if($mod_history) {
$sql = " update {$g5['g5_shop_order_table']}
set od_mod_history = CONCAT(od_mod_history,'$mod_history')
where od_id = '$od_id' ";
sql_query($sql);
}
// 1.06.06
$od = sql_fetch(" select od_receipt_point from {$g5['g5_shop_order_table']} where od_id = '$od_id' ");
if ($od['od_receipt_point'])

View File

@ -7,36 +7,33 @@ include_once(G5_LIB_PATH.'/icode.sms.lib.php');
auth_check($auth[$sub_menu], "w");
$sql = " select * from {$g5['g5_shop_order_table']} where od_id = '$od_id' ";
$od = sql_fetch($sql);
$od = sql_fetch($sql);
if(!$od['od_id'])
alert('주문자료가 존재하지 않습니다.');
if ($od_receipt_time)
{
if ($od_receipt_time) {
if (check_datetime($od_receipt_time) == false)
alert('결제일시 오류입니다.');
}
// 결제정보 반영
$sql = " update {$g5['g5_shop_order_table']}
set od_deposit_name = '$od_deposit_name',
od_bank_account = '$od_bank_account',
od_receipt_time = '$od_receipt_time',
od_receipt_price = '$od_receipt_price',
od_receipt_point = '$od_receipt_point',
od_refund_price = '$od_refund_price',
od_deliver_company = '$od_deliver_company',
od_invoice = '$od_invoice',
od_invoice_time = '$od_invoice_time',
od_send_cost = '$od_send_cost',
od_send_cost2 = '$od_send_cost2'
set od_deposit_name = '{$_POST['od_deposit_name']}',
od_bank_account = '{$_POST['od_bank_account']}',
od_receipt_time = '{$_POST['od_receipt_time']}',
od_receipt_price = '{$_POST['od_receipt_price']}',
od_receipt_point = '{$_POST['od_receipt_point']}',
od_refund_price = '{$_POST['od_refund_price']}',
od_delivery_company= '{$_POST['od_delivery_company']}',
od_invoice = '{$_POST['od_invoice']}',
od_invoice_time = '{$_POST['od_invoice_time']}',
od_send_cost = '{$_POST['od_send_cost']}',
od_send_cost2 = '{$_POST['od_send_cost2']}'
where od_id = '$od_id' ";
sql_query($sql);
// 주문정보
$info = get_order_info($od_id);
if(!$info)
alert('주문자료가 존재하지 않습니다.');
@ -62,19 +59,27 @@ include "./ordersms.inc.php";
// 에스크로 배송처리
if($_POST['od_tno'] && $_POST['od_escrow'] == 1) {
$arr_tno = array();
if($_POST['od_tno'] && $_POST['od_escrow'] == 1)
{
$arr_tno = array();
$arr_corp = array();
$arr_numb = array();
/*
// 배송회사정보
$sql = " select dl_company from {$g5['g5_shop_delivery_table']} where dl_id = '$dl_id' ";
$row = sql_fetch($sql);
$arr_tno[0] = $_POST['od_tno'];
$arr_tno[0] = $_POST['od_tno'];
$arr_corp[0] = $row['dl_company'];
$arr_numb[0] = $od_invoice;
$cust_ip = getenv('REMOTE_ADDR');
*/
$arr_tno[0] = $_POST['od_tno'];
$arr_corp[0] = $od_delivery_company;
$arr_numb[0] = $od_invoice;
$cust_ip = getenv('REMOTE_ADDR');
include_once('./orderescrow.inc.php');
}

View File

@ -198,7 +198,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
</div>
</form>
<form name="forderlist" id="forderlist" action="./orderlistupdate.php" onsubmit="return forderlist_submit(this);" method="post" autocomplete="off">
<form name="forderlist" id="forderlist" onsubmit="return forderlist_submit(this);" method="post" autocomplete="off">
<input type="hidden" name="search_od_status" value="<?php echo $od_status; ?>">
<div class="tbl_head02 tbl_wrap">
@ -397,7 +397,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
<div class="local_cmd01 local_cmd">
<?php if (($od_status == '' || $od_status == '완료') == false) { // 검색된 주문상태가 '전체', '완료' 가 아니라면 ?>
<strong>주문상태 변경</strong>
<label for="od_status" class="cmd_tit">주문상태 변경</label>
<?php
$change_status = "";
if ($od_status == '주문') $change_status = "입금";
@ -405,11 +405,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
if ($od_status == '준비') $change_status = "배송";
if ($od_status == '배송') $change_status = "완료";
?>
<?php if ($change_status) { ?>
<label><input type="checkbox" name="od_status" value="<?php echo $change_status; ?>"> '<?php echo $od_status ?>'상태에서 '<strong><?php echo $change_status ?></strong>'상태로 변경합니다.</label>
<input type="submit" value="선택수정" class="btn_submit" onclick="document.pressed=this.value">
<?php if ($od_status == '주문') { ?> <span>주문상태에서만 삭제가 가능합니다.</span> <input type="submit" value="선택삭제" class="btn_submit" onclick="document.pressed=this.value"><?php } ?>
<?php } ?>
<label><input type="checkbox" name="od_status" value="<?php echo $change_status; ?>"> '<?php echo $od_status ?>'상태에서 '<strong><?php echo $change_status ?></strong>'상태로 변경합니다.</label>
<input type="submit" value="선택수정" class="btn_submit" onclick="document.pressed=this.value">
<?php if ($od_status == '주문') { ?> <span>주문상태에서만 삭제가 가능합니다.</span> <input type="submit" value="선택삭제" class="btn_submit" onclick="document.pressed=this.value"><?php } ?>
<?php } ?>
</div>
@ -461,6 +459,8 @@ function set_date(today)
<script>
function forderlist_submit(f)
{
var change_status = f.od_status.value;
if (!is_checked("chk[]")) {
alert(document.pressed+" 하실 항목을 하나 이상 선택하세요.");
return false;
@ -492,6 +492,7 @@ function forderlist_submit(f)
}
var chk = document.getElementsByName("chk[]");
for (var i=0; i<chk.length; i++)
{
if (chk[i].checked)
@ -499,7 +500,6 @@ function forderlist_submit(f)
var k = chk[i].value;
var current_settle_case = f.elements['current_settle_case['+k+']'].value;
var current_status = f.elements['current_status['+k+']'].value;
var change_status = f.od_status.value;
switch (change_status)
{
@ -550,8 +550,10 @@ function forderlist_submit(f)
}
}
if (!confirm("선택하신 주문서의 주문상태를 '"+change_status+"'상태로 변경하시겠습니까?"))
return false;
f.action = "./orderlistupdate.php";
return true;
}
</script>

View File

@ -18,6 +18,7 @@ if ($board['bo_use_category']) {
$category = trim($categories[$i]);
if ($category=='') continue;
$category_option .= '<li><a href="'.($category_href."&amp;sca=".urlencode($category)).'"';
$category_msg = '';
if ($category==$sca) { // 현재 선택된 카테고리라면
$category_option .= ' id="bo_cate_on"';
$category_msg = '<span class="sound_only">열린 분류 </span>';

View File

@ -113,7 +113,7 @@ h3 {margin:0 20px}
.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
.cke_sc_def dl{margin:0 0 5px;text-align:left;zoom:1}
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid .e9e9e9}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
.cke_sc_def dt {width:20%;font-weight:bold}
.cke_sc_def dd {width:30%}

View File

@ -9,12 +9,12 @@ h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:dotum}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
label, input, select, img {vertical-align:middle}
textarea,
textarea,
select {font-family:dotum;font-size:1em}
input {margin:0;padding:0;border-radius:0;font-family:dotum}
input[type=text], input[type=password], input[type=submit], input[type=image] {-webkit-appearance:none}
button {border-radius:0;font-size:1em;-webkit-appearance:none}
p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
@ -144,7 +144,7 @@ input.btn_submit {padding:0 10px;height:24px;border:0;background:#333;color:#fff
button.btn_submit {height:22px;font-size:1em}
fieldset .btn_submit {height:22px;font-size:1em}
a.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em}
a.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em;vertical-align:middle}
a.btn_cancel:focus, a.btn_cancel:hover {text-decoration:none}
a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */

View File

@ -43,13 +43,13 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
#hd:after {display:block;visibility:hidden;clear:both;content:""}
#hd_h1 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#logo {float:left;padding:0.9em 0;margin-left:0.5em}
#logo {float:left;padding:10px 0;margin-left:5px}
#schall {position:absolute;top:0.7em;right:0.5em;letter-spacing:-0.3em}
#schall_stx {padding-left:0.3em;width:100px;height:24px;border:1px solid #aaa;border-right:0;background:#fff;line-height:1.5em;-webkit-appearance:none}
#schall_submit {border:1px solid #aaa;border-left:0}
#schall {float:right;margin:7px 5px;border:1px solid #aaa;letter-spacing:-4px}
#schall_stx {padding-left:3px;width:100px;height:24px;border:0;background:#fff;line-height:1.5em;-webkit-appearance:none}
#schall_submit {}
#mb_nb {clear:both;border-top:1px solid #e7f1ed;background:#151515;text-align:center}
#mb_nb {clear:both;background:#151515;text-align:center}
#mb_nb li {display:inline-block;border-right:1px solid #333}
#mb_nb li:nth-last-of-type(1) {border-right:0 !important}
#mb_nb a {display:inline-block;padding:10px 7px;color:#fff;text-decoration:none}
@ -63,7 +63,7 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
#lnb li:nth-of-type(5n) a {border-right:0}
/* 중간 레이아웃 */
#wrapper {margin:2em 0}
#wrapper {margin:20px 0}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#container {position:relative;min-height:300px}
@ -71,7 +71,7 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
#container_title {margin:0 10px 20px;font-size:1.2em;font-weight:bold}
/* 텍스트 크기 조절 */
#text_size {margin:0 0 1em;text-align:center}
#text_size {margin:0 0 10px;text-align:center}
#text_size button {margin:0;padding:0;border:0;background:transparent;vertical-align:middle}
.ts_up {font-size:1.167em !important}
.ts_up2 {font-size:1.3em !important}
@ -83,9 +83,9 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
#gnb ul {border-top:1px solid #e7f1ed}
#gnb li {float:left;width:25%;border-bottom:1px solid #e7f1ed}
#gnb li ul {display:none}
#gnb li a {display:block;padding:1em 0;border-right:1px solid #e7f1ed;color:#000;text-align:center;text-decoration:none}
#gnb li a {display:block;padding:10px 0;border-right:1px solid #e7f1ed;color:#000;text-align:center;text-decoration:none}
.gnb_empty {float:none !important;width:100% !important;height:10em;text-align:center;line-height:10em}
.gnb_empty {float:none !important;padding:30px 0;width:100% !important;text-align:center}
#ft {background:#484848}
#ft h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
@ -93,7 +93,7 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
#ft img {display:none}
#ft_copy {background:#232323}
#ft_copy p {position:relative;padding:0.5em;color:#4a9ab8}
#ft_copy p {position:relative;padding:10px;color:#4a9ab8}
#ft_copy b {color:#fff}
#ft_copy a {color:#fff;text-decoration:none}
@ -103,26 +103,26 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
.copymove_currentbg {background:#f4f4f4}
/* 버튼 */
a.btn01 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2em;vertical-align:middle}
a.btn01 {display:inline-block;padding:0 5px;height:2em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2em;vertical-align:middle}
a.btn01:focus, a.btn01:hover {text-decoration:none}
a.btn02 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #333;background:#333;color:#fff;font-size:1em;text-decoration:none;line-height:2em;vertical-align:middle}
a.btn02 {display:inline-block;padding:0 5px;height:2em;border:1px solid #333;background:#333;color:#fff;font-size:1em;text-decoration:none;line-height:2em;vertical-align:middle}
a.btn02:focus, .btn02:hover {text-decoration:none}
.btn_confirm {text-align:center} /* 서식단계 진행 */
input.btn_submit {padding:0 1em;height:2.6em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;-webkit-appearance:none}
fieldset .btn_submit {padding:0 1em;height:2.2em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;-webkit-appearance:none}
input.btn_submit {padding:0 10px;height:2.6em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;-webkit-appearance:none}
fieldset .btn_submit {padding:0 10px;height:1.9em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;-webkit-appearance:none}
a.btn_cancel {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2.5em}
a.btn_cancel {display:inline-block;padding:0 10px;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2.5em;vertical-align:top}
a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 5px;height:1.9em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.9em} /* 우편번호검색버튼 등 */
/* 게시판용 버튼 */
a.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle}
a.btn_b01 {display:inline-block;margin:0 0 3px;padding:0 10px;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle}
a.btn_b01:focus, .btn_b01:hover {text-decoration:none}
a.btn_b02 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle}
a.btn_b02 {display:inline-block;margin:0 0 3px;padding:0 10px;border:1px solid #eee;background:#fafafa;color:#000;text-decoration:none;line-height:2em;vertical-align:middle}
a.btn_b02:focus, .btn_b02:hover {text-decoration:none}
a.btn_admin {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */
a.btn_admin {display:inline-block;margin:0 0 3px;padding:0 10px;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */
a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
/* 댓글 스타일 */
@ -133,14 +133,14 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
.tbl_wrp caption {padding:10px 0;color:#4b8b99;font-weight:bold;text-align:left}
.tbl_head01 {margin:0 10px 10px}
.tbl_head01 caption {padding:0 0 1em;color:#777;text-align:left}
.tbl_head01 caption {padding:0 0 10px;color:#777;text-align:left}
.tbl_head01 thead th {padding:12px 0;border-top:1px solid #d1dee2;border-bottom:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;letter-spacing:-0.1em}
.tbl_head01 thead a {color:#383838}
.tbl_head01 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head01 tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head01 tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center}
.tbl_head01 tbody th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head01 td {padding:0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all}
.tbl_head01 td {padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all}
.tbl_head01 .empty_table {padding:10px 0;text-align:center}
/* 폼 테이블 */
@ -154,9 +154,9 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
.tbl_frm01 #captcha input {margin-left:0.3em;text-align:center}
*/
.tbl_frm01 a {text-decoration:none}
.tbl_frm01 .frm_address {display:block;margin-top:0.3em}
.tbl_frm01 .frm_file {display:block;margin-bottom:0.3em}
.tbl_frm01 .frm_info {display:block;padding:0.3em 0 0;color:#666;line-height:1.3em}
.tbl_frm01 .frm_address {display:block;margin-top:5px}
.tbl_frm01 .frm_file {display:block;margin-bottom:5px}
.tbl_frm01 .frm_info {display:block;padding:5px 0 0;color:#666;line-height:1.3em}
/* 필수입력 */
.required, textarea.required {background:url('../img/wrest.gif') #f7f7f7 top right no-repeat !important}
@ -181,26 +181,26 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none}
.new_win .win_ul {margin:-20px 0 20px 0;padding:0 20px;border-bottom:1px solid #455255;background:#484848;list-style:none}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {float:left;margin-left:-1px}
.new_win .win_ul a {display:block;padding:1em;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-weight:bold;text-decoration:none}
.new_win .win_ul a {display:block;padding:10px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-weight:bold;text-decoration:none}
.new_win .win_desc {padding:10px 20px}
.new_win .win_btn {clear:both;margin:20px;text-align:center}
.new_win .win_btn a {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle;line-height:2.5em}
.new_win .win_btn button {display:inline-block;padding:0 1em;height:2.65em;border:0;background:#666;color:#fff;text-decoration:none;vertical-align:middle;line-height:2.65em}
.new_win .win_btn a {display:inline-block;padding:0 10px;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle;line-height:2.5em}
.new_win .win_btn button {display:inline-block;padding:0 10px;height:2.65em;border:0;background:#666;color:#fff;text-decoration:none;vertical-align:middle;line-height:2.65em}
.new_win .win_btn input {height:2.65em;line-height:2.65em}
/* 사이드뷰 */
/* 모바일에서는 사이드뷰를 지원하지 않습니다. */
/* pagination */
.pg_wrap {clear:both;margin:0 0 1em;padding-top:1em;text-align:center}
.pg_wrap {clear:both;margin:0 0 10px;padding-top:10px;text-align:center}
.pg {display:inline-block;border:1px solid #cfded8;letter-spacing:-4px}
.pg a:focus, .pg a:hover, .pg a:active {text-decoration:none}
.pg_page, .pg_current {display:inline-block;padding:0 0.6em;color:#000;letter-spacing:0;line-height:1.9em;vertical-align:middle}
.pg_page, .pg_current {display:inline-block;padding:0 8px;color:#000;letter-spacing:0;line-height:1.9em;vertical-align:middle}
.pg_page {background:#f9f9f9;text-decoration:none}
.pg_start, .pg_prev {border-right:1px solid #cfded8}
.pg_end, .pg_next {border-left:1px solid #cfded8}
.pg_current {background:#333;color:#fff;font-weight:bold}
/* PC화면으로 */
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;color:#000;font-size:1em;text-decoration:none;text-align:center}
#device_change {display:block;margin:5px;padding:5px 0;border:1px solid #eee;border-radius:2em;color:#000;font-size:1em;text-decoration:none;text-align:center}

View File

@ -133,9 +133,6 @@ include_once(G5_MSHOP_PATH.'/_head.php');
$ca_id = $it['ca_id'];
include G5_MSHOP_SKIN_PATH.'/navigation.skin.php';
if ($is_admin)
echo '<div class="sit_admin"><a href="'.G5_ADMIN_URL.'/shop_admin/itemform.php?w=u&amp;it_id='.$it_id.'" class="btn_admin">상품 관리</a></div>';
// 상단 HTML
echo '<div id="sit_hhtml">'.stripslashes($it['it_mobile_head_html']).'</div>';
?>

View File

@ -17,14 +17,12 @@ if ($is_nogood) $colspan++;
<div id="bo_list<?php if ($is_admin) echo "_admin"; ?>">
<?php if ($is_category) { ?>
<form name="fcategory" id="fcategory" method="get">
<nav id="bo_cate">
<h2><?php echo $board['bo_subject'] ?> 카테고리</h2>
<ul id="bo_cate_ul">
<?php echo $category_option ?>
</ul>
</nav>
</form>
<?php } ?>
<div class="bo_fx">
@ -154,7 +152,7 @@ if ($is_nogood) $colspan++;
<option value="wr_name,1"<?php echo get_selected($sfl, 'wr_name,1'); ?>>글쓴이</option>
<option value="wr_name,0"<?php echo get_selected($sfl, 'wr_name,0'); ?>>글쓴이(코)</option>
</select>
<input name="stx" value="<?php echo stripslashes($stx) ?>" placeholder="검색어(필수)" required class="required frm_input" size="15" maxlength="15">
<input name="stx" value="<?php echo stripslashes($stx) ?>" placeholder="검색어(필수)" required id="stx" class="required frm_input" size="15" maxlength="15">
<input type="submit" value="검색" class="btn_submit">
</form>
</fieldset>

View File

@ -90,10 +90,10 @@
#bo_list .td_mng {width:80px;text-align:center}
#bo_cate h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin:0.5em 1em;padding-left:1px;zoom:1}
#bo_cate ul {margin:5px 10px;padding-left:1px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px;width:25%}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:0.4em 0;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;text-decoration:none;letter-spacing:-0.1em}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:5px 0;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;text-decoration:none;letter-spacing:-0.1em}
#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {text-decoration:none}
@ -114,15 +114,15 @@
#bo_list td:nth-of-type(2) {text-align:center}
/* 게시판 목록 공통 */
.bo_fx {margin-bottom:0.3em;padding:0.5em 1em}
.bo_fx {margin-bottom:5px;padding:5px 10px}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
#bo_list_total {float:left;padding:0;height:2.5em;line-height:2.5em}
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
.btn_bo_user li {float:left;margin-left:0.3em}
.btn_bo_user li {float:left;margin-left:5px}
.btn_bo_adm {float:left}
.btn_bo_adm li {float:left;margin-right:0.3em}
.btn_bo_adm input {padding:0 1em;height:2em;border:1px solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-appearance:none}
.btn_bo_adm li {float:left;margin-right:5px}
.btn_bo_adm input {padding:0 10px;height:2em;border:1px solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-appearance:none}
.bo_notice td {background:#f7f7f7}
.bo_notice td a {font-weight:bold}
.td_num strong {color:#000}
@ -131,111 +131,111 @@
.td_subject img {margin-left:3px}
#bo_list .cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}
#bo_sch {margin-bottom:1em;padding-top:0.3em;text-align:center}
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
/* 게시판 쓰기 */
#bo_w #wr_email, #bo_w #wr_homepage, #bo_w #wr_subject {width:100%}
#char_count_desc {display:block;margin:0 0 0.3em;padding:0}
#char_count_wrp {margin:0.3em 0 0;text-align:right}
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrp {margin:5px 0 0;text-align:right}
#char_count {font-weight:bold}
/* 게시판 읽기 */
#bo_v {margin-bottom:1.5em;padding-bottom:1.5em}
#bo_v {margin-bottom:15px;padding-bottom:15px}
#bo_v_table {padding:0 1em;color:#999;font-size:0.9em;font-weight:bold}
#bo_v_table {padding:0 10px;color:#999;font-size:0.9em;font-weight:bold}
#bo_v_title {padding:0 0.7em 0.5em;font-size:1.2em}
#bo_v_title {padding:0 7px 5px;font-size:1.2em}
#bo_v_info {padding:0 0.9em 1em;border-bottom:1px solid #ddd}
#bo_v_info {padding:0 10px 10px;border-bottom:1px solid #ddd}
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_info {}
#bo_v_info strong {display:inline-block;margin:0 0 0 0.3em;font-weight:normal}
#bo_v_info strong {display:inline-block;margin:0 0 0 5px;font-weight:normal}
#bo_v_file {}
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_file ul {margin:0;padding:0;list-style:none}
#bo_v_file li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_file a {display:inline-block;padding:0.5em 0;color:#000;text-decoration:none}
#bo_v_file li {padding:0 10px;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_file a {display:inline-block;padding:5px 0;color:#000;text-decoration:none}
#bo_v_file a:focus, #bo_v_file a:hover, #bo_v_file a:active {text-decoration:none}
.bo_v_file_cnt {display:inline-block;margin:0 1em}
.bo_v_file_cnt {display:inline-block;margin:0 10px}
#bo_v_link {}
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_link ul {margin:0;padding:0;list-style:none}
#bo_v_link li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_link a {display:inline-block;padding:0.5em 0;color:#000;text-decoration:none}
#bo_v_link li {padding:0 10px;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_link a {display:inline-block;padding:5px 0;color:#000;text-decoration:none}
#bo_v_link a:focus, #bo_v_link a:hover, #bo_v_link a:active {text-decoration:none}
.bo_v_link_cnt {display:inline-block;margin:0 1em}
.bo_v_link_cnt {display:inline-block;margin:0 10px}
#bo_v_top {margin:0 0 1em;padding:1em}
#bo_v_top {margin:0 0 10px;padding:10px}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_top ul {margin:0;padding:0;list-style:none}
#bo_v_bot {padding:0 1em}
#bo_v_bot {padding:0 10px}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_bot ul {margin:0;padding:0;list-style:none}
.bo_v_nb {float:left}
.bo_v_nb li {float:left;margin-right:0.3em}
.bo_v_nb li {float:left;margin-right:5px}
.bo_v_com {float:right}
.bo_v_com li {float:left;margin-left:0.3em}
.bo_v_com li {float:left;margin-left:5px}
#bo_v_atc {min-height:200px;padding:0 1em;min-height:200px}
#bo_v_atc {min-height:200px;padding:0 10px;min-height:200px}
#bo_v_atc_title {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_img {margin:0 0 1em;width:100%;overflow:hidden:zoom:1}
#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden;zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_img img {margin-bottom:1.5em;max-width:100%;height:auto}
#bo_v_img img {margin-bottom:15px;max-width:100%;height:auto}
#bo_v_con {margin-bottom:2em;width:100%;line-height:1.7em;word-break:break-all;overflow:hidden}
#bo_v_con {margin-bottom:20px;width:100%;line-height:1.7em;word-break:break-all;overflow:hidden}
#bo_v_con a {color:#000;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto}
#bo_v_act {margin-bottom:2em;text-align:center}
#bo_v_act a {margin-right:0.3em;vertical-align:top}
#bo_v_act span {display:inline-block;margin-right:0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:top}
#bo_v_act {margin-bottom:20px;text-align:center}
#bo_v_act a {margin-right:5px;vertical-align:top}
#bo_v_act span {display:inline-block;margin-right:5px;padding:0 10px;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:top}
#bo_v_act strong {color:#ff3061}
#bo_v_act_good, #bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_v_sns {margin:0 0 2em;padding:0;list-style:none;zoom:1}
#bo_v_sns {margin:0 0 20px;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;margin:0 0.5em 0 0}
#bo_v_sns li {float:left;margin:0 5px 0 0}
#bo_v form {padding-top:1.5em}
#bo_v form {padding-top:15px}
/* 게시판 댓글 */
#bo_vc {margin:0 0 0.5em;padding:1.5em 1.5em 0.5em;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f7f7f7}
#bo_vc h2 {margin-bottom:0.5em}
#bo_vc article {padding:0 0 0.5em;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:1.3em 0 0.3em}
#bo_vc header .icon_reply {position:absolute;top:1.5em;left:-1.3em}
#bo_vc {margin:0 0 5px;padding:15px 15px 5px;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f7f7f7}
#bo_vc h2 {margin-bottom:5px}
#bo_vc article {padding:0 0 5px;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:13px 0 5px}
#bo_vc header .icon_reply {position:absolute;top:13px;left:-20px}
#bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {display:inline-block;margin:0 1em 0 0.3em}
.bo_vc_hdinfo {display:inline-block;margin:0 10px 0 5px}
#bo_vc h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_vc a {color:#000;text-decoration:none}
#bo_vc p {padding:0 0 0.3em;line-height:1.8em}
#bo_vc p {padding:0 0 5px;line-height:1.8em}
#bo_vc p a {text-decoration:underline}
#bo_vc_empty {margin:0;padding:1.5em !important;border-bottom:1px dotted #ccc;text-align:center}
#bo_vc fieldset {margin:0 0 1em;padding:0}
#bo_vc_empty {margin:0;padding:15px !important;border-bottom:1px dotted #ccc;text-align:center}
#bo_vc fieldset {margin:0 0 10px;padding:0}
#bo_vc #bo_vc_winfo {float:left}
#bo_vc footer {zoom:1}
#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act {float:right;margin:0;list-style:none}
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act li {float:left;margin-left:0.3em}
.bo_vc_act li {float:left;margin-left:5px}
#bo_vc_w {position:relative;margin-bottom:1em;padding:0 1.5em 1.5em;border-bottom:1px solid #cfded8}
#bo_vc_w h2 {padding:1em 0 0.3em}
#bo_vc_w #char_cnt {display:block;margin-bottom:0.3em}
#bo_vc_w {position:relative;margin-bottom:10px;padding:0 15px 15px;border-bottom:1px solid #cfded8}
#bo_vc_w h2 {padding:10px 0 5px}
#bo_vc_w #char_cnt {display:block;margin-bottom:5px}
#bo_vc_w textarea {width:99%}
#bo_vc_sns {margin:0;padding:0;list-style:none;zoom:1}
#bo_vc_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc_sns li {float:left;margin:0 1em 0 0}
#bo_vc_sns input {margin:0 0 0 0.5em}
#bo_vc_sns li {float:left;margin:0 10px 0 0}
#bo_vc_sns input {margin:0 0 0 5px}
#bo_vc form {padding:0}

View File

@ -12,14 +12,12 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');
<div id="bo_gall">
<?php if ($is_category) { ?>
<form name="fcategory" id="fcategory" method="get">
<nav id="bo_cate">
<h2><?php echo $board['bo_subject'] ?> 카테고리</h2>
<ul id="bo_cate_ul">
<?php echo $category_option ?>
</ul>
</nav>
</form>
<?php } ?>
<div class="bo_fx">
@ -178,7 +176,7 @@ $(window).on("load", function() {
<option value="wr_name,1"<?php echo get_selected($sfl, "wr_name,1"); ?>>글쓴이</option>
<option value="wr_name,0"<?php echo get_selected($sfl, "wr_name,0"); ?>>글쓴이(코)</option>
</select>
<input name="stx" value="<?php echo stripslashes($stx) ?>" placeholder="검색어(필수)" required class="required" size="15" maxlength="15">
<input name="stx" value="<?php echo stripslashes($stx) ?>" placeholder="검색어(필수)" required id="stx" class="required" size="15" maxlength="15">
<input type="submit" value="검색">
</form>
</fieldset>

View File

@ -68,14 +68,14 @@
#bo_gall #gall_allchk {margin:0 10px}
#bo_gall #gall_ul {margin:1em 0 0;padding:0 1em;list-style:none}
#bo_gall #gall_ul {margin:10px 0 0;padding:0 10px;list-style:none}
#bo_gall #gall_ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin:10px;padding-left:1px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px;width:25%}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:0.4em 0;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;text-decoration:none;letter-spacing:-0.1em}
#bo_cate a {display:block;position:relative;margin-left:-1px;padding:5px 0;border:1px solid #ddd;background:#f7f7f7;color:#888;text-align:center;text-decoration:none;letter-spacing:-0.1em}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none}
#bo_cate #bo_cate_on {z-index:2;border:1px solid #565e60;background:#fff;color:#565e60;font-weight:bold}
@ -83,7 +83,7 @@
#bo_gall .gall_clear {clear:both}
#bo_gall .gall_con {margin:0;padding:0;list-style:none}
#bo_gall .gall_con li {margin:0 0 0.3em}
#bo_gall .gall_con li {margin:0 0 5px}
#bo_gall .gall_con .gall_subject {display:inline-block;width:50px}
#bo_gall .gall_now .gall_text_href a {color:#ff3061}
@ -91,20 +91,20 @@
#bo_gall .gall_href a:link, #bo_gall .gall_href a:focus, #bo_gall .gall_href a:hover {text-decoration:none}
#bo_gall .gall_href strong, #bo_gall .gall_href span {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:8em}
#bo_gall .gall_text_href {margin:1em 0 !important}
#bo_gall .gall_text_href {margin:10px 0 !important}
#bo_gall .gall_text_href a {color:#000;font-weight:bold;text-decoration:none}
#bo_gall .gall_text_href img {margin:0 0 0 0.3em}
#bo_gall .gall_text_href img {margin:0 0 0 5px}
/* 게시판 목록 공통 */
.bo_fx {margin-bottom:0.3em;padding:0.5em 1em}
.bo_fx {margin-bottom:5px;padding:5px 10px}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
#bo_list_total {float:left;padding:0;height:2.5em;line-height:2.5em}
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
.btn_bo_user li {float:left;margin-left:0.3em}
.btn_bo_user li {float:left;margin-left:5px}
.btn_bo_adm {float:left}
.btn_bo_adm li {float:left;margin-right:0.3em}
.btn_bo_adm input {padding:0 1em;height:2em;border:1px solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-appearance:none}
.btn_bo_adm li {float:left;margin-right:5px}
.btn_bo_adm input {padding:0 10px;height:2em;border:1px solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-appearance:none}
.bo_notice td {background:#f7f7f7}
.bo_notice td a {font-weight:bold}
.td_num strong {color:#000}
@ -113,115 +113,115 @@
.td_subject img {margin-left:3px}
.cnt_cmt {font-weight:bold}
#bo_sch {margin-bottom:1em;padding-top:0.3em;text-align:center}
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
#bo_gall li.empty_list {padding:5em 0;text-align:center}
#bo_gall li.empty_list {padding:30px 0;text-align:center}
/* 게시판 쓰기 */
#char_count_desc {display:block;margin:0 0 0.3em;padding:0}
#char_count_wrp {margin:0.3em 0 0;text-align:right}
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrp {margin:5px 0 0;text-align:right}
#char_count {font-weight:bold}
/* 게시판 읽기 */
#bo_v {margin-bottom:1.5em;padding-bottom:1.5em}
#bo_v {margin-bottom:15px;padding-bottom:15px}
#bo_v_table {padding:0 1em;color:#999;font-size:0.9em;font-weight:bold}
#bo_v_table {padding:0 10px;color:#999;font-size:0.9em;font-weight:bold}
#bo_v_title {padding:0 0.7em 0.5em;font-size:1.2em}
#bo_v_title {padding:0 5px 5px;font-size:1.2em}
#bo_v_info {padding:0 0.9em 1em;border-bottom:1px solid #ddd}
#bo_v_info {padding:0 10px 10px;border-bottom:1px solid #ddd}
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_info {}
#bo_v_info strong {display:inline-block;margin:0 0 0 0.3em;font-weight:normal}
#bo_v_info strong {display:inline-block;margin:0 0 0 5px;font-weight:normal}
#bo_v_file {}
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_file ul {margin:0;padding:0;list-style:none}
#bo_v_file li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_file a {display:inline-block;padding:0.5em 0;color:#000}
#bo_v_file li {padding:0 10px;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_file a {display:inline-block;padding:5px 0;color:#000}
#bo_v_file a:focus,
#bo_v_file a:hover,
#bo_v_file a:active {text-decoration:none}
.bo_v_file_cnt {display:inline-block;margin:0 1em}
.bo_v_file_cnt {display:inline-block;margin:0 10px}
#bo_v_link {}
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_link ul {margin:0;padding:0;list-style:none}
#bo_v_link li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_link a {display:inline-block;padding:0.5em 0;color:#000}
#bo_v_link li {padding:0 10px;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_link a {display:inline-block;padding:5px 0;color:#000}
#bo_v_link a:focus,
#bo_v_link a:hover,
#bo_v_link a:active {text-decoration:none}
.bo_v_link_cnt {display:inline-block;margin:0 1em}
.bo_v_link_cnt {display:inline-block;margin:0 10px}
#bo_v_top {margin:0 0 1em;padding:1em}
#bo_v_top {margin:0 0 10px;padding:10px}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_top ul {margin:0;padding:0;list-style:none}
#bo_v_bot {padding:0 1em}
#bo_v_bot {padding:0 10px}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_bot ul {margin:0;padding:0;list-style:none}
.bo_v_nb {float:left}
.bo_v_nb li {float:left;margin-right:0.3em}
.bo_v_nb li {float:left;margin-right:5px}
.bo_v_com {float:right}
.bo_v_com li {float:left;margin-left:0.3em}
.bo_v_com li {float:left;margin-left:5px}
#bo_v_atc {min-height:200px;padding:0 1em;min-height:200px}
#bo_v_atc {min-height:200px;padding:0 10px;min-height:200px}
#bo_v_atc_title {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_img {margin:0 0 1em;width:100%;overflow:hidden:zoom:1}
#bo_v_img {margin:0 0 10px;width:100%;overflow:hidden;zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_img img {margin-bottom:1.5em;max-width:100%;height:auto}
#bo_v_img img {margin-bottom:15px;max-width:100%;height:auto}
#bo_v_con {margin-bottom:2em;width:100%;line-height:1.7em;word-break:break-all;overflow:hidden}
#bo_v_con {margin-bottom:20px;width:100%;line-height:1.7em;word-break:break-all;overflow:hidden}
#bo_v_con a {color:#000;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto}
#bo_v_act {margin-bottom:2em;text-align:center}
#bo_v_act a {margin-right:0.3em;vertical-align:top}
#bo_v_act span {display:inline-block;margin-right:0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:top}
#bo_v_act {margin-bottom:20px;text-align:center}
#bo_v_act a {margin-right:5px;vertical-align:top}
#bo_v_act span {display:inline-block;margin-right:5px;padding:0 10px;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:top}
#bo_v_act strong {color:#ff3061}
#bo_v_act_good, #bo_v_act_nogood {display:inline-block;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_v_sns {margin:0 0 2em;padding:0;list-style:none;zoom:1}
#bo_v_sns {margin:0 0 20px;padding:0;list-style:none;zoom:1}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;margin:0 0.5em 0 0}
#bo_v_sns li {float:left;margin:0 5px 0 0}
#bo_v form {padding-top:1.5em}
#bo_v form {padding-top:15px}
/* 게시판 댓글 */
#bo_vc {margin:0 0 0.5em;padding:1.5em 1.5em 0.5em;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f7f7f7}
#bo_vc h2 {margin-bottom:0.5em}
#bo_vc article {padding:0 0 0.5em;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:1.3em 0 0.3em}
#bo_vc header .icon_reply {position:absolute;top:1.5em;left:-1.3em}
#bo_vc {margin:0 0 5px;padding:15px 15px 5px;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f7f7f7}
#bo_vc h2 {margin-bottom:5px}
#bo_vc article {padding:0 0 5px;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:13px 0 5px}
#bo_vc header .icon_reply {position:absolute;top:13px;left:-20px}
#bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {display:inline-block;margin:0 1em 0 0.3em}
.bo_vc_hdinfo {display:inline-block;margin:0 10px 0 5px}
#bo_vc h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_vc a {color:#000;text-decoration:none}
#bo_vc p {padding:0 0 0.3em;line-height:1.8em}
#bo_vc p {padding:0 0 5px;line-height:1.8em}
#bo_vc p a {text-decoration:underline}
#bo_vc_empty {margin:0;padding:1.5em !important;border-bottom:1px dotted #ccc;text-align:center}
#bo_vc fieldset {margin:0 0 1em;padding:0}
#bo_vc_empty {margin:0;padding:15px !important;border-bottom:1px dotted #ccc;text-align:center}
#bo_vc fieldset {margin:0 0 10px;padding:0}
#bo_vc #bo_vc_winfo {float:left}
#bo_vc footer {zoom:1}
#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act {float:right;margin:0;list-style:none}
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act li {float:left;margin-left:0.3em}
.bo_vc_act li {float:left;margin-left:5px}
#bo_vc_w {position:relative;margin-bottom:1em;padding:0 1.5em 1.5em;border-bottom:1px solid #cfded8}
#bo_vc_w h2 {padding:1em 0 0.3em}
#bo_vc_w #char_cnt {display:block;margin-bottom:0.3em}
#bo_vc_w {position:relative;margin-bottom:10px;padding:0 15px 15px;border-bottom:1px solid #cfded8}
#bo_vc_w h2 {padding:10px 0 5px}
#bo_vc_w #char_cnt {display:block;margin-bottom:5px}
#bo_vc_w textarea {width:99%}
#bo_vc_sns {margin:0;padding:0;list-style:none;zoom:1}
#bo_vc_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc_sns li {float:left;margin:0 1em 0 0}
#bo_vc_sns input {margin:0 0 0 0.5em}
#bo_vc_sns li {float:left;margin:0 10px 0 0}
#bo_vc_sns input {margin:0 0 0 5px}
#bo_vc form {padding:0}

View File

@ -6,4 +6,4 @@
#current_connect_tbl th:nth-of-type(1) {width:50px}
#current_connect_tbl th:nth-of-type(2) {width:120px}
#current_connect_tbl td:nth-of-type(1) {padding:1em 0;text-align:center}
#current_connect_tbl td:nth-of-type(1) {padding:10px 0;text-align:center}

View File

@ -2,10 +2,10 @@
/* SIR 지운아빠 */
/* 최근게시물 스킨 (latest) */
.lt {position:relative;margin:0 0 1em;padding:0 1em 1.5em;border-bottom:1px solid #ddd}
.lt ul {margin:0 0 1em;padding:0;list-style:none}
.lt li {padding:0.2em 0}
.lt {position:relative;margin:0 0 10px;padding:0 10px 15px;border-bottom:1px solid #ddd}
.lt ul {margin:0 0 10px;padding:0;list-style:none}
.lt li {padding:3px 0}
.lt a {color:#000;text-decoration:none}
.lt .lt_title {display:block;padding:1em 0}
.lt .lt_more {position:absolute;top:1em;right:1em}
.lt .lt_title {display:block;padding:10px 0}
.lt .lt_more {position:absolute;top:10px;right:10px}
.lt .cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}

View File

@ -74,20 +74,20 @@
/* ### 기본 스타일 커스터마이징 끝 ### */
/* 회원가입 약관 */
#fregister section {padding:1.5em;border-bottom:1px solid #eee;background:#fafafa}
#fregister h2 {margin:0 0 1.5em;text-align:center}
#fregister textarea {display:block;margin-bottom:1em;padding:0.3em;width:99%;height:150px;border:1px solid #cfded8;background:#f7f7f7}
.fregister_agree {padding:1em 0 0;text-align:right}
.fregister_agree label {display:inline-block;margin-right:0.3em}
#fregister section {padding:15px;border-bottom:1px solid #eee;background:#fafafa}
#fregister h2 {margin:0 0 15px;text-align:center}
#fregister textarea {display:block;margin-bottom:10px;padding:5px;width:99%;height:150px;border:1px solid #cfded8;background:#f7f7f7}
.fregister_agree {padding:10px 0 0;text-align:right}
.fregister_agree label {display:inline-block;margin-right:5px}
#fregister p {color:#e8180c;text-align:center}
#fregister .btn_confirm {margin:1.5em 0}
#fregister .btn_confirm {margin:15px 0}
/* 회원가입 입력 */
#fregisterform #reg_mb_email, #fregisterform .frm_address {width:100%}
#fregisterform textarea {width:100%;height:50px}
/* 회원가입 완료 */
#reg_result {padding:4em 1em 0}
#reg_result {padding:40px 10px 0}
#reg_result #result_logo {margin-bottom:50px;text-align:center}
#reg_result #result_email {padding:10px 50px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff;line-height:2em}
#reg_result #result_email span {display:inline-block;width:150px}
@ -95,19 +95,19 @@
#reg_result .btn_confirm {margin:50px 0}
/* 아이디/패스워드 찾기 */
#find_info #info_fs {margin:0 auto 1em;padding:1em;border-bottom:1px solid #eee}
#find_info #info_fs {margin:0 auto 10px;padding:10px;border-bottom:1px solid #eee}
#find_info #info_fs #mb_email {width:100%}
#find_info #captcha {margin:0 0 1em;padding:0 1em 1em}
#find_info #captcha input {margin-left:0.3em}
#find_info #captcha {margin:0 0 10px;padding:0 10px 10px}
#find_info #captcha input {margin-left:5px}
/* 로그인 */
#mb_login {margin:2em 0}
#mb_login h1 {margin:0 0 1.5em;padding:0 1em;font-size:1.3em}
#mb_login {margin:20px 0}
#mb_login h1 {margin:0 0 15px;padding:0 10px;font-size:1.3em}
#mb_login h2 {margin:0}
#mb_login fieldset {position:relative;padding:0 0.5em;font-size:1em}
#mb_login .frm_input {display:block;margin-bottom:0.3em;padding:0;width:80%;height:1.8em;line-height:1.8em}
#mb_login .btn_submit {position:absolute;top:0em;right:0.5em;padding:0 !important;width:18%;height:4em !important;text-align:center}
#mb_login section {margin:30px 0;padding:1.5em 1em;border:1px solid #cfded8;background:#f7f7f7}
#mb_login fieldset {position:relative;padding:0 5px;font-size:1em}
#mb_login .frm_input {display:block;margin-bottom:5px;padding:0;width:80%;height:1.8em;line-height:1.8em}
#mb_login .btn_submit {position:absolute;top:0;right:5px;padding:0 !important;width:18%;height:4em !important;text-align:center}
#mb_login section {margin:30px 0;padding:15px 10px;border:1px solid #cfded8;background:#f7f7f7}
#mb_login section div {text-align:right}
#mb_login_notmb {margin:30px 0;padding:1.5em 1em;border:1px solid #cfded8;background:#f7f7f7}
@ -124,10 +124,10 @@
#mb_login_odinfo div {text-align:right}
/* 쪽지 */
#memo_view section {padding:1em}
#memo_view section {padding:10px}
#memo_view section h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#memo_view_ul {margin:0;padding:0 0 1em;border-bottom:1px solid #eee;list-style:none}
.memo_view_li {position:relative;padding:0.3em 0}
#memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none}
.memo_view_li {position:relative;padding:5px 0}
.memo_view_subj {display:inline-block;width:65px}
#memo_view_ul a {}
#memo_view section p {min-height:150px;height:auto !important;height:150px}
@ -139,26 +139,26 @@
#scrap td:nth-of-type(1) {width:150px}
#scrap td:nth-last-of-type(1) {width:50px;text-align:center}
#scrap_do table {margin:0 0 1em;width:100%}
#scrap_do table {margin:0 0 10px;width:100%}
#scrap_do textarea {width:99%;height:100px}
/* 회원 패스워드 확인 */
#mb_confirm {margin:30px 0}
#mb_confirm h1 {margin:0 0 1.5em;padding:0 1em;font-size:1.3em}
#mb_confirm p {padding:1.5em 1em;border-bottom:1px solid #cfded8;border-bottom:0;background:#fff}
#mb_confirm h1 {margin:0 0 15px;padding:0 10px;font-size:1.3em}
#mb_confirm p {padding:15px 10px;border-bottom:1px solid #cfded8;border-bottom:0;background:#fff}
#mb_confirm p strong {display:block}
#mb_confirm fieldset {position:relative;margin:0 0 3em;padding:2em 1em;border-bottom:1px solid #cfded8;background:#f7f7f7}
#mb_confirm_pw {display:block;margin-top:1em;padding:0;width:80%;line-height:1.8em !important}
#mb_confirm .btn_submit {position:absolute;bottom:2em;right:1em;width:18%;height:1.9em !important;line-height:1.9em}
#mb_confirm fieldset {position:relative;margin:0 0 5px;padding:20px 10px;border-bottom:1px solid #cfded8;background:#f7f7f7}
#mb_confirm_pw {display:block;margin-top:10px;padding:0;width:88%;line-height:1.8em !important}
#mb_confirm .btn_submit {position:absolute;bottom:20px;right:10px;width:10%;height:1.9em !important;line-height:1.9em}
/* 비밀글 패스워드 확인 */
#pw_confirm {margin:30px 0}
#pw_confirm h1 {margin:0 0 1.5em;padding:0 1em;font-size:1.3em}
#pw_confirm p {padding:1.5em 1em;border-bottom:1px solid #cfded8;border-bottom:0;background:#fff}
#pw_confirm h1 {margin:0 0 15px;padding:0 10px;font-size:1.3em}
#pw_confirm p {padding:15px 10px;border-bottom:1px solid #cfded8;border-bottom:0;background:#fff}
#pw_confirm p strong {display:block}
#pw_confirm fieldset {position:relative;margin:0 0 3em;padding:0.5em 0.5em 1em;border-bottom:1px solid #cfded8;background:#f7f7f7}
#pw_wr_password {display:block;margin-top:1em;padding:0;width:80%;line-height:1.8em !important}
#pw_confirm .btn_submit {position:absolute;bottom:1em;right:0.5em;width:18%;height:1.9em !important;line-height:1.9em}
#pw_confirm fieldset {position:relative;margin:0 0 5px;padding:5px 5px 10px;border-bottom:1px solid #cfded8;background:#f7f7f7}
#pw_wr_password {display:block;margin-top:10px;padding:0;width:88%;line-height:1.8em !important}
#pw_confirm .btn_submit {position:absolute;bottom:10px;right:5px;width:10%;height:1.9em !important;line-height:1.9em}
/* 폼메일 */
#formmail #subject {width:98%}
@ -166,17 +166,17 @@
/* 자기소개 */
#profile table {margin-bottom:0}
#profile section {padding:1em}
#profile section {padding:10px}
#profile h2 {margin:0}
#profile .sv_wrap a {margin:0 0 0.3em;padding:0;font-weight:bold;line-height:1em}
#profile .sv_wrap a {margin:0 0 5px;padding:0;font-weight:bold;line-height:10px}
/* 우편번호 검색 */
#post_code fieldset {margin:0 auto 10px;padding:1em;text-align:center}
#post_code dl {margin:0 0 1em;padding:1.5em 1em;background:#fff}
#post_code fieldset {margin:0 auto 10px;padding:10px;text-align:center}
#post_code dl {margin:0 0 10px;padding:15px 10px;background:#fff}
#post_code dt {margin-bottom:15px;color:#000}
#post_code dd {margin:0;padding:0}
#post_code ul {margin:0;padding:0;list-style:none}
#post_code li a {display:block;padding:0.7em 0;border-bottom:1px solid #eee;color:#000;text-decoration:none}
#post_code p {margin:0 auto 30px;padding:0 1em}
#post_code li a {display:block;padding:5px 0;border-bottom:1px solid #eee;color:#000;text-decoration:none}
#post_code p {margin:0 auto 30px;padding:0 10px}
#post_code .btn_submit {height:1.9em !important;line-height:1.9em !important}
.post_code {display:inline-block;width:100px;color:#999}

View File

@ -2,7 +2,9 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 검색 -->
<link rel="stylesheet" href="<?php echo $new_skin_url ?>/style.css">
<!-- 전체게시물 검색 시작 { -->
<fieldset id="new_sch">
<legend>상세검색</legend>
<form name="fnew" method="get">
@ -13,8 +15,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<option value="w">원글만
<option value="c">코멘트만
</select>
<input type="text" name="mb_id" value="<?php echo $mb_id ?>" id="mb_id" placeholder="검색어(필수)" required class="required">
<input type="submit" value="검색">
<input type="text" name="mb_id" value="<?php echo $mb_id ?>" id="mb_id" placeholder="검색어(필수)" required class="frm_input required">
<input type="submit" value="검색" class="btn_submit">
</form>
<script>
function select_change()
@ -25,9 +27,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
document.getElementById("view").value = "<?php echo $view ?>";
</script>
</fieldset>
<!-- 검색 끝 -->
<!-- } 전체게시물 검색 끝 -->
<!-- 제목 시작 -->
<!-- 전체게시물 목록 시작 { -->
<div class="tbl_head01 tbl_wrp">
<table id="new_tbl">
<thead>
@ -60,3 +62,4 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</div>
<?php echo $write_pages ?>
<!-- } 전체게시물 목록 끝 -->

View File

@ -2,7 +2,7 @@
/* SIR 지운아빠 */
/* 새글 */
#new_sch {margin:0 0 0.3em;padding:0.3em 0.7em}
#new_sch {margin:0 0 5px;padding:5px 10px}
#new_tbl {}
#new_tbl th:nth-of-type(3) {width:50px}

View File

@ -2,19 +2,19 @@
/* SIR 지운아빠 */
/* 아웃로그인 */
.ol {position:relative;margin:0 0 1em;padding:0 0.5em 0.5em;border-bottom:1px solid #e7f1ed}
.ol {position:relative;margin:0 0 10px;padding:0 5px 5px;border-bottom:1px solid #e7f1ed}
.ol h2 {width:0;height:0;overflow:hidden}
.ol a.btn_admin {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */
.ol a.btn_admin {display:inline-block;margin:0 0 5px;padding:0 10px;border:1px solid #e8180c;background:#e8180c;color:#fff;text-decoration:none;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */
.ol a.btn_admin:focus, .ol a.btn_admin:hover {text-decoration:none}
#ol_before input[type=text],
#ol_before input[type=password] {display:block;margin-bottom:0.3em;padding:0;width:80%;height:1.8em;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none}
#ol_before input[type=submit] {position:absolute;top:0em;right:0.5em;padding:0 !important;width:18%;height:4em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer;-webkit-appearance:none}
#ol_svc {margin:0.5em 0;text-align:right}
#ol_svc a {display:inline-block;margin:0 0 0 0.5em;color:#000;text-decoration:none;vertical-align:middle}
#ol_before input[type=password] {display:block;margin-bottom:5px;padding:0;width:80%;height:1.8em;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none}
#ol_before input[type=submit] {position:absolute;top:0;right:5px;padding:0 !important;width:18%;height:4em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer;-webkit-appearance:none}
#ol_svc {margin:5px 0;text-align:right}
#ol_svc a {display:inline-block;margin:0 0 0 5px;color:#000;text-decoration:none;vertical-align:middle}
#ol_after_hd strong {display:inline-block;padding:0 0 0.5em}
#ol_after_hd strong {display:inline-block;padding:0 0 5px}
#ol_after_hd .btn_admin {display:block;padding:0 !important;width:100%;text-align:center}
#ol_after_private {margin:0;padding:0;list-style:none}
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
@ -26,5 +26,5 @@
#ol_after_private a strong {color:#000;font-weight:normal}
#ol_after_private a:nth-of-type(1) {border-right:1px solid #fff}
#ol_after_private a:nth-of-type(2) {border-right:1px solid #fff}
#ol_after_ft {margin-top:0.5em;text-align:right}
#ol_after_ft a {display:inline-block;padding:0 2em;height:2em;background:#333;color:#fff;text-decoration:none;text-align:center;line-height:2em}
#ol_after_ft {margin-top:5px;text-align:right}
#ol_after_ft a {display:inline-block;padding:0 20px;height:2em;background:#333;color:#fff;text-decoration:none;text-align:center;line-height:2em}

View File

@ -38,53 +38,48 @@
/* ### 기본 스타일 커스터마이징 끝 ### */
/* 설문조사 스킨 */
#poll {margin:1em 0 0;padding:0 0 1em}
#poll header {position:relative;padding:0 0.5em}
#poll h2 {padding:0 0 0.5em}
#poll {margin:10px 0 0;padding:0 0 10px}
#poll header {position:relative;padding:0 5px}
#poll h2 {padding:0 0 5px}
#poll header .btn_admin {display:block;padding:0 !important;width:100%;text-align:center}
#poll header p {padding:0}
#poll ul {margin:0 0 1em;padding:0.3em 1em;list-style:none}
#poll ul {margin:0 0 10px;padding:5px 10px;list-style:none}
#poll li {padding:3px 0}
#poll footer {padding:0 0.5em;text-align:center}
#poll footer {padding:0 5px;text-align:center}
#poll footer input {width:49%;height:2.15em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer;-webkit-appearance:none}
#poll footer a {display:inline-block;width:49%;height:2em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;text-align:center;line-height:2em}
#poll footer a:focus,
#poll footer a:hover {text-decoration:none !important}
/* 설문조사 결과 (새창) */
#poll_result section {padding:1em;border-bottom:1px solid #eee}
#poll_result section {padding:10px;border-bottom:1px solid #eee}
#poll_result h2 {margin:0;padding:0}
#poll_result .member,
#poll_result .guest,
#poll_result .sv_member,
#poll_result .sv_guest {font-weight:bold;margin-right:0.5em}
#poll_result .member, #poll_result .guest, #poll_result .sv_member, #poll_result .sv_guest {font-weight:bold;margin-right:5px}
#poll_result_list {margin:0 auto}
#poll_result_list h2 {text-align:center}
#poll_result_list dl,
#poll_result_list dt,
#poll_result_list dd {margin:0;padding:0}
#poll_result_list dl {padding-bottom:2em}
#poll_result_list dl, #poll_result_list dt, #poll_result_list dd {margin:0;padding:0}
#poll_result_list dl {padding-bottom:20px}
#poll_result_list dt {margin-right:5%;color:#e8180d;text-align:right}
#poll_result_list ol {margin:0;padding-left:2.5em}
#poll_result_list ol {margin:0;padding-left:25px}
#poll_result_list li {margin-top:10px}
#poll_result_list p {position:relative;margin:0;padding:0.3em 0}
#poll_result_list p strong {position:absolute;top:0.3em;right:5%;margin-right:60px;width:100px;text-align:right}
#poll_result_list p {position:relative;margin:0;padding:5px 0}
#poll_result_list p strong {position:absolute;top:5px;right:5%;margin-right:60px;width:100px;text-align:right}
#poll_result_list p span {position:absolute;top:5px;right:5%;width:60px;color:#68999c;text-align:right}
.poll_result_graph {position:relative;margin-right:5%;height:5px;background:#eee}
.poll_result_graph span {position:absolute;top:0;left:0;height:5px;background:#565e60;font-size:0.1em}
#poll_result_cmt {margin:0 auto;padding:1.5em 2.5em !important;background:#f7f7f7}
#poll_result_cmt {margin:0 auto;padding:15px 25px !important;background:#f7f7f7}
#poll_result_cmt h2 {text-align:center}
#poll_result_cmt h3 {margin:0 auto 1em}
#poll_result_cmt article {margin:0 0 1em;border-bottom:1px solid #eee}
#poll_result_cmt h3 {margin:0 auto 10px}
#poll_result_cmt article {margin:0 0 10px;border-bottom:1px solid #eee}
#poll_result_cmt h1 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#poll_result_cmt p {padding:0.3em 0}
#poll_result_cmt p {padding:5px 0}
#poll_result_cmt footer {text-align:right}
#poll_result_wcmt {margin:0 0 1em !important}
#poll_result_wcmt td {padding:0 0 0.3em;border:0}
#poll_result_wcmt {margin:0 0 10px !important}
#poll_result_wcmt td {padding:0 0 5px;border:0}
#poll_result_wcmt input[type=text] {background:#fff !important}
#pc_idea {width:98%}
.poll_cmt_del a {display:inline-block;padding-bottom:1em}
#poll_result_oth {margin:0 auto 1.5em}
#poll_result_oth h2 {padding:1em}
#poll_result_oth ul {margin:0;padding:0 1em;list-style:none}
#poll_result_oth a {display:block;padding:1em 0;border-bottom:1px solid #eee;color:#000;text-decoration:none}
.poll_cmt_del a {display:inline-block;padding-bottom:10px}
#poll_result_oth {margin:0 auto 15px}
#poll_result_oth h2 {padding:10px}
#poll_result_oth ul {margin:0;padding:0 10px;list-style:none}
#poll_result_oth a {display:block;padding:10px 0;border-bottom:1px solid #eee;color:#000;text-decoration:none}

View File

@ -5,9 +5,9 @@
#popular {background:#515151}
#popular div {zoom:1}
#popular div:after {display:block;visibility:hidden;clear:both;content:""}
#popular h2 {float:left;padding:0.5em;color:#fff}
#popular h2 {float:left;padding:10px;color:#fff}
#popular ul {float:left;list-style:none}
#popular li {float:left}
#popular a {display:inline-block;padding:0.5em;color:#fff;text-decoration:none}
#popular a {display:inline-block;padding:10px;color:#fff;text-decoration:none}
#popular a:focus,
#popular a:hover {background:#333;color:#fff}

View File

@ -2,29 +2,29 @@
/* SIR 지운아빠 */
/* 전체검색결과 스킨 */
#sch_res_detail {padding:0 0 1em;border-bottom:1px solid #e9e9e9;text-align:center}
#sch_res_detail {padding:0 0 10px;border-bottom:1px solid #e9e9e9;text-align:center}
#sch_res_detail legend {position:absolute;font-size:0;line-height:0;overflow:hidden}
#sch_res_detail div {margin:0 0 0.5em}
#sch_res_detail div {margin:0 0 5px}
#sch_res_detail .frm_input {height:2.5em;line-height:2.5em}
#sch_res_ov {padding:1em;border-bottom:1px solid #e9e9e9;background:#f5f6fa;zoom:1}
#sch_res_ov {padding:10px;border-bottom:1px solid #e9e9e9;background:#f5f6fa;zoom:1}
#sch_res_ov:after {display:block;visibility:hidden;clear:both;content:""}
#sch_res_ov h2 {margin:0 0 0.5em}
#sch_res_ov dl {margin:0 0 0.5em;zoom:1}
#sch_res_ov h2 {margin:0 0 5px}
#sch_res_ov dl {margin:0 0 5px;zoom:1}
#sch_res_ov dl:after {display:block;visibility:hidden;clear:both;content:""}
#sch_res_ov dt {float:left}
#sch_res_ov dd {float:left;margin:0 1em 0 0.5em}
#sch_res_ov dd {float:left;margin:0 10px 0 5px}
#sch_res_ov p {margin:0;padding:0}
#sch_res_board {margin:0 0 1em;padding:0;list-style:none;zoom:1}
#sch_res_board {margin:0 0 10px;padding:0;list-style:none;zoom:1}
#sch_res_board:after {display:block;visibility:hidden;clear:both;content:""}
#sch_res_board a {display:block;position:relative;margin-left:-1px;padding:0.5em 1em;border-bottom:1px solid #e9e9e9;text-decoration:none;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#sch_res_board a {display:block;position:relative;margin-left:-1px;padding:5px 10px;border-bottom:1px solid #e9e9e9;text-decoration:none;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#sch_res_board a:focus, #sch_res_board a:hover, #sch_res_board a:active {text-decoration:none}
#sch_res_board .cnt_cmt {font-weight:normal !important}
.sch_res_list {margin:0 0 1em;padding:1em 0}
.sch_res_list h2 {margin:0 0 1em;padding:0 1em;font-size:1.2em}
.sch_res_list {margin:0 0 10px;padding:10px 0}
.sch_res_list h2 {margin:0 0 10px;padding:0 10px;font-size:1.2em}
.sch_res_list ul {margin:0;padding:0;list-style:none}
.sch_res_list li {margin:0 0 1em;padding:0 1em 1em;border-bottom:1px solid #e9e9e9}
.sch_res_list li {margin:0 0 10px;padding:0 10px 10px;border-bottom:1px solid #e9e9e9}
.sch_res_list a {text-decoration:none}
.sch_more {padding:0 1em;text-align:right}
.sch_more {padding:0 10px;text-align:right}

View File

@ -4,10 +4,9 @@
#visit {background:#444}
#visit div {zoom:1}
#visit div:after {display:block;visibility:hidden;clear:both;content:""}
#visit h2 {float:left;padding:0.5em;color:#fff}
#visit dl {float:left;margin:0 0 0 0.5em;padding:0}
#visit dt {float:left;margin:0;padding:0.5em 0.1em 0.5em 0;color:#fff}
#visit dd {float:left;margin:0 1em 0 0;padding:0.5em 0.1em;color:#fff}
#visit a {display:inline-block;padding:0.5em 0.1em;color:#fff;text-decoration:none}
#visit a:focus,
#visit a:hover {background:#333;color:#fff}
#visit h2 {float:left;padding:10px;color:#fff}
#visit dl {float:left;margin:0 0 0 10px;padding:0}
#visit dt {float:left;margin:0;padding:10px;color:#fff}
#visit dd {float:left;margin:0 3px 0 0;padding:10px 5px;color:#fff}
#visit a {display:inline-block;padding:10px 3px;color:#fff;text-decoration:none}
#visit a:focus, #visit a:hover {background:#333;color:#fff}

View File

@ -18,14 +18,12 @@ if ($is_nogood) $colspan++;
<!-- 게시판 카테고리 시작 { -->
<?php if ($is_category) { ?>
<form name="fcategory" id="fcategory" method="get">
<nav id="bo_cate">
<h2><?php echo $board['bo_subject'] ?> 카테고리</h2>
<ul id="bo_cate_ul">
<?php echo $category_option ?>
</ul>
</nav>
</form>
<?php } ?>
<!-- } 게시판 카테고리 끝 -->
@ -182,7 +180,7 @@ if ($is_nogood) $colspan++;
<option value="wr_name,0"<?php echo get_selected($sfl, 'wr_name,0'); ?>>글쓴이(코)</option>
</select>
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" required class="frm_input required" size="15" maxlength="15">
<input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" required id="stx" class="frm_input required" size="15" maxlength="15">
<input type="submit" value="검색" class="btn_submit">
</form>
</fieldset>

View File

@ -11,14 +11,12 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');
<div id="bo_gall" style="width:<?php echo $width; ?>">
<?php if ($is_category) { ?>
<form name="fcategory" id="fcategory" method="get">
<nav id="bo_cate">
<h2><?php echo $board['bo_subject'] ?> 카테고리</h2>
<ul id="bo_cate_ul">
<?php echo $category_option ?>
</ul>
</nav>
</form>
<?php } ?>
<div class="bo_fx">
@ -176,7 +174,7 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php');
<option value="wr_name,0"<?php echo get_selected($sfl, 'wr_name,0'); ?>>글쓴이(코)</option>
</select>
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" required class="frm_input required" size="15" maxlength="15">
<input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" required id="stx" class="frm_input required" size="15" maxlength="15">
<input type="submit" value="검색" class="btn_submit">
</form>
</fieldset>