merge 충돌 처리

This commit is contained in:
whitedot
2013-06-13 11:31:56 +09:00
parent c0d2b4ca7d
commit 80c20cc73f
36 changed files with 399 additions and 398 deletions

View File

@ -118,26 +118,26 @@ function imageview(id, w, h)
<ul id="qnb">
<?php if(defined('G4_USE_SHOP')) { ?>
<li>
<a href="<?=G4_ADMIN_URL?>/shop_admin/orderlist.php">
<img src="<?=G4_ADMIN_URL?>/shop_admin/img/qnb_sodr.jpg" alt="" width="40" height="40">
<a href="<?php echo G4_ADMIN_URL; ?>/shop_admin/orderlist.php">
<img src="<?php echo G4_ADMIN_URL; ?>/shop_admin/img/qnb_sodr.jpg" alt="" width="40" height="40">
주문관리
</a>
</li>
<li>
<a href="<?=G4_ADMIN_URL?>/shop_admin/itemlist.php">
<img src="<?=G4_ADMIN_URL?>/shop_admin/img/qnb_sit.jpg" alt="" width="40" height="40">
<a href="<?php echo G4_ADMIN_URL; ?>/shop_admin/itemlist.php">
<img src="<?php echo G4_ADMIN_URL; ?>/shop_admin/img/qnb_sit.jpg" alt="" width="40" height="40">
상품관리
</a>
</li>
<li>
<a href="<?=G4_ADMIN_URL?>/shop_admin/itemqalist.php">
<img src="<?=G4_ADMIN_URL?>/shop_admin/img/qnb_sqna.jpg" alt="" width="40" height="40">
<a href="<?php echo G4_ADMIN_URL; ?>/shop_admin/itemqalist.php">
<img src="<?php echo G4_ADMIN_URL; ?>/shop_admin/img/qnb_sqna.jpg" alt="" width="40" height="40">
상품문의
</a>
</li>
<li>
<a href="<?=G4_ADMIN_URL?>/shop_admin/itempslist.php">
<img src="<?=G4_ADMIN_URL?>/shop_admin/img/qnb_sps.jpg" alt="" width="40" height="40">
<a href="<?php echo G4_ADMIN_URL; ?>/shop_admin/itempslist.php">
<img src="<?php echo G4_ADMIN_URL; ?>/shop_admin/img/qnb_sps.jpg" alt="" width="40" height="40">
사용후기
</a>
</li>

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('G4_USE_SHOP') || !G4_USE_SHOP) return;
$menu['menu400'] = array (

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('G4_USE_SHOP') || !G4_USE_SHOP) return;
$menu['menu500'] = array (

View File

@ -73,6 +73,11 @@ $colspan = 5;
<h2>설정된 관리권한 내역</h2>
<p>권한 <strong>r</strong>은 읽기권한, <strong>w</strong>는 쓰기권한, <strong>d</strong>는 삭제권한입니다.</p>
<ul class="sort_odr">
<li><?php echo subject_sort_link('a.mb_id') ?>회원아이디<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_nick') ?>별명<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fauthlist" id="fauthlist" method="post" action="./auth_list_delete.php" onsubmit="return fauthlist_submit(this);">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
@ -83,9 +88,12 @@ $colspan = 5;
<table>
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 권한설정 내역 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?php echo subject_sort_link('a.mb_id') ?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link('mb_nick') ?>별명</a></th>
<th scope="col">
<label for="chkall" class="sound_only">전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">회원아이디</th>
<th scope="col">별명</th>
<th scope="col">메뉴</th>
<th scope="col">권한</th>
</tr>
@ -109,7 +117,8 @@ $colspan = 5;
<td class="td_chk">
<input type="hidden" name="au_menu[<?php echo $i ?>]" value="<?php echo $row['au_menu'] ?>">
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>">
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>" title="<?php echo $row['mb_nick'] ?>님 권한체크">
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo $row['mb_nick'] ?>님 권한</label>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
</td>
<td class="td_mbid"><a href="?sfl=a.mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
<td class="td_auth_mbnick"><?php echo $mb_nick ?></td>

View File

@ -79,11 +79,23 @@ $colspan = 15;
<p>여러개의 게시판 설정을 한번에 바꾸실 때는 게시판 체크기능을 이용하세요.</p>
<?php if ($is_admin == 'super') { ?>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./board_form.php" id="bo_add">게시판 추가</a>
</div>
<?php } ?>
<ul class="sort_odr">
<li><?php echo subject_sort_link('a.gr_id') ?>그룹<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('bo_table') ?>TABLE<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('bo_skin', '', 'desc') ?>스킨<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('bo_mobile_skin', '', 'desc') ?>모바일<span class="sound_only"> 스킨 순 정렬</span></a></li>
<li><?php echo subject_sort_link('bo_subject') ?>제목<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('bo_use_sns') ?>SNS<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('bo_use_search') ?>검색사용<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('bo_show_menu') ?>메뉴보임<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('bo_order') ?>출력순서<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fboardlist" id="fboardlist" action="./board_list_update.php" onsubmit="return fboardlist_submit(this);" method="post">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
@ -94,20 +106,23 @@ $colspan = 15;
<table class="tbl_bo_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 게시판 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?php echo subject_sort_link('a.gr_id') ?>그룹</a></th>
<th scope="col"><?php echo subject_sort_link('bo_table') ?>TABLE</a></th>
<th scope="col"><?php echo subject_sort_link('bo_skin', '', 'desc') ?>스킨</a></th>
<th scope="col"><?php echo subject_sort_link('bo_mobile_skin', '', 'desc') ?>모바일<br>스킨</a></th>
<th scope="col"><?php echo subject_sort_link('bo_subject') ?>제목</a></th>
<th scope="col">
<label for="chkall" class="sound_only">게시판 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">그룹</th>
<th scope="col">TABLE</th>
<th scope="col">스킨</th>
<th scope="col">모바일<br>스킨</th>
<th scope="col">제목</th>
<th scope="col">읽기P<span class="sound_only">포인트</span></th>
<th scope="col">쓰기P<span class="sound_only">포인트</span></th>
<th scope="col">댓글P<span class="sound_only">포인트</span></th>
<th scope="col">다운P<span class="sound_only">포인트</span></th>
<th scope="col"><?php echo subject_sort_link('bo_use_sns') ?>SNS<br>사용</a></th>
<th scope="col"><?php echo subject_sort_link('bo_use_search') ?>검색<br>사용</a></th>
<th scope="col"><?php echo subject_sort_link('bo_show_menu') ?>메뉴<br>보임</a></th>
<th scope="col"><?php echo subject_sort_link('bo_order') ?>출력<br>순서</a></th>
<th scope="col">SNS<br>사용</th>
<th scope="col">검색<br>사용</th>
<th scope="col">메뉴<br>보임</th>
<th scope="col">출력<br>순서</th>
<th scope="col">접속기기</th>
<th scope="col">관리</th>
</tr>
@ -121,7 +136,8 @@ $colspan = 15;
<tr>
<td>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>" title="<?php echo get_text($row['bo_subject']) ?> 게시판선택">
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['bo_subject']) ?></label>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
</td>
<td>
<?php if ($is_admin == 'super'){ ?>

View File

@ -86,11 +86,18 @@ $colspan = 8;
</p>
<?php if ($is_admin == 'super') { ?>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./boardgroup_form.php" id="bo_gr_add">게시판그룹 추가</a>
</div>
<?php } ?>
<ul class="sort_odr">
<li><?php echo subject_sort_link('gr_id') ?>그룹아이디<span class="sound_only"> 순 정렬</span></a></th>
<li><?php echo subject_sort_link('gr_subject') ?>제목<span class="sound_only"> 순 정렬</span></a></th>
<?php if ($is_admin == 'super'){ ?><li><?php echo subject_sort_link('gr_admin') ?>그룹관리자<span class="sound_only"> 순 정렬</span></a></th><?php } ?>
<li><?php echo subject_sort_link('gr_order') ?>출력순서<span class="sound_only"> 순 정렬</span></a></th>
</ul>
<form name="fboardgrouplist" id="fboardgrouplist" action="./boardgroup_list_update.php" onsubmit="return fboardgrouplist_submit(this);" method="post">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
@ -102,15 +109,18 @@ $colspan = 8;
<table class="tbl_gr_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 그룹 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?php echo subject_sort_link('gr_id') ?>그룹아이디</a></th>
<th scope="col"><?php echo subject_sort_link('gr_subject') ?>제목</a></th>
<?php if ($is_admin == 'super'){ ?><th scope="col"><?php echo subject_sort_link('gr_admin') ?>그룹관리자</a></th><?php } ?>
<th scope="col">
<label for="chkall" class="sound_only">그룹 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">그룹아이디</th>
<th scope="col">제목</th>
<?php if ($is_admin == 'super'){ ?><th scope="col">그룹관리자</th><?php } ?>
<th scope="col">게시판<br>갯수</th>
<th scope="col">접근<br>사용</th>
<th scope="col">접근<br>회원수</th>
<th scope="col">메뉴<br>보임</th>
<th scope="col"><?php echo subject_sort_link('gr_order') ?>출력<br>순서</a></th>
<th scope="col">출력<br>순서</th>
<th scope="col">접속기기</th>
<th scope="col">관리</th>
</tr>
@ -132,8 +142,9 @@ $colspan = 8;
<tr>
<td class="td_chk">
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>" title="<?php echo $row['gr_subject'] ?> 그룹선택">
<input type="hidden" name="group_id[<?php echo $i ?>]" value="<?php echo $row['gr_id'] ?>">
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo $row['gr_subject'] ?> 그룹</label>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
</td>
<td class="td_grid"><a href="<?php echo G4_BBS_URL ?>/group.php?gr_id=<?php echo $row['gr_id'] ?>"><?php echo $row['gr_id'] ?></a></td>
<td>

View File

@ -70,7 +70,16 @@ $colspan = 7;
</form>
<section class="cbox">
<h2><?php echo $gr['gr_subject'] ?> 그룹 접근가능 회원 목록 (그룹아이디:<?php echo $gr['gr_id'] ?>)</h2>
<h2><?php echo $gr['gr_subject'] ?> 그룹 접근가능 회원 목록 (그룹아이디:<?php echo $gr['gr_id'] ?>)</h2>
<ul class="sort_odr">
<li><?php echo subject_sort_link('b.mb_id', 'gr_id='.$gr_id) ?>회원아이디<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('b.mb_name', 'gr_id='.$gr_id) ?>이름<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('b.mb_nick', 'gr_id='.$gr_id) ?>별명<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('b.mb_today_login', 'gr_id='.$gr_id) ?>최종접속<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('a.gm_datetime', 'gr_id='.$gr_id) ?>처리일시<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fboardgroupmember" id="fboardgroupmember" action="./boardgroupmember_update.php" onsubmit="return fboardgroupmember_submit(this);" method="post">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
@ -83,13 +92,16 @@ $colspan = 7;
<table>
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 접근가능회원 전체선택" onclick="check_all(this.form)"></th>
<th scope="col">
<label for="chkall" class="sound_only">접근가능회원 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">그룹</th>
<th scope="col"><?php echo subject_sort_link('b.mb_id', 'gr_id='.$gr_id) ?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link('b.mb_name', 'gr_id='.$gr_id) ?>이름</a></th>
<th scope="col"><?php echo subject_sort_link('b.mb_nick', 'gr_id='.$gr_id) ?>별명</a></th>
<th scope="col"><?php echo subject_sort_link('b.mb_today_login', 'gr_id='.$gr_id) ?>최종접속</a></th>
<th scope="col"><?php echo subject_sort_link('a.gm_datetime', 'gr_id='.$gr_id) ?>처리일시</a></th>
<th scope="col">회원아이디</th>
<th scope="col">이름</th>
<th scope="col">별명</th>
<th scope="col">최종접속</th>
<th scope="col">처리일시</th>
</tr>
</thead>
<tbody>
@ -108,7 +120,10 @@ $colspan = 7;
$mb_nick = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']);
?>
<tr>
<td class="td_chk"><input type="checkbox" name="chk[]" value="<?php echo $row['gm_id'] ?>" id="chk_<?php echo $i ?>" title="<?php echo $row['mb_nick'] ?> 회원 선택"></td>
<td class="td_chk">
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo $row['mb_nick'] ?> 회원</label>
<input type="checkbox" name="chk[]" value="<?php echo $row['gm_id'] ?>" id="chk_<?php echo $i ?>">
</td>
<td class="td_grid"><?php echo $group ?></td>
<td class="td_mbid"><?php echo $row['mb_id'] ?></td>
<td class="td_mbname"><?php echo $row['mb_name'] ?></td>

View File

@ -29,7 +29,7 @@ $colspan = 6;
현재 등록된 메일은 총 <?php echo $total_count ?>건입니다.
</p>
<div id="btn_add">
<div class="btn_add">
<a href="./mail_form.php" id="mail_add">메일내용추가</a>
</div>

View File

@ -108,7 +108,7 @@ include_once('./admin.head.php');
<?php } ?>
</tbody>
</table>
<textarea name="ma_list" style="display:none"><?=$ma_list?></textarea>
<textarea name="ma_list" style="display:none"><?php echo $ma_list; ?></textarea>
</div>
<div class="btn_confirm">

View File

@ -103,11 +103,27 @@ $colspan = 15;
<p>회원자료 삭제 시 다른 회원이 기존 회원아이디를 사용하지 못하도록 회원아이디, 이름, 별명은 삭제하지 않고 영구 보관합니다.</p>
<?php if ($is_admin == 'super') { ?>
<div id="btn_add">
<div class="btn_add sort_with">
<a href="./member_form.php" id="member_add">회원추가</a>
</div>
<?php } ?>
<ul id="sort_mb" class="sort_odr">
<li><?php echo subject_sort_link('mb_id') ?>회원아이디<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_name') ?>이름<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_today_login', '', 'desc') ?>최종접속<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_point', '', 'desc') ?> 포인트<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_nick') ?>별명<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_level', '', 'desc') ?>권한<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_email_certify', '', 'desc') ?>메일인증<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_mailling', '', 'desc') ?>메일수신<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_open', '', 'desc') ?>정보공개<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_hp_certify', '', 'desc') ?>본인확인<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_adult', '', 'desc') ?>성인인증<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_intercept_date', '', 'desc') ?>접근차단<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('mb_datetime', '', 'desc') ?>가입일<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fmemberlist" id="fmemberlist" action="./member_list_update.php" onsubmit="return fmemberlist_submit(this);" method="post">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
@ -118,26 +134,29 @@ $colspan = 15;
<table class="tbl_mb_list">
<thead>
<tr>
<th scope="col" rowspan="2"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 회원 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?php echo subject_sort_link('mb_id') ?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link('mb_name') ?>이름</a></th>
<th scope="col" rowspan="2">
<label for="chkall" class="sound_only">회원 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">회원아이디</th>
<th scope="col">이름</th>
<th scope="col">휴대폰</th>
<th scope="col" colspan="6">주소</th>
<th scope="col"><?php echo subject_sort_link('mb_today_login', '', 'desc') ?>최종접속</a></th>
<th scope="col"><?php echo subject_sort_link('mb_point', '', 'desc') ?> 포인트</a></th>
<th scope="col">최종접속</th>
<th scope="col">포인트</th>
<th scope="col" rowspan="2">관리</th>
</tr>
<tr>
<th scope="col"><?php echo subject_sort_link('mb_nick') ?>별명</a></th>
<th scope="col">상태/<?php echo subject_sort_link('mb_level', '', 'desc') ?>권한</a></th>
<th scope="col">별명</th>
<th scope="col">상태/권한</th>
<th scope="col">전화번호</th>
<th scope="col"><?php echo subject_sort_link('mb_email_certify', '', 'desc') ?>메일<br>인증</a></th>
<th scope="col"><?php echo subject_sort_link('mb_mailling', '', 'desc') ?>메일<br>수신</a></th>
<th scope="col"><?php echo subject_sort_link('mb_open', '', 'desc') ?>정보<br>공개</a></th>
<th scope="col"><?php echo subject_sort_link('mb_hp_certify', '', 'desc') ?>본인<br>확인</a></th>
<th scope="col"><?php echo subject_sort_link('mb_adult', '', 'desc') ?>성인<br>인증</a></th>
<th scope="col"><?php echo subject_sort_link('mb_intercept_date', '', 'desc') ?>접근<br>차단</a></th>
<th scope="col"><?php echo subject_sort_link('mb_datetime', '', 'desc') ?>가입일</a></th>
<th scope="col">메일<br>인증</th>
<th scope="col">메일<br>수신</th>
<th scope="col">정보<br>공개</th>
<th scope="col">본인<br>확인</th>
<th scope="col">성인<br>인증</th>
<th scope="col">접근<br>차단</th>
<th scope="col">가입일</th>
<th scope="col" title="접근가능한 그룹수">접근그룹</th>
</tr>
</thead>
@ -190,7 +209,7 @@ $colspan = 15;
<tr <?php echo $tr_bg; ?>>
<td class="td_chk" rowspan="2">
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>" id="mb_id_<?php echo $i ?>">
<label for="chk_<?php echo $i; ?>" class="sound_only">회원선택</label>
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo $row['mb_name']; ?> <?php echo $row['mb_nick']; ?>님</label>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
</td>
<td class="td_name sv_use"><?php echo $mb_id ?></td>

View File

@ -100,6 +100,13 @@ function point_clear()
<section class="cbox">
<h2>포인트 내역</h2>
<ul class="sort_odr">
<li><?php echo subject_sort_link('mb_id') ?>회원아이디<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('po_datetime') ?>일시<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('po_content') ?>포인트 내용<span class="sound_only"> 순 정렬</span></a></li>
<li><?php echo subject_sort_link('po_point') ?>포인트<span class="sound_only"> 순 정렬</span></a></li>
</ul>
<form name="fpointlist" id="fpointlist" method="post" action="./point_list_delete.php" onsubmit="return fpointlist_submit(this);">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
@ -111,13 +118,16 @@ function point_clear()
<table class="tbl_pt_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 포인트 내역 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?php echo subject_sort_link('mb_id') ?>회원아이디</a></th>
<th scope="col">
<label for="chkall" class="sound_only">포인트 내역 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">회원아이디</th>
<th scope="col">이름</th>
<th scope="col">별명</th>
<th scope="col"><?php echo subject_sort_link('po_datetime') ?>일시</a></th>
<th scope="col"><?php echo subject_sort_link('po_content') ?>포인트 내용</a></th>
<th scope="col"><?php echo subject_sort_link('po_point') ?>포인트</a></th>
<th scope="col">일시</th>
<th scope="col">포인트 내용</th>
<th scope="col">포인트</th>
<th scope="col">포인트합</th>
</tr>
</thead>
@ -140,9 +150,10 @@ function point_clear()
<tr>
<td class="td_chk">
<input type="hidden" id="mb_id_<?php echo $i ?>" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>">
<input type="hidden" id="po_id_<?php echo $i ?>" name="po_id[<?php echo $i ?>]" value="<?php echo $row['po_id'] ?>">
<input type="checkbox" id="chk_<?php echo $i ?>" name="chk[]" value="<?php echo $i ?>" title="내역선택">
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>" id="mb_id_<?php echo $i ?>">
<input type="hidden" name="po_id[<?php echo $i ?>]" value="<?php echo $row['po_id'] ?>" id="po_id_<?php echo $i ?>">
<label for="chk_<?php echo $i; ?>" class="sound_only">내역</label>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
</td>
<td class="td_mbid"><a href="?sfl=mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
<td class="td_mbname"><?php echo $row2['mb_name'] ?></td>

View File

@ -73,7 +73,7 @@ $colspan = 6;
<section class="cbox">
<h2>투표목록</h2>
<div id="btn_add">
<div class="btn_add">
<a href="./poll_form.php" id="poll_add">투표 추가</a>
</div>

View File

@ -495,7 +495,7 @@ echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">";
?>
<script>
if (confirm("계속 입력하시겠습니까?"))
//location.href = "<?="./itemform.php?it_id=$it_id&amp;sort1=$sort1&amp;sort2=$sort2&amp;sel_ca_id=$sel_ca_id&amp;sel_field=$sel_field&amp;search=$search&amp;page=$page"?>";
//location.href = "<?php echo "./itemform.php?it_id=$it_id&amp;sort1=$sort1&amp;sort2=$sort2&amp;sel_ca_id=$sel_ca_id&amp;sel_field=$sel_field&amp;search=$search&amp;page=$page"?>";
location.href = "<?php echo "./itemform.php?$qstr"; ?>";
else
location.href = "<?php echo "./itemlist.php?$qstr"; ?>";

View File

@ -1,32 +1,32 @@
<?
<?
//
// 조병완(korone)님 , 남규아빠(eagletalon)님께서 만들어 주셨습니다.
//
$sub_menu = "100400";
include_once("./_common.php");
$sub_menu = "100400";
include_once("./_common.php");
auth_check($auth[$sub_menu], "r");
$g4[title] = "버전확인";
$g4[title] = "버전확인";
include_once("./admin.head.php");
include_once("$g4[path]/lib/mailer.lib.php");
include_once("./admin.head.php");
include_once("$g4[path]/lib/mailer.lib.php");
echo "현재버전 : <b>";
$args = "head -1 ".$g4[path]."/HISTORY";
system($args);
$args = "head -1 ".$g4[path]."/HISTORY";
system($args);
echo "</b>";
?>
?>
<table width=100% border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td>
<textarea name="textarea" style='width:100%; line-height:150%; padding:10px;' rows="25" class=tx readonly><?=implode("", file("$g4[path]/HISTORY"));?></textarea>
</td>
</tr>
</table>
<table width=100% border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td>
<textarea name="textarea" style='width:100%; line-height:150%; padding:10px;' rows="25" class=tx readonly><?php echo implode("", file(G4_PATH.'/HISTORY'));?></textarea>
</td>
</tr>
</table>
<?
include_once("./admin.tail.php");
?>
<?
include_once("./admin.tail.php");
?>

View File

@ -378,7 +378,6 @@ fieldset .btn_submit:focus {height:21px;background:#555;line-height:1.7em}
.btn_add {margin-bottom:10px;text-align:right}
.btn_add a {display:inline-block;padding:0 15px;height:30px;border:0;background:#ff3061;color:#fff;text-decoration:none;line-height:2.5em;vertical-align:middle}
.btn_add .btn_add_optional {background:#617d46 !important}
/* 필수입력 */
.required {background:url('../img/wrest.gif') #f6f9fa top right no-repeat !important}
@ -424,8 +423,10 @@ fieldset button {padding:0 15px;height:23px;border:0;background:#617d46;color:#f
#sort_mb {width:800px}
#sort_sodr {width:600px}
/* 테이블 */
table {margin-bottom:10px;width:100%;border-collapse:collapse;border-spacing:0}
caption {padding:10px 0 15px;font-weight:bold;text-align:left}
@ -509,8 +510,7 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
.visit_bar {position:relative}
.visit_bar span {position:absolute;top:-8px;left:0;height:15px;background:#ddd}
/* 공통 */
.tr_bg {background:#fafeef}
.tr_bg td {border-bottom:1px solid #d8e6b6 !important}
.tr_bg {background:#f5f6fa}
.td_chk {width:30px;text-align:center}
.td_num {width:60px;text-align:center}

View File

@ -1177,7 +1177,7 @@ function get_item_point($it)
}
// 상품별 배송비
function get_item_sendcost($it_id, $uq_id)
function get_item_sendcost($it_id, $price, $qty)
{
global $g4, $default;
@ -1193,31 +1193,17 @@ function get_item_sendcost($it_id, $uq_id)
if($it['it_sc_type']) {
if($it['it_sc_type'] == 1) { // 조건부무료
$sql = " select SUM( IF(io_type = '1', io_price * ct_qty, (ct_price + io_price) * ct_qty)) as sum_price
from {$g4['shop_cart_table']}
where uq_id = '$uq_id'
and it_id = '$it_id' ";
$ct = sql_fetch($sql);
$item_price = $ct['sum_price'];
if($item_price >= $it['it_sc_minimum'])
if($price >= $it['it_sc_minimum'])
$sendcost = 0;
else
$sendcost = $it['it_sc_amount'];
} else if($it['it_sc_type'] == 2) { // 유료배송
$sendcost = $it['it_sc_amount'];
} else { // 수량별 부과
$sql = " select SUM(ct_qty) as item_count
from {$g4['shop_cart_table']}
where uq_id = '$uq_id'
and it_id = '$it_id' ";
$ct = sql_fetch($sql);
$item_count = $ct['item_count'];
if(!$it['it_sc_qty'])
$it['it_sc_qty'] = 1;
$q = ceil((int)$item_count / (int)$it['it_sc_qty']);
$q = ceil((int)$qty / (int)$it['it_sc_qty']);
$sendcost = (int)$it['it_sc_amount'] * $q;
}
} else {

View File

@ -46,7 +46,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
$sql .= " order by a.ct_id ";
$result = sql_query($sql);
$good_info = '';
$it_send_cost = 0;
for ($i=0; $row=mysql_fetch_array($result); $i++)
{
@ -74,6 +74,11 @@ include_once(G4_MSHOP_PATH.'/_head.php');
$it_name .= '<div class="sod_bsk_itopt">'.$it_options.'</div>';
}
// 개별배송비 계산
if($default['de_send_cost_case'] == '개별') {
$it_send_cost += get_item_sendcost($row['it_id'], $sum['price'], $sum['qty']);
}
$point = $sum['point'];
$sell_amount = $sum['price'];
?>
@ -104,18 +109,20 @@ include_once(G4_MSHOP_PATH.'/_head.php');
// 배송비 계산
if ($default['de_send_cost_case'] == '없음')
$send_cost = 0;
else {
else if($default['de_send_cost_case'] == '상한') {
// 배송비 상한 : 여러단계의 배송비 적용 가능
$send_cost_limit = explode(";", $default['de_send_cost_limit']);
$send_cost_list = explode(";", $default['de_send_cost_list']);
$send_cost = 0;
for ($k=0; $k<count($send_cost_limit); $k++) {
// 총판매금액이 배송비 상한가 보다 작다면
if ($tot_sell_amount < $send_cost_limit[$k]) {
$send_cost = $send_cost_list[$k];
if ($tot_sell_amount < preg_replace('/[^0-9]/', '', $send_cost_limit[$k])) {
$send_cost = preg_replace('/[^0-9]/', '', $send_cost_list[$k]);
break;
}
}
} else {
$send_cost = $it_send_cost;
}
}
?>

View File

@ -108,7 +108,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Cache-Control" content="No-Cache">
<meta http-equiv="Pragma" content="No-Cache">
<meta name="viewport" content="width=device-width; user-scalable=<?=$tablet_size?>; initial-scale=<?=$tablet_size?>; maximum-scale=<?=$tablet_size?>; minimum-scale=<?=$tablet_size?>">
<meta name="viewport" content="width=device-width; user-scalable=<?php echo $tablet_size; ?>; initial-scale=<?php echo $tablet_size; ?>; maximum-scale=<?php echo $tablet_size; ?>; minimum-scale=<?php echo $tablet_size; ?>">
<style type="text/css">
.LINE { background-color:#afc3ff }
@ -174,29 +174,29 @@
{
var of = window.opener.document.forderform;
of.req_tx.value = "<?=$req_tx?>";
of.res_cd.value = "<?=$res_cd?>";
of.tran_cd.value = "<?=$tran_cd?>";
of.ordr_idxx.value = "<?=$ordr_idxx?>";
of.good_mny.value = "<?=$good_mny?>";
of.good_name.value = "<?=$good_name?>";
of.buyr_name.value = "<?=$buyr_name?>";
of.buyr_tel1.value = "<?=$buyr_tel1?>";
of.buyr_tel2.value = "<?=$buyr_tel2?>";
of.buyr_mail.value = "<?=$buyr_mail?>";
of.enc_info.value = "<?=$enc_info?>";
of.enc_data.value = "<?=$enc_data?>";
of.use_pay_method.value = "<?=$use_pay_method?>";
of.rcvr_name.value = "<?=$rcvr_name?>";
of.rcvr_tel1.value = "<?=$rcvr_tel1?>";
of.rcvr_tel2.value = "<?=$rcvr_tel2?>";
of.rcvr_mail.value = "<?=$rcvr_mail?>";
of.rcvr_zipx.value = "<?=$rcvr_zipx?>";
of.rcvr_add1.value = "<?=$rcvr_add1?>";
of.rcvr_add2.value = "<?=$rcvr_add2?>";
of.param_opt_1.value = "<?=$param_opt_1?>";
of.param_opt_2.value = "<?=$param_opt_2?>";
of.param_opt_3.value = "<?=$param_opt_3?>";
of.req_tx.value = "<?php echo $req_tx; ?>";
of.res_cd.value = "<?php echo $res_cd; ?>";
of.tran_cd.value = "<?php echo $tran_cd; ?>";
of.ordr_idxx.value = "<?php echo $ordr_idxx; ?>";
of.good_mny.value = "<?php echo $good_mny; ?>";
of.good_name.value = "<?php echo $good_name; ?>";
of.buyr_name.value = "<?php echo $buyr_name; ?>";
of.buyr_tel1.value = "<?php echo $buyr_tel1; ?>";
of.buyr_tel2.value = "<?php echo $buyr_tel2; ?>";
of.buyr_mail.value = "<?php echo $buyr_mail; ?>";
of.enc_info.value = "<?php echo $enc_info; ?>";
of.enc_data.value = "<?php echo $enc_data; ?>";
of.use_pay_method.value = "<?php echo $use_pay_method; ?>";
of.rcvr_name.value = "<?php echo $rcvr_name; ?>";
of.rcvr_tel1.value = "<?php echo $rcvr_tel1; ?>";
of.rcvr_tel2.value = "<?php echo $rcvr_tel2; ?>";
of.rcvr_mail.value = "<?php echo $rcvr_mail; ?>";
of.rcvr_zipx.value = "<?php echo $rcvr_zipx; ?>";
of.rcvr_add1.value = "<?php echo $rcvr_add1; ?>";
of.rcvr_add2.value = "<?php echo $rcvr_add2; ?>";
of.param_opt_1.value = "<?php echo $param_opt_1; ?>";
of.param_opt_2.value = "<?php echo $param_opt_2; ?>";
of.param_opt_3.value = "<?php echo $param_opt_3; ?>";
var od = window.opener.document;
od.getElementById("show_req_btn").style.display = "none";
@ -217,70 +217,70 @@
<form name="sm_form" method="POST" accept-charset="euc-kr">
<input type="hidden" name='good_name' value='<?=$good_name?>'>
<input type="hidden" name='good_mny' value='<?=$good_mny?>' >
<input type="hidden" name='buyr_name' value="<?=$buyr_name?>">
<input type="hidden" name='buyr_tel1' value='<?=$buyr_tel1?>'>
<input type="hidden" name='buyr_tel2' value='<?=$buyr_tel2?>'>
<input type="hidden" name='buyr_mail' value='<?=$buyr_mail?>'>
<input type="hidden" name='ipgm_date' value='<?=$ipgm_date?>'>
<input type="hidden" name="good_name" value="<?php echo $good_name; ?>">
<input type="hidden" name="good_mny" value="<?php ehco $good_mny; ?>" >
<input type="hidden" name='buyr_name' value="<?php echo $buyr_name; ?>">
<input type="hidden" name="buyr_tel1" value="<?php echo $buyr_tel1; ?>">
<input type="hidden" name="buyr_tel2" value="<?php echo $buyr_tel2; ?>">
<input type="hidden" name="buyr_mail" value="<?php echo $buyr_mail; ?>">
<input type="hidden" name="ipgm_date" value="<?php echo $ipgm_date; ?>">
<!-- 필수 사항 -->
<!-- 요청 구분 -->
<input type='hidden' name='req_tx' value='pay'>
<input type="hidden" name="req_tx" value="pay">
<!-- 사이트 코드 -->
<input type="hidden" name='site_cd' value="<?=$g_conf_site_cd?>">
<input type="hidden" name="site_cd" value="<?php echo $g_conf_site_cd; ?>">
<!-- 사이트 키 -->
<input type='hidden' name='site_key' value='<?=$g_conf_site_key?>'>
<input type="hidden" name="site_key" value="<?php echo $g_conf_site_key; ?>">
<!-- 사이트 이름 -->
<input type="hidden" name='shop_name' value="<?=$g_conf_site_name?>">
<input type="hidden" name="shop_name" value="<?php echo $g_conf_site_name; ?>">
<!-- 결제수단-->
<input type="hidden" name='pay_method' value="<?=$pay_method?>">
<input type="hidden" name="pay_method" value="<?php echo $pay_method; ?>">
<!-- 주문번호 -->
<input type="hidden" name='ordr_idxx' value="<?=$ordr_idxx?>">
<input type="hidden" name="ordr_idxx" value="<?php echo $ordr_idxx; ?>">
<!-- 최대 할부개월수 -->
<input type="hidden" name='quotaopt' value="12">
<input type="hidden" name="quotaopt" value="12">
<!-- 통화 코드 -->
<input type="hidden" name='currency' value="410">
<input type="hidden" name="currency" value="410">
<!-- 결제등록 키 -->
<input type="hidden" name='approval_key' id="approval">
<input type="hidden" name="approval_key" id="approval">
<!-- 리턴 URL (kcp와 통신후 결제를 요청할 수 있는 암호화 데이터를 전송 받을 가맹점의 주문페이지 URL) -->
<!-- 반드시 가맹점 주문페이지의 URL을 입력 해주시기 바랍니다. -->
<input type="hidden" name='Ret_URL' value="<?php echo G4_MSHOP_URL; ?>/kcp/order_approval_form.php">
<input type="hidden" name="Ret_URL" value="<?php echo G4_MSHOP_URL; ?>/kcp/order_approval_form.php">
<!-- 인증시 필요한 파라미터(변경불가)-->
<input type='hidden' name='ActionResult' value='<?=$ActionResult?>'>
<input type="hidden" name="ActionResult" value="<?php echo $ActionResult; ?>">
<!-- 에스크로 사용유무 에스크로 사용 업체(가상계좌만 해당)는 Y로 세팅 해주시기 바랍니다.-->
<input type="hidden" name='escw_used' value='Y'>
<input type="hidden" name="escw_used" value="Y">
<!-- 에스크로 결제처리모드 -->
<input type="hidden" name='pay_mod' value='<?php echo ($default['de_escrow_use']?"O":"N"); ?>'>
<input type="hidden" name="pay_mod" value="<?php echo ($default["de_escrow_use"]?"O":"N"); ?>">
<!-- 수취인이름 -->
<input type='hidden' name='rcvr_name' value='<?=$rcvr_name?>'>
<input type="hidden" name="rcvr_name" value="<?php echo $rcvr_name; ?>">
<!-- 수취인 연락처 -->
<input type='hidden' name='rcvr_tel1' value='<?=$rcvr_tel1?>'>
<input type="hidden" name="rcvr_tel1" value="<?php echo $rcvr_tel1; ?>">
<!-- 수취인 휴대폰 번호 -->
<input type='hidden' name='rcvr_tel2' value='<?=$rcvr_tel2?>'>
<input type="hidden" name="rcvr_tel2" value="<?php echo $rcvr_tel2; ?>">
<!-- 수취인 E-MAIL -->
<input type='hidden' name='rcvr_add1' value='<?=$rcvr_add1?>'>
<input type="hidden" name="rcvr_add1" value="<?php echo $rcvr_add1; ?>">
<!-- 수취인 우편번호 -->
<input type='hidden' name='rcvr_add2' value='<?=$rcvr_add2?>'>
<input type="hidden" name="rcvr_add2" value="<?php echo $rcvr_add2; ?>">
<!-- 수취인 주소 -->
<input type='hidden' name='rcvr_mail' value='<?=$rcvr_mail?>'>
<input type="hidden" name="rcvr_mail" value="<?php echo $rcvr_mail; ?>">
<!-- 수취인 상세 주소 -->
<input type='hidden' name='rcvr_zipx' value='<?=$rcvr_zipx?>'>
<input type="hidden" name="rcvr_zipx" value="<?php echo $rcvr_zipx; ?>">
<!-- 장바구니 상품 개수 -->
<input type='hidden' name='bask_cntx' value="<?=$bask_cntx?>">
<input type="hidden" name="bask_cntx" value="<?php echo $bask_cntx; ?>">
<!-- 장바구니 정보(상단 스크립트 참조) -->
<input type='hidden' name='good_info' value="<?=$good_info?>">
<input type="hidden" name="good_info" value="<?php echo $good_info; ?>">
<!-- 배송소요기간 -->
<input type="hidden" name='deli_term' value='03'>
<input type="hidden" name="deli_term" value="03">
<!-- 기타 파라메터 추가 부분 - Start - -->
<input type="hidden" name='param_opt_1' value="<?=$param_opt_1?>"/>
<input type="hidden" name='param_opt_2' value="<?=$param_opt_2?>"/>
<input type="hidden" name='param_opt_3' value="<?=$param_opt_3?>"/>
<input type="hidden" name="param_opt_1" value="<?php echo $param_opt_1; ?>"/>
<input type="hidden" name="param_opt_2" value="<?php echo $param_opt_2; ?>"/>
<input type="hidden" name="param_opt_3" value="<?php echo $param_opt_3; ?>"/>
<!-- 기타 파라메터 추가 부분 - End - -->
<!-- 화면 크기조정 부분 - Start - -->
<input type="hidden" name='tablet_size' value="<?=$tablet_size?>"/>
<input type="hidden" name="tablet_size" value="<?php echo $tablet_size; ?>"/>
<!-- 화면 크기조정 부분 - End - -->
<!--
사용 카드 설정
@ -299,10 +299,10 @@
<input type="hidden" name="kcp_noint_quota" value="CCBC-02:03:06,CCKM-03:06,CCSS-03:06:09"/> */
-->
<input type="hidden" name="res_cd" value="<?=$res_cd?>"> <!-- 결과 코드 -->
<input type="hidden" name="tran_cd" value="<?=$tran_cd?>"> <!-- 트랜잭션 코드 -->
<input type="hidden" name="enc_info" value="<?=$enc_info?>"> <!-- 암호화 정보 -->
<input type="hidden" name="enc_data" value="<?=$enc_data?>"> <!-- 암호화 데이터 -->
<input type="hidden" name="res_cd" value="<?php echo $res_cd; ?>"> <!-- 결과 코드 -->
<input type="hidden" name="tran_cd" value="<?php echo $tran_cd; ?>"> <!-- 트랜잭션 코드 -->
<input type="hidden" name="enc_info" value="<?php echo $enc_info; ?>"> <!-- 암호화 정보 -->
<input type="hidden" name="enc_data" value="<?php echo $enc_data; ?>"> <!-- 암호화 데이터 -->
</form>
</div>

View File

@ -40,7 +40,7 @@ if ($is_admin)
<div id="sct">
<?
<?php
$nav_ca_id = $ca_id;
include G4_MSHOP_PATH.'/navigation1.inc.php';

View File

@ -30,6 +30,6 @@ else
?>
<div id="sct_location">
<a href='<?=$g4[path]?>/' class="sct_bg">Home</a>
<?=$str?>
<a href='<?php echo G4_SHOP_URL; ?>/' class="sct_bg">Home</a>
<?php echo $str; ?>
</div>

View File

@ -195,31 +195,35 @@ ob_start();
<?php if ($goods_count) $goods .= ' 외 '.$goods_count.'건'; ?>
<?php
// 배송비가 0 보다 크다면 (있다면)
if ($send_cost > 0)
{
?>
<div id="sod_bsk_sell" class="sod_bsk_tot">
<span>주문</span>
<strong><?php echo number_format($tot_sell_amount); ?> 원</strong>
</div>
<div id="sod_bsk_coupon" class="sod_bsk_tot">
<span>쿠폰</span>
<strong id="ct_tot_coupon">0 원</strong>
</div>
<div id="sod_bsk_dvr" class="sod_bsk_tot">
<span>배송비</span>
<strong><?php echo number_format($send_cost); ?> 원</strong>
</div>
<?php } ?>
<?php
// 총계 = 주문상품금액합계 + 배송비
$tot_amount = $tot_sell_amount + $send_cost;
if ($tot_amount > 0) {
?>
<div id="sod_bsk_cnt" class="sod_bsk_tot">
<span>총계</span>
<strong><span id="ct_tot_amount"><?php echo number_format($tot_amount); ?></span> 원 <?php echo number_format($tot_point); ?> 점</strong>
<strong id="ct_tot_amount"><?php echo number_format($tot_amount); ?></strong>
</div>
<?php } ?>
<div id="sod_bsk_point" class="sod_bsk_tot">
<span><?php echo $default['de_mileage_use'] ? '마일리지' : '포인트'; ?></span>
<strong><?php echo number_format($tot_point); ?> 점</strong>
</div>
<?php
$content = ob_get_contents();
ob_end_clean();
@ -262,12 +266,12 @@ ob_end_clean();
<!-- 배송소요기간 -->
<input type="hidden" name="deli_term" value="03">
<!-- 기타 파라메터 추가 부분 - Start - -->
<input type="hidden" name="param_opt_1" value="<?=$param_opt_1?>"/>
<input type="hidden" name="param_opt_2" value="<?=$param_opt_2?>"/>
<input type="hidden" name="param_opt_3" value="<?=$param_opt_3?>"/>
<input type="hidden" name="param_opt_1" value="<?php echo $param_opt_1; ?>"/>
<input type="hidden" name="param_opt_2" value="<?php echo $param_opt_2; ?>"/>
<input type="hidden" name="param_opt_3" value="<?php echo $param_opt_3; ?>"/>
<!-- 기타 파라메터 추가 부분 - End - -->
<!-- 화면 크기조정 부분 - Start - -->
<input type="hidden" name="tablet_size" value="<?=$tablet_size?>"/>
<input type="hidden" name="tablet_size" value="<?php echo $tablet_size; ?>"/>
<!-- 화면 크기조정 부분 - End - -->
<!--
사용 카드 설정
@ -710,7 +714,7 @@ $(function() {
$.post(
"./orderitemcoupon.php",
{ it_id: it_id, sw_direct: "<?php echo $sw_direct; ?>" },
{ it_id: it_id, sw_direct: "<?php echo $sw_direct; ?>" },
function(data) {
$cp_btn_el.after(data);
}
@ -718,7 +722,7 @@ $(function() {
});
$(".cp_apply").live("click", function() {
var $el = $(this).closest("li");
var $el = $(this).closest("tr");
var cp_id = $el.find("input[name='f_cp_id[]']").val();
var amount = $el.find("input[name='f_cp_amt[]']").val();
var subj = $el.find("input[name='f_cp_subj[]']").val();
@ -764,7 +768,9 @@ $(function() {
calculate_total_amount();
$("#it_coupon_frm").remove();
$cp_btn_el.focus();
$cp_btn_el.text("변경").focus();
if(!$cp_row_el.find(".it_coupon_cancel").size())
$cp_btn_el.after("<button type=\"button\" class=\"it_coupon_cancel btn_frmline\">취소</button>");
});
$("#it_coupon_close").live("click", function() {
@ -772,11 +778,12 @@ $(function() {
$cp_btn_el.focus();
});
$("#it_coupon_cancel").live("click", function() {
coupon_cancel($cp_row_el);
$(".it_coupon_cancel").live("click", function() {
coupon_cancel($(this).closest("tr"));
calculate_total_amount();
$("#it_coupon_frm").remove();
$cp_btn_el.focus();
$(this).closest("tr").find(".it_coupon_btn").text("적용").focus();
$(this).remove();
});
$("#od_coupon_btn").click(function() {
@ -793,7 +800,7 @@ $(function() {
});
$(".od_cp_apply").live("click", function() {
var $el = $(this).closest("li");
var $el = $(this).closest("tr");
var cp_id = $el.find("input[name='o_cp_id[]']").val();
var amount = parseInt($el.find("input[name='o_cp_amt[]']").val());
var subj = $el.find("input[name='o_cp_subj[]']").val();
@ -813,7 +820,9 @@ $(function() {
$("input[name=od_cp_id]").val(cp_id);
calculate_order_amount();
$("#od_coupon_frm").remove();
$("#od_coupon_btn").focus();
$("#od_coupon_btn").text("쿠폰변경").focus();
if(!$("#od_coupon_cancel").size())
$("#od_coupon_btn").after("<button type=\"button\" id=\"od_coupon_cancel\" class=\"btn_frmline\">쿠폰취소</button>");
});
$("#od_coupon_close").live("click", function() {
@ -826,7 +835,8 @@ $(function() {
$("input[name=od_amount]").val(org_amount);
calculate_order_amount();
$("#od_coupon_frm").remove();
$("#od_coupon_btn").focus();
$("#od_coupon_btn").text("쿠폰적용").focus();
$(this).remove();
});
$("#sc_coupon_btn").click(function() {
@ -844,7 +854,7 @@ $(function() {
});
$(".sc_cp_apply").live("click", function() {
var $el = $(this).closest("li");
var $el = $(this).closest("tr");
var cp_id = $el.find("input[name='s_cp_id[]']").val();
var amount = parseInt($el.find("input[name='s_cp_amt[]']").val());
var subj = $el.find("input[name='s_cp_subj[]']").val();
@ -860,7 +870,9 @@ $(function() {
$("input[name=sc_cp_id]").val(cp_id);
calculate_order_amount();
$("#sc_coupon_frm").remove();
$("#sc_coupon_btn").focus();
$("#sc_coupon_btn").text("쿠폰변경").focus();
if(!$("#sc_coupon_cancel").size())
$("#sc_coupon_btn").after("<button type=\"button\" id=\"sc_coupon_cancel\" class=\"btn_frmline\">쿠폰취소</button>");
});
$("#sc_coupon_close").live("click", function() {
@ -873,7 +885,8 @@ $(function() {
$("input[name=od_send_cost]").val(send_cost);
calculate_order_amount();
$("#sc_coupon_frm").remove();
$("#sc_coupon_btn").focus();
$("#sc_coupon_btn").text("쿠폰적용").focus();
$(this).remove();
});
$("#od_settle_bank").bind("click", function() {
@ -905,20 +918,23 @@ function calculate_total_amount()
{
var $it_amt = $("input[name^=it_amount]");
var $cp_amt = $("input[name^=cp_amount]");
var tot_sell_amount = sell_amount = 0;
var tot_sell_amount = sell_amount = tot_cp_amount = 0;
var it_amount, cp_amount;
var send_cost = parseInt($("input[name=org_send_cost]").val());
$it_amt.each(function(index) {
it_amount = parseInt($(this).val());
cp_amount = parseInt($cp_amt.eq(index).val());
sell_amount += (it_amount - cp_amount);
sell_amount += it_amount;
tot_cp_amount += cp_amount;
});
tot_sell_amount = sell_amount + send_cost;
tot_sell_amount = sell_amount - tot_cp_amount + send_cost;
$("#ct_tot_amount").text(number_format(String(tot_sell_amount)));
$("form[name=sm_form] input[name=good_mny]").val(tot_sell_amount);
$("#ct_tot_coupon").text(number_format(String(tot_cp_amount))+" 원");
$("#ct_tot_amount").text(number_format(String(tot_sell_amount))+" 원");
$("input[name=good_mny]").val(tot_sell_amount);
$("input[name=od_amount]").val(sell_amount);
$("input[name=org_od_amount]").val(sell_amount);
$("input[name=od_send_cost]").val(send_cost);

View File

@ -49,7 +49,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</p>
<div id="guest_privacy">
<?=$default[de_guest_privacy]?>
<?php echo $default['de_guest_privacy']; ?>
</div>
<label for="agree">개인정보수집에 대한 내용을 읽었으며 이에 동의합니다.</label>
@ -69,10 +69,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
}
}
//f.url.value = "<?=$g4[shop_path]?>/orderform.php";
//f.action = "<?=$g4[shop_path]?>/orderform.php";
f.url.value = "<?=$url?>";
f.action = "<?=$url?>";
f.url.value = "<?php echo $url; ?>";
f.action = "<?php echo $url; ?>";
f.submit();
}
</script>
@ -83,7 +81,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<fieldset id="mb_login_od">
<legend>비회원 주문조회</legend>
<form name="forderinquiry" method="post" action="<?=urldecode($url)?>" autocomplete="off">
<form name="forderinquiry" method="post" action="<?php echo urldecode($url); ?>" autocomplete="off">
<label for="od_id" class="od_id sound_only">주문번호<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_id" value="<? echo $od_id ?>" id="od_id" placeholder="주문번호" required class="frm_input required" size="20">

View File

@ -64,9 +64,6 @@ include_once('./_head.php');
$tot_sell_amount = 0;
$tot_cancel_amount = 0;
$goods = $goods_it_id = "";
$goods_count = -1;
// $s_uq_id 로 현재 장바구니 자료 쿼리
$sql = " select a.ct_id,
a.it_id,
@ -88,7 +85,7 @@ include_once('./_head.php');
$sql .= " order by a.ct_id ";
$result = sql_query($sql);
$good_info = '';
$it_send_cost = 0;
for ($i=0; $row=mysql_fetch_array($result); $i++)
{
@ -116,6 +113,11 @@ include_once('./_head.php');
$it_name .= '<div class="sod_bsk_itopt">'.$it_options.'</div>';
}
// 개별배송비 계산
if($default['de_send_cost_case'] == '개별') {
$it_send_cost += get_item_sendcost($row['it_id'], $sum['price'], $sum['qty']);
}
$point = $sum['point'];
$sell_amount = $sum['price'];
?>
@ -153,26 +155,26 @@ include_once('./_head.php');
// 배송비 계산
if ($default['de_send_cost_case'] == '없음')
$send_cost = 0;
else {
else if($default['de_send_cost_case'] == '상한') {
// 배송비 상한 : 여러단계의 배송비 적용 가능
$send_cost_limit = explode(";", $default['de_send_cost_limit']);
$send_cost_list = explode(";", $default['de_send_cost_list']);
$send_cost = 0;
for ($k=0; $k<count($send_cost_limit); $k++) {
// 총판매금액이 배송비 상한가 보다 작다면
if ($tot_sell_amount < $send_cost_limit[$k]) {
$send_cost = $send_cost_list[$k];
if ($tot_sell_amount < preg_replace('/[^0-9]/', '', $send_cost_limit[$k])) {
$send_cost = preg_replace('/[^0-9]/', '', $send_cost_list[$k]);
break;
}
}
} else { // 개별배송
$send_cost = $it_send_cost;
}
}
?>
</tbody>
</table>
<?php if ($goods_count) $goods .= ' 외 '.$goods_count.'건'; ?>
<?php
// 배송비가 0 보다 크다면 (있다면)
if ($send_cost > 0)

View File

@ -57,7 +57,7 @@ if (file_exists($himg)) // 상단 이미지
echo '<div id="socc_himg" class="socc_img"><img src="'.G4_DATA_URL.'/content/'.$co_id.'_h" alt=""></div>';
?>
<article id="socc" class="socc_<?=$co_id?>">
<article id="socc" class="socc_<?php echo $co_id; ?>">
<header>
<h1><?php echo $g4['title']; ?></h1>
</header>

View File

@ -582,10 +582,12 @@ else
<h2>이용후기</h2>
<?php echo pg_anchor('use'); ?>
<?php
$use_page_rows = 10; // 페이지당 목록수
include_once('./itemuse.inc.php');
?>
<div id="itemuse"></div>
<script>
$(function(){
$("#itemuse").load("./itemuse.php", {it_id:<?php echo $it_id; ?>});
});
</script>
</section>
<section id="sit_qa">

View File

@ -1,96 +0,0 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$itemuse_write = G4_BBS_URL.'/write.php?bo_table=itemuse&amp;wr_1='.$it_id;
$itemuse_board = G4_BBS_URL.'/board.php?bo_table=itemuse&amp;wr_1='.$it_id;
include_once(G4_LIB_PATH.'/thumb.lib.php');
?>
<a href="<?php echo $itemuse_board; ?>">더보기</a>
<table id="sit_ps_tbl">
<thead>
<tr>
<th>번호</th>
<th>제목</th>
<th>작성자</th>
<th>작성일</th>
<th>평점</th>
</tr>
</thead>
<?php
/*
여분필드 용도
wr_1 : 상품코드
wr_2 : 상품명
wr_3 : 평점 1~5
wr_4 : 관리자확인
*/
//$sql_common = " from `{$g4['write_prefix']}itemuse` where wr_is_comment = 0 and wr_1 = '{$it['it_id']}' and wr_4 = '1' ";
$sql_common = " from `{$g4['write_prefix']}itemuse` where wr_is_comment = 0 and wr_1 = '{$it['it_id']}' ";
// 테이블의 전체 레코드수만 얻음
$sql = " select COUNT(*) as cnt " . $sql_common;
$row = sql_fetch($sql);
$use_total_count = $row['cnt'];
$use_total_page = ceil($use_total_count / $use_page_rows); // 전체 페이지 계산
if ($use_page == "") $use_page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
$use_from_record = ($use_page - 1) * $use_page_rows; // 시작 레코드 구함
$sql = "select * $sql_common order by wr_num limit $use_from_record, $use_page_rows ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$use_num = $use_total_count - ($use_page - 1) * $use_page_rows - $i;
$use_star = get_star($row['wr_3']);
$use_name = get_text($row['wr_name']);
$use_subject = conv_subject($row['wr_subject'],50,"…");
$use_content = $row['wr_content'];
$use_time = substr($row['wr_datetime'], 2, 8);
$use_href = G4_BBS_URL.'/board.php?bo_table=itemuse&amp;wr_id='.$row['wr_id'];
// http://stackoverflow.com/questions/6967081/show-hide-multiple-divs-with-jquery?answertab=votes#tab-top
?>
<tr>
<td><?php echo $use_num; ?><span class="sound_only">번</span></td>
<td>
<a href="<?php echo $use_href; ?>" class="use_href" onclick="return false;" target="<?php echo $i; ?>"><?php echo $use_subject; ?></a>
<div id="use_div<?php echo $i; ?>" class="use_div" style="display:none;">
<?php echo $use_content; ?>
</div>
</td>
<td><?php echo $use_name; ?></td>
<td><?php echo $use_time; ?></td>
<td><img src="<?php echo G4_URL; ?>/img/shop/s_star<?php echo $use_star; ?>.png" alt="별<?php echo $use_star; ?>개"></td>
</tr>
<?php
}
if (!$i) {
echo '<tr><td class="empty_class">등록된 사용후기가 없습니다.</td></tr>';
}
?>
</table>
<?php
if ($use_pages) {
$use_pages = get_paging(10, $use_page, $use_total_page, "./item.php?it_id=$it_id&amp;$qstr&amp;use_page=", "#use");
}
?>
<!-- <a href="javascript:itemusewin('it_id=<?php echo $it_id; ?>');">사용후기 쓰기<span class="sound_only"> 새 창</span></a> -->
<a href="<?php echo $itemuse_write; ?>" onclick="window.open(this.href); return false;">사용후기 쓰기<span class="sound_only"> 새 창</span></a>
<script>
$(function(){
$(".use_href").click(function(){
$(".use_div").hide();
$("#use_div"+$(this).attr("target")).show();
});
});
</script>

View File

@ -48,7 +48,7 @@ if ($is_admin)
<div id="sct">
<?
<?php
$nav_ca_id = $ca_id;
include G4_SHOP_PATH.'/navigation1.inc.php';

View File

@ -30,6 +30,6 @@ else
?>
<div id="sct_location">
<a href='<?=$g4[path]?>/' class="sct_bg">Home</a>
<?=$str?>
<a href='<?php echo G4_SHOP_URL; ?>/' class="sct_bg">Home</a>
<?php echo $str; ?>
</div>

View File

@ -65,8 +65,5 @@ $count = mysql_num_rows($result);
?>
<div class="btn_confirm">
<button type="button" id="od_coupon_close" class="btn_submit">닫기</button>
<?php if($count > 0) { ?>
<button type="button" id="od_coupon_cancel" class="btn_cancel">쿠폰적용취소</button>
<?php } ?>
</div>
</div>

View File

@ -270,31 +270,35 @@ setTimeout("init_pay_button();",300);
<?php if ($goods_count) $goods .= ' 외 '.$goods_count.'건'; ?>
<?php
// 배송비가 0 보다 크다면 (있다면)
if ($send_cost > 0)
{
?>
<div id="sod_bsk_sell" class="sod_bsk_tot">
<span>주문</span>
<strong><?php echo number_format($tot_sell_amount); ?> 원</strong>
</div>
<div id="sod_bsk_coupon" class="sod_bsk_tot">
<span>쿠폰</span>
<strong id="ct_tot_coupon">0 원</strong>
</div>
<div id="sod_bsk_dvr" class="sod_bsk_tot">
<span>배송비</span>
<strong><?php echo number_format($send_cost); ?> 원</strong>
</div>
<?php } ?>
<?php
// 총계 = 주문상품금액합계 + 배송비
$tot_amount = $tot_sell_amount + $send_cost;
if ($tot_amount > 0) {
?>
<div id="sod_bsk_cnt" class="sod_bsk_tot">
<span>총계</span>
<strong><span id="ct_tot_amount"><?php echo number_format($tot_amount); ?></span> 원 <?php echo number_format($tot_point); ?> 점</strong>
<strong id="ct_tot_amount"><?php echo number_format($tot_amount); ?></strong>
</div>
<?php } ?>
<div id="sod_bsk_point" class="sod_bsk_tot">
<span><?php echo $default['de_mileage_use'] ? '마일리지' : '포인트'; ?></span>
<strong><?php echo number_format($tot_point); ?> 점</strong>
</div>
<input type="hidden" name="od_amount" value="<?php echo $tot_sell_amount; ?>">
<input type="hidden" name="org_od_amount" value="<?php echo $tot_sell_amount; ?>">
@ -969,7 +973,9 @@ $(function() {
calculate_total_amount();
$("#it_coupon_frm").remove();
$cp_btn_el.focus();
$cp_btn_el.text("변경").focus();
if(!$cp_row_el.find(".it_coupon_cancel").size())
$cp_btn_el.after("<button type=\"button\" class=\"it_coupon_cancel btn_frmline\">취소</button>");
});
$("#it_coupon_close").live("click", function() {
@ -977,11 +983,12 @@ $(function() {
$cp_btn_el.focus();
});
$("#it_coupon_cancel").live("click", function() {
coupon_cancel($cp_row_el);
$(".it_coupon_cancel").live("click", function() {
coupon_cancel($(this).closest("tr"));
calculate_total_amount();
$("#it_coupon_frm").remove();
$cp_btn_el.focus();
$(this).closest("tr").find(".it_coupon_btn").text("적용").focus();
$(this).remove();
});
$("#od_coupon_btn").click(function() {
@ -998,7 +1005,7 @@ $(function() {
});
$(".od_cp_apply").live("click", function() {
var $el = $(this).closest("li");
var $el = $(this).closest("tr");
var cp_id = $el.find("input[name='o_cp_id[]']").val();
var amount = parseInt($el.find("input[name='o_cp_amt[]']").val());
var subj = $el.find("input[name='o_cp_subj[]']").val();
@ -1018,7 +1025,9 @@ $(function() {
$("input[name=od_cp_id]").val(cp_id);
calculate_order_amount();
$("#od_coupon_frm").remove();
$("#od_coupon_btn").focus();
$("#od_coupon_btn").text("쿠폰변경").focus();
if(!$("#od_coupon_cancel").size())
$("#od_coupon_btn").after("<button type=\"button\" id=\"od_coupon_cancel\" class=\"btn_frmline\">쿠폰취소</button>");
});
$("#od_coupon_close").live("click", function() {
@ -1031,7 +1040,8 @@ $(function() {
$("input[name=od_amount]").val(org_amount);
calculate_order_amount();
$("#od_coupon_frm").remove();
$("#od_coupon_btn").focus();
$("#od_coupon_btn").text("쿠폰적용").focus();
$(this).remove();
});
$("#sc_coupon_btn").click(function() {
@ -1049,7 +1059,7 @@ $(function() {
});
$(".sc_cp_apply").live("click", function() {
var $el = $(this).closest("li");
var $el = $(this).closest("tr");
var cp_id = $el.find("input[name='s_cp_id[]']").val();
var amount = parseInt($el.find("input[name='s_cp_amt[]']").val());
var subj = $el.find("input[name='s_cp_subj[]']").val();
@ -1065,7 +1075,9 @@ $(function() {
$("input[name=sc_cp_id]").val(cp_id);
calculate_order_amount();
$("#sc_coupon_frm").remove();
$("#sc_coupon_btn").focus();
$("#sc_coupon_btn").text("쿠폰변경").focus();
if(!$("#sc_coupon_cancel").size())
$("#sc_coupon_btn").after("<button type=\"button\" id=\"sc_coupon_cancel\" class=\"btn_frmline\">쿠폰취소</button>");
});
$("#sc_coupon_close").live("click", function() {
@ -1078,7 +1090,8 @@ $(function() {
$("input[name=od_send_cost]").val(send_cost);
calculate_order_amount();
$("#sc_coupon_frm").remove();
$("#sc_coupon_btn").focus();
$("#sc_coupon_btn").text("쿠폰적용").focus();
$(this).remove();
});
$("#od_settle_bank").bind("click", function() {
@ -1106,19 +1119,22 @@ function calculate_total_amount()
{
var $it_amt = $("input[name^=it_amount]");
var $cp_amt = $("input[name^=cp_amount]");
var tot_sell_amount = sell_amount = 0;
var tot_sell_amount = sell_amount = tot_cp_amount = 0;
var it_amount, cp_amount;
var send_cost = parseInt($("input[name=org_send_cost]").val());
$it_amt.each(function(index) {
it_amount = parseInt($(this).val());
cp_amount = parseInt($cp_amt.eq(index).val());
sell_amount += (it_amount - cp_amount);
sell_amount += it_amount;
tot_cp_amount += cp_amount;
});
tot_sell_amount = sell_amount + send_cost;
tot_sell_amount = sell_amount - tot_cp_amount + send_cost;
$("#ct_tot_coupon").text(number_format(String(tot_cp_amount))+" 원");
$("#ct_tot_amount").text(number_format(String(tot_sell_amount))+" 원");
$("#ct_tot_amount").text(number_format(String(tot_sell_amount)));
$("input[name=good_mny]").val(tot_sell_amount);
$("input[name=od_amount]").val(sell_amount);
$("input[name=org_od_amount]").val(sell_amount);

View File

@ -86,8 +86,5 @@ $count = mysql_num_rows($result);
?>
<div class="btn_confirm">
<button type="button" id="it_coupon_close" class="btn_submit">닫기</button>
<?php if($count > 0) { ?>
<button type="button" id="it_coupon_cancel" class="btn_cancel">쿠폰적용취소</button>
<?php } ?>
</div>
</div>

View File

@ -69,8 +69,5 @@ $count = mysql_num_rows($result);
?>
<div class="btn_confirm">
<button type="button" id="sc_coupon_close" class="btn_submit">닫기</button>
<?php if($count > 0) { ?>
<button type="button" id="sc_coupon_cancel" class="btn_cancel">쿠폰적용취소</button>
<?php } ?>
</div>
</div>

View File

@ -49,7 +49,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</p>
<div id="guest_privacy">
<?=$default[de_guest_privacy]?>
<?php echo $default['de_guest_privacy']; ?>
</div>
<label for="agree">개인정보수집에 대한 내용을 읽었으며 이에 동의합니다.</label>
@ -69,10 +69,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
}
}
//f.url.value = "<?=$g4[shop_path]?>/orderform.php";
//f.action = "<?=$g4[shop_path]?>/orderform.php";
f.url.value = "<?=$url?>";
f.action = "<?=$url?>";
f.url.value = "<?php echo $url; ?>";
f.action = "<?php echo $url; ?>";
f.submit();
}
</script>
@ -83,7 +81,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<fieldset id="mb_login_od">
<legend>비회원 주문조회</legend>
<form name="forderinquiry" method="post" action="<?=urldecode($url)?>" autocomplete="off">
<form name="forderinquiry" method="post" action="<?php echo urldecode($url); ?>" autocomplete="off">
<label for="od_id" class="od_id">주문서번호<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_id" value="<? echo $od_id ?>" id="od_id" required class="frm_input required" size="20">

View File

@ -2,22 +2,22 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?=$outlogin_skin_url?>/style.css">
<link rel="stylesheet" href="<?php echo $outlogin_skin_url; ?>/style.css">
<section id="ol_before" class="ol">
<h2>회원로그인</h2>
<!-- 로그인 전 외부로그인 시작 -->
<form name="foutlogin" action="<?=$outlogin_action_url?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
<form name="foutlogin" action="<?php echo $outlogin_action_url; ?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
<fieldset>
<input type="hidden" name="url" value="<?=$outlogin_url?>">
<input type="hidden" name="url" value="<?php echo $outlogin_url; ?>">
<label for="ol_id" id="ol_idlabel">회원아이디<strong class="sound_only">필수</strong></label>
<input type="text" id="ol_id" name="mb_id" required class="required" maxlength="20">
<label for="ol_pw" id="ol_pwlabel">패스워드<strong class="sound_only">필수</strong></label>
<input type="password" name="mb_password" id="ol_pw" required class="required" maxlength="20">
<input type="submit" id="ol_submit" value="로그인">
<div id="ol_svc">
<a href="<?=G4_BBS_URL?>/register.php"><b>회원가입</b></a>
<a href="<?=G4_BBS_URL?>/password_lost.php" id="ol_password_lost">정보찾기</a>
<a href="<?php echo G4_BBS_URL; ?>/register.php"><b>회원가입</b></a>
<a href="<?php echo G4_BBS_URL; ?>/password_lost.php" id="ol_password_lost">정보찾기</a>
</div>
<div id="ol_auto">
<input type="checkbox" name="auto_login" value="1" id="auto_login">

View File

@ -2,26 +2,26 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?=$outlogin_skin_url?>/style.css">
<link rel="stylesheet" href="<?php echo $outlogin_skin_url; ?>/style.css">
<!-- 로그인 후 외부로그인 시작 -->
<section id="ol_after" class="ol">
<header id="ol_after_hd">
<h2>나의 회원정보</h2>
<strong><?=$nick?>님</strong>
<? if ($is_admin == 'super' || $is_auth) { ?><a href="<?=G4_ADMIN_URL?>/shop_admin" class="btn_admin">관리자 모드</a><? } ?>
<strong><?php echo $nick; ?>님</strong>
<? if ($is_admin == 'super' || $is_auth) { ?><a href="<?php echo G4_ADMIN_URL; ?>/shop_admin" class="btn_admin">관리자 모드</a><? } ?>
</header>
<ul id="ol_after_private">
<li>
<a href="<?=G4_BBS_URL?>/memo.php" target="_blank" id="ol_after_memo" class="win_memo">
<a href="<?php echo G4_BBS_URL; ?>/memo.php" target="_blank" id="ol_after_memo" class="win_memo">
<span class="sound_only">안 읽은 </span>쪽지
<strong><?=$memo_not_read?></strong>
<strong><?php echo $memo_not_read; ?></strong>
</a>
</li>
<li>
<a href="<?=G4_BBS_URL?>/point.php" target="_blank" id="ol_after_pt" class="win_point">
<a href="<?php echo G4_BBS_URL; ?>/point.php" target="_blank" id="ol_after_pt" class="win_point">
포인트
<strong><?=$point?></strong>
<strong><?php echo $point; ?></strong>
</a>
</li>
<li>
@ -29,8 +29,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</li>
</ul>
<footer id="ol_after_ft">
<a href="<?=G4_BBS_URL?>/member_confirm.php?url=register_form.php" id="ol_after_info">정보수정</a>
<a href="<?=G4_BBS_URL?>/logout.php" id="ol_after_logout">로그아웃</a>
<a href="<?php echo G4_BBS_URL; ?>/member_confirm.php?url=register_form.php" id="ol_after_info">정보수정</a>
<a href="<?php echo G4_BBS_URL; ?>/logout.php" id="ol_after_logout">로그아웃</a>
</footer>
</section>
@ -39,7 +39,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
function member_leave()
{
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
location.href = "<?=G4_BBS_URL?>/member_confirm.php?url=member_leave.php";
location.href = "<?php echo G4_BBS_URL; ?>/member_confirm.php?url=member_leave.php";
}
</script>
<!-- 로그인 후 외부로그인 끝 -->

View File

@ -3,24 +3,24 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<div id="poll_result" class="new_win">
<h1><?=$g4['title']?></h1>
<h1><?php echo $g4['title']; ?></h1>
<section id="poll_result_list">
<h2><?=$po_subject?> 결과</h2>
<h2><?php echo $po_subject; ?> 결과</h2>
<dl>
<dt><span>전체 <?=$nf_total_po_cnt?>표</span></dt>
<dt><span>전체 <?php echo $nf_total_po_cnt; ?>표</span></dt>
<dd>
<ol>
<? for ($i=1; $i<=count($list); $i++) { ?>
<li>
<p>
<?=$list[$i]['content']?>
<strong><?=$list[$i]['cnt']?> 표</strong>
<span><?=number_format($list[$i]['rate'], 1)?> 퍼센트</span>
<?php echo $list[$i]['content']; ?>
<strong><?php echo $list[$i]['cnt']; ?> 표</strong>
<span><?php echo number_format($list[$i]['rate'], 1); ?> 퍼센트</span>
</p>
<div class="poll_result_graph">
<span style="width:<?=number_format($list[$i]['rate'], 1)?>%"></span>
<span style="width:<?php echo number_format($list[$i]['rate'], 1); ?>%"></span>
</div>
</li>
<? } ?>
@ -36,12 +36,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<? for ($i=0; $i<count($list2); $i++) { ?>
<article>
<header>
<h1><?=$list2[$i]['pc_name']?><span class="sound_only">님의 의견</span></h1>
<?=$list2[$i]['name']?>
<span class="poll_datetime"><?=$list2[$i]['datetime']?></span>
<h1><?php echo $list2[$i]['pc_name']; ?><span class="sound_only">님의 의견</span></h1>
<?php echo $list2[$i]['name']; ?>
<span class="poll_datetime"><?php echo $list2[$i]['datetime']; ?></span>
</header>
<p>
<?=$list2[$i]['idea']?>
<?php echo $list2[$i]['idea']; ?>
</p>
<footer>
<span class="poll_cmt_del"><? if ($list2[$i]['del']) { echo $list2[$i]['del']."삭제</a>"; } ?></span>
@ -51,11 +51,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<? if ($member['mb_level'] >= $po['po_level']) { ?>
<form name="fpollresult" action="./poll_etc_update.php" onsubmit="return fpollresult_submit(this);" method="post" autocomplete="off">
<input type="hidden" name="po_id" value="<?=$po_id?>">
<input type="hidden" name="po_id" value="<?php echo $po_id; ?>">
<input type="hidden" name="w" value="">
<input type="hidden" name="skin_dir" value="<?=$skin_dir?>">
<? if ($is_member) { ?><input type="hidden" name="pc_name" value="<?=cut_str($member['mb_nick'],255)?>"><? } ?>
<h3><?=$po_etc?></h3>
<input type="hidden" name="skin_dir" value="<?php echo $skin_dir; ?>">
<? if ($is_member) { ?><input type="hidden" name="pc_name" value="<?php echo cut_str($member['mb_nick'],255); ?>"><? } ?>
<h3><?php echo $po_etc; ?></h3>
<table id="poll_result_wcmt" class="frm_tbl">
<tbody>
<? if ($is_guest) { ?>
@ -71,7 +71,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<? if ($is_guest) { ?>
<tr>
<th scope="row">자동등록방지</th>
<td><?=captcha_html();?></td>
<td><?php echo captcha_html(); ?></td>
</tr>
<? } ?>
</tbody>
@ -90,7 +90,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<h2>다른 투표 결과 보기</h2>
<ul>
<? for ($i=0; $i<count($list3); $i++) { ?>
<li><a href="./poll_result.php?po_id=<?=$list3[$i]['po_id']?>&amp;skin_dir=<?=$skin_dir?>">[<?=$list3[$i]['date']?>] <?=$list3[$i]['subject']?></a></li>
<li><a href="./poll_result.php?po_id=<?php echo $list3[$i]['po_id']; ?>&amp;skin_dir=<?php echo $skin_dir; ?>">[<?php echo $list3[$i]['date']; ?>] <?php echo $list3[$i]['subject']; ?></a></li>
<? } ?>
</ul>
</section>