php strict 적용
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
define('G4_IS_ADMIN', true);
|
||||
include_once ('../../common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400730';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -25,8 +25,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<form name="fbanner" action="./bannerformupdate.php" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="w" value="<?=$w ?>">
|
||||
<input type="hidden" name="bn_id" value="<?=$bn_id ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="bn_id" value="<?php echo $bn_id; ?>">
|
||||
|
||||
<section class="cbox">
|
||||
<h2>배너 입력 수정</h2>
|
||||
@ -40,7 +40,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<th scope="row">이미지</th>
|
||||
<td>
|
||||
<input type="file" name="bn_bimg">
|
||||
<?
|
||||
<?php
|
||||
$bimg_str = "";
|
||||
$bimg = G4_DATA_PATH."/banner/{$bn['bn_id']}";
|
||||
if (file_exists($bimg) && $bn['bn_id']) {
|
||||
@ -67,70 +67,70 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="bn_alt">이미지 설명</label></th>
|
||||
<td>
|
||||
<?=help("img 태그의 alt, title 에 해당되는 내용입니다.\n배너에 마우스를 오버하면 이미지의 설명이 나옵니다.");?>
|
||||
<input type="text" name="bn_alt" value="<?=$bn['bn_alt'] ?>" id="bn_alt" class="frm_input" size="80">
|
||||
<?php echo help("img 태그의 alt, title 에 해당되는 내용입니다.\n배너에 마우스를 오버하면 이미지의 설명이 나옵니다."); ?>
|
||||
<input type="text" name="bn_alt" value="<?php echo $bn['bn_alt']; ?>" id="bn_alt" class="frm_input" size="80">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bn_url">링크</label></th>
|
||||
<td>
|
||||
<?=help("배너클릭시 이동하는 주소입니다.");?>
|
||||
<input type="text" name="bn_url" size="80" value="<?=$bn['bn_url'] ?>" id="bn_url" class="frm_input">
|
||||
<?php echo help("배너클릭시 이동하는 주소입니다."); ?>
|
||||
<input type="text" name="bn_url" size="80" value="<?php echo $bn['bn_url']; ?>" id="bn_url" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bn_position">출력위치</label></th>
|
||||
<td>
|
||||
<?=help("왼쪽 : 쇼핑몰화면 왼쪽에 출력합니다.\n메인 : 쇼핑몰 메인화면(index.php)에만 출력합니다.", 50);?>
|
||||
<?php echo help("왼쪽 : 쇼핑몰화면 왼쪽에 출력합니다.\n메인 : 쇼핑몰 메인화면(index.php)에만 출력합니다.", 50); ?>
|
||||
<select name="bn_position" id="bn_position">
|
||||
<option value="왼쪽" <?=get_selected($bn['bn_position'], '왼쪽')?>>왼쪽</option>
|
||||
<option value="메인" <?=get_selected($bn['bn_position'], '메인')?>>메인</option>
|
||||
<option value="왼쪽" <?php echo get_selected($bn['bn_position'], '왼쪽'); ?>>왼쪽</option>
|
||||
<option value="메인" <?php echo get_selected($bn['bn_position'], '메인'); ?>>메인</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bn_border">테두리</label></th>
|
||||
<td>
|
||||
<?=help("배너이미지에 테두리를 넣을지를 설정합니다.", 50);?>
|
||||
<?php echo help("배너이미지에 테두리를 넣을지를 설정합니다.", 50); ?>
|
||||
<select name="bn_border" id="bn_border">
|
||||
<option value="0" <?=get_selected($bn['bn_border'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($bn['bn_border'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($bn['bn_border'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($bn['bn_border'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bn_new_win">새창</label></th>
|
||||
<td>
|
||||
<?=help("배너클릭시 새창을 띄울지를 설정합니다.", 50);?>
|
||||
<?php echo help("배너클릭시 새창을 띄울지를 설정합니다.", 50); ?>
|
||||
<select name="bn_new_win" id="bn_new_win">
|
||||
<option value="0" <?=get_selected($bn['bn_new_win'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($bn['bn_new_win'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($bn['bn_new_win'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($bn['bn_new_win'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bn_begin_time">시작일시</label></th>
|
||||
<td>
|
||||
<?=help("배너 게시 시작일시를 설정합니다.");?>
|
||||
<input type="text" name="bn_begin_time" value="<? echo $bn['bn_begin_time'] ?>" id="bn_begin_time" class="frm_input" size="21" maxlength="19">
|
||||
<input type="checkbox" name="bn_begin_chk" value="<? echo date("Y-m-d 00:00:00", time()); ?>" id="bn_begin_chk" onclick="if (this.checked == true) this.form.bn_begin_time.value=this.form.bn_begin_chk.value; else this.form.bn_begin_time.value = this.form.bn_begin_time.defaultValue;">
|
||||
<?php echo help("배너 게시 시작일시를 설정합니다."); ?>
|
||||
<input type="text" name="bn_begin_time" value="<?php echo $bn['bn_begin_time']; ?>" id="bn_begin_time" class="frm_input" size="21" maxlength="19">
|
||||
<input type="checkbox" name="bn_begin_chk" value="<?php echo date("Y-m-d 00:00:00", time()); ?>" id="bn_begin_chk" onclick="if (this.checked == true) this.form.bn_begin_time.value=this.form.bn_begin_chk.value; else this.form.bn_begin_time.value = this.form.bn_begin_time.defaultValue;">
|
||||
<label for="bn_begin_chk">오늘</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bn_end_time">종료일시</label></th>
|
||||
<td>
|
||||
<?=help("배너 게시 종료일시를 설정합니다.");?>
|
||||
<input type="text" name="bn_end_time" value="<? echo $bn['bn_end_time'] ?>" id="bn_end_time" class="frm_input" size=21 maxlength=19>
|
||||
<input type="checkbox" name="bn_end_chk" value="<? echo date("Y-m-d 23:59:59", time()+60*60*24*31); ?>" id="bn_end_chk" onclick="if (this.checked == true) this.form.bn_end_time.value=this.form.bn_end_chk.value; else this.form.bn_end_time.value = this.form.bn_end_time.defaultValue;">
|
||||
<?php echo help("배너 게시 종료일시를 설정합니다."); ?>
|
||||
<input type="text" name="bn_end_time" value="<?php echo $bn['bn_end_time']; ?>" id="bn_end_time" class="frm_input" size=21 maxlength=19>
|
||||
<input type="checkbox" name="bn_end_chk" value="<?php echo date("Y-m-d 23:59:59", time()+60*60*24*31); ?>" id="bn_end_chk" onclick="if (this.checked == true) this.form.bn_end_time.value=this.form.bn_end_chk.value; else this.form.bn_end_time.value = this.form.bn_end_time.defaultValue;">
|
||||
<label for="bn_end_chk">오늘+31일</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bn_order">출력 순서</label></th>
|
||||
<td>
|
||||
<?=help("배너를 출력할 때 순서를 정합니다. 숫자가 작을수록 먼저 출력됩니다.");?>
|
||||
<?=order_select("bn_order", $bn['bn_order'])?>
|
||||
<?php echo help("배너를 출력할 때 순서를 정합니다. 숫자가 작을수록 먼저 출력됩니다."); ?>
|
||||
<?php echo order_select("bn_order", $bn['bn_order']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -144,6 +144,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
</form>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400730';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400730';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -23,7 +23,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
<section class="cbox">
|
||||
<h2>배너관리</h2>
|
||||
|
||||
<p>등록된 배너 <?=$total_count ?>개</p>
|
||||
<p>등록된 배너 <?php echo $total_count; ?>개</p>
|
||||
|
||||
<div id="btn_add">
|
||||
<a href="./bannerform.php">배너추가</a>
|
||||
@ -45,7 +45,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select * from {$g4['shop_banner_table']}
|
||||
order by bn_order, bn_id desc
|
||||
limit $from_record, $rows ";
|
||||
@ -75,22 +75,22 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td rowspan="2" class="td_num"><?=$row['bn_id']?></td>
|
||||
<td><?=$row['bn_position']?></td>
|
||||
<td><?=$bn_begin_time?></td>
|
||||
<td><?=$bn_end_time?></td>
|
||||
<td><?=$row['bn_order']?></td>
|
||||
<td><?=$row['bn_hit']?></td>
|
||||
<td rowspan="2" class="td_num"><?php echo $row['bn_id']; ?></td>
|
||||
<td><?php echo $row['bn_position']; ?></td>
|
||||
<td><?php echo $bn_begin_time; ?></td>
|
||||
<td><?php echo $bn_end_time; ?></td>
|
||||
<td><?php echo $row['bn_order']; ?></td>
|
||||
<td><?php echo $row['bn_hit']; ?></td>
|
||||
<td class="td_smallmng">
|
||||
<a href="./bannerform.php?w=u&bn_id=<?=$row['bn_id']?>"><img src="./img/icon_mod.jpg" alt="배너수정"></a>
|
||||
<a href="./bannerformupdate.php?w=d&bn_id=<?=$row['bn_id']?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="배너삭제"></a>
|
||||
<a href="./bannerform.php?w=u&bn_id=<?php echo $row['bn_id']; ?>"><img src="./img/icon_mod.jpg" alt="배너수정"></a>
|
||||
<a href="./bannerformupdate.php?w=d&bn_id=<?php echo $row['bn_id']; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="배너삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" class="td_img_view"><?=$bn_img?></td>
|
||||
<td colspan="6" class="td_img_view"><?php echo $bn_img; ?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) {
|
||||
echo '<tr><td colspan="8" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
@ -101,8 +101,8 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
|
||||
</section>
|
||||
|
||||
<p><?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?></p>
|
||||
<p><?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?></p>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400200';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -85,16 +85,16 @@ $pg_anchor .= '</ul>';
|
||||
|
||||
<form name="fcategoryform" action="./categoryformupdate.php" onsubmit="return fcategoryformcheck(this);" method="post" enctype="multipart/form-data">
|
||||
|
||||
<input type="hidden" name="codedup" value="<?=$default['de_code_dup_use']?>">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="ca_explan_html" value="<?=$ca['ca_explan_html']?>">
|
||||
<input type="hidden" name="codedup" value="<?php echo $default['de_code_dup_use']; ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="ca_explan_html" value="<?php echo $ca['ca_explan_html']; ?>">
|
||||
|
||||
<section id="anc_scatefrm_basic" class="cbox">
|
||||
<h2>필수입력</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -105,132 +105,132 @@ $pg_anchor .= '</ul>';
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_id">분류코드</label></th>
|
||||
<td>
|
||||
<? if ($w == "") { ?>
|
||||
<?=help("자동으로 보여지는 분류코드를 사용하시길 권해드리지만 직접 입력한 값으로도 사용할 수 있습니다.\n분류코드는 나중에 수정이 되지 않으므로 신중하게 결정하여 사용하십시오.\n\n분류코드는 2자리씩 10자리를 사용하여 5단계를 표현할 수 있습니다.\n0~z까지 입력이 가능하며 한 분류당 최대 1296가지를 표현할 수 있습니다.\n그러므로 총 3656158440062976가지의 분류를 사용할 수 있습니다.");?>
|
||||
<input type="text" name="ca_id" value="<?=$subid?>" id="ca_id" class="frm_input" size="<?=$sublen?>" maxlength="<?=$sublen?>">
|
||||
<? if ($default['de_code_dup_use']) { ?><a href="javascript:;" onclick="codedupcheck(document.getElementById('ca_id').value)">코드 중복검사</a><? } ?>
|
||||
<? } else { ?>
|
||||
<input type="hidden" name="ca_id" value="<?=$ca['ca_id']?>">
|
||||
<span class="frm_ca_id"><?=$ca['ca_id']?></span>
|
||||
<a href="<?=G4_SHOP_URL?>/list.php?ca_id=<?=$ca_id?>" class="btn_frmline">미리보기</a>
|
||||
<a href="./categoryform.php?ca_id=<?=$ca_id?>&<?=$qstr?>" class="btn_frmline">하위분류 추가</a>
|
||||
<a href="./itemlist.php?sca=<?=$ca['ca_id']?>" class="btn_frmline">상품리스트</a>
|
||||
<? } ?>
|
||||
<?php if ($w == "") { ?>
|
||||
<?php echo help("자동으로 보여지는 분류코드를 사용하시길 권해드리지만 직접 입력한 값으로도 사용할 수 있습니다.\n분류코드는 나중에 수정이 되지 않으므로 신중하게 결정하여 사용하십시오.\n\n분류코드는 2자리씩 10자리를 사용하여 5단계를 표현할 수 있습니다.\n0~z까지 입력이 가능하며 한 분류당 최대 1296가지를 표현할 수 있습니다.\n그러므로 총 3656158440062976가지의 분류를 사용할 수 있습니다."); ?>
|
||||
<input type="text" name="ca_id" value="<?php echo $subid; ?>" id="ca_id" class="frm_input" size="<?php echo $sublen; ?>" maxlength="<?php echo $sublen; ?>">
|
||||
<?php if ($default['de_code_dup_use']) { ?><a href="javascript:;" onclick="codedupcheck(document.getElementById('ca_id').value)">코드 중복검사</a><?php } ?>
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="ca_id" value="<?php echo $ca['ca_id']; ?>">
|
||||
<span class="frm_ca_id"><?php echo $ca['ca_id']; ?></span>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/list.php?ca_id=<?php echo $ca_id; ?>" class="btn_frmline">미리보기</a>
|
||||
<a href="./categoryform.php?ca_id=<?php echo $ca_id; ?>&<?php echo $qstr; ?>" class="btn_frmline">하위분류 추가</a>
|
||||
<a href="./itemlist.php?sca=<?php echo $ca['ca_id']; ?>" class="btn_frmline">상품리스트</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_name">분류명</label></th>
|
||||
<td><input type="text" name="ca_name" value="<? echo $ca['ca_name'] ?>" id="ca_name" size="38" required class="required frm_input"></td>
|
||||
<td><input type="text" name="ca_name" value="<?php echo $ca['ca_name']; ?>" id="ca_name" size="38" required class="required frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><? if ($is_admin == 'super') { ?><label for="ca_mb_id"><? } ?>관리 회원아이디<? if ($is_admin == 'super') { ?></label><? } ?></th>
|
||||
<th scope="row"><?php if ($is_admin == 'super') { ?><label for="ca_mb_id"><?php } ?>관리 회원아이디<?php if ($is_admin == 'super') { ?></label><?php } ?></th>
|
||||
<td>
|
||||
<? if ($is_admin == 'super') { ?>
|
||||
<input type="text" name="ca_mb_id" value="<?=$ca['ca_mb_id']?>" id="ca_mb_id" class="frm_input" maxlength="20">
|
||||
<? } else { ?>
|
||||
<input type="hidden" name="ca_mb_id" value="<?=$ca['ca_mb_id']?>">
|
||||
<?=$ca['ca_mb_id']?>
|
||||
<? } ?>
|
||||
<?php if ($is_admin == 'super') { ?>
|
||||
<input type="text" name="ca_mb_id" value="<?php echo $ca['ca_mb_id']; ?>" id="ca_mb_id" class="frm_input" maxlength="20">
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="ca_mb_id" value="<?php echo $ca['ca_mb_id']; ?>">
|
||||
<?php echo $ca['ca_mb_id']; ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_skin">출력스킨</label></th>
|
||||
<td>
|
||||
<?=help("기본으로 제공하는 스킨은 ".G4_SHOP_DIR."/list.skin.*.php 입니다.");?>
|
||||
<?php echo help("기본으로 제공하는 스킨은 ".G4_SHOP_DIR."/list.skin.*.php 입니다."); ?>
|
||||
<select id="ca_skin" name="ca_skin">
|
||||
<?=get_list_skin_options("^list.skin.(.*)\.php", G4_SHOP_PATH, $ca['ca_skin']); ?>
|
||||
<?php echo get_list_skin_options("^list.skin.(.*)\.php", G4_SHOP_PATH, $ca['ca_skin']); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_img_width">출력이미지 폭</label></th>
|
||||
<td>
|
||||
<?=help("환경설정 > 이미지(소) 폭이 기본값으로 설정됩니다.\n".G4_SHOP_URL."/list.php에서 출력되는 이미지의 폭입니다.");?>
|
||||
<input type="text" name="ca_img_width" value="<? echo $ca['ca_img_width'] ?>" id="ca_img_width" required class="required frm_input" size="5" > 픽셀
|
||||
<?php echo help("환경설정 > 이미지(소) 폭이 기본값으로 설정됩니다.\n".G4_SHOP_URL."/list.php에서 출력되는 이미지의 폭입니다."); ?>
|
||||
<input type="text" name="ca_img_width" value="<?php echo $ca['ca_img_width']; ?>" id="ca_img_width" required class="required frm_input" size="5" > 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_img_height">출력이미지 높이</label></th>
|
||||
<td>
|
||||
<?=help("환경설정 > 이미지(소) 높이가 기본값으로 설정됩니다.\n".G4_SHOP_URL."/list.php에서 출력되는 이미지의 높이입니다.");?>
|
||||
<input type="text" name="ca_img_height" value="<? echo $ca['ca_img_height'] ?>" id="ca_img_height" required class="required frm_input" size="5" > 픽셀
|
||||
<?php echo help("환경설정 > 이미지(소) 높이가 기본값으로 설정됩니다.\n".G4_SHOP_URL."/list.php에서 출력되는 이미지의 높이입니다."); ?>
|
||||
<input type="text" name="ca_img_height" value="<?php echo $ca['ca_img_height']; ?>" id="ca_img_height" required class="required frm_input" size="5" > 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_list_mod">1줄당 이미지 수</label></th>
|
||||
<td>
|
||||
<?=help("한 줄에 설정한 값만큼의 상품을 출력하지만 스킨에 따라 한 줄에 하나의 상품만 출력할 수도 있습니다.");?>
|
||||
<input type="text" name="ca_list_mod" size="3" value="<? echo $ca['ca_list_mod'] ?>" id="ca_list_mod" required class="required frm_input"> 개
|
||||
<?php echo help("한 줄에 설정한 값만큼의 상품을 출력하지만 스킨에 따라 한 줄에 하나의 상품만 출력할 수도 있습니다."); ?>
|
||||
<input type="text" name="ca_list_mod" size="3" value="<?php echo $ca['ca_list_mod']; ?>" id="ca_list_mod" required class="required frm_input"> 개
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_list_row">이미지 줄 수</label></th>
|
||||
<td>
|
||||
<?=help("한 페이지에 출력할 이미지 줄 수를 설정합니다.\n한 페이지에서 표시하는 상품수는 (1줄당 이미지 수 x 줄 수) 입니다.");?>
|
||||
<input type="text" name="ca_list_row" value='<? echo $ca['ca_list_row'] ?>' id="ca_list_row" required class="required frm_input" size="3"> 줄
|
||||
<?php echo help("한 페이지에 출력할 이미지 줄 수를 설정합니다.\n한 페이지에서 표시하는 상품수는 (1줄당 이미지 수 x 줄 수) 입니다."); ?>
|
||||
<input type="text" name="ca_list_row" value='<?php echo $ca['ca_list_row']; ?>' id="ca_list_row" required class="required frm_input" size="3"> 줄
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_opt1_subject">옵션 제목 1</label></th>
|
||||
<td>
|
||||
<?=help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목1 로 기본입력됩니다.");?>
|
||||
<input type="text" name="ca_opt1_subject" value="<? echo $ca['ca_opt1_subject'] ?>" id="ca_opt1_subject" class="frm_input">
|
||||
<?php echo help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목1 로 기본입력됩니다."); ?>
|
||||
<input type="text" name="ca_opt1_subject" value="<?php echo $ca['ca_opt1_subject']; ?>" id="ca_opt1_subject" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_opt2_subject">옵션 제목 2</label></th>
|
||||
<td>
|
||||
<?=help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목2 로 기본입력됩니다.");?>
|
||||
<input type="text" name="ca_opt2_subject" value="<? echo $ca['ca_opt2_subject'] ?>" id="ca_opt2_subject" class="frm_input">
|
||||
<?php echo help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목2 로 기본입력됩니다."); ?>
|
||||
<input type="text" name="ca_opt2_subject" value="<?php echo $ca['ca_opt2_subject']; ?>" id="ca_opt2_subject" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_opt3_subject">옵션 제목 3</label></th>
|
||||
<td>
|
||||
<?=help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목3 으로 기본입력됩니다.");?>
|
||||
<input type="text" name="ca_opt3_subject" value="<? echo $ca['ca_opt3_subject'] ?>" id="ca_opt3_subject" class="frm_input">
|
||||
<?php echo help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목3 으로 기본입력됩니다."); ?>
|
||||
<input type="text" name="ca_opt3_subject" value="<?php echo $ca['ca_opt3_subject']; ?>" id="ca_opt3_subject" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_opt4_subject">옵션 제목 4</label></th>
|
||||
<td>
|
||||
<?=help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목4 로 기본입력됩니다.");?>
|
||||
<input type="text" name="ca_opt4_subject" value="<? echo $ca['ca_opt4_subject'] ?>" id="ca_opt4_subject" class="frm_input">
|
||||
<?php echo help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목4 로 기본입력됩니다."); ?>
|
||||
<input type="text" name="ca_opt4_subject" value="<?php echo $ca['ca_opt4_subject']; ?>" id="ca_opt4_subject" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_opt5_subject">옵션 제목 5</label></th>
|
||||
<td>
|
||||
<?=help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목5 로 기본입력됩니다.");?>
|
||||
<input type="text" name="ca_opt5_subject" value="<? echo $ca['ca_opt5_subject'] ?>" id="ca_opt5_subject" class="frm_input">
|
||||
<?php echo help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목5 로 기본입력됩니다."); ?>
|
||||
<input type="text" name="ca_opt5_subject" value="<?php echo $ca['ca_opt5_subject']; ?>" id="ca_opt5_subject" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_opt6_subject">옵션 제목 6</label></th>
|
||||
<td>
|
||||
<?=help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목6 으로 기본입력됩니다.");?>
|
||||
<input type="text" name="ca_opt6_subject" value="<? echo $ca['ca_opt6_subject'] ?>" id="ca_opt6_subject" class="frm_input">
|
||||
<?php echo help("제조사, 원산지 이외 옵션을 사용하실 수 있습니다.\n이곳에 입력한 옵션 제목은 상품입력 시 옵션 제목6 으로 기본입력됩니다."); ?>
|
||||
<input type="text" name="ca_opt6_subject" value="<?php echo $ca['ca_opt6_subject']; ?>" id="ca_opt6_subject" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_stock_qty">재고수량</label></th>
|
||||
<td>
|
||||
<?=help("상품의 기본재고 수량을 설정합니다.\n재고를 사용하지 않는다면 숫자를 크게 입력하여 주십시오. 예) 999999");?>
|
||||
<input type="text" name="ca_stock_qty" size="10" value="<? echo $ca['ca_stock_qty']; ?>" id="ca_stock_qty" class="frm_input"> 개
|
||||
<?php echo help("상품의 기본재고 수량을 설정합니다.\n재고를 사용하지 않는다면 숫자를 크게 입력하여 주십시오. 예) 999999"); ?>
|
||||
<input type="text" name="ca_stock_qty" size="10" value="<?php echo $ca['ca_stock_qty']; ?>" id="ca_stock_qty" class="frm_input"> 개
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_sell_email">판매자 E-mail</label></th>
|
||||
<td>
|
||||
<?=help("운영자와 판매자가 다른 경우에 사용합니다.\n이 분류에 속한 상품을 등록할 경우에 기본값으로 입력됩니다.");?>
|
||||
<input type="text" name="ca_sell_email" size="40" value="<? echo $ca['ca_sell_email'] ?>" id="ca_sell_email" class="frm_input">
|
||||
<?php echo help("운영자와 판매자가 다른 경우에 사용합니다.\n이 분류에 속한 상품을 등록할 경우에 기본값으로 입력됩니다."); ?>
|
||||
<input type="text" name="ca_sell_email" size="40" value="<?php echo $ca['ca_sell_email']; ?>" id="ca_sell_email" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_use">판매가능</label></th>
|
||||
<td>
|
||||
<?=help("재고가 없거나 일시적으로 판매를 중단하시려면 체크 해제하십시오.\n체크 해제하시면 상품 출력을 하지 않으며, 주문도 받지 않습니다.");?>
|
||||
<input type="checkbox" name="ca_use" <? echo ($ca['ca_use']) ? "checked" : ""; ?> value="1" id="ca_use">예
|
||||
<?php echo help("재고가 없거나 일시적으로 판매를 중단하시려면 체크 해제하십시오.\n체크 해제하시면 상품 출력을 하지 않으며, 주문도 받지 않습니다."); ?>
|
||||
<input type="checkbox" name="ca_use" <?php echo ($ca['ca_use']) ? "checked" : ""; ?> value="1" id="ca_use">예
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -239,7 +239,7 @@ $pg_anchor .= '</ul>';
|
||||
|
||||
<section id="frm_scatefrm_optional" class="cbox">
|
||||
<h2>선택 입력</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -249,23 +249,23 @@ $pg_anchor .= '</ul>';
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_include_head">상단파일경로</label></th>
|
||||
<td>
|
||||
<?=help("입력하지 않으면 기본 상단 파일을 사용합니다.<br>상단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?>
|
||||
<input type="text" name="ca_include_head" value="<?=$ca['ca_include_head']?>" id="ca_include_head" class="frm_input" size="60">
|
||||
<?php echo help("입력하지 않으면 기본 상단 파일을 사용합니다.<br>상단 내용과 달리 PHP 코드를 사용할 수 있습니다."); ?>
|
||||
<input type="text" name="ca_include_head" value="<?php echo $ca['ca_include_head']; ?>" id="ca_include_head" class="frm_input" size="60">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_include_tail">하단 파일 경로</label></th>
|
||||
<td>
|
||||
<?=help("입력하지 않으면 기본 하단 파일을 사용합니다.<br>하단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?>
|
||||
<input type="text" name="ca_include_tail" value="<?=$ca['ca_include_tail']?>" id="ca_include_tail" class="frm_input" size="60">
|
||||
<?php echo help("입력하지 않으면 기본 하단 파일을 사용합니다.<br>하단 내용과 달리 PHP 코드를 사용할 수 있습니다."); ?>
|
||||
<input type="text" name="ca_include_tail" value="<?php echo $ca['ca_include_tail']; ?>" id="ca_include_tail" class="frm_input" size="60">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상단이미지</th>
|
||||
<td>
|
||||
<?=help("상품리스트 페이지 상단에 출력하는 이미지입니다.");?>
|
||||
<?php echo help("상품리스트 페이지 상단에 출력하는 이미지입니다."); ?>
|
||||
<input type="file" name="ca_himg">
|
||||
<?
|
||||
<?php
|
||||
$himg_str = "";
|
||||
$himg = "{$category_path}/{$ca['ca_id']}_h";
|
||||
if (file_exists($himg))
|
||||
@ -279,13 +279,13 @@ $pg_anchor .= '</ul>';
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($himg_str) { echo "<tr><td colspan=4>$himg_str</td></tr>"; } ?>
|
||||
<?php if ($himg_str) { echo "<tr><td colspan=4>$himg_str</td></tr>"; } ?>
|
||||
<tr>
|
||||
<th scope="row">하단이미지</th>
|
||||
<td>
|
||||
<?=help("상품리스트 페이지 하단에 출력하는 이미지입니다.");?>
|
||||
<?php echo help("상품리스트 페이지 하단에 출력하는 이미지입니다."); ?>
|
||||
<input type="file" name="ca_timg">
|
||||
<?
|
||||
<?php
|
||||
$timg_str = "";
|
||||
$timg = "{$category_path}/{$ca['ca_id']}_t";
|
||||
if (file_exists($timg)) {
|
||||
@ -298,19 +298,19 @@ $pg_anchor .= '</ul>';
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($timg_str) { echo "<tr><td colspan=4>$timg_str</td></tr>"; } ?>
|
||||
<?php if ($timg_str) { echo "<tr><td colspan=4>$timg_str</td></tr>"; } ?>
|
||||
<tr>
|
||||
<th scope="row">상단내용</th>
|
||||
<td>
|
||||
<?=help("상품리스트 페이지 상단에 출력하는 HTML 내용입니다.");?>
|
||||
<?=editor_html('ca_head_html', $ca['ca_head_html']);?>
|
||||
<?php echo help("상품리스트 페이지 상단에 출력하는 HTML 내용입니다."); ?>
|
||||
<?php echo editor_html('ca_head_html', $ca['ca_head_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단내용</th>
|
||||
<td>
|
||||
<?=help("상품리스트 페이지 하단에 출력하는 HTML 내용입니다.", -150);?>
|
||||
<?=editor_html('ca_tail_html', $ca['ca_tail_html']);?>
|
||||
<?php echo help("상품리스트 페이지 하단에 출력하는 HTML 내용입니다.", -150); ?>
|
||||
<?php echo editor_html('ca_tail_html', $ca['ca_tail_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -318,10 +318,10 @@ $pg_anchor .= '</ul>';
|
||||
|
||||
</section>
|
||||
|
||||
<? if ($w == "u") { ?>
|
||||
<?php if ($w == "u") { ?>
|
||||
<section id="frm_etc" class="cbox">
|
||||
<h2>기타설정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -331,7 +331,7 @@ $pg_anchor .= '</ul>';
|
||||
<tr>
|
||||
<th scope="row">하위분류</th>
|
||||
<td>
|
||||
<?=help("이 분류의 코드가 10 이라면 10 으로 시작하는 하위분류의 설정값을 이 분류와 동일하게 설정합니다.\n<strong>이 작업은 실행 후 복구할 수 없습니다.</strong>")?>
|
||||
<?php echo help("이 분류의 코드가 10 이라면 10 으로 시작하는 하위분류의 설정값을 이 분류와 동일하게 설정합니다.\n<strong>이 작업은 실행 후 복구할 수 없습니다.</strong>"); ?>
|
||||
<label for="sub_category">이 분류의 하위분류 설정을, 이 분류와 동일하게 일괄수정</label>
|
||||
<input type="checkbox" name="sub_category" value="1" id="sub_category" onclick="if (this.checked) if (confirm('이 분류에 속한 하위 분류의 속성을 똑같이 변경합니다.\n\n이 작업은 되돌릴 방법이 없습니다.\n\n그래도 변경하시겠습니까?')) return ; this.checked = false;">
|
||||
</td>
|
||||
@ -339,19 +339,19 @@ $pg_anchor .= '</ul>';
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./categorylist.php?<?=$qstr?>">목록</a>
|
||||
<a href="./categorylist.php?<?php echo $qstr; ?>">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function fcategoryformcheck(f)
|
||||
{
|
||||
<?=get_editor_js('ca_head_html');?>
|
||||
<?=get_editor_js('ca_tail_html');?>
|
||||
<?php echo get_editor_js('ca_head_html'); ?>
|
||||
<?php echo get_editor_js('ca_tail_html'); ?>
|
||||
|
||||
if (f.w.value == "") {
|
||||
if (f.codedup.value == '1') {
|
||||
@ -389,6 +389,6 @@ function codedupcheck(id)
|
||||
/*document.fcategoryform.ca_name.focus(); 포커스 해제*/
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400200';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400200';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -57,25 +57,25 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="save_stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="save_stx" value="<?php echo $stx; ?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>분류 검색</legend>
|
||||
<span>
|
||||
<?=$listall?>
|
||||
생성된 분류 수 <?=number_format($total_count)?>개
|
||||
<?php echo $listall; ?>
|
||||
생성된 분류 수 <?php echo number_format($total_count); ?>개
|
||||
</span>
|
||||
|
||||
<label for="sfl" class="sound_only">검색대상</label>
|
||||
<select name="sfl" id="sfl">
|
||||
<option value="ca_name"<?=get_selected($_GET['sfl'], "ca_name", true);?>>분류명</option>
|
||||
<option value="ca_id"<?=get_selected($_GET['sfl'], "ca_id", true);?>>분류코드</option>
|
||||
<option value="ca_mb_id"<?=get_selected($_GET['sfl'], "ca_mb_id", true);?>>회원아이디</option>
|
||||
<option value="ca_name"<?php echo get_selected($_GET['sfl'], "ca_name", true); ?>>분류명</option>
|
||||
<option value="ca_id"<?php echo get_selected($_GET['sfl'], "ca_id", true); ?>>분류코드</option>
|
||||
<option value="ca_mb_id"<?php echo get_selected($_GET['sfl'], "ca_mb_id", true); ?>>회원아이디</option>
|
||||
</select>
|
||||
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?=$stx?>" id="stx" required class="required frm_input">
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" id="stx" required class="required frm_input">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
@ -85,31 +85,31 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
<h2>생성된 분류 전체 목록</h2>
|
||||
<p>생성된 분류 확인, 추가 및 간략 수정을 할 수 있습니다.</p>
|
||||
|
||||
<?if ($is_admin == 'super') {?>
|
||||
<?php if ($is_admin == 'super') {?>
|
||||
<div id="btn_add">
|
||||
<a href="./categoryform.php" id="cate_add">분류 추가</a>
|
||||
</div>
|
||||
<?}?>
|
||||
<?php } ?>
|
||||
|
||||
<form name="fcategorylist" method="post" action="./categorylistupdate.php" autocomplete="off">
|
||||
<input type="hidden" name="page" value="<?=$page ?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1 ?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2 ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
|
||||
<table class="frm_basic">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><?=subject_sort_link("ca_id");?>분류<br>코드</a></th>
|
||||
<th scope="col"><?=subject_sort_link("ca_name");?>분류명</a></th>
|
||||
<th scope="col"><?=subject_sort_link("ca_mb_id");?>회원아이디</a></th>
|
||||
<th scope="col"><?=subject_sort_link("ca_use");?>판매<br>가능</a></th>
|
||||
<th scope="col"><?=subject_sort_link("ca_stock_qty");?>기본재고</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("ca_id"); ?>분류<br>코드</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("ca_name"); ?>분류명</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("ca_mb_id"); ?>회원아이디</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("ca_use"); ?>판매<br>가능</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("ca_stock_qty"); ?>기본재고</a></th>
|
||||
<th scope="col">상품수</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$level = strlen($row['ca_id']) / 2 - 1;
|
||||
@ -146,25 +146,25 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_num">
|
||||
<input type="hidden" name="ca_id[<?=$i?>]" value="<?=$row['ca_id']?>">
|
||||
<?=$row['ca_id']?>
|
||||
<input type="hidden" name="ca_id[<?php echo $i; ?>]" value="<?php echo $row['ca_id']; ?>">
|
||||
<?php echo $row['ca_id']; ?>
|
||||
</td>
|
||||
<td class="td_scate"><?=$s_level?> <input type="text" name="ca_name[<?=$i?>]" value="<?=get_text($row['ca_name'])?>" id="ca_name_<?=$i?>" required class="frm_input required" size="<?=$s_level_input_size?>"></td>
|
||||
<td class="td_scate"><?php echo $s_level; ?> <input type="text" name="ca_name[<?php echo $i; ?>]" value="<?php echo get_text($row['ca_name']); ?>" id="ca_name_<?php echo $i; ?>" required class="frm_input required" size="<?php echo $s_level_input_size; ?>"></td>
|
||||
<td class="td_scate_admin">
|
||||
<? if ($is_admin == 'super') {?>
|
||||
<label for="ca_mb_id<?=$i?>" class="sound_only">회원아이디</label>
|
||||
<input type="text" name="ca_mb_id[<?=$i?>]" value="<?=$row['ca_mb_id']?>" id="ca_mb_id<?=$i?>" class="frm_input" size="10" maxlength="20">
|
||||
<? } else { ?>
|
||||
<input type="hidden" name="ca_mb_id[<?=$i?>]" value="<?=$row['ca_mb_id']?>">
|
||||
<?=$row['ca_mb_id']?>
|
||||
<? } ?>
|
||||
<?php if ($is_admin == 'super') {?>
|
||||
<label for="ca_mb_id<?php echo $i; ?>" class="sound_only">회원아이디</label>
|
||||
<input type="text" name="ca_mb_id[<?php echo $i; ?>]" value="<?php echo $row['ca_mb_id']; ?>" id="ca_mb_id<?php echo $i; ?>" class="frm_input" size="10" maxlength="20">
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="ca_mb_id[<?php echo $i; ?>]" value="<?php echo $row['ca_mb_id']; ?>">
|
||||
<?php echo $row['ca_mb_id']; ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td class="td_chk"><input type="checkbox" name="ca_use[<?=$i?>]" value="1" <?=($row['ca_use'] ? "checked" : "")?>></td>
|
||||
<td class="td_bignum"><input type="text" name="ca_stock_qty[<?=$i?>]" value="<?=$row['ca_stock_qty']?>" class="frm_input" size="6" style="text-align:right"></td>
|
||||
<td class="td_num"><a href="./itemlist.php?sca=<?=$row['ca_id']?>"><?=$row1['cnt']?></a></td>
|
||||
<td class="td_mng"><?=$s_add?> <?=$s_vie?> <?=$s_upd?> <?=$s_del?></td>
|
||||
<td class="td_chk"><input type="checkbox" name="ca_use[<?php echo $i; ?>]" value="1" <?php echo ($row['ca_use'] ? "checked" : ""); ?>></td>
|
||||
<td class="td_bignum"><input type="text" name="ca_stock_qty[<?php echo $i; ?>]" value="<?php echo $row['ca_stock_qty']; ?>" class="frm_input" size="6" style="text-align:right"></td>
|
||||
<td class="td_num"><a href="./itemlist.php?sca=<?php echo $row['ca_id']; ?>"><?php echo $row1['cnt']; ?></a></td>
|
||||
<td class="td_mng"><?php echo $s_add; ?> <?php echo $s_vie; ?> <?php echo $s_upd; ?> <?php echo $s_del; ?></td>
|
||||
</tr>
|
||||
<? }
|
||||
<?php }
|
||||
if ($i == 0) echo "<tr><td colspan=\"7\" class=\"empty_table\">자료가 한 건도 없습니다.</td></tr>\n";
|
||||
?>
|
||||
</tbody>
|
||||
@ -176,10 +176,10 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
|
||||
</form>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
</section>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400200';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$name = '';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400100';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -82,8 +82,8 @@ $pg_anchor = '<ul class="anchor">
|
||||
<form name="fconfig" action="./configformupdate.php" onsubmit="return fconfig_check(this)" method="post" enctype="MULTIPART/FORM-DATA">
|
||||
<section id="anc_scf_info" class="cbox">
|
||||
<h2>사업자정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<p><?=help("사업자정보는 tail.php 와 content.php 에서 표시합니다.")?></p>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<p><?php echo help("사업자정보는 tail.php 와 content.php 에서 표시합니다."); ?></p>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -95,57 +95,57 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row"><label for="de_admin_company_name">회사명</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_company_name" value="<?=$default['de_admin_company_name']?>" id="de_admin_company_name" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_company_name" value="<?php echo $default['de_admin_company_name']; ?>" id="de_admin_company_name" class="frm_input" size="30">
|
||||
</td>
|
||||
<th scope="row"><label for="de_admin_company_saupja_no">사업자등록번호</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_company_saupja_no" value="<?=$default['de_admin_company_saupja_no']?>" id="de_admin_company_saupja_no" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_company_saupja_no" value="<?php echo $default['de_admin_company_saupja_no']; ?>" id="de_admin_company_saupja_no" class="frm_input" size="30">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_admin_company_owner">대표자명</label></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="de_admin_company_owner" value="<?=$default['de_admin_company_owner']?>" id="de_admin_company_owner" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_company_owner" value="<?php echo $default['de_admin_company_owner']; ?>" id="de_admin_company_owner" class="frm_input" size="30">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_admin_company_tel">대표전화번호</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_company_tel" value="<?=$default['de_admin_company_tel']?>" id="de_admin_company_tel" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_company_tel" value="<?php echo $default['de_admin_company_tel']; ?>" id="de_admin_company_tel" class="frm_input" size="30">
|
||||
</td>
|
||||
<th scope="row"><label for="de_admin_company_fax">팩스번호</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_company_fax" value="<?=$default['de_admin_company_fax']?>" id="de_admin_company_fax" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_company_fax" value="<?php echo $default['de_admin_company_fax']; ?>" id="de_admin_company_fax" class="frm_input" size="30">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_admin_tongsin_no">통신판매업 신고번호</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_tongsin_no" value="<?=$default['de_admin_tongsin_no']?>" id="de_admin_tongsin_no" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_tongsin_no" value="<?php echo $default['de_admin_tongsin_no']; ?>" id="de_admin_tongsin_no" class="frm_input" size="30">
|
||||
</td>
|
||||
<th scope="row"><label for="de_admin_buga_no">부가통신 사업자번호</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_buga_no" value="<?=$default['de_admin_buga_no']?>" id="de_admin_buga_no" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_buga_no" value="<?php echo $default['de_admin_buga_no']; ?>" id="de_admin_buga_no" class="frm_input" size="30">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_admin_company_zip">사업장우편번호</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_company_zip" value="<?=$default['de_admin_company_zip']?>" id="de_admin_company_zip" class="frm_input" size="10">
|
||||
<input type="text" name="de_admin_company_zip" value="<?php echo $default['de_admin_company_zip']; ?>" id="de_admin_company_zip" class="frm_input" size="10">
|
||||
</td>
|
||||
<th scope="row"><label for="de_admin_company_addr">사업장주소</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_company_addr" value="<?=$default['de_admin_company_addr']?>" id="de_admin_company_addr" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_company_addr" value="<?php echo $default['de_admin_company_addr']; ?>" id="de_admin_company_addr" class="frm_input" size="30">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_admin_info_name">정보관리책임자명</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_info_name" value="<?=$default['de_admin_info_name']?>" id="de_admin_info_name" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_info_name" value="<?php echo $default['de_admin_info_name']; ?>" id="de_admin_info_name" class="frm_input" size="30">
|
||||
</td>
|
||||
<th scope="row"><label for="de_admin_info_email">정보책임자 e-mail</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_admin_info_email" value="<?=$default['de_admin_info_email']?>" id="de_admin_info_email" class="frm_input" size="30">
|
||||
<input type="text" name="de_admin_info_email" value="<?php echo $default['de_admin_info_email']; ?>" id="de_admin_info_email" class="frm_input" size="30">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -155,8 +155,8 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_scf_index" class="cbox">
|
||||
<h2>쇼핑몰 초기화면</h2>
|
||||
<?=$pg_anchor?>
|
||||
<p><?=help("상품관리에서 선택한 상품의 타입대로 쇼핑몰 초기화면에 출력합니다. (상품 타입 히트/추천/최신/인기/할인)\n각 타입별로 선택된 상품이 없으면 쇼핑몰 초기화면에 출력하지 않습니다.")?></p>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<p><?php echo help("상품관리에서 선택한 상품의 타입대로 쇼핑몰 초기화면에 출력합니다. (상품 타입 히트/추천/최신/인기/할인)\n각 타입별로 선택된 상품이 없으면 쇼핑몰 초기화면에 출력하지 않습니다."); ?></p>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -166,96 +166,96 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row">히트상품출력</th>
|
||||
<td>
|
||||
<label for="de_type1_list_use">출력</label> <input type="checkbox" name="de_type1_list_use" value="1" id="de_type1_list_use" <?=$default['de_type1_list_use']?"checked":"";?>>
|
||||
<label for="de_type1_list_use">출력</label> <input type="checkbox" name="de_type1_list_use" value="1" id="de_type1_list_use" <?php echo $default['de_type1_list_use']?"checked":""; ?>>
|
||||
<label for="de_type1_list_skin">스킨 </label>
|
||||
|
||||
<select name="de_type1_list_skin" id="de_type1_list_skin">
|
||||
<?=get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type1_list_skin']);?>
|
||||
<?php echo get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type1_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type1_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type1_list_row" value="<?=$default['de_type1_list_row']?>" id="de_type1_list_row" class="frm_input" size="3">
|
||||
<input type="text" name="de_type1_list_row" value="<?php echo $default['de_type1_list_row']; ?>" id="de_type1_list_row" class="frm_input" size="3">
|
||||
<label for="de_type1_list_mod">1줄당 이미지 수</label>
|
||||
<input type="text" name="de_type1_list_mod" value="<?=$default['de_type1_list_mod']?>" id="de_type1_list_mod" class="frm_input" size="3">
|
||||
<input type="text" name="de_type1_list_mod" value="<?php echo $default['de_type1_list_mod']; ?>" id="de_type1_list_mod" class="frm_input" size="3">
|
||||
<label for="de_type1_img_width">이미지 폭</label>
|
||||
<input type="text" name="de_type1_img_width" value="<?=$default['de_type1_img_width']?>" id="de_type1_img_width" class="frm_input" size="3">
|
||||
<input type="text" name="de_type1_img_width" value="<?php echo $default['de_type1_img_width']; ?>" id="de_type1_img_width" class="frm_input" size="3">
|
||||
<label for="de_type1_img_height">이미지 높이</label>
|
||||
<input type="text" name="de_type1_img_height" value="<?=$default['de_type1_img_height']?>" id="de_type1_img_height" class="frm_input" size="3">
|
||||
<input type="text" name="de_type1_img_height" value="<?php echo $default['de_type1_img_height']; ?>" id="de_type1_img_height" class="frm_input" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">추천상품출력</th>
|
||||
<td>
|
||||
<label for="de_type2_list_use">출력</label>
|
||||
<input type="checkbox" name="de_type2_list_use" value="1" id="de_type2_list_use" <?=$default['de_type2_list_use']?"checked":"";?>>
|
||||
<input type="checkbox" name="de_type2_list_use" value="1" id="de_type2_list_use" <?php echo $default['de_type2_list_use']?"checked":""; ?>>
|
||||
<label for="de_type2_list_skin">스킨</label>
|
||||
<select name="de_type2_list_skin" id="de_type2_list_skin">
|
||||
<?=get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type2_list_skin']);?>
|
||||
<?php echo get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type2_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type2_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type2_list_row" value="<?=$default['de_type2_list_row']?>" id="de_type2_list_row" class="frm_input" size="3">
|
||||
<input type="text" name="de_type2_list_row" value="<?php echo $default['de_type2_list_row']; ?>" id="de_type2_list_row" class="frm_input" size="3">
|
||||
<label for="de_type2_list_mod">1줄당 이미지 수</label>
|
||||
<input type="text" name="de_type2_list_mod" value="<?=$default['de_type2_list_mod']?>" id="de_type2_list_mod" class="frm_input" size="3">
|
||||
<input type="text" name="de_type2_list_mod" value="<?php echo $default['de_type2_list_mod']; ?>" id="de_type2_list_mod" class="frm_input" size="3">
|
||||
<label for="de_type2_img_width">이미지 폭</label>
|
||||
<input type="text" name="de_type2_img_width" value="<?=$default['de_type2_img_width']?>" id="de_type2_img_width" class="frm_input" size="3">
|
||||
<input type="text" name="de_type2_img_width" value="<?php echo $default['de_type2_img_width']; ?>" id="de_type2_img_width" class="frm_input" size="3">
|
||||
<label for="de_type2_img_height">이미지 높이</label>
|
||||
<input type="text" name="de_type2_img_height" value="<?=$default['de_type2_img_height']?>" id="de_type2_img_height" class="frm_input" size="3">
|
||||
<input type="text" name="de_type2_img_height" value="<?php echo $default['de_type2_img_height']; ?>" id="de_type2_img_height" class="frm_input" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">최신상품출력</th>
|
||||
<td>
|
||||
<label for="de_type3_list_use">출력</label>
|
||||
<input type="checkbox" name="de_type3_list_use" value="1" id="de_type3_list_use" <?=$default['de_type3_list_use']?"checked":"";?>>
|
||||
<input type="checkbox" name="de_type3_list_use" value="1" id="de_type3_list_use" <?php echo $default['de_type3_list_use']?"checked":""; ?>>
|
||||
<label for="de_type3_list_skin">스킨</label>
|
||||
<select name="de_type3_list_skin" id="de_type3_list_skin">
|
||||
<?=get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type3_list_skin']);?>
|
||||
<?php echo get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type3_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type3_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type3_list_row" value="<?=$default['de_type3_list_row']?>" id="de_type3_list_row" class="frm_input" size="3">
|
||||
<input type="text" name="de_type3_list_row" value="<?php echo $default['de_type3_list_row']; ?>" id="de_type3_list_row" class="frm_input" size="3">
|
||||
<label for="de_type3_list_mod">1줄당 이미지 수</label>
|
||||
<input type="text" name="de_type3_list_mod" value="<?=$default['de_type3_list_mod']?>" id="de_type3_list_mod" class="frm_input" size="3">
|
||||
<input type="text" name="de_type3_list_mod" value="<?php echo $default['de_type3_list_mod']; ?>" id="de_type3_list_mod" class="frm_input" size="3">
|
||||
<label for="de_type3_img_width">이미지 폭</label>
|
||||
<input type="text" name="de_type3_img_width" value="<?=$default['de_type3_img_width']?>" id="de_type3_img_width" class="frm_input" size="3">
|
||||
<input type="text" name="de_type3_img_width" value="<?php echo $default['de_type3_img_width']; ?>" id="de_type3_img_width" class="frm_input" size="3">
|
||||
<label for="de_type3_img_height">이미지 높이</label>
|
||||
<input type="text" name="de_type3_img_height" value="<?=$default['de_type3_img_height']?>" id="de_type3_img_height" class="frm_input" size="3">
|
||||
<input type="text" name="de_type3_img_height" value="<?php echo $default['de_type3_img_height']; ?>" id="de_type3_img_height" class="frm_input" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">인기상품출력</th>
|
||||
<td>
|
||||
<label for="de_type4_list_use">출력</label>
|
||||
<input type="checkbox" name="de_type4_list_use" value="1" id="de_type4_list_use" <?=$default['de_type4_list_use']?"checked":"";?>>
|
||||
<input type="checkbox" name="de_type4_list_use" value="1" id="de_type4_list_use" <?php echo $default['de_type4_list_use']?"checked":""; ?>>
|
||||
<label for="de_type4_list_skin">스킨</label>
|
||||
<select name="de_type4_list_skin" id="de_type4_list_skin">
|
||||
<?=get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type4_list_skin']);?>
|
||||
<?php echo get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type4_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type4_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type4_list_row" value="<?=$default['de_type4_list_row']?>" id="de_type4_list_row" class="frm_input" size="3">
|
||||
<input type="text" name="de_type4_list_row" value="<?php echo $default['de_type4_list_row']; ?>" id="de_type4_list_row" class="frm_input" size="3">
|
||||
<label for="de_type4_list_mod">1줄당 이미지 수</label>
|
||||
<input type="text" name="de_type4_list_mod" value="<?=$default['de_type4_list_mod']?>" id="de_type4_list_mod" class="frm_input" size="3">
|
||||
<input type="text" name="de_type4_list_mod" value="<?php echo $default['de_type4_list_mod']; ?>" id="de_type4_list_mod" class="frm_input" size="3">
|
||||
<label for="de_type4_img_width">이미지 폭</label>
|
||||
<input type="text" name="de_type4_img_width" value="<?=$default['de_type4_img_width']?>" id="de_type4_img_width" class="frm_input" size="3">
|
||||
<input type="text" name="de_type4_img_width" value="<?php echo $default['de_type4_img_width']; ?>" id="de_type4_img_width" class="frm_input" size="3">
|
||||
<label for="de_type4_img_height">이미지 높이</label>
|
||||
<input type="text" name="de_type4_img_height" value="<?=$default['de_type4_img_height']?>" id="de_type4_img_height" class="frm_input" size="3">
|
||||
<input type="text" name="de_type4_img_height" value="<?php echo $default['de_type4_img_height']; ?>" id="de_type4_img_height" class="frm_input" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">할인상품출력</th>
|
||||
<td>
|
||||
<label for="de_type5_list_use">출력</label>
|
||||
<input type="checkbox" name="de_type5_list_use" value="1" id="de_type5_list_use" <?=$default['de_type5_list_use']?"checked":"";?>>
|
||||
<input type="checkbox" name="de_type5_list_use" value="1" id="de_type5_list_use" <?php echo $default['de_type5_list_use']?"checked":""; ?>>
|
||||
<label for="de_type5_list_skin">스킨</label>
|
||||
<select id="de_type5_list_skin" name="de_type5_list_skin">
|
||||
<?=get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type5_list_skin']);?>
|
||||
<?php echo get_list_skin_options("^maintype(.*)\.php", G4_SHOP_PATH, $default['de_type5_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type5_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type5_list_row" value="<?=$default['de_type5_list_row']?>" id="de_type5_list_row" class="frm_input" size="3">
|
||||
<input type="text" name="de_type5_list_row" value="<?php echo $default['de_type5_list_row']; ?>" id="de_type5_list_row" class="frm_input" size="3">
|
||||
<label for="de_type5_list_mod">1줄당 이미지 수</label>
|
||||
<input type="text" name="de_type5_list_mod" value="<?=$default['de_type5_list_mod']?>" id="de_type5_list_mod" class="frm_input" size="3">
|
||||
<input type="text" name="de_type5_list_mod" value="<?php echo $default['de_type5_list_mod']; ?>" id="de_type5_list_mod" class="frm_input" size="3">
|
||||
<label for="de_type5_img_width">이미지 폭</label>
|
||||
<input type="text" name="de_type5_img_width" value="<?=$default['de_type5_img_width']?>" id="de_type5_img_width" class="frm_input" size="3">
|
||||
<input type="text" name="de_type5_img_width" value="<?php echo $default['de_type5_img_width']; ?>" id="de_type5_img_width" class="frm_input" size="3">
|
||||
<label for="de_type5_img_height">이미지 높이</label>
|
||||
<input type="text" name="de_type5_img_height" value="<?=$default['de_type5_img_height']?>" id="de_type5_img_height" class="frm_input" size="3">
|
||||
<input type="text" name="de_type5_img_height" value="<?php echo $default['de_type5_img_height']; ?>" id="de_type5_img_height" class="frm_input" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -265,7 +265,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id ="anc_scf_payment" class="cbox">
|
||||
<h2>결제정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -275,149 +275,149 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row"><label for="de_bank_use">무통장입금사용</label></th>
|
||||
<td>
|
||||
<?=help("주문시 무통장으로 입금을 가능하게 할것인지를 설정합니다.\n사용할 경우 은행계좌번호를 반드시 입력하여 주십시오.", 50)?>
|
||||
<?php echo help("주문시 무통장으로 입금을 가능하게 할것인지를 설정합니다.\n사용할 경우 은행계좌번호를 반드시 입력하여 주십시오.", 50); ?>
|
||||
<select id="de_bank_use" name="de_bank_use">
|
||||
<option value="0" <?=get_selected($default['de_bank_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($default['de_bank_use'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($default['de_bank_use'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($default['de_bank_use'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_bank_account">은행계좌번호</label></th>
|
||||
<td>
|
||||
<textarea name="de_bank_account" id="de_bank_account"><?=$default['de_bank_account']?></textarea>
|
||||
<textarea name="de_bank_account" id="de_bank_account"><?php echo $default['de_bank_account']; ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_iche_use">계좌이체 결제사용</label></th>
|
||||
<td colspan="3">
|
||||
<?=help("주문시 실시간 계좌이체를 가능하게 할것인지를 설정합니다.", 50)?>
|
||||
<?php echo help("주문시 실시간 계좌이체를 가능하게 할것인지를 설정합니다.", 50); ?>
|
||||
<select id="de_iche_use" name="de_iche_use">
|
||||
<option value="0" <?=get_selected($default['de_iche_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($default['de_iche_use'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($default['de_iche_use'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($default['de_iche_use'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_vbank_use">가상계좌 결제사용</label></th>
|
||||
<td>
|
||||
<?=help("주문자가 현금거래를 원할 경우, 해당 거래건에 대해 주문자에게 고유로 발행되는 일회용 계좌번호입니다.", 50)?>
|
||||
<?php echo help("주문자가 현금거래를 원할 경우, 해당 거래건에 대해 주문자에게 고유로 발행되는 일회용 계좌번호입니다.", 50); ?>
|
||||
<select name="de_vbank_use" id="de_vbank_use">
|
||||
<option value="0" <?=get_selected($default['de_vbank_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($default['de_vbank_use'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($default['de_vbank_use'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($default['de_vbank_use'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_hp_use">휴대폰결제사용</label></th>
|
||||
<td>
|
||||
<?=help("주문시 휴대폰 결제를 가능하게 할것인지를 설정합니다.", 50)?>
|
||||
<?php echo help("주문시 휴대폰 결제를 가능하게 할것인지를 설정합니다.", 50); ?>
|
||||
<select id="de_hp_use" name="de_hp_use">
|
||||
<option value="0" <?=get_selected($default['de_hp_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($default['de_hp_use'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($default['de_hp_use'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($default['de_hp_use'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_card_use">신용카드결제사용</label></th>
|
||||
<td>
|
||||
<?=help("주문시 신용카드 결제를 가능하게 할것인지를 설정합니다.", 50)?>
|
||||
<?php echo help("주문시 신용카드 결제를 가능하게 할것인지를 설정합니다.", 50); ?>
|
||||
<select id="de_card_use" name="de_card_use">
|
||||
<option value="0" <?=get_selected($default['de_card_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($default['de_card_use'], 1)?>>사용<option>
|
||||
<option value="0" <?php echo get_selected($default['de_card_use'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($default['de_card_use'], 1); ?>>사용<option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_card_max_amount">카드결제최소금액</label></th>
|
||||
<td>
|
||||
<?=help("신용카드는 경우 1000원 미만은 결제가 불가능합니다.\n카드결제최소금액을 1000원 이상으로 설정하십시오.")?>
|
||||
<input type="text" name="de_card_max_amount" value="<?=$default['de_card_max_amount']?>" id="de_card_max_amount" class="frm_input" size="10"> 원
|
||||
<?php echo help("신용카드는 경우 1000원 미만은 결제가 불가능합니다.\n카드결제최소금액을 1000원 이상으로 설정하십시오."); ?>
|
||||
<input type="text" name="de_card_max_amount" value="<?php echo $default['de_card_max_amount']; ?>" id="de_card_max_amount" class="frm_input" size="10"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_taxsave_use">현금영수증<br>발급사용</label></th>
|
||||
<td>
|
||||
<?=help("관리자는 설정에 관계없이 <a href=\"".G4_ADMIN_URL."/shop_admin/orderlist.php\">주문내역</a> > 수정에서 발급이 가능합니다.\n현금영수증 발급 취소는 PG사에서 지원하는 현금영수증 취소 기능을 사용하시기 바랍니다.", 50)?>
|
||||
<?php echo help("관리자는 설정에 관계없이 <a href=\"".G4_ADMIN_URL."/shop_admin/orderlist.php\">주문내역</a> > 수정에서 발급이 가능합니다.\n현금영수증 발급 취소는 PG사에서 지원하는 현금영수증 취소 기능을 사용하시기 바랍니다.", 50); ?>
|
||||
<select id="de_taxsave_use" name="de_taxsave_use">
|
||||
<option value="0" <?=get_selected($default['de_taxsave_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($default['de_taxsave_use'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($default['de_taxsave_use'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($default['de_taxsave_use'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_use_point">포인트 사용</label></th>
|
||||
<td>
|
||||
<?=help("<a href=\"".G4_ADMIN_URL."/config_form.php#frm_board\" target=\"_blank\">환경설정 > 기본환경설정</a>과 동일한 설정입니다.")?>
|
||||
<input type="checkbox" name="cf_use_point" value="1" id="cf_use_point"<?=$config['cf_use_point']?' checked':'';?>> 사용
|
||||
<?php echo help("<a href=\"".G4_ADMIN_URL."/config_form.php#frm_board\" target=\"_blank\">환경설정 > 기본환경설정</a>과 동일한 설정입니다."); ?>
|
||||
<input type="checkbox" name="cf_use_point" value="1" id="cf_use_point"<?php echo $config['cf_use_point']?' checked':''; ?>> 사용
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_point_settle">포인트결제 비율</label></th>
|
||||
<td>
|
||||
<?=help("회원의 포인트가 설정값 이상일 경우만 주문시 결제에 사용할 수 있습니다.\n포인트 사용을 하지 않는 경우에는 의미가 없습니다.")?>
|
||||
<input type="text" name="de_point_settle" value="<?=$default['de_point_settle']?>" id="de_point_settle" class="frm_input" size="10"> 점
|
||||
<?php echo help("회원의 포인트가 설정값 이상일 경우만 주문시 결제에 사용할 수 있습니다.\n포인트 사용을 하지 않는 경우에는 의미가 없습니다."); ?>
|
||||
<input type="text" name="de_point_settle" value="<?php echo $default['de_point_settle']; ?>" id="de_point_settle" class="frm_input" size="10"> 점
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_point_per">포인트결제 %</label></th>
|
||||
<td>
|
||||
<?=help("회원 보유 포인트가 결제액보다 많을 경우, 결제액에서 포인트로 결제 가능한 비율을 설정합니다.")?>
|
||||
<?php echo help("회원 보유 포인트가 결제액보다 많을 경우, 결제액에서 포인트로 결제 가능한 비율을 설정합니다."); ?>
|
||||
<select id="de_point_per" name="de_point_per">
|
||||
<? for ($i=100; $i>0; $i=$i-5) echo '<option value="'.$i.'" '.get_selected($default['de_point_per'], $i).'>'.$i.'</option>'.PHP_EOL; ?>
|
||||
<?php for ($i=100; $i>0; $i=$i-5) echo '<option value="'.$i.'" '.get_selected($default['de_point_per'], $i).'>'.$i.'</option>'.PHP_EOL; ?>
|
||||
</select>%
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_card_point">포인트부여</label></th>
|
||||
<td>
|
||||
<?=help("신용카드, 계좌이체 결제시 포인트를 부여할지를 설정합니다. (기본값은 '아니오')", 50)?>
|
||||
<?php echo help("신용카드, 계좌이체 결제시 포인트를 부여할지를 설정합니다. (기본값은 '아니오')", 50); ?>
|
||||
<select id="de_card_point" name="de_card_point">
|
||||
<option value="0" <?=get_selected($default['de_card_point'], 0)?>>아니오</option>
|
||||
<option value="1" <?=get_selected($default['de_card_point'], 1)?>>예</option>
|
||||
<option value="0" <?php echo get_selected($default['de_card_point'], 0); ?>>아니오</option>
|
||||
<option value="1" <?php echo get_selected($default['de_card_point'], 1); ?>>예</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_point_days">주문완료 포인트</label></th>
|
||||
<td>
|
||||
<?=help("주문자가 회원일 경우에만 주문완료 포인트를 지급합니다. 주문취소, 반품 등을 고려하여 적당한 기간을 입력하십시오. (기본값은 7)\n0 으로 설정하는 경우 주문완료와 동시에 포인트를 부여합니다.", -150)?>
|
||||
주문 완료 <input type="text" name="de_point_days" value="<?=$default['de_point_days']?>" id="de_point_days" class="frm_input" size="2"> 일 이후에 포인트를 부여
|
||||
<?php echo help("주문자가 회원일 경우에만 주문완료 포인트를 지급합니다. 주문취소, 반품 등을 고려하여 적당한 기간을 입력하십시오. (기본값은 7)\n0 으로 설정하는 경우 주문완료와 동시에 포인트를 부여합니다.", -150); ?>
|
||||
주문 완료 <input type="text" name="de_point_days" value="<?php echo $default['de_point_days']; ?>" id="de_point_days" class="frm_input" size="2"> 일 이후에 포인트를 부여
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_kcp_mid">KCP SITE CODE</label></th>
|
||||
<td>
|
||||
<?=help("KCP 에서 받은 SR 로 시작하는 영대문자, 숫자 혼용 총 5자리 SITE CODE 를 입력하세요.\n만약, 사이트코드가 SR로 시작하지 않는다면 KCP에 사이트코드 변경 요청을 하십시오. 예) SRZ89");?>
|
||||
<?php echo help("KCP 에서 받은 SR 로 시작하는 영대문자, 숫자 혼용 총 5자리 SITE CODE 를 입력하세요.\n만약, 사이트코드가 SR로 시작하지 않는다면 KCP에 사이트코드 변경 요청을 하십시오. 예) SRZ89"); ?>
|
||||
<input type="hidden" name="de_card_pg" value="kcp">
|
||||
<span class="sitecode">SR</span> <input type="text" name="de_kcp_mid" value="<?=$default['de_kcp_mid']?>" id="de_kcp_mid" class="frm_input" size="2" maxlength="3" style="font:bold 15px Verdana;"> 영대문자, 숫자 혼용 3자리
|
||||
<span class="sitecode">SR</span> <input type="text" name="de_kcp_mid" value="<?php echo $default['de_kcp_mid']; ?>" id="de_kcp_mid" class="frm_input" size="2" maxlength="3" style="font:bold 15px Verdana;"> 영대문자, 숫자 혼용 3자리
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_kcp_site_key">KCP SITE KEY</label></th>
|
||||
<td>
|
||||
<?=help("25자리 영대문자와 숫자 - 그리고 _ 로 이루어 집니다. SITE KEY 발급 KCP 전화: 1544-8660\n예) 1Q9YRV83gz6TukH8PjH0xFf__");?>
|
||||
<input type="text" name="de_kcp_site_key" value="<?=$default['de_kcp_site_key']?>" id="de_kcp_site_key" class="frm_input" size="32" maxlength="25">
|
||||
<?php echo help("25자리 영대문자와 숫자 - 그리고 _ 로 이루어 집니다. SITE KEY 발급 KCP 전화: 1544-8660\n예) 1Q9YRV83gz6TukH8PjH0xFf__"); ?>
|
||||
<input type="text" name="de_kcp_site_key" value="<?php echo $default['de_kcp_site_key']; ?>" id="de_kcp_site_key" class="frm_input" size="32" maxlength="25">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">에스크로 사용</th>
|
||||
<td>
|
||||
<?=help("에스크로 결제를 사용하시려면, 반드시 <strong>KCP 관리자 > 고객센터 > 서비스변경 및 추가 > 에스크로 신청 메뉴에서 에스크로를 사용 선택하고, 결제수단별로 적용 신청한 후 사용</strong>하셔야 합니다.\n에스크로 사용시 배송과의 연동은 되지 않으며 에스크로 결제만 지원됩니다.")?>
|
||||
<input type="radio" name="de_escrow_use" value="0" <?=$default['de_escrow_use']==0?"checked":"";?> id="de_escrow_use1">
|
||||
<?php echo help("에스크로 결제를 사용하시려면, 반드시 <strong>KCP 관리자 > 고객센터 > 서비스변경 및 추가 > 에스크로 신청 메뉴에서 에스크로를 사용 선택하고, 결제수단별로 적용 신청한 후 사용</strong>하셔야 합니다.\n에스크로 사용시 배송과의 연동은 되지 않으며 에스크로 결제만 지원됩니다."); ?>
|
||||
<input type="radio" name="de_escrow_use" value="0" <?php echo $default['de_escrow_use']==0?"checked":""; ?> id="de_escrow_use1">
|
||||
<label for="de_escrow_use1">일반결제 사용</label>
|
||||
<input type="radio" name="de_escrow_use" value="1"<?=$default['de_escrow_use']==1?"checked":"";?> id="de_escrow_use2">
|
||||
<input type="radio" name="de_escrow_use" value="1"<?php echo $default['de_escrow_use']==1?"checked":""; ?> id="de_escrow_use2">
|
||||
<label for="de_escrow_use2"> 에스크로결제 사용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">신용카드 결제테스트</th>
|
||||
<td>
|
||||
<?=help("신용카드를 테스트 하실 경우에 체크하세요. 결제단위 최소 1,000원")?>
|
||||
<?php echo help("신용카드를 테스트 하실 경우에 체크하세요. 결제단위 최소 1,000원"); ?>
|
||||
<label for="de_card_test1">실결제 </label>
|
||||
<input type="radio" name="de_card_test" value="0" <?=$default['de_card_test']==0?"checked":"";?> id="de_card_test1">
|
||||
<input type="radio" name="de_card_test" value="0" <?php echo $default['de_card_test']==0?"checked":""; ?> id="de_card_test1">
|
||||
<label for="de_card_test2">테스트결제</label>
|
||||
<input type="radio" name="de_card_test" value="1" <?=$default['de_card_test']==1?"checked":"";?> id="de_card_test2">
|
||||
<input type="radio" name="de_card_test" value="1" <?php echo $default['de_card_test']==1?"checked":""; ?> id="de_card_test2">
|
||||
<div id="scf_cardtest">
|
||||
<a href="https://admin8.kcp.co.kr/assist/login.LoginAction.do" target="_blank">실결제 관리자</a>
|
||||
<a href="http://testadmin8.kcp.co.kr/assist/login.LoginAction.do" target="_blank">테스트 관리자</a>
|
||||
@ -451,86 +451,86 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row">공통 URL</th>
|
||||
<td>
|
||||
<?=help("가상계좌 사용시 다음 주소를 <strong>KCP 관리자 > 상점정보관리 > 정보변경 > 공통URL 정보 > 공통URL 변경후</strong>에 넣으셔야 상점에 자동으로 입금 통보됩니다.")?>
|
||||
<?=G4_SHOP_URL?>/settle_kcp_common.php
|
||||
<?php echo help("가상계좌 사용시 다음 주소를 <strong>KCP 관리자 > 상점정보관리 > 정보변경 > 공통URL 정보 > 공통URL 변경후</strong>에 넣으셔야 상점에 자동으로 입금 통보됩니다."); ?>
|
||||
<?php echo G4_SHOP_URL; ?>/settle_kcp_common.php
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none;">
|
||||
<th scope="row"><label for="de_dacom_mid">LG텔레콤 상점아이디</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_dacom_mid" value="<?=$default['de_dacom_mid']?>" id="de_dacom_mid" size="40">
|
||||
<?=help("tsi_ 로 시작되는 상점아이디로만 테스트 결제가 가능합니다.");?>
|
||||
<input type="text" name="de_dacom_mid" value="<?php echo $default['de_dacom_mid']; ?>" id="de_dacom_mid" size="40">
|
||||
<?php echo help("tsi_ 로 시작되는 상점아이디로만 테스트 결제가 가능합니다."); ?>
|
||||
</td>
|
||||
<th scope="row"><label for="de_dacom_mertkey">LG텔레콤 mertkey</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_dacom_mertkey" value="<?=$default['de_dacom_mertkey']?>" id="de_dacom_mertkey" size="40">
|
||||
<input type="text" name="de_dacom_mertkey" value="<?php echo $default['de_dacom_mertkey']; ?>" id="de_dacom_mertkey" size="40">
|
||||
</td>
|
||||
<!-- <td>LG텔레콤 테스트 모드</td>
|
||||
<td>
|
||||
<input type="checkbox" name="de_dacom_test" value="1" <?=$default[de_dacom_test]?"checked":"";?>>
|
||||
<input type="checkbox" name="de_dacom_test" value="1" <?php echo $default['de_dacom_test']?"checked":""; ?>>
|
||||
테스트로 결제하실 경우에 체크하세요.
|
||||
</td> -->
|
||||
</tr>
|
||||
<tr style="display:none;">
|
||||
<th scope="row"><label for="de_inicis_mid">이니시스 아이디</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_inicis_mid" value="<?=$default['de_inicis_mid']?>" id="de_inicis_mid" size="40">
|
||||
<input type="text" name="de_inicis_mid" value="<?php echo $default['de_inicis_mid']; ?>" id="de_inicis_mid" size="40">
|
||||
</td>
|
||||
<th scope="row"><label for="de_inicis_passwd">이니시스 패스워드</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_inicis_passwd" value="<?=$default['de_inicis_passwd']?>" id="de_inicis_passwd">
|
||||
<input type="text" name="de_inicis_passwd" value="<?php echo $default['de_inicis_passwd']; ?>" id="de_inicis_passwd">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th scope="row"><label for="de_banktown_mid">뱅크타운 상점ID</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_banktown_mid" value="<?=$default['de_banktown_mid']?>" id="de_banktown_mid" size="40">
|
||||
<input type="text" name="de_banktown_mid" value="<?php echo $default['de_banktown_mid']; ?>" id="de_banktown_mid" size="40">
|
||||
</td>
|
||||
<th scope="row"><label for="de_banktown_auth_key">뱅크타운 라이센스 키<!-- AuthKey --></label></th>
|
||||
<td>
|
||||
<input type="text" name="de_banktown_auth_key" value="<?=$default['de_banktown_auth_key']?>" id="de_banktown_auth_key" size="40" maxlength="32">
|
||||
<input type="text" name="de_banktown_auth_key" value="<?php echo $default['de_banktown_auth_key']; ?>" id="de_banktown_auth_key" size="40" maxlength="32">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th scope="row"><label for="de_allthegate_mid">올더게이트 몰ID</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allthegate_mid" value="<?=$default['de_allthegate_mid']?>" id="de_allthegate_mid" size="40">
|
||||
<input type="text" name="de_allthegate_mid" value="<?php echo $default['de_allthegate_mid']; ?>" id="de_allthegate_mid" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th scope="row"><label for="de_allat_partner_id">올앳 파트너 ID</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allat_partner_id" value="<?=$default['de_allat_partner_id']?>" id="de_allat_partner_id" size="40">
|
||||
<input type="text" name="de_allat_partner_id" value="<?php echo $default['de_allat_partner_id']; ?>" id="de_allat_partner_id" size="40">
|
||||
</td>
|
||||
<th scope="row"><label for="de_allat_prefix">주문번호 Prefix</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allat_prefix" value="<?=$default['de_allat_prefix']?>" id="de_allat_prefix"> 3자리
|
||||
<input type="text" name="de_allat_prefix" value="<?php echo $default['de_allat_prefix']; ?>" id="de_allat_prefix"> 3자리
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th scope="row"><label for="de_allat_formkey">올앳 FormKey 값</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allat_formkey" value="<?=$default['de_allat_formkey']?>" id="de_allat_formkey" size="40">
|
||||
<input type="text" name="de_allat_formkey" value="<?php echo $default['de_allat_formkey']; ?>" id="de_allat_formkey" size="40">
|
||||
</td>
|
||||
<th scope="row"><label for="de_allat_crosskey">올앳 CrossKey 값</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allat_crosskey" value="<?=$default['de_allat_crosskey']?>" id="de_allat_crosskey" size="40">
|
||||
<input type="text" name="de_allat_crosskey" value="<?php echo $default['de_allat_crosskey']; ?>" id="de_allat_crosskey" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th scope="row"><label for="de_tgcorp_mxid">티지코프 ID</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_tgcorp_mxid" value="<?=$default['de_tgcorp_mxid']?>" id="de_tgcorp_mxid" size="40">
|
||||
<input type="text" name="de_tgcorp_mxid" value="<?php echo $default['de_tgcorp_mxid']; ?>" id="de_tgcorp_mxid" size="40">
|
||||
</td>
|
||||
<th scope="row"><label for="de_tgcorp_mxotp">티지코프 접근키</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_tgcorp_mxotp" value="<?=$default['de_tgcorp_mxotp']?>" id="de_tgcorp_mxotp" size="40">
|
||||
<input type="text" name="de_tgcorp_mxotp" value="<?php echo $default['de_tgcorp_mxotp']; ?>" id="de_tgcorp_mxotp" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th scope="row"><label for="de_kspay_id">KSPAY 상점아이디</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_kspay_id" value="<?=$default['de_kspay_id']?>" id="de_kspay_id" size="40">
|
||||
<input type="text" name="de_kspay_id" value="<?php echo $default['de_kspay_id']; ?>" id="de_kspay_id" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -539,7 +539,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_scf_delivery" class="cbox">
|
||||
<h2 >배송정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -549,50 +549,50 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row"><label for="de_send_cost_case">배송비유형</label></th>
|
||||
<td>
|
||||
<?=help("<strong>상한</strong>으로 설정한 경우, 주문총액이 배송비상한가 미만일 경우 배송비를 받습니다.\n<strong>없음</strong>으로 설정한 경우, 배송비상한가 및 배송비를 무시하며 착불의 경우도 없음으로 설정됩니다.", 50);?>
|
||||
<?php echo help("<strong>상한</strong>으로 설정한 경우, 주문총액이 배송비상한가 미만일 경우 배송비를 받습니다.\n<strong>없음</strong>으로 설정한 경우, 배송비상한가 및 배송비를 무시하며 착불의 경우도 없음으로 설정됩니다.", 50); ?>
|
||||
<select name="de_send_cost_case" id="de_send_cost_case">
|
||||
<option value="상한" <?=get_selected($default['de_send_cost_case'], "상한")?>>상한</option>
|
||||
<option value="없음" <?=get_selected($default['de_send_cost_case'], "없음")?>>없음</option>
|
||||
<option value="상한" <?php echo get_selected($default['de_send_cost_case'], "상한"); ?>>상한</option>
|
||||
<option value="없음" <?php echo get_selected($default['de_send_cost_case'], "없음"); ?>>없음</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_send_cost_limit">배송비상한가</label></th>
|
||||
<td>
|
||||
<?=help("배송비유형이 '상한'일 경우에만 해당되며 배송비상한가를 여러개 두고자 하는 경우는 <b>;</b> 로 구분합니다.\n\n예를 들어 20000원 미만일 경우 4000원, 30000원 미만일 경우 3000원 으로 사용할 경우에는 배송비상한가를 20000;30000 으로 입력하고 배송비를 4000;3000 으로 입력합니다.", 50);?>
|
||||
<input type="text" name="de_send_cost_limit" value="<?=$default['de_send_cost_limit']?>" size="40" class="frm_input" id="de_send_cost_limit"> 원
|
||||
<?php echo help("배송비유형이 '상한'일 경우에만 해당되며 배송비상한가를 여러개 두고자 하는 경우는 <b>;</b> 로 구분합니다.\n\n예를 들어 20000원 미만일 경우 4000원, 30000원 미만일 경우 3000원 으로 사용할 경우에는 배송비상한가를 20000;30000 으로 입력하고 배송비를 4000;3000 으로 입력합니다.", 50); ?>
|
||||
<input type="text" name="de_send_cost_limit" value="<?php echo $default['de_send_cost_limit']; ?>" size="40" class="frm_input" id="de_send_cost_limit"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_send_cost_list">배송비</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_send_cost_list" value="<?=$default['de_send_cost_list']?>" size="40" class="frm_input" id="de_send_cost_list"> 원
|
||||
<input type="text" name="de_send_cost_list" value="<?php echo $default['de_send_cost_list']; ?>" size="40" class="frm_input" id="de_send_cost_list"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_hope_date_use">희망배송일사용</label></th>
|
||||
<td>
|
||||
<?=help("'예'로 설정한 경우 주문서에서 희망배송일을 입력 받습니다.");?>
|
||||
<?php echo help("'예'로 설정한 경우 주문서에서 희망배송일을 입력 받습니다."); ?>
|
||||
<select name="de_hope_date_use" id="de_hope_date_use">
|
||||
<option value="0" <?=get_selected($default['de_hope_date_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($default['de_hope_date_use'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($default['de_hope_date_use'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($default['de_hope_date_use'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_hope_date_after">희망배송일지정</label></th>
|
||||
<td>
|
||||
<?=help("설정한 날로부터 일주일까지 선택박스 형식으로 출력합니다.");?>
|
||||
<input type="text" name="de_hope_date_after" value="<?=$default['de_hope_date_after']?>" id="de_hope_date_after" class="frm_input" size="5"> 일
|
||||
<?php echo help("설정한 날로부터 일주일까지 선택박스 형식으로 출력합니다."); ?>
|
||||
<input type="text" name="de_hope_date_after" value="<?php echo $default['de_hope_date_after']; ?>" id="de_hope_date_after" class="frm_input" size="5"> 일
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">배송정보</th>
|
||||
<td><?=editor_html('de_baesong_content', $default['de_baesong_content']);?></td>
|
||||
<td><?php echo editor_html('de_baesong_content', $default['de_baesong_content']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">교환/반품</th>
|
||||
<td><?=editor_html('de_change_content', $default['de_change_content']);?></td>
|
||||
<td><?php echo editor_html('de_change_content', $default['de_change_content']); ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -600,7 +600,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_scf_etc" class="cbox">
|
||||
<h2>기타정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -610,43 +610,43 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row">관련상품출력</th>
|
||||
<td>
|
||||
<?=help(G4_SHOP_DIR.'/item.php 에서 '.G4_SHOP_DIR.'/maintype10.inc.php 를 include 하여 출력합니다.');?>
|
||||
<?php echo help(G4_SHOP_DIR.'/item.php 에서 '.G4_SHOP_DIR.'/maintype10.inc.php 를 include 하여 출력합니다.'); ?>
|
||||
<label for="de_rel_list_mod">1줄당 이미지 수</label>
|
||||
<input type="text" name="de_rel_list_mod" value="<?=$default['de_rel_list_mod']?>" id="de_rel_list_mod" class="frm_input" size="3">
|
||||
<input type="text" name="de_rel_list_mod" value="<?php echo $default['de_rel_list_mod']; ?>" id="de_rel_list_mod" class="frm_input" size="3">
|
||||
<label for="de_rel_img_width">이미지폭</label>
|
||||
<input type="text" name="de_rel_img_width" value="<?=$default['de_rel_img_width']?>" id="de_rel_img_width" class="frm_input" size="3">
|
||||
<input type="text" name="de_rel_img_width" value="<?php echo $default['de_rel_img_width']; ?>" id="de_rel_img_width" class="frm_input" size="3">
|
||||
<label for="de_rel_img_height">이미지높이</label>
|
||||
<input type="text" name="de_rel_img_height" value="<?=$default['de_rel_img_height']?>" id="de_rel_img_height" class="frm_input" size="3">
|
||||
<input type="text" name="de_rel_img_height" value="<?php echo $default['de_rel_img_height']; ?>" id="de_rel_img_height" class="frm_input" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">이미지(소)</th>
|
||||
<td>
|
||||
<?=help("상품관리의 상품입력에서 이미지(대) 를 기준 자동생성해 줄때 이미지(소)의 폭과 높이를 설정한 값(단위:픽셀)로 생성합니다.");?>
|
||||
<?php echo help("상품관리의 상품입력에서 이미지(대) 를 기준 자동생성해 줄때 이미지(소)의 폭과 높이를 설정한 값(단위:픽셀)로 생성합니다."); ?>
|
||||
<label for="de_simg_width"><span class="sound_only">이미지(소) </span>폭</label>
|
||||
<input type="text" name="de_simg_width" value="<?=$default['de_simg_width']?>" id="de_simg_width" class="frm_input" size="5"> 픽셀
|
||||
<input type="text" name="de_simg_width" value="<?php echo $default['de_simg_width']; ?>" id="de_simg_width" class="frm_input" size="5"> 픽셀
|
||||
/
|
||||
<label for="de_simg_height"><span class="sound_only">이미지(소) </span>높이</label>
|
||||
<input type="text" name="de_simg_height" value="<?=$default['de_simg_height']?>" id="de_simg_height" class="frm_input" size="5"> 픽셀
|
||||
<input type="text" name="de_simg_height" value="<?php echo $default['de_simg_height']; ?>" id="de_simg_height" class="frm_input" size="5"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">이미지(중)</th>
|
||||
<td>
|
||||
<?=help("상품관리의 상품입력에서 이미지(대) 를 기준 자동생성해 줄때 이미지(중)의 폭과 높이를 설정한 값(단위:픽셀)로 생성합니다.");?>
|
||||
<?php echo help("상품관리의 상품입력에서 이미지(대) 를 기준 자동생성해 줄때 이미지(중)의 폭과 높이를 설정한 값(단위:픽셀)로 생성합니다."); ?>
|
||||
<label for="de_mimg_width"><span class="sound_only">이미지(중) </span>폭</label>
|
||||
<input type="text" name="de_mimg_width" value="<?=$default['de_mimg_width']?>" id="de_mimg_width" class="frm_input" size="5"> 픽셀
|
||||
<input type="text" name="de_mimg_width" value="<?php echo $default['de_mimg_width']; ?>" id="de_mimg_width" class="frm_input" size="5"> 픽셀
|
||||
/
|
||||
<label for="de_mimg_height"><span class="sound_only">이미지(중) </span>높이</label>
|
||||
<input type="text" name="de_mimg_height" value="<?=$default['de_mimg_height']?>" id="de_mimg_height" class="frm_input" size="5"> 픽셀
|
||||
<input type="text" name="de_mimg_height" value="<?php echo $default['de_mimg_height']; ?>" id="de_mimg_height" class="frm_input" size="5"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">로고이미지</th>
|
||||
<td>
|
||||
<?=help("쇼핑몰 로고를 직접 올릴 수 있습니다. 이미지 파일만 가능합니다.");?>
|
||||
<?php echo help("쇼핑몰 로고를 직접 올릴 수 있습니다. 이미지 파일만 가능합니다."); ?>
|
||||
<input type="file" name="logo_img" id="logo_img">
|
||||
<?
|
||||
<?php
|
||||
$logo_img = G4_DATA_PATH."/common/logo_img";
|
||||
if (file_exists($logo_img))
|
||||
{
|
||||
@ -656,21 +656,21 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="logo_img_del" value="1" id="logo_img_del">
|
||||
<span class="scf_img_logoimg"></span>
|
||||
<div id="logoimg" class="banner_or_img">
|
||||
<img src="<?=G4_DATA_URL?>/common/logo_img" alt="">
|
||||
<img src="<?php echo G4_DATA_URL; ?>/common/logo_img" alt="">
|
||||
<button type="button" class="sit_wimg_close">닫기</button>
|
||||
</div>
|
||||
<script>
|
||||
$('<button type="button" id="cf_logoimg_view" class="btn_frmline scf_img_view">로고이미지 확인</button>').appendTo('.scf_img_logoimg');
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">메인이미지</th>
|
||||
<td>
|
||||
<?=help("쇼핑몰 메인이미지를 직접 올릴 수 있습니다. 이미지 파일만 가능합니다.");?>
|
||||
<?php echo help("쇼핑몰 메인이미지를 직접 올릴 수 있습니다. 이미지 파일만 가능합니다."); ?>
|
||||
<input type="file" name="main_img">
|
||||
<?
|
||||
<?php
|
||||
$main_img = G4_DATA_PATH."/common/main_img";
|
||||
if (file_exists($main_img))
|
||||
{
|
||||
@ -680,87 +680,87 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="main_img_del" value="1" id="main_img_del">
|
||||
<span class="scf_img_mainimg"></span>
|
||||
<div id="mainimg" class="banner_or_img">
|
||||
<img src="<?=G4_DATA_URL?>/common/main_img" alt="">
|
||||
<img src="<?php echo G4_DATA_URL; ?>/common/main_img" alt="">
|
||||
<button type="button" class="sit_wimg_close">닫기</button>
|
||||
</div>
|
||||
<script>
|
||||
$('<button type="button" id="cf_mainimg_view" class="btn_frmline scf_img_view">메인이미지 확인</button>').appendTo('.scf_img_mainimg');
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_item_ps_use">사용후기</label></th>
|
||||
<td>
|
||||
<?=help("사용후기가 올라오면, 즉시 출력 혹은 관리자 승인 후 출력 여부를 설정합니다.", 50);?>
|
||||
<?php echo help("사용후기가 올라오면, 즉시 출력 혹은 관리자 승인 후 출력 여부를 설정합니다.", 50); ?>
|
||||
<select name="de_item_ps_use" id="de_item_ps_use">
|
||||
<option value="0" <?=get_selected($default['de_item_ps_use'], 0)?>>즉시 출력</option>
|
||||
<option value="1" <?=get_selected($default['de_item_ps_use'], 1)?>>관리자 승인 후 출력</option>
|
||||
<option value="0" <?php echo get_selected($default['de_item_ps_use'], 0); ?>>즉시 출력</option>
|
||||
<option value="1" <?php echo get_selected($default['de_item_ps_use'], 1); ?>>관리자 승인 후 출력</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?/*?>
|
||||
<?php/*?>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_scroll_banner_use">스크롤배너 사용</label></th>
|
||||
<td>
|
||||
<?=help("'예'로 설정한 경우 쇼핑몰 우측에 스크롤배너가 출력됩니다.", 50);?>
|
||||
<?php echo help("'예'로 설정한 경우 쇼핑몰 우측에 스크롤배너가 출력됩니다.", 50); ?>
|
||||
<select name="de_scroll_banner_use" id="de_scroll_banner_use">
|
||||
<option value="0" <?=get_selected($default['de_scroll_banner_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?=get_selected($default['de_scroll_banner_use'], 1)?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($default['de_scroll_banner_use'], 0); ?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($default['de_scroll_banner_use'], 1); ?>>사용</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?*/?>
|
||||
<?php*/?>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_level_sell">상품구입 권한</label></th>
|
||||
<td>
|
||||
<?=help("권한을 1로 설정하면 누구나 구입할 수 있습니다. 특정회원만 구입할 수 있도록 하려면 해당 권한으로 설정하십시오.");?>
|
||||
<?=get_member_level_select('de_level_sell', 1, 10, $default['de_level_sell']) ?>
|
||||
<?php echo help("권한을 1로 설정하면 누구나 구입할 수 있습니다. 특정회원만 구입할 수 있도록 하려면 해당 권한으로 설정하십시오."); ?>
|
||||
<?php echo get_member_level_select('de_level_sell', 1, 10, $default['de_level_sell']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_code_dup_use">코드 중복검사</label></th>
|
||||
<td>
|
||||
<?=help("분류, 상품 등을 추가할 때 자동으로 코드 중복검사를 하려면 체크하십시오.");?>
|
||||
<input type="checkbox" name="de_code_dup_use" value="1" id="de_code_dup_use"<?=$default['de_code_dup_use']?' checked':'';?>> 사용
|
||||
<?php echo help("분류, 상품 등을 추가할 때 자동으로 코드 중복검사를 하려면 체크하십시오."); ?>
|
||||
<input type="checkbox" name="de_code_dup_use" value="1" id="de_code_dup_use"<?php echo $default['de_code_dup_use']?' checked':''; ?>> 사용
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_different_msg">장바구니 메세지</label></th>
|
||||
<td>
|
||||
<?=help("장바구니에 담긴 상품의 가격 수정은 불가능합니다. 따라서 비회원가격과 회원가격이 다른 경우, 장바구니에 담기 전에 미리 메세지를 출력하여 로그인하도록 안내합니다.", -150);?>
|
||||
<input type="checkbox" name="de_different_msg" value="1" id="de_different_msg"<?=$default['de_different_msg']?'checked':'';?>>
|
||||
<?php echo help("장바구니에 담긴 상품의 가격 수정은 불가능합니다. 따라서 비회원가격과 회원가격이 다른 경우, 장바구니에 담기 전에 미리 메세지를 출력하여 로그인하도록 안내합니다.", -150); ?>
|
||||
<input type="checkbox" name="de_different_msg" value="1" id="de_different_msg"<?php echo $default['de_different_msg']?'checked':''; ?>>
|
||||
안내메세지 출력 사용
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">비회원에 대한<br/>개인정보수집 내용</th>
|
||||
<td><?=editor_html('de_guest_privacy', $default['de_guest_privacy']);?></td>
|
||||
<td><?php echo editor_html('de_guest_privacy', $default['de_guest_privacy']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">MYSQL USER</th>
|
||||
<td><?=G4_MYSQL_USER?></td>
|
||||
<td><?php echo G4_MYSQL_USER; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">MYSQL DB</th>
|
||||
<td><?=G4_MYSQL_DB?></td>
|
||||
<td><?php echo G4_MYSQL_DB; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">서버 IP</th>
|
||||
<td><?=($_SERVER['SERVER_ADDR']?$_SERVER['SERVER_ADDR']:$_SERVER['LOCAL_ADDR']);?></td>
|
||||
<td><?php echo ($_SERVER['SERVER_ADDR']?$_SERVER['SERVER_ADDR']:$_SERVER['LOCAL_ADDR']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_register">프로그램 등록번호</label></th>
|
||||
<td>
|
||||
<?=help("정품에 한해 발급해 드립니다. 등록번호가 없거나 틀리면, 주문서를 확인할 수 없습니다.\n등록번호는 서버 IP, MYSQL USER, DB 를 알려주셔야 발급이 가능합니다.", -180, -160);?>
|
||||
<input type="text" name="de_register" value="<?=$default['de_register']?>" id="de_register" class="frm_input required" required size="30">
|
||||
<?php echo help("정품에 한해 발급해 드립니다. 등록번호가 없거나 틀리면, 주문서를 확인할 수 없습니다.\n등록번호는 서버 IP, MYSQL USER, DB 를 알려주셔야 발급이 가능합니다.", -180, -160); ?>
|
||||
<input type="text" name="de_register" value="<?php echo $default['de_register']; ?>" id="de_register" class="frm_input required" required size="30">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<? if (file_exists($logo_img) || file_exists($main_img)) { ?>
|
||||
<?php if (file_exists($logo_img) || file_exists($main_img)) { ?>
|
||||
<script>
|
||||
$(".banner_or_img").addClass("scf_img");
|
||||
$(function() {
|
||||
@ -797,7 +797,7 @@ $(function() {
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<script>
|
||||
function byte_check(el_cont, el_byte)
|
||||
@ -856,7 +856,7 @@ function byte_check(el_cont, el_byte)
|
||||
|
||||
<section id="anc_scf_sms" class="cbox" >
|
||||
<h2>SMS설정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -867,39 +867,39 @@ function byte_check(el_cont, el_byte)
|
||||
<tr>
|
||||
<th scope="row"><label for="de_sms_use">SMS 사용</label></th>
|
||||
<td>
|
||||
<?=help("SMS 서비스 회사를 선택하십시오. 서비스 회사를 선택하지 않으면, SMS 발송 기능이 동작하지 않습니다.\n아이코드는 무료 문자메세지 발송 테스트 환경을 지원합니다.");?>
|
||||
<?php echo help("SMS 서비스 회사를 선택하십시오. 서비스 회사를 선택하지 않으면, SMS 발송 기능이 동작하지 않습니다.\n아이코드는 무료 문자메세지 발송 테스트 환경을 지원합니다."); ?>
|
||||
<select id="de_sms_use" name="de_sms_use">
|
||||
<option value="" <?=get_selected($default['de_sms_use'], '')?>>사용안함</option>
|
||||
<option value="icode" <?=get_selected($default['de_sms_use'], 'icode')?>>아이코드</option>
|
||||
<option value="" <?php echo get_selected($default['de_sms_use'], ''); ?>>사용안함</option>
|
||||
<option value="icode" <?php echo get_selected($default['de_sms_use'], 'icode'); ?>>아이코드</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_sms_hp">관리자 핸드폰번호</label></th>
|
||||
<td>
|
||||
<?=help("주문서작성시 쇼핑몰관리자가 문자메세지를 받아볼 번호를 숫자만으로 입력하세요. 예) 0101234567");?>
|
||||
<input type="text" name="de_sms_hp" value="<?=$default['de_sms_hp']?>" id="de_sms_hp" class="frm_input" size="20">
|
||||
<?php echo help("주문서작성시 쇼핑몰관리자가 문자메세지를 받아볼 번호를 숫자만으로 입력하세요. 예) 0101234567"); ?>
|
||||
<input type="text" name="de_sms_hp" value="<?php echo $default['de_sms_hp']; ?>" id="de_sms_hp" class="frm_input" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_icode_id">아이코드 회원아이디</label></th>
|
||||
<td>
|
||||
<?=help("아이코드에서 사용하시는 회원아이디를 입력합니다.");?>
|
||||
<input type="text" name="de_icode_id" value="<?=$default['de_icode_id']?>" id="de_icode_id" class="frm_input" size="20">
|
||||
<?php echo help("아이코드에서 사용하시는 회원아이디를 입력합니다."); ?>
|
||||
<input type="text" name="de_icode_id" value="<?php echo $default['de_icode_id']; ?>" id="de_icode_id" class="frm_input" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="de_icode_pw">아이코드 패스워드</label></th>
|
||||
<td>
|
||||
<?=help("아이코드에서 사용하시는 패스워드를 입력합니다.");?>
|
||||
<input type="password" name="de_icode_pw" value="<?=$default['de_icode_pw']?>" class="frm_input" id="de_icode_pw">
|
||||
<?php echo help("아이코드에서 사용하시는 패스워드를 입력합니다."); ?>
|
||||
<input type="password" name="de_icode_pw" value="<?php echo $default['de_icode_pw']; ?>" class="frm_input" id="de_icode_pw">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">요금제</th>
|
||||
<td>
|
||||
<input type="hidden" name="de_icode_server_ip" value="<?=$default['de_icode_server_ip']?>">
|
||||
<?
|
||||
<input type="hidden" name="de_icode_server_ip" value="<?php echo $default['de_icode_server_ip']; ?>">
|
||||
<?php
|
||||
if ($userinfo['payment'] == 'A') {
|
||||
echo '충전제';
|
||||
echo '<input type="hidden" name="de_icode_server_port" value="7295">';
|
||||
@ -916,25 +916,25 @@ function byte_check(el_cont, el_byte)
|
||||
<tr>
|
||||
<th scope="row">아이코드 SMS 신청<br>회원가입</th>
|
||||
<td>
|
||||
<?=help("아래 링크에서 회원가입 하시면 문자 건당 16원에 제공 받을 수 있습니다.");?>
|
||||
<?php echo help("아래 링크에서 회원가입 하시면 문자 건당 16원에 제공 받을 수 있습니다."); ?>
|
||||
<a href="http://icodekorea.com/res/join_company_fix_a.php?sellid=sir2" target="_blank" class="btn_frmline">아이코드 회원가입</a>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($userinfo['payment'] == 'A') { ?>
|
||||
<?php if ($userinfo['payment'] == 'A') { ?>
|
||||
<tr>
|
||||
<th scope="row">충전 잔액</th>
|
||||
<td colspan="3">
|
||||
<?=number_format($userinfo['coin'])?> 원.
|
||||
<a href="http://www.icodekorea.com/smsbiz/credit_card_amt.php?icode_id=<?=$default['de_icode_id']?>&icode_passwd=<?=$default['de_icode_pw']?>" target="_blank" class="btn_frmline" onclick="window.open(this.href,'icode_payment', 'scrollbars=1,resizable=1'); return false;">충전하기</a>
|
||||
<?php echo number_format($userinfo['coin']); ?> 원.
|
||||
<a href="http://www.icodekorea.com/smsbiz/credit_card_amt.php?icode_id=<?php echo $default['de_icode_id']; ?>&icode_passwd=<?php echo $default['de_icode_pw']; ?>" target="_blank" class="btn_frmline" onclick="window.open(this.href,'icode_payment', 'scrollbars=1,resizable=1'); return false;">충전하기</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">건수별 금액</th>
|
||||
<td colspan="3">
|
||||
<?=number_format($userinfo['gpay'])?> 원.
|
||||
<?php echo number_format($userinfo['gpay']); ?> 원.
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -951,27 +951,27 @@ function byte_check(el_cont, el_byte)
|
||||
<dd>{이름} {택배회사} {운송장번호} {주문번호} {회사명}</dd>
|
||||
</dl>
|
||||
|
||||
<p><?=help('주의! 80 bytes 까지만 전송됩니다. (영문 한글자 : 1byte , 한글 한글자 : 2bytes , 특수문자의 경우 1 또는 2 bytes 임)')?></p>
|
||||
<p><?php echo help('주의! 80 bytes 까지만 전송됩니다. (영문 한글자 : 1byte , 한글 한글자 : 2bytes , 특수문자의 경우 1 또는 2 bytes 임)'); ?></p>
|
||||
|
||||
<div id="scf_sms">
|
||||
<?
|
||||
<?php
|
||||
$scf_sms_title = array (1=>"회원가입시 고객님께 발송", "주문시 고객님께 발송", "주문시 관리자에게 발송", "입금확인시 고객님께 발송", "상품배송시 고객님께 발송");
|
||||
for ($i=1; $i<=5; $i++) {
|
||||
?>
|
||||
<section class="scf_sms_box">
|
||||
<h4><?=$scf_sms_title[$i]?></h4>
|
||||
<label for="de_sms_use<?=$i?>"><span class="sound_only"><?=$scf_sms_title?></span>사용</label>
|
||||
<input type="checkbox" name="de_sms_use<?=$i?>" value="1" id="de_sms_use<?=$i?>" <?=($default["de_sms_use".$i] ? " checked" : "")?>>
|
||||
<h4><?php echo $scf_sms_title[$i]?></h4>
|
||||
<label for="de_sms_use<?php echo $i; ?>"><span class="sound_only"><?php echo $scf_sms_title; ?></span>사용</label>
|
||||
<input type="checkbox" name="de_sms_use<?php echo $i; ?>" value="1" id="de_sms_use<?php echo $i; ?>" <?php echo ($default["de_sms_use".$i] ? " checked" : ""); ?>>
|
||||
<div class="scf_sms_img">
|
||||
<textarea id="de_sms_cont<?=$i?>" name="de_sms_cont<?=$i?>" ONKEYUP="byte_check('de_sms_cont<?=$i?>', 'byte<?=$i?>');"><?=$default['de_sms_cont'.$i]?></textarea>
|
||||
<textarea id="de_sms_cont<?php echo $i; ?>" name="de_sms_cont<?php echo $i; ?>" ONKEYUP="byte_check('de_sms_cont<?php echo $i; ?>', 'byte<?php echo $i; ?>');"><?php echo $default['de_sms_cont'.$i]; ?></textarea>
|
||||
</div>
|
||||
<span id="byte<?=$i?>" class="scf_sms_cnt">0 / 80 바이트</span>
|
||||
<span id="byte<?php echo $i; ?>" class="scf_sms_cnt">0 / 80 바이트</span>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
byte_check('de_sms_cont<?=$i?>', 'byte<?=$i?>');
|
||||
byte_check('de_sms_cont<?php echo $i; ?>', 'byte<?php echo $i; ?>');
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -986,9 +986,9 @@ function byte_check(el_cont, el_byte)
|
||||
<script>
|
||||
function fconfig_check(f)
|
||||
{
|
||||
<?=get_editor_js('de_baesong_content');?>
|
||||
<?=get_editor_js('de_change_content');?>
|
||||
<?=get_editor_js('de_guest_privacy');?>
|
||||
<?php echo get_editor_js('de_baesong_content'); ?>
|
||||
<?php echo get_editor_js('de_change_content'); ?>
|
||||
<?php echo get_editor_js('de_guest_privacy'); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -1009,6 +1009,6 @@ $(function() {
|
||||
});
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400100';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400700';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -33,7 +33,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<form name="frmcontentform" action="./contentformupdate.php" onsubmit="return frmcontentform_check(this);" method="post" enctype="MULTIPART/FORM-DATA" >
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="co_html" value="1">
|
||||
|
||||
<section class="cbox">
|
||||
@ -48,38 +48,38 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="co_id">ID</label></th>
|
||||
<td>
|
||||
<?=help('20자 이내의 영문자, 숫자, _ 만 가능합니다.')?>
|
||||
<input type="text" value="<? echo $co['co_id'] ?>" name="co_id" id ="co_id" required <?=$readonly ?> class="required <?=$readonly ?> frm_input" size="20" maxlength="20">
|
||||
<? if ($w == 'u') { ?><a href="<?=G4_SHOP_URL?>/content.php?co_id=<?=$co_id?>" class="btn_frmline">내용확인</a><? } ?>
|
||||
<?php echo help('20자 이내의 영문자, 숫자, _ 만 가능합니다.'); ?>
|
||||
<input type="text" value="<?php echo $co['co_id']; ?>" name="co_id" id ="co_id" required <?php echo $readonly; ?> class="required <?php echo $readonly; ?> frm_input" size="20" maxlength="20">
|
||||
<?php if ($w == 'u') { ?><a href="<?php echo G4_SHOP_URL; ?>/content.php?co_id=<?php echo $co_id; ?>" class="btn_frmline">내용확인</a><?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="co_subject">제목</label></th>
|
||||
<td><input type="text" name="co_subject" value="<?=htmlspecialchars2($co['co_subject'])?>" id="co_subject" required class="frm_input required" size="90"></td>
|
||||
<td><input type="text" name="co_subject" value="<?php echo htmlspecialchars2($co['co_subject']); ?>" id="co_subject" required class="frm_input required" size="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td><?=editor_html('co_content', $co['co_content']);?></td>
|
||||
<td><?php echo editor_html('co_content', $co['co_content']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="co_include_head">상단 파일 경로</label></th>
|
||||
<td>
|
||||
<?=help("설정값이 없으면 기본 상단 파일을 사용합니다.");?>
|
||||
<input type="text" name="co_include_head" value="<?=$co['co_include_head']?>" id="co_include_head" class="frm_input" size="60">
|
||||
<?php echo help("설정값이 없으면 기본 상단 파일을 사용합니다."); ?>
|
||||
<input type="text" name="co_include_head" value="<?php echo $co['co_include_head']; ?>" id="co_include_head" class="frm_input" size="60">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="co_include_tail">하단 파일 경로</label></th>
|
||||
<td>
|
||||
<?=help("설정값이 없으면 기본 하단 파일을 사용합니다.");?>
|
||||
<input type="text" name="co_include_tail" value="<?=$co['co_include_tail']?>" id="co_include_tail" class="frm_input" size="60">
|
||||
<?php echo help("설정값이 없으면 기본 하단 파일을 사용합니다."); ?>
|
||||
<input type="text" name="co_include_tail" value="<?php echo $co['co_include_tail']; ?>" id="co_include_tail" class="frm_input" size="60">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="co_himg">상단이미지</label></th>
|
||||
<td>
|
||||
<input type="file" name="co_himg" id="co_himg">
|
||||
<?
|
||||
<?php
|
||||
$himg = G4_DATA_PATH.'/content/'.$co['co_id'].'_h';
|
||||
if (file_exists($himg)) {
|
||||
$size = @getimagesize($himg);
|
||||
@ -103,7 +103,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<th scope="row"><label for="co_timg">하단이미지</label></th>
|
||||
<td>
|
||||
<input type="file" name="co_timg" id="co_timg">
|
||||
<?
|
||||
<?php
|
||||
$timg = G4_DATA_PATH.'/content/'.$co['co_id'].'_t';
|
||||
if (file_exists($timg)) {
|
||||
$size = @getimagesize($timg);
|
||||
@ -140,7 +140,7 @@ function frmcontentform_check(f)
|
||||
errmsg = "";
|
||||
errfld = "";
|
||||
|
||||
<?=get_editor_js('co_content');?>
|
||||
<?php echo get_editor_js('co_content'); ?>
|
||||
|
||||
check_field(f.co_id, "ID를 입력하세요.");
|
||||
check_field(f.co_subject, "제목을 입력하세요.");
|
||||
@ -155,6 +155,6 @@ function frmcontentform_check(f)
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400700';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400700';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -26,8 +26,8 @@ $result = sql_query($sql);
|
||||
<section class="cbox">
|
||||
<h2>내용관리</h2>
|
||||
<p>
|
||||
<? if ($page > 1) {?><a href="<?=$_SERVER['PHP_SELF']?>">처음으로</a><? } ?>
|
||||
<span>전체 내용 <?=$total_count?>건</span>
|
||||
<?php if ($page > 1) {?><a href="<?php echo $_SERVER['PHP_SELF']; ?>">처음으로</a><?php } ?>
|
||||
<span>전체 내용 <?php echo $total_count; ?>건</span>
|
||||
</p>
|
||||
<div id="btn_add">
|
||||
<a href="./contentform.php">내용 추가</a>
|
||||
@ -41,17 +41,17 @@ $result = sql_query($sql);
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? for ($i=0; $row=mysql_fetch_array($result); $i++) { ?>
|
||||
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) { ?>
|
||||
<tr>
|
||||
<td class="td_odrnum"><?=$row['co_id']?></td>
|
||||
<td><?=htmlspecialchars2($row['co_subject'])?></td>
|
||||
<td class="td_odrnum"><?php echo $row['co_id']; ?></td>
|
||||
<td><?php echo htmlspecialchars2($row['co_subject']); ?></td>
|
||||
<td class="td_mng">
|
||||
<a href="<?=G4_SHOP_URL?>/content.php?co_id=<?=$row['co_id']?>"><img src="./img/icon_view.jpg" alt="<?=htmlspecialchars2($row['co_subject'])?> 보기"></a>
|
||||
<a href="./contentform.php?w=u&co_id=<?=$row['co_id']?>"><img src="./img/icon_mod.jpg" alt="<?=htmlspecialchars2($row['co_subject'])?> 수정"></a>
|
||||
<a href="./contentformupdate.php?w=d&co_id=<?=$row['co_id']?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?=htmlspecialchars2($row['co_subject'])?> 삭제"></a>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/content.php?co_id=<?php echo $row['co_id']; ?>"><img src="./img/icon_view.jpg" alt="<?php echo htmlspecialchars2($row['co_subject']); ?> 보기"></a>
|
||||
<a href="./contentform.php?w=u&co_id=<?php echo $row['co_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo htmlspecialchars2($row['co_subject']); ?> 수정"></a>
|
||||
<a href="./contentformupdate.php?w=d&co_id=<?php echo $row['co_id']; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?php echo htmlspecialchars2($row['co_subject']); ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) {
|
||||
echo '<tr><td colspan="3" class="empty_table">자료가 한건도 없습니다.</td></tr>';
|
||||
@ -61,8 +61,8 @@ $result = sql_query($sql);
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400740';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -25,11 +25,11 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<form name="fdeliverycodeform" action="./deliverycodeformupdate.php" method="post">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="dl_id" value="<?=$dl_id?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="dl_id" value="<?php echo $dl_id; ?>">
|
||||
|
||||
<section class="cbox">
|
||||
<h2><?=$html_title?></h2>
|
||||
<h2><?php echo $html_title; ?></h2>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -39,26 +39,26 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="dl_company">배송업체명</label></th>
|
||||
<td>
|
||||
<input type="text" name="dl_company" value="<?=stripslashes($dl['dl_company']) ?>" id="dl_company" required class="frm_input">
|
||||
<input type="text" name="dl_company" value="<?php echo stripslashes($dl['dl_company']); ?>" id="dl_company" required class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="dl_url">화물추적 URL</label></th>
|
||||
<td>
|
||||
<input type="text" class="frm_input" name="dl_url" value="<?=stripslashes($dl['dl_url']) ?>" id="dl_url" size="100">
|
||||
<input type="text" class="frm_input" name="dl_url" value="<?php echo stripslashes($dl['dl_url']); ?>" id="dl_url" size="100">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="dl_tel">고객센터 전화</label></th>
|
||||
<td>
|
||||
<input type="text" class="frm_input" name="dl_tel" value="<?=stripslashes($dl['dl_tel']) ?>" id="dl_tel">
|
||||
<input type="text" class="frm_input" name="dl_tel" value="<?php echo stripslashes($dl['dl_tel']); ?>" id="dl_tel">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="dl_order">출력 순서</label></th>
|
||||
<td>
|
||||
<?=help("셀렉트박스에서 출력할 때 순서를 정합니다.\n\n숫자가 작을수록 상단에 출력합니다.");?>
|
||||
<?=order_select("dl_order", $dl['dl_order'])?>
|
||||
<?php echo help("셀렉트박스에서 출력할 때 순서를 정합니다.\n\n숫자가 작을수록 상단에 출력합니다."); ?>
|
||||
<?php echo order_select("dl_order", $dl['dl_order']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -72,6 +72,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
</form>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400740';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400740';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -21,7 +21,7 @@ $result = sql_query($sql);
|
||||
<section class="cbox">
|
||||
|
||||
<h2>배송업체 목록</h2>
|
||||
<p>등록된 배송업체 <?=$total_count ?>곳</p>
|
||||
<p>등록된 배송업체 <?php echo $total_count; ?>곳</p>
|
||||
|
||||
<div id="btn_add">
|
||||
<a href="./deliverycodeform.php">배송회사추가</a>
|
||||
@ -38,19 +38,19 @@ $result = sql_query($sql);
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? for ($i=0; $row=mysql_fetch_array($result); $i++) { ?>
|
||||
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) { ?>
|
||||
<tr>
|
||||
<td class="td_num"><?=$row['dl_id']?></td>
|
||||
<td><?=stripslashes($row['dl_company'])?></td>
|
||||
<td class="td_bignum"><?=$row['dl_tel']?></td>
|
||||
<td class="td_num"><?=$row['dl_order']?></td>
|
||||
<td class="td_num"><?php echo $row['dl_id']; ?></td>
|
||||
<td><?php echo stripslashes($row['dl_company']); ?></td>
|
||||
<td class="td_bignum"><?php echo $row['dl_tel']; ?></td>
|
||||
<td class="td_num"><?php echo $row['dl_order']; ?></td>
|
||||
<td class="td_mng">
|
||||
<a href="<?=$row['dl_url']?>" target="_blank"><img src="./img/icon_view.jpg" alt="<?=stripslashes($row['dl_company'])?> 홈페이지"></a>
|
||||
<a href="./deliverycodeform.php?w=u&dl_id=<?=$row['dl_id']?>"><img src="./img/icon_mod.jpg" alt="<?=stripslashes($row['dl_company'])?> 수정"></a>
|
||||
<a href="./deliverycodeformupdate.php?w=d&dl_id=<?=$row['dl_id']?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?=stripslashes($row['dl_company'])?> 삭제"></a>
|
||||
<a href="<?php echo $row['dl_url']; ?>" target="_blank"><img src="./img/icon_view.jpg" alt="<?php echo stripslashes($row['dl_company']); ?> 홈페이지"></a>
|
||||
<a href="./deliverycodeform.php?w=u&dl_id=<?php echo $row['dl_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo stripslashes($row['dl_company']); ?> 수정"></a>
|
||||
<a href="./deliverycodeformupdate.php?w=d&dl_id=<?php echo $row['dl_id']; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?php echo stripslashes($row['dl_company']); ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
@ -60,6 +60,6 @@ $result = sql_query($sql);
|
||||
|
||||
</section>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400500';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -76,27 +76,27 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist" autocomplete="off">
|
||||
<input type="hidden" name="doc" value="<?=$doc?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="doc" value="<?php echo $doc; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<fieldset>
|
||||
<legend>배송조건 검색</legend>
|
||||
<span>
|
||||
<?=$listall?>
|
||||
전체 주문내역 <?=$total_count ?>건
|
||||
<?php echo $listall; ?>
|
||||
전체 주문내역 <?php echo $total_count; ?>건
|
||||
</span>
|
||||
|
||||
<label for="chk_misu">미수금없음</label>
|
||||
<input type="checkbox" name="chk_misu" value="1" id="chk_misu" <?=$chk_misu?"checked='checked'":"";?> />
|
||||
<input type="checkbox" name="chk_misu" value="1" id="chk_misu" <?php echo $chk_misu?"checked='checked'":""; ?> />
|
||||
|
||||
<label for="sel_field" class="sound_only">검색대상</label>
|
||||
<select name="sel_field">
|
||||
<option value="od_id" <?=get_selected($sel_field, 'od_id')?>>주문번호</option>
|
||||
<option value="od_name" <?=get_selected($sel_field, 'od_name')?>>주문자</option>
|
||||
<option value="od_invoice" <?=get_selected($sel_field, 'od_invoice')?>>운송장번호</option>
|
||||
<option value="od_id" <?php echo get_selected($sel_field, 'od_id'); ?>>주문번호</option>
|
||||
<option value="od_name" <?php echo get_selected($sel_field, 'od_name'); ?>>주문자</option>
|
||||
<option value="od_invoice" <?php echo get_selected($sel_field, 'od_invoice'); ?>>운송장번호</option>
|
||||
</select>
|
||||
|
||||
<label for="search" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="search" value="<?=$search ?>" id="search" required class="frm_input required">
|
||||
<input type="text" name="search" value="<?php echo $search; ?>" id="search" required class="frm_input required">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -110,29 +110,29 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
</ul>
|
||||
|
||||
<form name="fdeliverylistupate" method="post" action="./deliverylistupdate.php" autocomplete="off">
|
||||
<input type="hidden" name="sel_ca_id" value="<?=$sel_ca_id ?>">
|
||||
<input type="hidden" name="sel_field" value="<?=$sel_field ?>">
|
||||
<input type="hidden" name="search" value="<?=$search ?>">
|
||||
<input type="hidden" name="page" value="<?=$page ?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1 ?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2 ?>">
|
||||
<input type="hidden" name="sel_ca_id" value="<?php echo $sel_ca_id; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
|
||||
<table id="sdeli_proc">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><a href="<?=title_sort("od_id",1) . "&$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("od_name") . "&$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("orderamount",1) . "&$qstr1"; ?>">주문액<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("receiptamount",1) . "&$qstr1"; ?>">입금액<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("misu",1) . "&$qstr1"; ?>">미수금<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("od_hope_date",1) . "&$qstr1"; ?>">희망배송일<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("od_invoice_time") . "&$qstr1"; ?>">배송일시<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("od_id",1) . "&$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("od_name") . "&$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("orderamount",1) . "&$qstr1"; ?>">주문액<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("receiptamount",1) . "&$qstr1"; ?>">입금액<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("misu",1) . "&$qstr1"; ?>">미수금<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("od_hope_date",1) . "&$qstr1"; ?>">희망배송일<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("od_invoice_time") . "&$qstr1"; ?>">배송일시<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col">배송업체</th>
|
||||
<th scope="col"><a href="<?=title_sort("od_invoice", 1) . "&$qstr1"; ?>">운송장번호<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("od_invoice", 1) . "&$qstr1"; ?>">운송장번호<span class="sound_only"> 순 정렬</span></a></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
$sql_common
|
||||
@ -159,30 +159,30 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="hidden" name="od_id[<?=$i?>]" value="<?=$row['od_id']?>">
|
||||
<input type="hidden" name="uq_id[<?=$i?>]" value="<?=$row['uq_id']?>">
|
||||
<a href="./orderform.php?od_id=<?=$row['od_id']?>"><?=$row['od_id']?></a>
|
||||
<input type="hidden" name="od_id[<?php echo $i; ?>]" value="<?php echo $row['od_id']; ?>">
|
||||
<input type="hidden" name="uq_id[<?php echo $i; ?>]" value="<?php echo $row['uq_id']; ?>">
|
||||
<a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>"><?php echo $row['od_id']; ?></a>
|
||||
</td>
|
||||
<td class="td_name"><?=$row['od_name']?></td>
|
||||
<td><?=display_amount($row['orderamount'])?></td>
|
||||
<td><?=display_amount($row['receiptamount'])?></td>
|
||||
<td><?=display_amount($row['misu'])?></td>
|
||||
<td><?=$hope_date?></td>
|
||||
<td><input type="text" name="od_invoice_time[<?=$i?>]" value="<?=$invoice_time?>" class="frm_input" size="20" maxlength="19"></td>
|
||||
<td class="td_name"><?php echo $row['od_name']; ?></td>
|
||||
<td><?php echo display_amount($row['orderamount']); ?></td>
|
||||
<td><?php echo display_amount($row['receiptamount']); ?></td>
|
||||
<td><?php echo display_amount($row['misu']); ?></td>
|
||||
<td><?php echo $hope_date; ?></td>
|
||||
<td><input type="text" name="od_invoice_time[<?php echo $i; ?>]" value="<?php echo $invoice_time; ?>" class="frm_input" size="20" maxlength="19"></td>
|
||||
<td>
|
||||
<label for="dl_id_<?=$i?>">배송업체</label>
|
||||
<select name="dl_id[<?=$i?>]" id="dl_id_<?=$i?>">
|
||||
<?=conv_selected_option($delivery_options, $row['dl_id'])?>
|
||||
<label for="dl_id_<?php echo $i; ?>">배송업체</label>
|
||||
<select name="dl_id[<?php echo $i; ?>]" id="dl_id_<?php echo $i; ?>">
|
||||
<?php echo conv_selected_option($delivery_options, $row['dl_id']); ?>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<!-- 값이 바뀌었는지 비교하기 위하여 저장 -->
|
||||
<input type="hidden" name="save_dl_id[<?=$i?>]" value="<?=$row['dl_id']?>">
|
||||
<input type="hidden" name="save_od_invoice[<?=$i?>]" value="<?=$row['od_invoice']?>">
|
||||
<input type="text" name="od_invoice[<?=$i?>]" value="<?=$row['od_invoice']?>" class="frm_input" size="10">
|
||||
<input type="hidden" name="save_dl_id[<?php echo $i; ?>]" value="<?php echo $row['dl_id']; ?>">
|
||||
<input type="hidden" name="save_od_invoice[<?php echo $i; ?>]" value="<?php echo $row['od_invoice']; ?>">
|
||||
<input type="text" name="od_invoice[<?php echo $i; ?>]" value="<?php echo $row['od_invoice']; ?>" class="frm_input" size="10">
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
if ($row['dl_id']) {
|
||||
//echo "<script> document.fdeliverylistupate.elements('dl_id[$i]').value = '$row[dl_id]'; </script>";
|
||||
// FF 3.0 에서 위의 코드는 에러를 발생함 (080626 수정)
|
||||
@ -210,8 +210,8 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400500';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400710';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -30,12 +30,12 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<form name="frmfaqform" action="./faqformupdate.php" onsubmit="return frmfaqform_check(this);" method="post">
|
||||
<input type="hidden" name="w" value="<? echo $w ?>">
|
||||
<input type="hidden" name="fm_id" value="<? echo $fm_id ?>">
|
||||
<input type="hidden" name="fa_id" value="<? echo $fa_id ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="fm_id" value="<?php echo $fm_id; ?>">
|
||||
<input type="hidden" name="fa_id" value="<?php echo $fa_id; ?>">
|
||||
|
||||
<section class="cbox">
|
||||
<h2><?=$html_title?></h2>
|
||||
<h2><?php echo $html_title; ?></h2>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -45,25 +45,25 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="fa_order">출력순서</label></th>
|
||||
<td>
|
||||
<?=help('숫자가 작을수록 FAQ 페이지에서 먼저 출력됩니다.')?>
|
||||
<input type="text" name="fa_order" value="<?=$fa['fa_order']?>" id="fa_order" class="frm_input" maxlength="10" size="10">
|
||||
<? if ($w == 'u') { ?><a href="<?=G4_SHOP_URL?>/faq.php?fm_id=<?=$fm_id?>" class="btn_frmline">내용보기</a><? } ?>
|
||||
<?php echo help('숫자가 작을수록 FAQ 페이지에서 먼저 출력됩니다.'); ?>
|
||||
<input type="text" name="fa_order" value="<?php echo $fa['fa_order']; ?>" id="fa_order" class="frm_input" maxlength="10" size="10">
|
||||
<?php if ($w == 'u') { ?><a href="<?php echo G4_SHOP_URL; ?>/faq.php?fm_id=<?php echo $fm_id; ?>" class="btn_frmline">내용보기</a><?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">질문</th>
|
||||
<td><?=editor_html('fa_subject', $fa['fa_subject']);?></td>
|
||||
<td><?php echo editor_html('fa_subject', $fa['fa_subject']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">답변</th>
|
||||
<td><?=editor_html('fa_content', $fa['fa_content']);?></td>
|
||||
<td><?php echo editor_html('fa_content', $fa['fa_content']); ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./faqlist.php?fm_id=<?=$fm_id?>">목록</a>
|
||||
<a href="./faqlist.php?fm_id=<?php echo $fm_id; ?>">목록</a>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
@ -85,8 +85,8 @@ function frmfaqform_check(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
<?=get_editor_js('fa_subject');?>
|
||||
<?=get_editor_js('fa_content');?>
|
||||
<?php echo get_editor_js('fa_subject'); ?>
|
||||
<?php echo get_editor_js('fa_content'); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -94,6 +94,6 @@ function frmfaqform_check(f)
|
||||
// document.getElementById('fa_order').focus(); 포커스 해제
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400710';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400710';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -23,9 +23,9 @@ $result = sql_query($sql);
|
||||
?>
|
||||
|
||||
<section class="cbox">
|
||||
<h2><?=$fm_subject?> 목록</h2>
|
||||
<h2><?php echo $fm_subject; ?> 목록</h2>
|
||||
|
||||
<p>등록된 FAQ 상세내용 <?=$total_count ?>건</p>
|
||||
<p>등록된 FAQ 상세내용 <?php echo $total_count; ?>건</p>
|
||||
|
||||
<ol>
|
||||
<li>FAQ는 무제한으로 등록할 수 있습니다</li>
|
||||
@ -33,7 +33,7 @@ $result = sql_query($sql);
|
||||
</ol>
|
||||
|
||||
<div id="btn_add">
|
||||
<a href="./faqform.php?fm_id=<?=$fm['fm_id']?>">FAQ 상세내용 추가</a>
|
||||
<a href="./faqform.php?fm_id=<?php echo $fm['fm_id']; ?>">FAQ 상세내용 추가</a>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
@ -46,7 +46,7 @@ $result = sql_query($sql);
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$row1 = sql_fetch(" select COUNT(*) as cnt from {$g4['shop_faq_table']} where fm_id = '{$row['fm_id']}' ");
|
||||
@ -59,16 +59,16 @@ $result = sql_query($sql);
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td class="td_num"><?=$num?></td>
|
||||
<td><?=stripslashes($row['fa_subject'])?></td>
|
||||
<td class="td_num"><?=$row['fa_order']?></td>
|
||||
<td class="td_num"><?php echo $num; ?></td>
|
||||
<td><?php echo stripslashes($row['fa_subject']); ?></td>
|
||||
<td class="td_num"><?php echo $row['fa_order']; ?></td>
|
||||
<td class="td_smallmng">
|
||||
<a href="./faqform.php?w=u&fm_id=<?=$row['fm_id']?>&fa_id=<?=$row['fa_id']?>"><img src="./img/icon_mod.jpg" alt="<?=stripslashes($row['fa_subject'])?> 수정"></a>
|
||||
<a href="javascript:del('./faqformupdate.php?w=d&fm_id=<?=$row['fm_id']?>&fa_id=<?=$row['fa_id']?>');"><img src="./img/icon_del.jpg" alt="<?=stripslashes($row['fa_subject'])?> 삭제"></a>
|
||||
<a href="./faqform.php?w=u&fm_id=<?php echo $row['fm_id']; ?>&fa_id=<?php echo $row['fa_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo stripslashes($row['fa_subject']); ?> 수정"></a>
|
||||
<a href="javascript:del('./faqformupdate.php?w=d&fm_id=<?php echo $row['fm_id']; ?>&fa_id=<?php echo $row['fa_id']; ?>');"><img src="./img/icon_del.jpg" alt="<?php echo stripslashes($row['fa_subject']); ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0) {
|
||||
@ -85,6 +85,6 @@ $result = sql_query($sql);
|
||||
</div>
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400710';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -26,8 +26,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<form name="frmfaqmasterform" action="./faqmasterformupdate.php" onsubmit="return frmfaqmasterform_check(this);" method="post" enctype="MULTIPART/FORM-DATA">
|
||||
<input type="hidden" name="w" value="<? echo $w ?>">
|
||||
<input type="hidden" name="fm_id" value="<? echo $fm_id ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="fm_id" value="<?php echo $fm_id; ?>">
|
||||
|
||||
<section class="cbox">
|
||||
<h2>FAQ입력</h2>
|
||||
@ -40,18 +40,18 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="fm_subject">제목</label></th>
|
||||
<td>
|
||||
<input type="text" value="<?=get_text($fm['fm_subject']) ?>" name="fm_subject" id="fm_subject" required class="frm_input required" size="70">
|
||||
<? if ($w == 'u') { ?>
|
||||
<a href="<?=G4_SHOP_URL?>/faq.php?fm_id=<?=$fm_id?>" class="btn_frmline">보기</a>
|
||||
<a href="./faqlist.php?fm_id=<?=$fm_id?>" class="btn_frmline">상세보기</a>
|
||||
<? } ?>
|
||||
<input type="text" value="<?php echo get_text($fm['fm_subject']); ?>" name="fm_subject" id="fm_subject" required class="frm_input required" size="70">
|
||||
<?php if ($w == 'u') { ?>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/faq.php?fm_id=<?php echo $fm_id; ?>" class="btn_frmline">보기</a>
|
||||
<a href="./faqlist.php?fm_id=<?php echo $fm_id; ?>" class="btn_frmline">상세보기</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fm_himg">상단이미지</label></th>
|
||||
<td>
|
||||
<input type="file" name="fm_himg" id="fm_himg">
|
||||
<?
|
||||
<?php
|
||||
$himg = G4_DATA_PATH.'/faq/'.$fm['fm_id'].'_h';
|
||||
if (file_exists($himg)) {
|
||||
$size = @getimagesize($himg);
|
||||
@ -75,7 +75,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<th scope="row"><label for="fm_timg">하단이미지</label></th>
|
||||
<td>
|
||||
<input type="file" name="fm_timg" id="fm_timg">
|
||||
<?
|
||||
<?php
|
||||
$timg = G4_DATA_PATH.'/faq/'.$fm['fm_id'].'_t';
|
||||
if (file_exists($timg)) {
|
||||
$size = @getimagesize($timg);
|
||||
@ -98,13 +98,13 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row">상단 내용</th>
|
||||
<td>
|
||||
<?=editor_html('fm_head_html', $fm['fm_head_html']);?>
|
||||
<?php echo editor_html('fm_head_html', $fm['fm_head_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단 내용</th>
|
||||
<td>
|
||||
<?=editor_html('fm_tail_html', $fm['fm_tail_html']);?>
|
||||
<?php echo editor_html('fm_tail_html', $fm['fm_tail_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -121,13 +121,13 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<script>
|
||||
function frmfaqmasterform_check(f)
|
||||
{
|
||||
<?=get_editor_js('fm_head_html');?>
|
||||
<?=get_editor_js('fm_tail_html');?>
|
||||
<?php echo get_editor_js('fm_head_html'); ?>
|
||||
<?php echo get_editor_js('fm_tail_html'); ?>
|
||||
}
|
||||
|
||||
// document.frmfaqmasterform.fm_subject.focus(); 김혜련 2013-04-02 포커스해제
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400710';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400710';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -27,8 +27,8 @@ $result = sql_query($sql);
|
||||
<h2>FAQ관리</h2>
|
||||
|
||||
<p>
|
||||
<? if ($page > 1) {?><a href="<?=$_SERVER['PHP_SELF']?>">처음으로</a><? } ?>
|
||||
<span>전체 FAQ <?=$total_count?>건</span>
|
||||
<?php if ($page > 1) {?><a href="<?php echo $_SERVER['PHP_SELF']; ?>">처음으로</a><?php } ?>
|
||||
<span>전체 FAQ <?php echo $total_count; ?>건</span>
|
||||
</p>
|
||||
|
||||
<ol>
|
||||
@ -52,23 +52,23 @@ $result = sql_query($sql);
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$sql1 = " select COUNT(*) as cnt from {$g4['shop_faq_table']} where fm_id = '{$row['fm_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
$cnt = $row1['cnt'];
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_num"><?=$row['fm_id']?></td>
|
||||
<td><?=stripslashes($row['fm_subject']) ?></td>
|
||||
<td class="td_num"><?=$cnt?></td>
|
||||
<td class="td_smallmng"><a href="./faqlist.php?fm_id=<?=$row['fm_id']?>&fm_subject=<?=$row['fm_subject']?>" class="btn_frmline">상세보기</a></td>
|
||||
<td class="td_num"><?php echo $row['fm_id']; ?></td>
|
||||
<td><?php echo stripslashes($row['fm_subject']); ?></td>
|
||||
<td class="td_num"><?php echo $cnt; ?></td>
|
||||
<td class="td_smallmng"><a href="./faqlist.php?fm_id=<?php echo $row['fm_id']; ?>&fm_subject=<?php echo $row['fm_subject']; ?>" class="btn_frmline">상세보기</a></td>
|
||||
<td class="td_mng">
|
||||
<a href="<?=G4_SHOP_URL?>/faq.php?fm_id=<?=$row['fm_id']?>"><img src="./img/icon_view.jpg" alt="<?=stripslashes($row['fm_subject']) ?> 보기"></a>
|
||||
<a href="./faqmasterform.php?w=u&fm_id=<?=$row['fm_id']?>"><img src="./img/icon_mod.jpg" alt="<?=stripslashes($row['fm_subject']) ?> 수정"></a>
|
||||
<a href="./faqmasterformupdate.php?w=d&fm_id=<?=$row['fm_id']?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?=stripslashes($row['fm_subject']) ?> 삭제"></a>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/faq.php?fm_id=<?php echo $row['fm_id']; ?>"><img src="./img/icon_view.jpg" alt="<?php echo stripslashes($row['fm_subject']); ?> 보기"></a>
|
||||
<a href="./faqmasterform.php?w=u&fm_id=<?php echo $row['fm_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo stripslashes($row['fm_subject']); ?> 수정"></a>
|
||||
<a href="./faqmasterformupdate.php?w=d&fm_id=<?php echo $row['fm_id']; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?php echo stripslashes($row['fm_subject']); ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0){
|
||||
@ -79,8 +79,8 @@ $result = sql_query($sql);
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400000';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -17,7 +17,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_sidx_rdy" class="cbox">
|
||||
<h2>입금완료 미배송내역</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@ -30,7 +30,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
// 미수금이 없고 운송장번호가 없는 자료를 구함
|
||||
$sql = " select a.od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
@ -63,13 +63,13 @@ $pg_anchor = '<ul class="anchor">
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_odrnum2"><?=$row['od_id']?></td>
|
||||
<td class="td_name"><?=$name?></td>
|
||||
<td class="td_bignum"><?=display_amount($row['receiptamount'])?></td>
|
||||
<td class="td_payby"><?=$settle_method?></td>
|
||||
<td class="td_smallmng"><a href="./orderform.php?od_id=<?=$row['od_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$row['od_id']?> 수정"></a></td>
|
||||
<td class="td_odrnum2"><?php echo $row['od_id']; ?></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td class="td_bignum"><?php echo display_amount($row['receiptamount']); ?></td>
|
||||
<td class="td_payby"><?php echo $settle_method; ?></td>
|
||||
<td class="td_smallmng"><a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo $row['od_id']; ?> 수정"></a></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
@ -83,7 +83,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_sidx_wait" class="cbox">
|
||||
<h2>미입금 주문내역</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@ -96,7 +96,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
// 미수금이 있고 송장번호가 없는 자료를 구함
|
||||
$sql = " select a.od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
@ -128,13 +128,13 @@ $pg_anchor = '<ul class="anchor">
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_odrnum2"><a href="./orderstatuslist.php?sort1=od_id&sel_field=od_id&search=<?=$row['od_id']?>"><?=$row['od_id']?></a></td>
|
||||
<td class="td_name"><?=$name?></td>
|
||||
<td class="td_bignum"><?=display_amount($row['orderamount'])?></td>
|
||||
<td class="td_payby"><?=$settle_method?></td>
|
||||
<td class="td_smallmng"><a href="./orderform.php?od_id=<?=$row['od_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$row['od_id']?> 수정"></a></td>
|
||||
<td class="td_odrnum2"><a href="./orderstatuslist.php?sort1=od_id&sel_field=od_id&search=<?php echo $row['od_id']; ?>"><?php echo $row['od_id']; ?></a></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td class="td_bignum"><?php echo display_amount($row['orderamount']); ?></td>
|
||||
<td class="td_payby"><?php echo $settle_method; ?></td>
|
||||
<td class="td_smallmng"><a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo $row['od_id']; ?> 수정"></a></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) echo '<tr><td colspan="5">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
@ -148,7 +148,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_sidx_ps" class="cbox">
|
||||
<h2>사용후기</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@ -159,7 +159,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select * from {$g4[shop_item_ps_table]}
|
||||
where is_confirm = 0
|
||||
order by is_id desc
|
||||
@ -173,11 +173,11 @@ $pg_anchor = '<ul class="anchor">
|
||||
$name = get_sideview($row['mb_id'], get_text($row['is_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_name"><?=$name?></td>
|
||||
<td><?=cut_str($row['is_subject'],40)?></td>
|
||||
<td class="td_smallmng"><a href="./itempsform.php?w=u&is_id=<?=$row['is_id']?>"><img src="./img/icon_mod.jpg" alt="<?=cut_str($row['is_subject'],40)?> 수정"></a></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td><?php echo cut_str($row['is_subject'],40); ?></td>
|
||||
<td class="td_smallmng"><a href="./itempsform.php?w=u&is_id=<?php echo $row['is_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php cut_str($row['is_subject'],40); ?> 수정"></a></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
?>
|
||||
@ -191,7 +191,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_sidx_qna" class="cbox">
|
||||
<h2>상품문의</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@ -202,7 +202,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select * from {$g4['shop_item_qa_table']}
|
||||
where iq_answer = ''
|
||||
order by iq_id desc
|
||||
@ -216,11 +216,11 @@ $pg_anchor = '<ul class="anchor">
|
||||
$name = get_sideview($row['mb_id'], get_text($row['iq_name']), $row1['mb_email'], $row1['mb_homepage']);
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_name"><?=$name?></td>
|
||||
<td><?=cut_str($row['iq_subject'],40)?></td>
|
||||
<td class="td_mng"><a href="./itemqaform.php?w=u&iq_id=<?=$row['iq_id']?>">수정</a></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td><?php echo cut_str($row['iq_subject'],40); ?></td>
|
||||
<td class="td_mng"><a href="./itemqaform.php?w=u&iq_id=<?php echo $row['iq_id']; ?>">수정</a></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
@ -234,6 +234,6 @@ $pg_anchor = '<ul class="anchor">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -15,13 +15,13 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="new_it_id">상품코드</label></th>
|
||||
<td><input type="text" value="<?=time()?>" id="new_it_id" class="frm_input"></td>
|
||||
<td><input type="text" value="<?php echo time(); ?>" id="new_it_id" class="frm_input"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="button" value="복사하기" class="btn_submit" onclick="_copy('item_copy_update.php?it_id=<?=$it_id?>&ca_id=<?=$ca_id?>');">
|
||||
<input type="button" value="복사하기" class="btn_submit" onclick="_copy('item_copy_update.php?it_id=<?php echo $it_id; ?>&ca_id=<?php echo $ca_id; ?>');">
|
||||
<button type="button" onclick="self.close();">창닫기</button>
|
||||
</div>
|
||||
|
||||
@ -37,6 +37,6 @@ function _copy(link)
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400630';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -18,7 +18,7 @@ $sql = "select * $sql_common order by ev_id desc ";
|
||||
$result = sql_query($sql);
|
||||
?>
|
||||
|
||||
<p>전체 이벤트 <?=$total_count ?>건</p>
|
||||
<p>전체 이벤트 <?php echo $total_count ?>건</p>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>이벤트 목록</h2>
|
||||
@ -38,7 +38,7 @@ $result = sql_query($sql);
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
|
||||
$href = "";
|
||||
@ -53,18 +53,18 @@ $result = sql_query($sql);
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td class="td_bignum"><?=$row['ev_id']?></td>
|
||||
<td><?=$subject?></td>
|
||||
<td class="td_num"><?=$href?><?=$ev['cnt']?><?=$href_close?></td>
|
||||
<td class="td_smallmng"><?=$row['ev_use'] ? '<span class="txt_true">예</span>' : '<span class="txt_false">아니오</span>'?></td>
|
||||
<td class="td_bignum"><?php echo $row['ev_id']; ?></td>
|
||||
<td><?php echo $subject; ?></td>
|
||||
<td class="td_num"><?php echo $href; ?><?php echo $ev['cnt']; ?><?php echo $href_close; ?></td>
|
||||
<td class="td_smallmng"><?php echo $row['ev_use'] ? '<span class="txt_true">예</span>' : '<span class="txt_false">아니오</span>'; ?></td>
|
||||
<td class="td_mng">
|
||||
<a href="<?=G4_SHOP_URL?>/event.php?ev_id=<?=$row['ev_id']?>"><img src="./img/icon_view.jpg" alt="<?=$row['ev_subject']?> 보기"></a>
|
||||
<a href="./itemeventform.php?w=u&ev_id=<?=$row['ev_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$row['ev_subject']?> 수정"></a>
|
||||
<a href="./itemeventformupdate.php?w=d&ev_id=<?=$row['ev_id']?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?=$row['ev_subject']?> 삭제"></a>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/event.php?ev_id=<?php echo $row['ev_id']; ?>"><img src="./img/icon_view.jpg" alt="<?php echo $row['ev_subject']; ?> 보기"></a>
|
||||
<a href="./itemeventform.php?w=u&ev_id=<?php echo $row['ev_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo $row['ev_subject']; ?> 수정"></a>
|
||||
<a href="./itemeventformupdate.php?w=d&ev_id=<?php echo $row['ev_id']; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?php echo $row['ev_subject']; ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0) {
|
||||
@ -84,6 +84,6 @@ function itemeventwin(ev_id)
|
||||
</SCRIPT>
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400630';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -41,75 +41,75 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<form name="feventform" action="./itemeventformupdate.php" onsubmit="return feventform_check(this);" method="post" enctype="MULTIPART/FORM-DATA">
|
||||
<input type="hidden" name="w" value="<?=$w ?>">
|
||||
<input type="hidden" name="ev_id" value="<?=$ev_id ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="ev_id" value="<?php echo $ev_id; ?>">
|
||||
|
||||
<section class="cbox">
|
||||
<h2><?=$html_title?></h2>
|
||||
<h2><?php echo $html_title; ?></h2>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<? if ($w == "u") { ?>
|
||||
<?php if ($w == "u") { ?>
|
||||
<tr>
|
||||
<th>이벤트번호</th>
|
||||
<td>
|
||||
<span class="frm_ev_id"><?=$ev_id?></span>
|
||||
<a href="<?=G4_SHOP_URL?>/event.php?ev_id=<?=$ev['ev_id']?>" class="btn_frmline">이벤트바로가기</a>
|
||||
<span class="frm_ev_id"><?php echo $ev_id; ?></span>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/event.php?ev_id=<?php echo $ev['ev_id']; ?>" class="btn_frmline">이벤트바로가기</a>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_skin">출력스킨</label></th>
|
||||
<td>
|
||||
<?=help('기본으로 제공하는 스킨은 '.G4_SHOP_DIR.'/list.skin.*.php 입니다.'.PHP_EOL.G4_SHOP_DIR.'/list.php&skin=userskin.php 처럼 직접 만든 스킨을 사용할 수도 있습니다.');?>
|
||||
<?php echo help('기본으로 제공하는 스킨은 '.G4_SHOP_DIR.'/list.skin.*.php 입니다.'.PHP_EOL.G4_SHOP_DIR.'/list.php&skin=userskin.php 처럼 직접 만든 스킨을 사용할 수도 있습니다.'); ?>
|
||||
<select name="ev_skin" id="ev_skin">
|
||||
<? echo get_list_skin_options("^list\.skin\.(.*)\.php", G4_SHOP_PATH, $ev['ev_skin']); ?>
|
||||
<?php echo get_list_skin_options("^list\.skin\.(.*)\.php", G4_SHOP_PATH, $ev['ev_skin']); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_img_width">출력이미지 폭</label></th>
|
||||
<td>
|
||||
<input type="text" name="ev_img_width" value="<?=$ev['ev_img_width'] ?>" id="ev_img_width" class="frm_input" size="5"> 픽셀
|
||||
<input type="text" name="ev_img_width" value="<?php echo $ev['ev_img_width']; ?>" id="ev_img_width" class="frm_input" size="5"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_img_height">출력이미지 높이</label></th>
|
||||
<td>
|
||||
<input type="text" name="ev_img_height" value="<?=$ev['ev_img_height'] ?>" id="ev_img_height" class="frm_input" size="5"> 픽셀
|
||||
<input type="text" name="ev_img_height" value="<?php echo $ev['ev_img_height']; ?>" id="ev_img_height" class="frm_input" size="5"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_list_mod">1줄당 이미지 수</label></th>
|
||||
<td>
|
||||
<?=help("1행에 설정한 값만큼의 상품을 출력합니다. 스킨 설정에 따라 1행에 하나의 상품만 출력할 수도 있습니다.", 50);?>
|
||||
<input type="text" name="ev_list_mod" value="<?=$ev['ev_list_mod'] ?>" id="ev_list_mod" class="frm_input" size="3"> 개
|
||||
<?php echo help("1행에 설정한 값만큼의 상품을 출력합니다. 스킨 설정에 따라 1행에 하나의 상품만 출력할 수도 있습니다.", 50); ?>
|
||||
<input type="text" name="ev_list_mod" value="<?php echo $ev['ev_list_mod']; ?>" id="ev_list_mod" class="frm_input" size="3"> 개
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_list_row">이미지 줄 수</label></th>
|
||||
<td>
|
||||
<?=help("한 페이지에 출력할 이미지 줄 수를 설정합니다.\n한 페이지에 표시되는 상품수는 (1줄당 이미지 수 x 줄 수) 입니다.");?>
|
||||
<input type="text" name="ev_list_row" value="<?=$ev['ev_list_row'] ?>" id="ev_list_row" class="frm_input" size="3"> 줄
|
||||
<?php echo help("한 페이지에 출력할 이미지 줄 수를 설정합니다.\n한 페이지에 표시되는 상품수는 (1줄당 이미지 수 x 줄 수) 입니다."); ?>
|
||||
<input type="text" name="ev_list_row" value="<?php echo $ev['ev_list_row']; ?>" id="ev_list_row" class="frm_input" size="3"> 줄
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_use">사용</label></th>
|
||||
<td>
|
||||
<?=help("사용하지 않으면 레이아웃의 이벤트 메뉴 및 이벤트 관련 페이지에 접근할 수 없습니다.");?>
|
||||
<?php echo help("사용하지 않으면 레이아웃의 이벤트 메뉴 및 이벤트 관련 페이지에 접근할 수 없습니다."); ?>
|
||||
<select name="ev_use" id="ev_use">
|
||||
<option value="1" <?=get_selected($ev['ev_use'], 1)?>>사용</option>
|
||||
<option value="0" <?=get_selected($ev['ev_use'], 0)?>>사용안함</option>
|
||||
<option value="1" <?php echo get_selected($ev['ev_use'], 1); ?>>사용</option>
|
||||
<option value="0" <?php echo get_selected($ev['ev_use'], 0); ?>>사용안함</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_subject">이벤트제목</label></th>
|
||||
<td>
|
||||
<input type="text" name="ev_subject" value="<? echo htmlspecialchars2($ev['ev_subject']) ?>" id="ev_subject" required class="required frm_input" size="60">
|
||||
<input type="text" name="ev_subject" value="<?php echo htmlspecialchars2($ev['ev_subject']); ?>" id="ev_subject" required class="required frm_input" size="60">
|
||||
<label for="ev_subject_strong">제목 강조</label>
|
||||
<input type="checkbox" name="ev_subject_strong" value="1" id="ev_subject_strong" <?php if($ev['ev_subject_strong']) echo 'checked="checked"'; ?>>
|
||||
</td>
|
||||
@ -117,9 +117,9 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_mimg">배너이미지</label></th>
|
||||
<td>
|
||||
<?=help("쇼핑몰 레이아웃에서 글자 대신 이미지로 출력할 경우 사용합니다.");?>
|
||||
<?php echo help("쇼핑몰 레이아웃에서 글자 대신 이미지로 출력할 경우 사용합니다."); ?>
|
||||
<input type="file" name="ev_mimg" id="ev_mimg">
|
||||
<?
|
||||
<?php
|
||||
$mimg_str = "";
|
||||
$mimg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_m';
|
||||
if (file_exists($mimg)) {
|
||||
@ -143,9 +143,9 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_himg">상단이미지</label></th>
|
||||
<td>
|
||||
<?=help("이벤트 페이지 상단에 업로드 한 이미지를 출력합니다.");?>
|
||||
<?php echo help("이벤트 페이지 상단에 업로드 한 이미지를 출력합니다."); ?>
|
||||
<input type="file" name="ev_himg" id="ev_himg">
|
||||
<?
|
||||
<?php
|
||||
$himg_str = "";
|
||||
$himg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_h';
|
||||
if (file_exists($himg)) {
|
||||
@ -169,9 +169,9 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_timg">하단이미지</label></th>
|
||||
<td>
|
||||
<?=help("이벤트 페이지 하단에 업로드 한 이미지를 출력합니다.");?>
|
||||
<?php echo help("이벤트 페이지 하단에 업로드 한 이미지를 출력합니다."); ?>
|
||||
<input type="file" name="ev_timg" id="ev_timg">
|
||||
<?
|
||||
<?php
|
||||
$timg_str = "";
|
||||
$timg = G4_DATA_PATH.'/event/'.$ev['ev_id'].'_t';
|
||||
if (file_exists($timg)) {
|
||||
@ -194,13 +194,13 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row">상단내용</th>
|
||||
<td>
|
||||
<?=editor_html('ev_head_html', $ev['ev_head_html']);?>
|
||||
<?php echo editor_html('ev_head_html', $ev['ev_head_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단내용</th>
|
||||
<td>
|
||||
<?=editor_html('ev_tail_html', $ev['ev_tail_html']);?>
|
||||
<?php echo editor_html('ev_tail_html', $ev['ev_tail_html']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -216,8 +216,8 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<script>
|
||||
function feventform_check(f)
|
||||
{
|
||||
<?=get_editor_js('ev_head_html');?>
|
||||
<?=get_editor_js('ev_tail_html');?>
|
||||
<?php echo get_editor_js('ev_head_html'); ?>
|
||||
<?php echo get_editor_js('ev_tail_html'); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -226,6 +226,6 @@ function feventform_check(f)
|
||||
</script>
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400640';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -72,11 +72,11 @@ if (isset($ev_set)) {
|
||||
<legend>이벤트 선택</legend>
|
||||
|
||||
<form name="flist" autocomplete="off">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
전체 이벤트 <?=$total_count ?>건
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
전체 이벤트 <?php echo $total_count; ?>건
|
||||
<label for="ev_set" class="sound_only">이벤트</label>
|
||||
<select name="ev_set" id="ev_set" action="<?=$_SERVER['PHP_SELF']?>">
|
||||
<?
|
||||
<select name="ev_set" id="ev_set" action="<?php echo $_SERVER['PHP_SELF']; ?>">
|
||||
<?php
|
||||
// 이벤트 옵션처리
|
||||
$event_option = "<option value=''>이벤트를 선택하세요</option>";
|
||||
$sql1 = " select ev_id, ev_subject from {$g4['shop_event_table']} order by ev_id desc ";
|
||||
@ -95,14 +95,14 @@ if (isset($ev_set)) {
|
||||
<legend>이벤트 검색</legend>
|
||||
|
||||
<form name="flist" autocomplete="off">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<?=$listall?>
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<?php echo $listall; ?>
|
||||
|
||||
<label for="sel_ca_id" class="sound_only">분류선택</label>
|
||||
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-15 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-15 ?>
|
||||
<select name="sel_ca_id" id="sel_ca_id">
|
||||
<option value=''>전체분류</option>
|
||||
<?
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=mysql_fetch_array($result1); $i++)
|
||||
@ -114,16 +114,16 @@ if (isset($ev_set)) {
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<? // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
|
||||
<label for="sel_field" class="sound_only">검색대상</label>
|
||||
<select name="sel_field" id="sel_field">
|
||||
<option value="it_name" <?=get_selected($sel_field, 'it_name')?>>상품명</option>
|
||||
<option value="a.it_id" <?=get_selected($sel_field, 'a.it_id')?>>상품코드</option>
|
||||
<option value="it_name" <?php echo get_selected($sel_field, 'it_name'); ?>>상품명</option>
|
||||
<option value="a.it_id" <?php echo get_selected($sel_field, 'a.it_id'); ?>>상품코드</option>
|
||||
</select>
|
||||
|
||||
<label for="search" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="search" value="<?=$search?>" id="search" required class="frm_input required">
|
||||
<input type="text" name="search" value="<?php echo $search; ?>" id="search" required class="frm_input required">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
|
||||
</form>
|
||||
@ -132,28 +132,28 @@ if (isset($ev_set)) {
|
||||
|
||||
<section class="cbox">
|
||||
<h2>상품 목록</h2>
|
||||
<p>상품을 이벤트별로 일괄 처리합니다. 현재 선택된 이벤트는 <?=$ev_title?>입니다.</p>
|
||||
<p>상품을 이벤트별로 일괄 처리합니다. 현재 선택된 이벤트는 <?php echo $ev_title; ?>입니다.</p>
|
||||
|
||||
<form name="fitemeventlistupdate" method="post" action="./itemeventlistupdate.php" onsubmit="return fitemeventlistupdatecheck(this)">
|
||||
<input type="hidden" name="ev_id" value="<?=$ev_id?>">
|
||||
<input type="hidden" name="ev_set" value="<?=$ev_set?>">
|
||||
<input type="hidden" name="sel_ca_id" value="<?=$sel_ca_id?>">
|
||||
<input type="hidden" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" name="search" value="<?=$search?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="ev_id" value="<?php echo $ev_id; ?>">
|
||||
<input type="hidden" name="ev_set" value="<?php echo $ev_set; ?>">
|
||||
<input type="hidden" name="sel_ca_id" value="<?php echo $sel_ca_id; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">이벤트사용</th>
|
||||
<th scope="col"><a href="<?=title_sort("a.it_id") . '&'.$qstr1.'&ev_id='.$ev_id; ?>">상품코드</a></th>
|
||||
<th scope="col"><a href="<?=title_sort("it_name") . '&&'.$qstr1.'&ev_id='.$ev_id; ?>">상품명</a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("a.it_id") . '&'.$qstr1.'&ev_id='.$ev_id; ?>">상품코드</a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("it_name") . '&&'.$qstr1.'&ev_id='.$ev_id; ?>">상품명</a></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
$sql = " select ev_id from {$g4['shop_event_item_table']}
|
||||
@ -165,14 +165,14 @@ if (isset($ev_set)) {
|
||||
|
||||
<tr>
|
||||
<td class="td_mng">
|
||||
<input type="hidden" name="it_id[<?=$i?>]" value="<?=$row['it_id']?>">
|
||||
<input type="checkbox" name="ev_chk[<?=$i?>]" value="1" <?=($row['ev_id'] ? "checked" : "")?>>
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<input type="checkbox" name="ev_chk[<?php echo $i; ?>]" value="1" <?php echo ($row['ev_id'] ? "checked" : ""); ?>>
|
||||
</td>
|
||||
<td class="td_bignum"><a href="<?=$href?>"><?=$row['it_id']?></a></td>
|
||||
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?> <?=cut_str(stripslashes($row['it_name']), 60, "…")?></a></td>
|
||||
<td class="td_bignum"><a href="<?php echo $href; ?>"><?php echo $row['it_id']; ?></a></td>
|
||||
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'].'_s', 50, 50); ?> <?php echo cut_str(stripslashes($row['it_name']), 60, "…"); ?></a></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
@ -182,13 +182,13 @@ if (isset($ev_set)) {
|
||||
</table>
|
||||
|
||||
<p class="btn_confirm_msg">
|
||||
<? if ($ev_title) { ?>
|
||||
현재 선택된 이벤트는 <strong><?=$ev_title?></strong>입니다.<br>
|
||||
<?php if ($ev_title) { ?>
|
||||
현재 선택된 이벤트는 <strong><?php echo $ev_title; ?></strong>입니다.<br>
|
||||
선택된 이벤트의 상품 수정 내용을 반영하시려면 일괄수정 버튼을 누르십시오.
|
||||
<? } else { ?>
|
||||
<?php } else { ?>
|
||||
이벤트를 선택하지 않으셨습니다. 수정 내용을 반영하기 전에 이벤트를 선택해주십시오.<br>
|
||||
<a href="#ev_set">이벤트 선택</a>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</p>
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="일괄수정" class="btn_submit" accesskey="s">
|
||||
@ -197,7 +197,7 @@ if (isset($ev_set)) {
|
||||
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<script>
|
||||
function fitemeventlistupdatecheck(f)
|
||||
@ -213,6 +213,6 @@ function fitemeventlistupdatecheck(f)
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400640';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400630';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -12,7 +12,7 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
|
||||
<div class="cbox">
|
||||
<h1><?=$g4['title']?></h1>
|
||||
<h1><?php echo $g4['title']; ?></h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -22,7 +22,7 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select b.it_id, b.it_name, b.it_use from {$g4['shop_event_item_table']} a
|
||||
left join {$g4['shop_item_table']} b on (a.it_id=b.it_id)
|
||||
where a.ev_id = '$ev_id'
|
||||
@ -34,15 +34,15 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<?=$href?>" target="_blank">
|
||||
<?=get_it_image($row['it_id'].'_s', 40, 40)?>
|
||||
<?=cut_str(stripslashes($row['it_name']), 60, "…")?>
|
||||
<a href="<?php echo $href; ?>" target="_blank">
|
||||
<?php echo get_it_image($row['it_id'].'_s', 40, 40); ?>
|
||||
<?php echo cut_str(stripslashes($row['it_name']), 60, "…"); ?>
|
||||
</a>
|
||||
</td>
|
||||
<td class="td_smallmng"><?=($row['it_use']?"사용":"미사용")?></td>
|
||||
<td class="td_smallmng"><a href="javascript:del('./itemeventwindel.php?ev_id=$ev_id&it_id=<?=$row['it_id']?>');"><img src="./img/icon_del.jpg" alt="<?=$ev['ev_subject']?> 이벤트에서 삭제 : <?=cut_str(stripslashes($row['it_name']), 60, "…")?>"></a></td>
|
||||
<td class="td_smallmng"><?php echo ($row['it_use']?"사용":"미사용"); ?></td>
|
||||
<td class="td_smallmng"><a href="javascript:del('./itemeventwindel.php?ev_id=$ev_id&it_id=<?php echo $row['it_id']; ?>');"><img src="./img/icon_del.jpg" alt="<?php echo $ev['ev_subject']; ?> 이벤트에서 삭제 : <?php echo cut_str(stripslashes($row['it_name']), 60, "…"); ?>"></a></td>
|
||||
<tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="3" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
@ -56,6 +56,6 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
<button type="button" onclick="javascript:window.close()">창 닫기</button>
|
||||
</div>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400630';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -135,24 +135,24 @@ $pg_anchor ='<ul class="anchor">
|
||||
|
||||
<form name="fitemform" action="./itemformupdate.php" method="post" enctype="MULTIPART/FORM-DATA" autocomplete="off" onsubmit="return fitemformcheck(this)">
|
||||
|
||||
<input type="hidden" name="codedup" value="<?=$default['de_code_dup_use']?>">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<!-- <input type="hidden" name="sel_ca_id" value="<?=$sel_ca_id?>">
|
||||
<input type="hidden" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" name="search" value="<?=$search?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>"> -->
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="codedup" value="<?php echo $default['de_code_dup_use']; ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<!-- <input type="hidden" name="sel_ca_id" value="<?php echo $sel_ca_id; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>"> -->
|
||||
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
|
||||
<input type="hidden" name="sst" value="<?php echo $sst; ?>">
|
||||
<input type="hidden" name="sod" value="<?php echo $sod; ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl; ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="it_explan_html" value="1"><!---->
|
||||
|
||||
<section id="anc_sitfrm_cate" class="cbox">
|
||||
<h2>상품분류</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<p>기본분류는 반드시 선택하셔야 합니다. 하나의 상품에 최대 3개의 다른 분류를 지정할 수 있습니다.</p>
|
||||
|
||||
<table class="frm_tbl">
|
||||
@ -161,14 +161,14 @@ $pg_anchor ='<ul class="anchor">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-19 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-19 ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_id">기본분류</label></th>
|
||||
<td>
|
||||
<? if ($w == "") echo help("기본분류를 선택하면, 판매/재고/HTML사용/판매자 E-mail 등을, 선택한 분류의 기본값으로 설정합니다."); ?>
|
||||
<?php if ($w == "") echo help("기본분류를 선택하면, 판매/재고/HTML사용/판매자 E-mail 등을, 선택한 분류의 기본값으로 설정합니다."); ?>
|
||||
<select name="ca_id" id="ca_id" onchange="categorychange(this.form)">
|
||||
<option value="">선택하세요</option>
|
||||
<?=conv_selected_option($category_select, $it['ca_id'])?>
|
||||
<?php echo conv_selected_option($category_select, $it['ca_id']); ?>
|
||||
</select>
|
||||
<script>
|
||||
var ca_use = new Array();
|
||||
@ -181,30 +181,30 @@ $pg_anchor ='<ul class="anchor">
|
||||
var ca_opt4_subject = new Array();
|
||||
var ca_opt5_subject = new Array();
|
||||
var ca_opt6_subject = new Array();
|
||||
<?="\n$script"?>
|
||||
<?php echo "\n$script"; ?>
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
<? for ($i=2; $i<=3; $i++) { ?>
|
||||
<?php for ($i=2; $i<=3; $i++) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_id<?=$i?>"><?=$i?>차 분류</label></th>
|
||||
<th scope="row"><label for="ca_id<?php echo $i; ?>"><?php echo $i; ?>차 분류</label></th>
|
||||
<td>
|
||||
<?=help($i.'차 분류는 기본 분류의 하위 분류 개념이 아니므로 기본 분류 선택시 해당 상품이 포함될 최하위 분류만 선택하시면 됩니다.')?>
|
||||
<select name="ca_id<?=$i?>" id="ca_id<?=$i?>">
|
||||
<?php echo help($i.'차 분류는 기본 분류의 하위 분류 개념이 아니므로 기본 분류 선택시 해당 상품이 포함될 최하위 분류만 선택하시면 됩니다.'); ?>
|
||||
<select name="ca_id<?php echo $i; ?>" id="ca_id<?php echo $i; ?>">
|
||||
<option value="">선택하세요</option>
|
||||
<?=conv_selected_option($category_select, $it['ca_id'.$i]);?>
|
||||
<?php echo conv_selected_option($category_select, $it['ca_id'.$i]); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<? // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
<?php } ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section id="anc_sitfrm_ini" class="cbox">
|
||||
<h2>기본정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -214,72 +214,72 @@ $pg_anchor ='<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row">상품코드</th>
|
||||
<td>
|
||||
<? if ($w == '') { // 추가 ?>
|
||||
<?php if ($w == '') { // 추가 ?>
|
||||
<!-- 최근에 입력한 코드(자동 생성시)가 목록의 상단에 출력되게 하려면 아래의 코드로 대체하십시오. -->
|
||||
<!-- <input type=text class=required name=it_id value="<?=10000000000-time()?>" size=12 maxlength=10 required> <a href='javascript:;' onclick="codedupcheck(document.all.it_id.value)"><img src='./img/btn_code.gif' border=0 align=absmiddle></a> -->
|
||||
<?=help("상품의 코드는 10자리 숫자로 자동생성합니다. <b>직접 상품코드를 입력할 수도 있습니다.</b>\n상품코드는 영문자와 숫자만 입력 가능합니다.");?>
|
||||
<input type="text" name="it_id" value="<?=time()?>" id="it_id" required class="frm_input required" size="12" maxlength="10">
|
||||
<? if ($default['de_code_dup_use']) { ?><a href='javascript:;' onclick="codedupcheck(document.all.it_id.value)"><img src="<?=G4_ADMIN_URL?>/img/btn_code.gif"></a><? } ?>
|
||||
<? } else { ?>
|
||||
<input type="hidden" name="it_id" value="<?=$it['it_id']?>">
|
||||
<span class="frm_ca_id"><?=$it['it_id']?></span>
|
||||
<a href="<?=G4_SHOP_URL?>/item.php?it_id=<?=$it_id?>" class="btn_frmline">상품확인</a>
|
||||
<a href="<?=G4_ADMIN_URL?>/shop_admin/itempslist.php?sel_field=a.it_id&search=<?=$it_id?>" class="btn_frmline">사용후기</a>
|
||||
<a href="<?=G4_ADMIN_URL?>/shop_admin/itemqalist.php?sel_field=a.it_id&search=<?=$it_id?>" class="btn_frmline">상품문의</a>
|
||||
<? } ?>
|
||||
<!-- <input type=text class=required name=it_id value="<?php echo 10000000000-time()?>" size=12 maxlength=10 required> <a href='javascript:;' onclick="codedupcheck(document.all.it_id.value)"><img src='./img/btn_code.gif' border=0 align=absmiddle></a> -->
|
||||
<?php echo help("상품의 코드는 10자리 숫자로 자동생성합니다. <b>직접 상품코드를 입력할 수도 있습니다.</b>\n상품코드는 영문자와 숫자만 입력 가능합니다."); ?>
|
||||
<input type="text" name="it_id" value="<?php echo time(); ?>" id="it_id" required class="frm_input required" size="12" maxlength="10">
|
||||
<?php if ($default['de_code_dup_use']) { ?><a href='javascript:;' onclick="codedupcheck(document.all.it_id.value)"><img src="<?php echo G4_ADMIN_URL; ?>/img/btn_code.gif"></a><?php } ?>
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="it_id" value="<?php echo $it['it_id']; ?>">
|
||||
<span class="frm_ca_id"><?php echo $it['it_id']; ?></span>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/item.php?it_id=<?php echo $it_id; ?>" class="btn_frmline">상품확인</a>
|
||||
<a href="<?php echo G4_ADMIN_URL; ?>/shop_admin/itempslist.php?sel_field=a.it_id&search=<?php echo $it_id; ?>" class="btn_frmline">사용후기</a>
|
||||
<a href="<?php echo G4_ADMIN_URL; ?>/shop_admin/itemqalist.php?sel_field=a.it_id&search=<?php echo $it_id; ?>" class="btn_frmline">상품문의</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_name">상품명</label></th>
|
||||
<td>
|
||||
<input type="text" name="it_name" value="<?=get_text(cut_str($it['it_name'], 250, ""))?>" id="it_name" required class="frm_input required" size="95">
|
||||
<input type="text" name="it_name" value="<?php echo get_text(cut_str($it['it_name'], 250, "")); ?>" id="it_name" required class="frm_input required" size="95">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_gallery">전시용 상품</label></th>
|
||||
<td>
|
||||
<?=help("이 항목을 체크하면 상품을 전시만 하고, 판매하지 않습니다.");?>
|
||||
<input type="checkbox" name="it_gallery" value="1" id="it_gallery" <?=($it['it_gallery'] ? "checked" : "")?>>
|
||||
<?php echo help("이 항목을 체크하면 상품을 전시만 하고, 판매하지 않습니다."); ?>
|
||||
<input type="checkbox" name="it_gallery" value="1" id="it_gallery" <?php echo ($it['it_gallery'] ? "checked" : ""); ?>>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_order">출력순서</label></th>
|
||||
<td>
|
||||
<?=help("숫자가 작을 수록 상위에 출력됩니다. 음수 입력도 가능하며 입력 가능 범위는 -2147483648 부터 2147483647 까지입니다.\n<b>입력하지 않으면 자동으로 출력됩니다.</b>");?>
|
||||
<input type="text" name="it_order" value="<? echo $it['it_order'] ?>" id="it_order" class="frm_input" size="12">
|
||||
<?php echo help("숫자가 작을 수록 상위에 출력됩니다. 음수 입력도 가능하며 입력 가능 범위는 -2147483648 부터 2147483647 까지입니다.\n<b>입력하지 않으면 자동으로 출력됩니다.</b>"); ?>
|
||||
<input type="text" name="it_order" value="<?php echo $it['it_order']; ?>" id="it_order" class="frm_input" size="12">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상품유형</th>
|
||||
<td>
|
||||
<?=help("메인화면에 유형별로 출력할때 사용합니다.\n이곳에 체크하게되면 상품리스트에서 유형별로 정렬할때 체크된 상품이 가장 먼저 출력됩니다.");?>
|
||||
<input type="checkbox" name="it_type1" value="1" <?=($it['it_type1'] ? "checked" : "");?> id="it_type1">
|
||||
<label for="it_type1"><img src="<?=G4_SHOP_URL?>/img/icon_type1.gif" alt="HIT상품"></label>
|
||||
<input type="checkbox" name="it_type2" value="1" <?=($it['it_type2'] ? "checked" : "");?> id="it_type2">
|
||||
<label for="it_type2"><img src="<?=G4_SHOP_URL?>/img/icon_type2.gif" alt="추천상품"></label>
|
||||
<input type="checkbox" name="it_type3" value="1" <?=($it['it_type3'] ? "checked" : "");?> id="it_type3">
|
||||
<label for="it_type3"><img src="<?=G4_SHOP_URL?>/img/icon_type3.gif" alt="NEW상품"></label>
|
||||
<input type="checkbox" name="it_type4" value="1" <?=($it['it_type4'] ? "checked" : "");?> id="it_type4">
|
||||
<label for="it_type4"><img src="<?=G4_SHOP_URL?>/img/icon_type4.gif" alt="인기상품"></label>
|
||||
<input type="checkbox" name="it_type5" value="1" <?=($it['it_type5'] ? "checked" : "");?> id="it_type5">
|
||||
<label for="it_type5"><img src="<?=G4_SHOP_URL?>/img/icon_type5.gif" alt="DC상품"></label>
|
||||
<?php echo help("메인화면에 유형별로 출력할때 사용합니다.\n이곳에 체크하게되면 상품리스트에서 유형별로 정렬할때 체크된 상품이 가장 먼저 출력됩니다."); ?>
|
||||
<input type="checkbox" name="it_type1" value="1" <?php echo ($it['it_type1'] ? "checked" : ""); ?> id="it_type1">
|
||||
<label for="it_type1"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type1.gif" alt="HIT상품"></label>
|
||||
<input type="checkbox" name="it_type2" value="1" <?php echo ($it['it_type2'] ? "checked" : ""); ?> id="it_type2">
|
||||
<label for="it_type2"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type2.gif" alt="추천상품"></label>
|
||||
<input type="checkbox" name="it_type3" value="1" <?php echo ($it['it_type3'] ? "checked" : ""); ?> id="it_type3">
|
||||
<label for="it_type3"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type3.gif" alt="NEW상품"></label>
|
||||
<input type="checkbox" name="it_type4" value="1" <?php echo ($it['it_type4'] ? "checked" : ""); ?> id="it_type4">
|
||||
<label for="it_type4"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type4.gif" alt="인기상품"></label>
|
||||
<input type="checkbox" name="it_type5" value="1" <?php echo ($it['it_type5'] ? "checked" : ""); ?> id="it_type5">
|
||||
<label for="it_type5"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type5.gif" alt="DC상품"></label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_maker">제조사</label></th>
|
||||
<td>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
<input type="text" name="it_maker" value="<?=get_text($it['it_maker'])?>" id="it_maker" class="frm_input" size="40">
|
||||
<?php echo help("입력하지 않으면 상품상세페이지에 출력하지 않습니다."); ?>
|
||||
<input type="text" name="it_maker" value="<?php echo get_text($it['it_maker']); ?>" id="it_maker" class="frm_input" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_origin">원산지</label></th>
|
||||
<td>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
<input type="text" name="it_origin" value="<?=get_text($it['it_origin'])?>" id="it_origin" class="frm_input" size="40">
|
||||
<?php echo help("입력하지 않으면 상품상세페이지에 출력하지 않습니다."); ?>
|
||||
<input type="text" name="it_origin" value="<?php echo get_text($it['it_origin']); ?>" id="it_origin" class="frm_input" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
for ($i=1; $i<=3; $i++) {
|
||||
$k1=$i*2-1;
|
||||
$k2=$i*2;
|
||||
@ -290,76 +290,76 @@ $pg_anchor ='<ul class="anchor">
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="it_opt<?=$k1?>_subject">상품옵션명 <?=$k1?></label><br>
|
||||
<input type="text" name="it_opt<?=$k1?>_subject" value="<?=get_text($val11)?>" id="it_opt<?=$k1?>_subject" class="frm_input" size="15">
|
||||
<label for="it_opt<?php echo $k1; ?>_subject">상품옵션명 <?php echo $k1; ?></label><br>
|
||||
<input type="text" name="it_opt<?php echo $k1; ?>_subject" value="<?php echo get_text($val11); ?>" id="it_opt<?php echo $k1; ?>_subject" class="frm_input" size="15">
|
||||
</th>
|
||||
<td>
|
||||
<label for="it_opt<?=$k1?>" class="sound_only">상품옵션설정 <?=$k1?></label>
|
||||
<textarea name="it_opt<?=$k1?>" id="it_opt<?=$k1?>" class="sit_w_opt"><?=$val12?></textarea>
|
||||
<label for="it_opt<?php echo $k1; ?>" class="sound_only">상품옵션설정 <?php echo $k1; ?></label>
|
||||
<textarea name="it_opt<?php echo $k1; ?>" id="it_opt<?php echo $k1; ?>" class="sit_w_opt"><?php echo $val12; ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="it_opt<?=$k2?>_subject">상품옵션명 <?=$k2?></label><br>
|
||||
<input type="text" name="it_opt<?=$k2?>_subject" value="<?=get_text($val21)?>" id="it_opt<?=$k2?>_subject" class="frm_input" size="15">
|
||||
<label for="it_opt<?php echo $k2; ?>_subject">상품옵션명 <?php echo $k2; ?></label><br>
|
||||
<input type="text" name="it_opt<?php echo $k2; ?>_subject" value="<?php echo get_text($val21); ?>" id="it_opt<?php echo $k2; ?>_subject" class="frm_input" size="15">
|
||||
</th>
|
||||
<td>
|
||||
<label for="it_opt<?=$k1?>" class="sound_only">상품옵션설정 <?=$k2?></label>
|
||||
<textarea name="it_opt<?=$k2?>" id="it_opt<?=$k2?>" class="sit_w_opt"><?=$val22?></textarea>
|
||||
<label for="it_opt<?php echo $k1; ?>" class="sound_only">상품옵션설정 <?php echo $k2; ?></label>
|
||||
<textarea name="it_opt<?php echo $k2; ?>" id="it_opt<?php echo $k2; ?>" class="sit_w_opt"><?php echo $val22; ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_amount">비회원가격</label></th>
|
||||
<td>
|
||||
<?=help("상품의 기본판매가격(로그인 이전 가격)이며 옵션별로 상품가격이 틀리다면 합산하여 상품상세페이지에 출력합니다.");?>
|
||||
<input type="text" name="it_amount" value="<?=$it['it_amount']?>" id="it_amount" class="frm_input" size="8"> 원
|
||||
<?php echo help("상품의 기본판매가격(로그인 이전 가격)이며 옵션별로 상품가격이 틀리다면 합산하여 상품상세페이지에 출력합니다."); ?>
|
||||
<input type="text" name="it_amount" value="<?php echo $it['it_amount']; ?>" id="it_amount" class="frm_input" size="8"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_amount2">회원가격</label></th>
|
||||
<td>
|
||||
<?=help("상품의 로그인 이후 가격(회원 권한 2 에만 적용)되며 옵션별로 상품가격이 틀리다면 합산하여 상품상세페이지에 출력합니다.\n<strong>입력이 없다면 비회원가격으로 대신합니다.</strong>");?>
|
||||
<input type="text" name="it_amount2" value="<?=$it['it_amount2']?>" id="it_amount2" class="frm_input" size="8"> 원
|
||||
<?php echo help("상품의 로그인 이후 가격(회원 권한 2 에만 적용)되며 옵션별로 상품가격이 틀리다면 합산하여 상품상세페이지에 출력합니다.\n<strong>입력이 없다면 비회원가격으로 대신합니다.</strong>"); ?>
|
||||
<input type="text" name="it_amount2" value="<?php echo $it['it_amount2']; ?>" id="it_amount2" class="frm_input" size="8"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_amount3">특별회원가격</label></th>
|
||||
<td>
|
||||
<?=help("상품의 로그인 이후 가격(회원 권한 3 이상에 적용)이며 옵션별로 상품가격이 틀리다면 합산하여 상품상세페이지에 출력합니다.\n<strong>입력이 없다면 회원가격으로 대신합니다. 회원가격도 없다면 비회원가격으로 대신합니다.</strong>");?>
|
||||
<input type="text" name="it_amount3" value="<?=$it['it_amount3']?>" id="it_amount3" class="frm_input" size="8"> 원
|
||||
<?php echo help("상품의 로그인 이후 가격(회원 권한 3 이상에 적용)이며 옵션별로 상품가격이 틀리다면 합산하여 상품상세페이지에 출력합니다.\n<strong>입력이 없다면 회원가격으로 대신합니다. 회원가격도 없다면 비회원가격으로 대신합니다.</strong>"); ?>
|
||||
<input type="text" name="it_amount3" value="<?php echo $it['it_amount3']; ?>" id="it_amount3" class="frm_input" size="8"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_cust_amount">시중가격</label></th>
|
||||
<td>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
<input type="text" name="it_cust_amount" value="<?=$it['it_cust_amount']?>" id="it_cust_amount" class="frm_input" size="8"> 원
|
||||
<?php echo help("입력하지 않으면 상품상세페이지에 출력하지 않습니다."); ?>
|
||||
<input type="text" name="it_cust_amount" value="<?php echo $it['it_cust_amount']; ?>" id="it_cust_amount" class="frm_input" size="8"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_point">포인트</label></th>
|
||||
<td>
|
||||
<?=help("주문완료후 환경설정에서 설정한 주문완료 설정일 후 회원에게 부여하는 포인트입니다.\n또, 포인트부여를 '아니오'로 설정한 경우 신용카드, 계좌이체로 주문하는 회원께는 부여하지 않습니다.\n포인트 기능을 사용해야 동작합니다.");?>
|
||||
<input type="text" name="it_point" value="<? echo $it['it_point'] ?>" id="it_point" class="frm_input" size="8"> 점
|
||||
<?php echo help("주문완료후 환경설정에서 설정한 주문완료 설정일 후 회원에게 부여하는 포인트입니다.\n또, 포인트부여를 '아니오'로 설정한 경우 신용카드, 계좌이체로 주문하는 회원께는 부여하지 않습니다.\n포인트 기능을 사용해야 동작합니다."); ?>
|
||||
<input type="text" name="it_point" value="<?php echo $it['it_point']; ?>" id="it_point" class="frm_input" size="8"> 점
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_stock_qty">재고수량</label></th>
|
||||
<td>
|
||||
<?=help("<b>주문관리에서 상품별 상태 변경에 따라 자동으로 재고를 가감합니다.</b> 재고는 규격/색상별이 아닌, 상품별로만 관리됩니다.");?>
|
||||
<input type="text" name="it_stock_qty" value="<? echo $it['it_stock_qty'] ?>" id="it_stock_qty" class="frm_input" size="8"> 개</span>
|
||||
<?php echo help("<b>주문관리에서 상품별 상태 변경에 따라 자동으로 재고를 가감합니다.</b> 재고는 규격/색상별이 아닌, 상품별로만 관리됩니다."); ?>
|
||||
<input type="text" name="it_stock_qty" value="<?php echo $it['it_stock_qty']; ?>" id="it_stock_qty" class="frm_input" size="8"> 개</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_basic">기본설명</label></th>
|
||||
<td>
|
||||
<?=help("상품상세페이지의 상품설명 상단에 표시되는 설명입니다. HTML 입력도 가능합니다.");?>
|
||||
<input type="text" name="it_basic" value="<?=get_text($it['it_basic'])?>" id="it_basic" class="frm_input" size="90">
|
||||
<?php echo help("상품상세페이지의 상품설명 상단에 표시되는 설명입니다. HTML 입력도 가능합니다."); ?>
|
||||
<input type="text" name="it_basic" value="<?php echo get_text($it['it_basic']); ?>" id="it_basic" class="frm_input" size="90">
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($it['it_id']) { ?>
|
||||
<?
|
||||
<?php if ($it['it_id']) { ?>
|
||||
<?php
|
||||
$sql = " select distinct ii_gubun from {$g4['shop_item_info_table']} where it_id = '$it_id' group by ii_gubun ";
|
||||
$ii = sql_fetch($sql, false);
|
||||
if ($ii) {
|
||||
@ -373,35 +373,35 @@ $pg_anchor ='<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row">요약상품정보</th>
|
||||
<td>
|
||||
<?=help("<strong>전자상거래 등에서의 상품 등의 정보제공에 관한 고시</strong>에 따라 총 35개 상품군에 대해 상품 특성 등을 양식에 따라 입력할 수 있습니다.");?>
|
||||
<button type="button" class="btn_frmline" onclick="window.open('./iteminfo.php?it_id=<?=$it['it_id']?>', '_blank', 'width=670 height=800 scrollbars=yes');">상품요약정보 설정</button>
|
||||
<span id="item_info_gubun"><?=$item_info_gubun?></span>
|
||||
<?php echo help("<strong>전자상거래 등에서의 상품 등의 정보제공에 관한 고시</strong>에 따라 총 35개 상품군에 대해 상품 특성 등을 양식에 따라 입력할 수 있습니다."); ?>
|
||||
<button type="button" class="btn_frmline" onclick="window.open('./iteminfo.php?it_id=<?php echo $it['it_id']; ?>', '_blank', 'width=670 height=800 scrollbars=yes');">상품요약정보 설정</button>
|
||||
<span id="item_info_gubun"><?php echo $item_info_gubun; ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<?}//if?>
|
||||
<?php } //if?>
|
||||
<tr>
|
||||
<th scope="row">상품설명</th>
|
||||
<td> <?=editor_html('it_explan', $it['it_explan']);?></td>
|
||||
<td> <?php echo editor_html('it_explan', $it['it_explan']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_sell_email">판매자 e-mail</label></th>
|
||||
<td>
|
||||
<?=help("운영자와 실제 판매자가 다른 경우 실제 판매자의 e-mail을 입력하면, 상품 주문 시점을 기준으로 실제 판매자에게도 주문서를 발송합니다.");?>
|
||||
<input type="text" name="it_sell_email" value="<? echo $it['it_sell_email'] ?>" id="it_sell_email" class="frm_input" size="40">
|
||||
<?php echo help("운영자와 실제 판매자가 다른 경우 실제 판매자의 e-mail을 입력하면, 상품 주문 시점을 기준으로 실제 판매자에게도 주문서를 발송합니다."); ?>
|
||||
<input type="text" name="it_sell_email" value="<?php echo $it['it_sell_email']; ?>" id="it_sell_email" class="frm_input" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_tel_inq">전화문의</label></th>
|
||||
<td>
|
||||
<?=help("상품 금액 대신 전화문의로 표시됩니다.");?>
|
||||
<input type="checkbox" name="it_tel_inq" value="1" id="it_tel_inq" <? echo ($it['it_tel_inq']) ? "checked" : ""; ?>> 예
|
||||
<?php echo help("상품 금액 대신 전화문의로 표시됩니다."); ?>
|
||||
<input type="checkbox" name="it_tel_inq" value="1" id="it_tel_inq" <?php echo ($it['it_tel_inq']) ? "checked" : ""; ?>> 예
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_use">판매가능</label></th>
|
||||
<td>
|
||||
<?=help("잠시 판매를 중단하거나 재고가 없을 경우에 체크를 해제해 놓으면 출력되지 않으며, 주문도 받지 않습니다.");?>
|
||||
<input type="checkbox" name="it_use" value="1" id="it_use" <? echo ($it['it_use']) ? "checked" : ""; ?>> 예
|
||||
<?php echo help("잠시 판매를 중단하거나 재고가 없을 경우에 체크를 해제해 놓으면 출력되지 않으며, 주문도 받지 않습니다."); ?>
|
||||
<input type="checkbox" name="it_use" value="1" id="it_use" <?php echo ($it['it_use']) ? "checked" : ""; ?>> 예
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -410,7 +410,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
|
||||
<section id="anc_sitfrm_img" class="cbox">
|
||||
<h2>이미지</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<p>이미지 자동생성 기능을 이용하시면, 이미지(대) 1장만 업로드 해서 자동으로 이미지(중), 이미지(소) 를 생성할 수 있습니다.</p>
|
||||
|
||||
<table class="frm_tbl">
|
||||
@ -419,20 +419,20 @@ $pg_anchor ='<ul class="anchor">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<? if (function_exists("imagecreatefromjpeg")) { ?>
|
||||
<?php if (function_exists("imagecreatefromjpeg")) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="createimage">이미지 자동생성</label></th>
|
||||
<td>
|
||||
<?=help("<strong>JPG 파일만 가능합니다.</strong> 이미지(대) 를 기준으로 이미지(중)과 이미지(소) 의 사이즈를 환경설정에서 정한 폭과 높이로 자동생성합니다.");?>
|
||||
<?php echo help("<strong>JPG 파일만 가능합니다.</strong> 이미지(대) 를 기준으로 이미지(중)과 이미지(소) 의 사이즈를 환경설정에서 정한 폭과 높이로 자동생성합니다.");?>
|
||||
<input type="checkbox" name="createimage" value="1" id="createimage"> 사용
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_limg1">이미지(대)</label></th>
|
||||
<td>
|
||||
<input type="file" name="it_limg1" id="it_limg1">
|
||||
<?
|
||||
<?php
|
||||
$limg1 = G4_DATA_PATH.'/item/'.$it['it_id'].'_l1';
|
||||
if (file_exists($limg1)) {
|
||||
$size = getimagesize($limg1);
|
||||
@ -441,21 +441,21 @@ $pg_anchor ='<ul class="anchor">
|
||||
<input type="checkbox" name="it_limg1_del" value="1">
|
||||
<span class="sit_wimg_limg1"></span>
|
||||
<div id="limg1" class="banner_or_img">
|
||||
<img src="<?=G4_DATA_URL?>/item/<?=$it['it_id']?>_l1" alt="" width="<?=$size[0]?>" height="<?=$size[1]?>">
|
||||
<img src="<?php echo G4_DATA_URL; ?>/item/<?php echo $it['it_id']; ?>_l1" alt="" width="<?php echo $size[0]; ?>" height="<?php echo $size[1]; ?>">
|
||||
<button type="button" class="sit_wimg_close">닫기</button>
|
||||
</div>
|
||||
<script>
|
||||
$('<button type="button" id="it_limg1_view" class="btn_frmline sit_wimg_view">이미지(대) 확인</button>').appendTo('.sit_wimg_limg1');
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_mimg">이미지(중)</label></th>
|
||||
<td>
|
||||
<?=help("이미지 자동생성 기능을 사용하지 않거나, 이미지를 업로드 하지 않으면 기본 noimage 로 출력합니다.");?>
|
||||
<?php echo help("이미지 자동생성 기능을 사용하지 않거나, 이미지를 업로드 하지 않으면 기본 noimage 로 출력합니다."); ?>
|
||||
<input type="file" name="it_mimg" id="it_mimg">
|
||||
<?
|
||||
<?php
|
||||
$mimg = G4_DATA_PATH.'/item/'.$it['it_id'].'_m';
|
||||
if (file_exists($mimg)) {
|
||||
$size = getimagesize($mimg);
|
||||
@ -464,21 +464,21 @@ $pg_anchor ='<ul class="anchor">
|
||||
<input type="checkbox" name="it_mimg_del" value="1" id="it_mimg_del">
|
||||
<span class="sit_wimg_mimg"></span>
|
||||
<div id="mimg" class="banner_or_img">
|
||||
<img src="<?=G4_DATA_URL?>/item/<?=$it['it_id']?>_m" alt="" width="<?=$size[0]?>" height="<?=$size[1]?>">
|
||||
<img src="<?php echo G4_DATA_URL; ?>/item/<?php echo $it['it_id']; ?>_m" alt="" width="<?php echo $size[0]; ?>" height="<?php echo $size[1]; ?>">
|
||||
<button type="button" class="sit_wimg_close">닫기</button>
|
||||
</div>
|
||||
<script>
|
||||
$('<button type="button" id="it_mimg_view" class="btn_frmline sit_wimg_view">이미지(중) 확인</button>').appendTo('.sit_wimg_mimg');
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_simg">이미지(소)</label></th>
|
||||
<td>
|
||||
<?=help("이미지 자동생성 기능을 사용하지 않거나, 이미지를 업로드 하지 않으면 기본 noimage 로 출력합니다.");?>
|
||||
<?php echo help("이미지 자동생성 기능을 사용하지 않거나, 이미지를 업로드 하지 않으면 기본 noimage 로 출력합니다."); ?>
|
||||
<input type="file" name="it_simg" id="it_simg">
|
||||
<?
|
||||
<?php
|
||||
$simg = G4_DATA_PATH.'/item/'.$it['it_id'].'_s';
|
||||
if (file_exists($simg)) {
|
||||
$size = getimagesize($simg);
|
||||
@ -487,43 +487,43 @@ $pg_anchor ='<ul class="anchor">
|
||||
<input type="checkbox" name="it_simg_del" value="1" id="it_simg_del">
|
||||
<span class="sit_wimg_simg"></span>
|
||||
<div id="simg" class="banner_or_img">
|
||||
<img src="<?=G4_DATA_URL?>/item/<?=$it['it_id']?>_s" alt="" width="<?=$size[0]?>" height="<?=$size[1]?>">
|
||||
<img src="<?php echo G4_DATA_URL; ?>/item/<?php echo $it['it_id']; ?>_s" alt="" width="<?php echo $size[0]; ?>" height="<?php echo $size[1]; ?>">
|
||||
<button type="button" class="sit_wimg_close">닫기</button>
|
||||
</div>
|
||||
<script>
|
||||
$('<button type="button" id="it_simg_view" class="btn_frmline sit_wimg_view">이미지(소) 확인</button>').appendTo('.sit_wimg_simg');
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? for ($i=2; $i<=5; $i++) { // 이미지(대)는 5개 ?>
|
||||
<?php for ($i=2; $i<=5; $i++) { // 이미지(대)는 5개 ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="it_limg<?=$i?>">이미지(대)<?=$i?></label></th>
|
||||
<th scope="row"><label for="it_limg<?php echo $i; ?>">이미지(대)<?php echo $i; ?></label></th>
|
||||
<td>
|
||||
<input type="file" name="it_limg<?=$i?>" id="it_limg<?=$i?>">
|
||||
<?
|
||||
<input type="file" name="it_limg<?php echo $i; ?>" id="it_limg<?php echo $i; ?>">
|
||||
<?php
|
||||
$limg = G4_DATA_PATH.'/item/'.$it['it_id'].'_l'.$i;
|
||||
if (file_exists($limg)) {
|
||||
$size = getimagesize($limg);
|
||||
?>
|
||||
<label for="it_limg<?=$i?>_del"><span class="sound_only">이미지(대)<?=$i?> </span>파일삭제</label>
|
||||
<input type="checkbox" name="it_limg<?=$i?>_del" value="1" id="it_limg<?=$i?>_del">
|
||||
<span class="sit_wimg_limg<?=$i?>"></span>
|
||||
<div id="limg<?=$i?>" class="banner_or_img">
|
||||
<img src="<?=G4_DATA_URL?>/item/<?=$it['it_id']?>_l<?=$i?>">
|
||||
<label for="it_limg<?php echo $i; ?>_del"><span class="sound_only">이미지(대)<?php echo $i; ?> </span>파일삭제</label>
|
||||
<input type="checkbox" name="it_limg<?php echo $i; ?>_del" value="1" id="it_limg<?php echo $i; ?>_del">
|
||||
<span class="sit_wimg_limg<?php echo $i; ?>"></span>
|
||||
<div id="limg<?php echo $i; ?>" class="banner_or_img">
|
||||
<img src="<?php echo G4_DATA_URL; ?>/item/<?php echo $it['it_id']; ?>_l<?php echo $i; ?>">
|
||||
<button type="button" class="sit_wimg_close">닫기</button>
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<script>
|
||||
$('<button type="button" id="it_limg<?=$i?>_view" class="btn_frmline sit_wimg_view">이미지(대)<?=$i?> 확인</button>').appendTo('.sit_wimg_limg<?=$i?>');
|
||||
$('<button type="button" id="it_limg<?php echo $i; ?>_view" class="btn_frmline sit_wimg_view">이미지(대)<?php echo $i; ?> 확인</button>').appendTo('.sit_wimg_limg<?php echo $i; ?>');
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<? if (file_exists($limg1) || file_exists($mimg) || file_exists($simg)) { ?>
|
||||
<?php if (file_exists($limg1) || file_exists($mimg) || file_exists($simg)) { ?>
|
||||
<script>
|
||||
$(".banner_or_img").addClass("sit_wimg");
|
||||
$(function() {
|
||||
@ -560,18 +560,18 @@ $pg_anchor ='<ul class="anchor">
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
</section>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./itemlist.php?<?=$qstr?>">목록</a>
|
||||
<a href="./itemlist.php?<?php echo $qstr; ?>">목록</a>
|
||||
</div>
|
||||
|
||||
<section id="anc_sitfrm_relation" class="cbox compare_wrap">
|
||||
<h2>관련상품</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<p>
|
||||
등록된 전체상품 목록에서 상품분류를 선택하면 해당 상품 리스트가 연이어 나타납니다.<br>
|
||||
@ -586,7 +586,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
<span class="sit_relation_selwrap">
|
||||
<select id="sch_relation" onchange="search_relation(this)">
|
||||
<option value=''>분류별 관련상품</option>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select ca_id, ca_name from {$g4['shop_category_table']} where length(ca_id) = 2 order by ca_id ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
@ -596,7 +596,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
</select>
|
||||
</span>
|
||||
<select id="relation" class="sit_relation_list" size="8" onclick="relation_img(this.value, 'add_span')" ondblclick="relation_add(this);" onkeyup="relation_add(this);">
|
||||
<?
|
||||
<?php
|
||||
/*
|
||||
$sql = " select ca_id, it_id, it_name, it_amount
|
||||
from $g4[shop_item_table]
|
||||
@ -628,7 +628,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
if (fld.value) {
|
||||
$.post(
|
||||
'./itemformrelation.php',
|
||||
{ it_id: '<?=$it_id?>', ca_id: fld.value },
|
||||
{ it_id: '<?php echo $it_id; ?>', ca_id: fld.value },
|
||||
function(data) {
|
||||
$("#relation").html(data);
|
||||
}
|
||||
@ -646,13 +646,13 @@ $pg_anchor ='<ul class="anchor">
|
||||
temp = name.split("/");
|
||||
if(temp[1] == ''){
|
||||
temp[1] = "no_image.gif";
|
||||
item_image_url = "<?=G4_SHOP_URL?>/img";
|
||||
item_image_url = "<?php echo G4_SHOP_URL; ?>/img";
|
||||
} else {
|
||||
item_image_url = "<?=G4_DATA_URL?>/item";
|
||||
item_image_url = "<?php echo G4_DATA_URL; ?>/item";
|
||||
}
|
||||
view_span = document.getElementById(id);
|
||||
item_price = number_format(String(temp[2]));
|
||||
view_span.innerHTML = "<a href=\"<?=G4_SHOP_URL?>/item.php?it_id="+temp[0]+"\" target=\"_blank\"><img src=\""+item_image_url+"/"+temp[1]+"\"width=\"100\" height=\"80\" border=\"1\" style=\"border-color:#333333;\" title=\"상품 새창으로 보기\"></a><br>"+item_price+" 원";
|
||||
view_span.innerHTML = "<a href=\"<?php echo G4_SHOP_URL; ?>/item.php?it_id="+temp[0]+"\" target=\"_blank\"><img src=\""+item_image_url+"/"+temp[1]+"\"width=\"100\" height=\"80\" border=\"1\" style=\"border-color:#333333;\" title=\"상품 새창으로 보기\"></a><br>"+item_price+" 원";
|
||||
}
|
||||
|
||||
function relation_add(fld)
|
||||
@ -731,7 +731,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
<h3>선택된 관련상품 목록</h3>
|
||||
<span class="sit_relation_selwrap"></span>
|
||||
<select name="relationselect" size="8" class="sit_relation_selected" onclick="relation_img(this.value, 'sel_span')" ondblclick="relation_del(this);" onkeyup="relation_del(this);">
|
||||
<?
|
||||
<?php
|
||||
$str = array();
|
||||
$sql = " select b.ca_id, b.it_id, b.it_name, b.it_amount
|
||||
from {$g4['shop_item_relation_table']} a
|
||||
@ -750,8 +750,8 @@ $pg_anchor ='<ul class="anchor">
|
||||
else
|
||||
$it_image = "";
|
||||
?>
|
||||
<option value="<?=$row['it_id']?>/<?=$it_image?>/<?=$row['it_amount']?>"><?=$row2['ca_name']?> : <?=cut_str(get_text(strip_tags($row['it_name'])),30)?></option>
|
||||
<?
|
||||
<option value="<?php echo $row['it_id']; ?>/<?php echo $it_image; ?>/<?php echo $row['it_amount']; ?>"><?php echo $row2['ca_name']; ?> : <?php echo cut_str(get_text(strip_tags($row['it_name'])),30); ?></option>
|
||||
<?php
|
||||
$str[] = $row['it_id'];
|
||||
}
|
||||
$str = implode(",", $str);
|
||||
@ -761,14 +761,14 @@ $pg_anchor ='<ul class="anchor">
|
||||
<strong class="sound_only">현재 활성화 된 상품</strong>
|
||||
<span id="sel_span"></span>
|
||||
</div>
|
||||
<input type="hidden" name="it_list" value="<?=$str?>">
|
||||
<input type="hidden" name="it_list" value="<?php echo $str; ?>">
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="anc_sitfrm_event" class="cbox compare_wrap">
|
||||
<h2>관련이벤트</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<p>
|
||||
등록된 전체이벤트 목록에서 추가하길 원하는 이벤트를 마우스 더블클릭하거나 키보드 스페이스바를 누르면, 선택된 관련이벤트 목록에 추가됩니다.<br>
|
||||
선택된 관련이벤트 목록에서 이벤트 선택 후 마우스 더블클릭하거나 키보드 스페이스바를 누르면 선택된 관련이벤트 목록에서 제거됩니다.
|
||||
@ -778,7 +778,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
<section class="compare_left">
|
||||
<h3>등록된 전체이벤트 목록</h3>
|
||||
<select size="8" class="sit_relation_list" ondblclick="event_add(this);" onkeyup="event_add(this);">
|
||||
<?
|
||||
<?php
|
||||
$sql = " select ev_id, ev_subject from {$g4['shop_event_table']} order by ev_id desc ";
|
||||
$result = sql_query($sql);
|
||||
while ($row=sql_fetch_array($result)) {
|
||||
@ -859,7 +859,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
<section class="compare_right">
|
||||
<h3>선택된 관련이벤트 목록</h3>
|
||||
<select name="eventselect" class="sit_relation_selected" size="8" ondblclick="event_del(this);" onkeyup="event_del(this);">
|
||||
<?
|
||||
<?php
|
||||
$str = "";
|
||||
$comma = "";
|
||||
$sql = " select b.ev_id, b.ev_subject
|
||||
@ -875,7 +875,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="hidden" name="ev_list" value="<?=$str?>">
|
||||
<input type="hidden" name="ev_list" value="<?php echo $str; ?>">
|
||||
|
||||
</section>
|
||||
|
||||
@ -883,7 +883,7 @@ $pg_anchor ='<ul class="anchor">
|
||||
|
||||
<section id="anc_sitfrm_optional" class="cbox">
|
||||
<h2>상세설명설정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -893,59 +893,59 @@ $pg_anchor ='<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row">상단이미지</th>
|
||||
<td>
|
||||
<?=help("상품상세설명 페이지 상단에 출력하는 이미지입니다.");?>
|
||||
<?php echo help("상품상세설명 페이지 상단에 출력하는 이미지입니다."); ?>
|
||||
<input type="file" name="it_himg">
|
||||
<?
|
||||
<?php
|
||||
$himg_str = "";
|
||||
$himg = G4_DATA_PATH."/item/{$it['it_id']}_h";
|
||||
if (file_exists($himg)) {
|
||||
?>
|
||||
<label for="it_himg_del">상단이미지 삭제</label>
|
||||
<input type="checkbox" name="it_himg_del" value="1" id="it_himg_del">
|
||||
<div class="banner_or_img"><img src="<?=G4_DATA_URL?>/item/<?=$it['it_id']?>_h" alt=""></div>
|
||||
<? } ?>
|
||||
<div class="banner_or_img"><img src="<?php echo G4_DATA_URL; ?>/item/<?php echo $it['it_id']; ?>_h" alt=""></div>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단이미지</th>
|
||||
<td>
|
||||
<?=help("상품상세설명 페이지 하단에 출력하는 이미지입니다.");?>
|
||||
<?php echo help("상품상세설명 페이지 하단에 출력하는 이미지입니다."); ?>
|
||||
<input type="file" name="it_timg">
|
||||
<?
|
||||
<?php
|
||||
$timg_str = "";
|
||||
$timg = G4_DATA_PATH."/item/{$it['it_id']}_t";
|
||||
if (file_exists($timg)) {
|
||||
?>
|
||||
<label for="it_timg_del">삭제</label>
|
||||
<input type="checkbox" name="it_timg_del" value="1" id="it_timg_del">
|
||||
<div class="banner_or_img"><img src="<?=G4_DATA_URL?>/item/<?=$it['it_id']?>_t" alt=""></div>
|
||||
<? } ?>
|
||||
<div class="banner_or_img"><img src="<?php echo G4_DATA_URL; ?>/item/<?php echo $it['it_id']; ?>_t" alt=""></div>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상품상단내용</th>
|
||||
<td><?=help("상품상세설명 페이지 상단에 출력하는 HTML 내용입니다.", -150);?><?=editor_html('it_head_html', $it['it_head_html']);?></td>
|
||||
<td><?php echo help("상품상세설명 페이지 상단에 출력하는 HTML 내용입니다.", -150); ?><?php echo editor_html('it_head_html', $it['it_head_html']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상품하단내용</th>
|
||||
<td><?=help("상품상세설명 페이지 하단에 출력하는 HTML 내용입니다.", -150);?><?=editor_html('it_tail_html', $it['it_tail_html']);?></td>
|
||||
<td><?php echo help("상품상세설명 페이지 하단에 출력하는 HTML 내용입니다.", -150); ?><?php echo editor_html('it_tail_html', $it['it_tail_html']); ?></td>
|
||||
</tr>
|
||||
<? if ($w == "u") { ?>
|
||||
<?php if ($w == "u") { ?>
|
||||
<tr>
|
||||
<th scope="row">입력일시</th>
|
||||
<td>
|
||||
<?=help("상품을 처음 입력(등록)한 시간입니다.");?>
|
||||
<?=$it['it_time']?>
|
||||
<?php echo help("상품을 처음 입력(등록)한 시간입니다."); ?>
|
||||
<?php echo $it['it_time']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./itemlist.php?<?=$qstr?>">목록</a>
|
||||
<a href="./itemlist.php?<?php echo $qstr; ?>">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -1018,9 +1018,9 @@ function fitemformcheck(f)
|
||||
}
|
||||
}
|
||||
|
||||
<?=get_editor_js('it_explan');?>
|
||||
<?=get_editor_js('it_head_html');?>
|
||||
<?=get_editor_js('it_tail_html');?>
|
||||
<?php echo get_editor_js('it_explan'); ?>
|
||||
<?php echo get_editor_js('it_head_html'); ?>
|
||||
<?php echo get_editor_js('it_tail_html'); ?>
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1046,6 +1046,6 @@ function categorychange(f)
|
||||
categorychange(document.fitemform);
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -373,7 +373,7 @@ echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">";
|
||||
<script>
|
||||
if (confirm("계속 입력하시겠습니까?"))
|
||||
//location.href = "<?="./itemform.php?it_id=$it_id&sort1=$sort1&sort2=$sort2&sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&page=$page"?>";
|
||||
location.href = "<?="./itemform.php?it_id=$it_id&$qstr"?>";
|
||||
location.href = "<?php echo "./itemform.php?it_id=$it_id&$qstr"; ?>";
|
||||
else
|
||||
location.href = "<?="./itemlist.php?$qstr"?>";
|
||||
location.href = "<?php echo "./itemlist.php?$qstr"; ?>";
|
||||
</script>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/iteminfo.lib.php');
|
||||
|
||||
@ -21,10 +21,10 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
|
||||
<form id="fiteminfo" method="post" action="#" onsubmit="return fiteminfo_submit(this)">
|
||||
<input type="hidden" name="it_id" value="<?=$it_id?>">
|
||||
<input type="hidden" name="it_id" value="<?php echo $it_id; ?>">
|
||||
|
||||
<div class="cbox">
|
||||
<h1><?=$g4['title']?></h1>
|
||||
<h1><?php echo $g4['title']; ?></h1>
|
||||
<p>모든 필드를 반드시 입력하셔야 합니다.</p>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -35,10 +35,10 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="gubun">상품군</label></th>
|
||||
<td>
|
||||
<?=help("상품군을 선택하면 자동으로 페이지가 전환됩니다.")?>
|
||||
<select id="gubun" name="gubun" onchange="location.href='?it_id=<?=$it_id?>&gubun='+this.value;">
|
||||
<?php echo help("상품군을 선택하면 자동으로 페이지가 전환됩니다."); ?>
|
||||
<select id="gubun" name="gubun" onchange="location.href='?it_id=<?php echo $it_id; ?>&gubun='+this.value;">
|
||||
<option value="">상품군을 선택하세요.</option>
|
||||
<?
|
||||
<?php
|
||||
foreach($item_info as $key=>$value) {
|
||||
$opt_value = $key;
|
||||
$opt_text = $value['title'];
|
||||
@ -48,7 +48,7 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
$article = $item_info[$gubun]['article'];
|
||||
if ($article) {
|
||||
foreach($article as $key=>$value) {
|
||||
@ -62,22 +62,22 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="<?=$el_name.$i?>"><?=$el_title?></label></th>
|
||||
<th scope="row"><label for="<?php echo $el_name.$i?>"><?php echo $el_title; ?></label></th>
|
||||
<td>
|
||||
<input type="hidden" name="<?=$el_name?>[]" value="<?=$el_title?>">
|
||||
<? if ($el_example != "") echo help($el_example); ?>
|
||||
<input type="text" name="<?=$el_name?>[]" value="<?=$el_value?>" id="<?=$el_name.$i?>" required class="frm_input required" />
|
||||
<input type="hidden" name="<?php echo $el_name; ?>[]" value="<?php echo $el_title; ?>">
|
||||
<?php if ($el_example != "") echo help($el_example); ?>
|
||||
<input type="text" name="<?php echo $el_name; ?>[]" value="<?php echo $el_value; ?>" id="<?php ehco $el_name.$i; ?>" required class="frm_input required" />
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<th>빈 칸 일괄채우기</th>
|
||||
<td>
|
||||
<?=help("상품페이지에 상품요약정보가 포함되어 있어 생략 가능한 경우 선택하십시오.")?>
|
||||
<label for="null">비어있는 칸을 "<?=$null_text?>"로 채우기</label>
|
||||
<?php echo help("상품페이지에 상품요약정보가 포함되어 있어 생략 가능한 경우 선택하십시오."); ?>
|
||||
<label for="null">비어있는 칸을 "<?php echo $null_text; ?>"로 채우기</label>
|
||||
<input type="checkbox" id="null">
|
||||
</td>
|
||||
</tr>
|
||||
@ -99,12 +99,12 @@ $(function(){
|
||||
if (this.checked) {
|
||||
$.each($f, function(){
|
||||
if ($(this).val() == "") {
|
||||
$(this).val("<?=$null_text?>");
|
||||
$(this).val("<?php echo $null_text; ?>");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$.each($f, function(){
|
||||
if ($(this).val() == "<?=$null_text?>") {
|
||||
if ($(this).val() == "<?php echo $null_text; ?>") {
|
||||
$(this).val("");
|
||||
}
|
||||
});
|
||||
@ -119,6 +119,6 @@ function fiteminfo_submit(f)
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/iteminfo.lib.php');
|
||||
|
||||
@ -28,9 +28,9 @@ $item_info_gubun .= $item_info_gubun ? " 등록됨" : "";
|
||||
include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
opener.document.getElementById("item_info_gubun").innerHTML = "<?=$item_info_gubun?>";
|
||||
opener.document.getElementById("item_info_gubun").innerHTML = "<?php echo $item_info_gubun; ?>";
|
||||
window.close();
|
||||
</script>
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -82,22 +82,22 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="save_stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="save_stx" value="<?php echo $stx; ?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>상품 검색</legend>
|
||||
|
||||
<span>
|
||||
<?=$listall?>
|
||||
등록된 상품 <?=$total_count ?>건
|
||||
<?php echo $listall; ?>
|
||||
등록된 상품 <?php echo $total_count; ?>건
|
||||
</span>
|
||||
|
||||
<label for="sca" class="sound_only">분류선택</label>
|
||||
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-12 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-12 ?>
|
||||
<select name="sca" id="sca">
|
||||
<option value="">전체분류</option>
|
||||
<?
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=sql_fetch_array($result1); $i++) {
|
||||
@ -108,19 +108,19 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<? // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
|
||||
<label for="sfl" class="sound_only">검색대상</label>
|
||||
<select name="sfl" id="sfl">
|
||||
<option value="it_name" <?=get_selected($sfl, 'it_name')?>>상품명</option>
|
||||
<option value="it_id" <?=get_selected($sfl, 'it_id')?>>상품코드</option>
|
||||
<option value="it_maker" <?=get_selected($sfl, 'it_maker')?>>제조사</option>
|
||||
<option value="it_origin" <?=get_selected($sfl, 'it_origin')?>>원산지</option>
|
||||
<option value="it_sell_email" <?=get_selected($sfl, 'it_sell_email')?>>판매자 e-mail</option>
|
||||
<option value="it_name" <?php echo get_selected($sfl, 'it_name'); ?>>상품명</option>
|
||||
<option value="it_id" <?php echo get_selected($sfl, 'it_id'); ?>>상품코드</option>
|
||||
<option value="it_maker" <?php echo get_selected($sfl, 'it_maker'); ?>>제조사</option>
|
||||
<option value="it_origin" <?php echo get_selected($sfl, 'it_origin'); ?>>원산지</option>
|
||||
<option value="it_sell_email" <?php echo get_selected($sfl, 'it_sell_email'); ?>>판매자 e-mail</option>
|
||||
</select>
|
||||
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?=$stx?>" required class="frm_input required">
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" required class="frm_input required">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
@ -135,34 +135,34 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
</div>
|
||||
|
||||
<form name="fitemlistupdate" method="post" action="./itemlistupdate.php" autocomplete="off">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
|
||||
<input type="hidden" name="sst" value="<?php echo $sst; ?>">
|
||||
<input type="hidden" name="sod" value="<?php echo $sod; ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl; ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" rowspan="2"><?=subject_sort_link('it_id', 'sca='.$sca)?>상품코드 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" colspan="2" rowspan="2">분류 및 <?=subject_sort_link('it_name', 'sca='.$sca)?>상품명 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_amt"><?=subject_sort_link('it_amount', 'sca='.$sca)?>비회원가격 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_amt2"><?=subject_sort_link('it_amount2', 'sca='.$sca)?>회원가격 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_amt3"><?=subject_sort_link('it_amount3', 'sca='.$sca)?>특별가격 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" rowspan="2"><?=subject_sort_link('it_order', 'sca='.$sca)?>순서 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" rowspan="2"><?=subject_sort_link('it_use', 'sca='.$sca, 1)?>판매 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" rowspan="2"><?=subject_sort_link('it_hit', 'sca='.$sca, 1)?>조회 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" rowspan="2"><?php echo subject_sort_link('it_id', 'sca='.$sca); ?>상품코드 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" colspan="2" rowspan="2">분류 및 <?php echo subject_sort_link('it_name', 'sca='.$sca); ?>상품명 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_amt"><?php echo subject_sort_link('it_amount', 'sca='.$sca); ?>비회원가격 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_amt2"><?php echo subject_sort_link('it_amount2', 'sca='.$sca); ?>회원가격 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_amt3"><?php echo subject_sort_link('it_amount3', 'sca='.$sca); ?>특별가격 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" rowspan="2"><?php echo subject_sort_link('it_order', 'sca='.$sca); ?>순서 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" rowspan="2"><?php echo subject_sort_link('it_use', 'sca='.$sca, 1); ?>판매 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" rowspan="2"><?php echo subject_sort_link('it_hit', 'sca='.$sca, 1); ?>조회 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" rowspan="2">관리</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col" id="sit_camt"><?=subject_sort_link('it_cust_amount', 'sca='.$sca)?>시중가격 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_pt"><?=subject_sort_link('it_point', 'sca='.$sca)?>포인트 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_qty"><?=subject_sort_link('it_stock_qty', 'sca='.$sca)?>재고 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_camt"><?php echo subject_sort_link('it_cust_amount', 'sca='.$sca); ?>시중가격 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_pt"><?php echo subject_sort_link('it_point', 'sca='.$sca); ?>포인트 <span class="sound_only">순 정렬</span></a></th>
|
||||
<th scope="col" id="sit_qty"><?php echo subject_sort_link('it_stock_qty', 'sca='.$sca); ?>재고 <span class="sound_only">순 정렬</span></a></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
@ -171,37 +171,37 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
<tr>
|
||||
<td rowspan="2">
|
||||
<input type="hidden" name="it_id[<?=$i?>]" value="<?=$row['it_id']?>">
|
||||
<?=$row['it_id']?>
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<?php echo $row['it_id']; ?>
|
||||
</td>
|
||||
<td rowspan="2"><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?></a></td>
|
||||
<td rowspan="2"><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'].'_s', 50, 50); ?></a></td>
|
||||
<td rowspan="2">
|
||||
<label for="ca_id_<?=$i?>" class="sound_only">분류</label>
|
||||
<select name="ca_id[<?=$i?>]" id="ca_id_<?=$i?>">
|
||||
<?=conv_selected_option($ca_list, $row['ca_id'])?>
|
||||
<label for="ca_id_<?php echo $i; ?>" class="sound_only">분류</label>
|
||||
<select name="ca_id[<?php echo $i; ?>]" id="ca_id_<?php echo $i; ?>">
|
||||
<?php echo conv_selected_option($ca_list, $row['ca_id']); ?>
|
||||
</select>
|
||||
<?=$tmp_ca_list?><br>
|
||||
<input type="text" name="it_name[<?=$i?>]" value="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?>" required class="frm_input frm_sit_title required" size="30">
|
||||
<?php echo $tmp_ca_list; ?><br>
|
||||
<input type="text" name="it_name[<?php echo $i; ?>]" value="<?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?>" required class="frm_input frm_sit_title required" size="30">
|
||||
</td>
|
||||
<td headers="sit_amt"><input type="text" name="it_amount[<?=$i?>]" value="<?=$row['it_amount']?>" class="frm_input sit_amt" size="7"></td>
|
||||
<td headers="sit_amt2"><input type="text" name="it_amount2[<?=$i?>]" value="<?=$row['it_amount2']?>" class="frm_input sit_amt2" size="7"></td>
|
||||
<td headers="sit_amt3"><input type="text" name="it_amount3[<?=$i?>]" value="<?=$row['it_amount3']?>" class="frm_input sit_amt3" size="7"></td>
|
||||
<td rowspan="2"><input type="text" name="it_order[<?=$i?>]" value="<?=$row['it_order']?>" class="frm_input sit_odrby" size="3"></td>
|
||||
<td rowspan="2"><input type="checkbox" name="it_use[<?=$i?>]" <?=($row['it_use'] ? 'checked' : '')?> value="1"></td>
|
||||
<td rowspan="2"><?=$row['it_hit']?></td>
|
||||
<td headers="sit_amt"><input type="text" name="it_amount[<?php echo $i; ?>]" value="<?php echo $row['it_amount']; ?>" class="frm_input sit_amt" size="7"></td>
|
||||
<td headers="sit_amt2"><input type="text" name="it_amount2[<?php echo $i; ?>]" value="<?php echo $row['it_amount2']; ?>" class="frm_input sit_amt2" size="7"></td>
|
||||
<td headers="sit_amt3"><input type="text" name="it_amount3[<?php echo $i; ?>]" value="<?php echo $row['it_amount3']; ?>" class="frm_input sit_amt3" size="7"></td>
|
||||
<td rowspan="2"><input type="text" name="it_order[<?php echo $i; ?>]" value="<?php echo $row['it_order']; ?>" class="frm_input sit_odrby" size="3"></td>
|
||||
<td rowspan="2"><input type="checkbox" name="it_use[<?php echo $i; ?>]" <?php echo ($row['it_use'] ? 'checked' : ''); ?> value="1"></td>
|
||||
<td rowspan="2"><?php echo $row['it_hit']; ?></td>
|
||||
<td rowspan="2" class="td_mng">
|
||||
<a href="<?=$href?>"><img src="./img/icon_view.jpg" alt="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?> 보기"></a>
|
||||
<a href="javascript:_copy('<?=$row['it_id']?>', '<?=$row['ca_id']?>');"><img src="./img/icon_copy.jpg" alt="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?> 복사"></a>
|
||||
<a href="./itemform.php?w=u&it_id=<?=$row['it_id']?>&ca_id=<?=$row['ca_id']?>&<?=$qstr?>"><img src="./img/icon_mod.jpg" alt="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?> 수정"></a>
|
||||
<a href="./itemformupdate.php?w=d&it_id=<?=$row['it_id']?>&ca_id=<?=$row['ca_id']?>&<?=$qstr?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?> 삭제"></a>
|
||||
<a href="<?php echo $href; ?>"><img src="./img/icon_view.jpg" alt="<?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?> 보기"></a>
|
||||
<a href="javascript:_copy('<?php echo $row['it_id']; ?>', '<?php echo $row['ca_id']; ?>');"><img src="./img/icon_copy.jpg" alt="<?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?> 복사"></a>
|
||||
<a href="./itemform.php?w=u&it_id=<?php echo $row['it_id']; ?>&ca_id=<?php echo $row['ca_id']; ?>&<?php echo $qstr; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?> 수정"></a>
|
||||
<a href="./itemformupdate.php?w=d&it_id=<?php echo $row['it_id']; ?>&ca_id=<?php echo $row['ca_id']; ?>&<?php echo $qstr; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td headers="sit_camt"><input type="text" name="it_cust_amount[<?=$i?>]" value="<?=$row['it_cust_amount']?>" class="frm_input sit_camt" size="7"></td>
|
||||
<td headers="sit_pt"><input type="text" name="it_point[<?=$i?>]" value="<?=$row['it_point']?>" class="frm_input sit_pt" size="7"></td>
|
||||
<td headers="sit_qty"><input type="text" name="it_stock_qty[<?=$i?>]" value="<?=$row['it_stock_qty']?>" class="frm_input sit_qty" size="7"></td>
|
||||
<td headers="sit_camt"><input type="text" name="it_cust_amount[<?php echo $i; ?>]" value="<?php echo $row['it_cust_amount']; ?>" class="frm_input sit_camt" size="7"></td>
|
||||
<td headers="sit_pt"><input type="text" name="it_point[<?php echo $i; ?>]" value="<?php echo $row['it_point']; ?>" class="frm_input sit_pt" size="7"></td>
|
||||
<td headers="sit_qty"><input type="text" name="it_stock_qty[<?php echo $i; ?>]" value="<?php echo $row['it_stock_qty']; ?>" class="frm_input sit_qty" size="7"></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="20" class="empty_table">자료가 한건도 없습니다.</td></tr>';
|
||||
@ -216,7 +216,7 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<script>
|
||||
function _trim(str)
|
||||
@ -249,6 +249,6 @@ function _copy(it_id, ca_id)
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400650';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -23,12 +23,12 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
?>
|
||||
|
||||
<form name="fitemps" method="post" onsubmit="return fitemps_submit(this);">
|
||||
<input type="hidden" name="w" value="<? echo $w ?>">
|
||||
<input type="hidden" name="is_id" value="<? echo $is_id ?>">
|
||||
<input type="hidden" name="page" value="<? echo $page ?>">
|
||||
<input type="hidden" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" name="is_confirm" value="<? echo $is['is_confirm']?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="is_id" value="<?php echo $is_id; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="is_confirm" value="<?php echo $is['is_confirm']; ?>">
|
||||
|
||||
<section class="cbox">
|
||||
<h2>사용후기 수정</h2>
|
||||
@ -40,33 +40,33 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">상품명</th>
|
||||
<td><a href="<?=G4_SHOP_URL?>/item.php?it_id=<?=$is['it_id']?>"><?=$is['it_name']?></a></td>
|
||||
<td><a href="<?php echo G4_SHOP_URL; ?>/item.php?it_id=<?php echo $is['it_id']; ?>"><?php echo $is['it_name']; ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">이름</th>
|
||||
<td><?=$name?></td>
|
||||
<td><?php echo $name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">점수</th>
|
||||
<td><?=stripslashes($is['is_score']) ?> 점</td>
|
||||
<td><?php echo stripslashes($is['is_score']); ?> 점</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="is_subject">제목</label></th>
|
||||
<td><input type="text" name="is_subject" required class="required frm_input" id="is_subject" size="100"
|
||||
value='<?=conv_subject($is['is_subject'], 120)?>'></td>
|
||||
value='<?php echo conv_subject($is['is_subject'], 120); ?>'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td><?=editor_html('is_content', $is['is_content']);?></td>
|
||||
<td><?php echo editor_html('is_content', $is['is_content']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">확인</th>
|
||||
<td>
|
||||
<? if($is['is_confirm']) { ?>
|
||||
<?php if($is['is_confirm']) { ?>
|
||||
<input type="submit" name="btn_no_display" value="사용후기 보이지 않기" class="btn_frmline">
|
||||
<? } else { ?>
|
||||
<?php } else { ?>
|
||||
<input type="submit" name="btn_confirm" value="사용후기 보이기" class="btn_frmline">
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -75,20 +75,20 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./itempslist.php?<?=$qstr?>">목록</a>
|
||||
<a href="./itempslist.php?<?php echo $qstr; ?>">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function fitemps_submit(f)
|
||||
{
|
||||
<? echo get_editor_js('is_content'); ?>
|
||||
<?php echo get_editor_js('is_content'); ?>
|
||||
|
||||
f.action="./itempsformupdate.php";
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400650';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400650';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -58,22 +58,22 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="save_stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="save_stx" value="<?php echo $stx; ?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>사용후기 검색</legend>
|
||||
|
||||
<span>
|
||||
<?=$listall?>
|
||||
전체 문의내역 <?=$total_count ?>건
|
||||
<?php echo $listall; ?>
|
||||
전체 문의내역 <?php echo $total_count; ?>건
|
||||
</span>
|
||||
|
||||
<label for="sca" class="sound_only">분류선택</label>
|
||||
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-12 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-12 ?>
|
||||
<select name="sca" id="sca">
|
||||
<option value=''>전체분류</option>
|
||||
<?
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
|
||||
@ -84,17 +84,17 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<? // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
|
||||
<label for="sfl" class="sound_only">검색대상</label>
|
||||
<select name="sfl" id="sfl">
|
||||
<option value="it_name" <?=get_selected($sfl, 'it_name')?>>상품명</option>
|
||||
<option value="a.it_id" <?=get_selected($sfl, 'a.it_id')?>>상품코드</option>
|
||||
<option value="is_name" <?=get_selected($sfl, 'is_name')?>>이름</option>
|
||||
<option value="it_name" <?php echo get_selected($sfl, 'it_name'); ?>>상품명</option>
|
||||
<option value="a.it_id" <?php echo get_selected($sfl, 'a.it_id'); ?>>상품코드</option>
|
||||
<option value="is_name" <?php echo get_selected($sfl, 'is_name'); ?>>이름</option>
|
||||
</select>
|
||||
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?=$stx?>" required class="frm_input required">
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" required class="frm_input required">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
|
||||
</fieldset>
|
||||
@ -107,16 +107,16 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
<table class="frm_basic">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><?=subject_sort_link("it_name"); ?>상품명</a></th>
|
||||
<th scope="col"><?=subject_sort_link("mb_name"); ?>이름</a></th>
|
||||
<th scope="col"><?=subject_sort_link("is_subject"); ?>제목</a></th>
|
||||
<th scope="col"><?=subject_sort_link("is_score"); ?>점수</a></th>
|
||||
<th scope="col"><?=subject_sort_link("is_confirm"); ?>확인</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("it_name"); ?>상품명</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("mb_name"); ?>이름</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("is_subject"); ?>제목</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("is_score"); ?>점수</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("is_confirm"); ?>확인</a></th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
$row['is_subject'] = cut_str($row['is_subject'], 30, "...");
|
||||
@ -129,18 +129,18 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str($row['it_name'],30)?></a></td>
|
||||
<td class="td_name"><?=$name?></td>
|
||||
<td class="sit_ps_subject"><?=$row['is_subject']?></td>
|
||||
<td class="td_num"><?=$row['is_score']?></td>
|
||||
<td class="sit_ps_confirm"><?=$confirm?></td>
|
||||
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'].'_s', 50, 50); ?><?php echo cut_str($row['it_name'],30); ?></a></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td class="sit_ps_subject"><?php echo $row['is_subject']; ?></td>
|
||||
<td class="td_num"><?php echo $row['is_score']; ?></td>
|
||||
<td class="sit_ps_confirm"><?php echo $confirm; ?></td>
|
||||
<td class="td_smallmng">
|
||||
<a href="./itempsform.php?w=u&is_id=<?=$row['is_id']?>&$qstr"><img src="./img/icon_mod.jpg" alt="<?=$row['is_subject']?> 수정"></a>
|
||||
<a href="./itempsformupdate.php?w=d&is_id=<?=$row['is_id']?>&<?=$qstr?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?=$row['is_subject']?> 삭제"></a>
|
||||
<a href="./itempsform.php?w=u&is_id=<?php echo $row['is_id']; ?>&$qstr"><img src="./img/icon_mod.jpg" alt="<?php echo $row['is_subject']; ?> 수정"></a>
|
||||
<a href="./itempsformupdate.php?w=d&is_id=<?php echo $row['is_id']; ?>&<?php echo $qstr; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?php echo $row['is_subject']; ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0) {
|
||||
@ -153,8 +153,8 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
</section>
|
||||
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400660';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -19,18 +19,18 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
$qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
?>
|
||||
|
||||
<?//=subtitle($g4['title'])?>
|
||||
<?php//=subtitle($g4['title'])?>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>상품문의 수정/답변</h2>
|
||||
<p>상품에 대한 문의에 답변하실 수 있습니다. 상품 문의 내용의 수정도 가능합니다.</p>
|
||||
|
||||
<form name="frmitemqaform" action="./itemqaformupdate.php" method="post">
|
||||
<input type="hidden" name="w" value="<?=$w ?>">
|
||||
<input type="hidden" name="iq_id" value="<?=$iq_id ?>">
|
||||
<input type="hidden" name="page" value="<?=$page ?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1 ?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2 ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="iq_id" value="<?php echo $iq_id; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -40,31 +40,31 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">이름</th>
|
||||
<td><?=$name?></td>
|
||||
<td><?php echo $name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_subject">제목</label></th>
|
||||
<td><input type="text" name="iq_subject" value="<?=conv_subject($iq['iq_subject'],120)?>" id="iq_subject" required class="frm_input required" size="95"></td>
|
||||
<td><input type="text" name="iq_subject" value="<?php echo conv_subject($iq['iq_subject'],120); ?>" id="iq_subject" required class="frm_input required" size="95"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_question">질문</label></th>
|
||||
<td><textarea name="iq_question" id="iq_question" rows="7" required class="required"><?=get_text($iq['iq_question'])?></textarea></td>
|
||||
<td><textarea name="iq_question" id="iq_question" rows="7" required class="required"><?php echo get_text($iq['iq_question']); ?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_answer">답변</label></th>
|
||||
<td><textarea name="iq_answer" id="iq_answer" rows="7"><?=get_text($iq['iq_answer'])?></textarea></td>
|
||||
<td><textarea name="iq_answer" id="iq_answer" rows="7"><?php echo get_text($iq['iq_answer']); ?></textarea></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" accesskey='s' value="확인" class="btn_submit">
|
||||
<a href="./itemqalist.php?<?=$qstr?>">목록</a>
|
||||
<a href="./itemqalist.php?<?php echo $qstr; ?>">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</section>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400660';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400660';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -58,22 +58,22 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="save_stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="save_stx" value="<?php echo $stx; ?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>상품문의 검색</legend>
|
||||
|
||||
<span>
|
||||
<?=$listall?>
|
||||
전체 문의내역 <?=$total_count ?>건
|
||||
<?php echo $listall; ?>
|
||||
전체 문의내역 <?php echo $total_count; ?>건
|
||||
</span>
|
||||
|
||||
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-12 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-12 ?>
|
||||
<label for="sca" class="sound_only">분류선택</label>
|
||||
<select name="sca" id="sca">
|
||||
<option value="">전체분류</option>
|
||||
<?
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
|
||||
@ -84,16 +84,16 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<? // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
|
||||
<label for="sfl" class="sound_only">검색대상</label>
|
||||
<select name="sfl" id="sfl">
|
||||
<option value="it_name" <?=get_selected($sfl, 'it_name')?>>상품명</option>
|
||||
<option value="a.it_id" <?=get_selected($sfl, 'a.it_id')?>>상품코드</option>
|
||||
<option value="it_name" <?php echo get_selected($sfl, 'it_name'); ?>>상품명</option>
|
||||
<option value="a.it_id" <?php echo get_selected($sfl, 'a.it_id'); ?>>상품코드</option>
|
||||
</select>
|
||||
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?=$stx?>" id="stx" required class="frm_input required">
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" id="stx" required class="frm_input required">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
|
||||
</fieldset>
|
||||
@ -106,15 +106,15 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
<table class="frm_basic">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><?=subject_sort_link('it_name'); ?>상품명<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><?=subject_sort_link('mb_name'); ?>이름<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><?=subject_sort_link('iq_subject'); ?>질문<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><?=subject_sort_link('iq_answer'); ?>답변<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><?php echo subject_sort_link('it_name'); ?>상품명<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><?php echo subject_sort_link('mb_name'); ?>이름<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><?php echo subject_sort_link('iq_subject'); ?>질문<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><?php echo subject_sort_link('iq_answer'); ?>답변<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$row['iq_subject'] = cut_str($row['iq_subject'], 30, "...");
|
||||
|
||||
@ -125,16 +125,16 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
$answer = $row['iq_answer'] ? 'Y' : ' ';
|
||||
?>
|
||||
<tr>
|
||||
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str($row['it_name'],30)?></a></td>
|
||||
<td class="td_name"><?=$name?></td>
|
||||
<td class="sit_qa_subject"><?=$row['iq_subject']?></td>
|
||||
<td class="sit_qa_answer"><?=$answer?></td>
|
||||
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'].'_s', 50, 50); ?><?php echo cut_str($row['it_name'],30); ?></a></td>
|
||||
<td class="td_name"><?php echo $name; ?></td>
|
||||
<td class="sit_qa_subject"><?php echo $row['iq_subject']; ?></td>
|
||||
<td class="sit_qa_answer"><?php echo $answer; ?></td>
|
||||
<td class="td_smallmng">
|
||||
<a href="./itemqaform.php?w=u&iq_id=<?=$row['iq_id']?>&<?=$qstr?>"><img src="./img/icon_mod.jpg" alt="<?=$row['iq_subject']?> 수정"></a>
|
||||
<a href="javascript:del('./itemqaformupdate.php?w=d&iq_id=<?=$row['iq_id']?>&$qstr');"><img src="./img/icon_del.jpg" alt="<?=$row['iq_subject']?> 삭제"></a>
|
||||
<a href="./itemqaform.php?w=u&iq_id=<?php echo $row['iq_id']; ?>&<?php echo $qstr; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo $row['iq_subject']; ?> 수정"></a>
|
||||
<a href="javascript:del('./itemqaformupdate.php?w=d&iq_id=<?php echo $row['iq_id']; ?>&$qstr');"><img src="./img/icon_del.jpg" alt="<?php echo $row['iq_subject']; ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0) {
|
||||
echo '<tr><td colspan="5" class="empty_table"><span>자료가 없습니다.</span></td></tr>';
|
||||
@ -145,8 +145,8 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '500100';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -59,24 +59,24 @@ if ($fr_date || $to_date) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist">
|
||||
<input type="hidden" name="doc" value="<?=$doc?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="doc" value="<?php echo $doc; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>상품판매순위 검색</legend>
|
||||
|
||||
<span>
|
||||
<?=$listall?>
|
||||
등록상품 <?=$total_count ?>건
|
||||
<?php echo $listall; ?>
|
||||
등록상품 <?php echo $total_count; ?>건
|
||||
</span>
|
||||
|
||||
<label for="sel_ca_id" class="sound_only">검색대상</label>
|
||||
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-17 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-17 ?>
|
||||
<select name="sel_ca_id" id="sel_ca_id">
|
||||
<option value=''>전체분류</option>
|
||||
<?
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
|
||||
@ -87,13 +87,13 @@ if ($fr_date || $to_date) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<? // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
|
||||
기간설정
|
||||
<label for="fr_date" class="sound_only">시작일</label>
|
||||
<input type="text" name="fr_date" value="<?=$fr_date?>" class="frm_input" size="8" maxlength="8"> 에서
|
||||
<input type="text" name="fr_date" value="<?php echo $fr_date; ?>" class="frm_input" size="8" maxlength="8"> 에서
|
||||
<label for="to_date" class="sound_only">종료일</label>
|
||||
<input type="text" name="to_date" value="<?=$to_date?>" class="frm_input" size="8" maxlength="8"> 까지
|
||||
<input type="text" name="to_date" value="<?php echo $to_date; ?>" class="frm_input" size="8" maxlength="8"> 까지
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -112,19 +112,19 @@ if ($fr_date || $to_date) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
<tr>
|
||||
<th scope="col">순위</th>
|
||||
<th scope="col">상품평</th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_1",1)."&$qstr1"?>">쇼핑<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_2",1)."&$qstr1"?>">주문<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_3",1)."&$qstr1"?>">준비<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_4",1)."&$qstr1"?>">배송<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_5",1)."&$qstr1"?>">완료<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_6",1)."&$qstr1"?>">취소<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_7",1)."&$qstr1"?>">반품<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_8",1)."&$qstr1"?>">품절<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ct_status_sum",1)."&$qstr1"?>">합계<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_1",1)."&$qstr1"; ?>">쇼핑<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_2",1)."&$qstr1"; ?>">주문<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_3",1)."&$qstr1"; ?>">준비<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_4",1)."&$qstr1"; ?>">배송<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_5",1)."&$qstr1"; ?>">완료<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_6",1)."&$qstr1"; ?>">취소<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_7",1)."&$qstr1"; ?>">반품<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_8",1)."&$qstr1"; ?>">품절<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ct_status_sum",1)."&$qstr1"; ?>">합계<span class="sound_only"> 순 정렬</span></a></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$href = G4_SHOP_URL."/item.php?it_id={$row['it_id']}";
|
||||
@ -134,19 +134,19 @@ if ($fr_date || $to_date) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
$list = $i%2;
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_num"><?=$num?></td>
|
||||
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str($row['it_name'],30)?></a></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_1']?></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_2']?></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_3']?></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_4']?></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_5']?></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_6']?></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_7']?></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_8']?></td>
|
||||
<td class="td_smallnum"><?=$row['ct_status_sum']?></td>
|
||||
<td class="td_num"><?php echo $num; ?></td>
|
||||
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'].'_s', 50, 50); ?><?php echo cut_str($row['it_name'],30); ?></a></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_1']; ?></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_2']; ?></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_3']; ?></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_4']; ?></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_5']; ?></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_6']; ?></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_7']; ?></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_8']; ?></td>
|
||||
<td class="td_smallnum"><?php echo $row['ct_status_sum']; ?></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0) {
|
||||
@ -157,9 +157,9 @@ if ($fr_date || $to_date) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr1&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr1&page="); ?>
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400620';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -53,24 +53,24 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist">
|
||||
<input type="hidden" name="doc" value="<?=$doc?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="doc" value="<?php echo $doc; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>상품재고 검색</legend>
|
||||
|
||||
<span>
|
||||
<?=$listall?>
|
||||
전체 상품 <?=$total_count ?>개
|
||||
<?php echo $listall; ?>
|
||||
전체 상품 <?php echo $total_count; ?>개
|
||||
</span>
|
||||
|
||||
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-15 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-15 ?>
|
||||
<label for="sel_ca_id" class="sound_only">분류선택</label>
|
||||
<select name="sel_ca_id" id="sel_ca_id">
|
||||
<option value=''>전체분류</option>
|
||||
<?
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
|
||||
@ -81,16 +81,16 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<? // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
|
||||
<label for="sel_field" class="sound_only">검색대상</label>
|
||||
<select name="sel_field" id="sel_field">
|
||||
<option value="it_name" <?=get_selected($sel_field, 'it_name')?>>상품명</option>
|
||||
<option value="it_id" <?=get_selected($sel_field, 'it_id')?>>상품코드</option>
|
||||
<option value="it_name" <?php echo get_selected($sel_field, 'it_name'); ?>>상품명</option>
|
||||
<option value="it_id" <?php echo get_selected($sel_field, 'it_id'); ?>>상품코드</option>
|
||||
</select>
|
||||
|
||||
<label for="search" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="search" value="<?=$search?>" required class="frm_input required">
|
||||
<input type="text" name="search" value="<?php echo $search; ?>" required class="frm_input required">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
@ -105,28 +105,28 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
</div>
|
||||
|
||||
<form name="fitemstocklist" action="./itemstocklistupdate.php" method="post">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1 ?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2 ?>">
|
||||
<input type="hidden" name="sel_ca_id" value="<?=$sel_ca_id ?>">
|
||||
<input type="hidden" name="sel_field" value="<?=$sel_field ?>">
|
||||
<input type="hidden" name="search" value="<?=$search ?>">
|
||||
<input type="hidden" name="page" value="<?=$page ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="sel_ca_id" value="<?php echo $sel_ca_id; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
<table class="frm_basic">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><a href="<?=title_sort("it_id") . "&$qstr1"; ?>">상품코드<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("it_name") . "&$qstr1"; ?>">상품명<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("it_stock_qty") . "&$qstr1"; ?>">창고재고<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("it_id") . "&$qstr1"; ?>">상품코드<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("it_name") . "&$qstr1"; ?>">상품명<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("it_stock_qty") . "&$qstr1"; ?>">창고재고<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col">주문대기</th>
|
||||
<th scope="col">가재고</th>
|
||||
<th scope="col">재고수정</th>
|
||||
<th scope="col"><a href="<?=title_sort("it_use") . "&$qstr1"; ?>">판매<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("it_use") . "&$qstr1"; ?>">판매<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$href = G4_SHOP_URL."/item.php?it_id={$row['it_id']}";
|
||||
@ -145,18 +145,18 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_bignum">
|
||||
<input type="hidden" name="it_id[<?=$i?>]" value="<?=$row['it_id']?>">
|
||||
<?=$row['it_id']?>
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<?php echo $row['it_id']; ?>
|
||||
</td>
|
||||
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str(stripslashes($row['it_name']), 60, "…")?></a></td>
|
||||
<td class="td_num"><?=number_format($row['it_stock_qty'])?></td>
|
||||
<td class="td_num"><?=number_format($wait_qty)?></td>
|
||||
<td class="td_num"><?=number_format($temporary_qty)?></td>
|
||||
<td class="td_num"><input type="text" name="it_stock_qty[<?=$i?>]" value="<?=$row['it_stock_qty']?>" class="frm_input" size="10" autocomplete="off"></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_use[<?=$i?>]" value="1" <?=($row['it_use'] ? "checked" : "")?>></td>
|
||||
<td class="td_smallmng"><a href="./itemform.php?w=u&it_id=<?=$row['it_id']?>&ca_id=<?=$row['ca_id']?>&$qstr">수정</a></td>
|
||||
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'].'_s', 50, 50); ?><?php echo cut_str(stripslashes($row['it_name']), 60, "…"); ?></a></td>
|
||||
<td class="td_num"><?php echo number_format($row['it_stock_qty']); ?></td>
|
||||
<td class="td_num"><?php echo number_format($wait_qty); ?></td>
|
||||
<td class="td_num"><?php echo number_format($temporary_qty); ?></td>
|
||||
<td class="td_num"><input type="text" name="it_stock_qty[<?php echo $i; ?>]" value="<?php echo $row['it_stock_qty']; ?>" class="frm_input" size="10" autocomplete="off"></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_use[<?php echo $i; ?>]" value="1" <?php echo ($row['it_use'] ? "checked" : ""); ?>></td>
|
||||
<td class="td_smallmng"><a href="./itemform.php?w=u&it_id=<?php echo $row['it_id']; ?>&ca_id=<?php echo $row['ca_id']; ?>&$qstr">수정</a></td>
|
||||
</tr><tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if (!$i)
|
||||
echo '<tr><td colspan="8" class="empty_table"><span>자료가 없습니다.</span></td></tr>';
|
||||
@ -170,8 +170,8 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400620';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400610';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -80,24 +80,24 @@ if ($stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist">
|
||||
<input type="hidden" name="doc" value="<?=$doc?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="doc" value="<?php echo $doc; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>상품 검색</legend>
|
||||
|
||||
<span>
|
||||
<?=$listall?>
|
||||
전체 상품 <?=$total_count ?>개
|
||||
<?php echo $listall; ?>
|
||||
전체 상품 <?php echo $total_count; ?>개
|
||||
</span>
|
||||
|
||||
<? // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-22 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-22 ?>
|
||||
<label for="sca" class="sound_only">분류선택</label>
|
||||
<select name="sca" id="sca">
|
||||
<option value="">전체분류</option>
|
||||
<?
|
||||
<?php
|
||||
$sql1 = " select ca_id, ca_name from {$g4['shop_category_table']} order by ca_id ";
|
||||
$result1 = sql_query($sql1);
|
||||
for ($i=0; $row1=sql_fetch_array($result1); $i++) {
|
||||
@ -108,16 +108,16 @@ if ($stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<? // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
|
||||
|
||||
<label for="sfl" class="sound_only">검색대상</label>
|
||||
<select name="sfl" id="sfl">
|
||||
<option value="it_name" <?=get_selected($sfl, 'it_name')?>>상품명</option>
|
||||
<option value="it_id" <?=get_selected($sfl, 'it_id')?>>상품코드</option>
|
||||
<option value="it_name" <?php echo get_selected($sfl, 'it_name'); ?>>상품명</option>
|
||||
<option value="it_id" <?php echo get_selected($sfl, 'it_id'); ?>>상품코드</option>
|
||||
</select>
|
||||
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?=$stx ?>" id="stx" required class="frm_input required">
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" id="stx" required class="frm_input required">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
@ -127,44 +127,44 @@ if ($stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
<h2>상품 목록</h2>
|
||||
|
||||
<form name="fitemtypelist" method="post" action="./itemtypelistupdate.php">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
|
||||
<input type="hidden" name="sst" value="<?php echo $sst; ?>">
|
||||
<input type="hidden" name="sod" value="<?php echo $sod; ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl; ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
<table class="frm_basic">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><?=subject_sort_link("it_id", $qstr, 1)?>상품코드</a></th>
|
||||
<th scope="col"><?=subject_sort_link("it_name")?>상품명</a></th>
|
||||
<th scope="col"><?=subject_sort_link("it_type1", $qstr, 1)?>히트<br>상품</a></th>
|
||||
<th scope="col"><?=subject_sort_link("it_type2", $qstr, 1)?>추천<br>상품</a></th>
|
||||
<th scope="col"><?=subject_sort_link("it_type3", $qstr, 1)?>신규<br>상품</a></th>
|
||||
<th scope="col"><?=subject_sort_link("it_type4", $qstr, 1)?>인기<br>상품</a></th>
|
||||
<th scope="col"><?=subject_sort_link("it_type5", $qstr, 1)?>할인<br>상품</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("it_id", $qstr, 1); ?>상품코드</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("it_name"); ?>상품명</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("it_type1", $qstr, 1); ?>히트<br>상품</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("it_type2", $qstr, 1); ?>추천<br>상품</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("it_type3", $qstr, 1); ?>신규<br>상품</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("it_type4", $qstr, 1); ?>인기<br>상품</a></th>
|
||||
<th scope="col"><?php echo subject_sort_link("it_type5", $qstr, 1); ?>할인<br>상품</a></th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<?php for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_bignum">
|
||||
<input type="hidden" name="it_id[<?=$i?>]" value="<?=$row['it_id']?>">
|
||||
<?=$row['it_id']?>
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<?php echo $row['it_id']; ?>
|
||||
</td>
|
||||
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str(stripslashes($row['it_name']), 60, "…")?></a></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type1[<?=$i?>]" value="1" <?=($row['it_type1'] ? 'checked' : '')?>></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type2[<?=$i?>]" value="1" <?=($row['it_type2'] ? 'checked' : '')?>></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type3[<?=$i?>]" value="1" <?=($row['it_type3'] ? 'checked' : '')?>></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type4[<?=$i?>]" value="1" <?=($row['it_type4'] ? 'checked' : '')?>></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type5[<?=$i?>]" value="1" <?=($row['it_type5'] ? 'checked' : '')?>></td>
|
||||
<td class="td_smallmng"><a href="./itemform.php?w=u&it_id=<?=$row['it_id']?>&ca_id=<?=$row['ca_id']?>&<?=$qstr?>"><img src="./img/icon_mod.jpg" alt="<?=cut_str(stripslashes($row['it_name']), 60, "…")?> 수정"></a></td>
|
||||
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'].'_s', 50, 50); ?><?php echo cut_str(stripslashes($row['it_name']), 60, "…"); ?></a></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type1[<?php echo $i; ?>]" value="1" <?php echo ($row['it_type1'] ? 'checked' : ''); ?>></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type2[<?php echo $i; ?>]" value="1" <?php echo ($row['it_type2'] ? 'checked' : ''); ?>></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type3[<?php echo $i; ?>]" value="1" <?php echo ($row['it_type3'] ? 'checked' : ''); ?>></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type4[<?php echo $i; ?>]" value="1" <?php echo ($row['it_type4'] ? 'checked' : ''); ?>></td>
|
||||
<td class="td_chk"><input type="checkbox" name="it_type5[<?php echo $i; ?>]" value="1" <?php echo ($row['it_type5'] ? 'checked' : ''); ?>></td>
|
||||
<td class="td_smallmng"><a href="./itemform.php?w=u&it_id=<?php echo $row['it_id']; ?>&ca_id=<?php echo $row['ca_id']; ?>&<?php echo $qstr; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo cut_str(stripslashes($row['it_name']), 60, "…"); ?> 수정"></a></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if (!$i)
|
||||
@ -183,8 +183,8 @@ if ($stx) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400610';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400720';
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -29,12 +29,12 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<form name="frmnewwin" action="./newwinformupdate.php" onsubmit="return frmnewwin_check(this);" method="post">
|
||||
<input type="hidden" name="w" value="<? echo $w ?>">
|
||||
<input type="hidden" name="nw_id" value="<? echo $nw_id ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="nw_id" value="<?php echo $nw_id; ?>">
|
||||
|
||||
<section class="cbox">
|
||||
<h2><?=$html_title?></h2>
|
||||
<p><?=help("쇼핑몰 초기화면 접속 시 자동으로 뜰 팝업레이어를 설정합니다.")?></p>
|
||||
<h2><?php echo $html_title; ?></h2>
|
||||
<p><?php echo help("쇼핑몰 초기화면 접속 시 자동으로 뜰 팝업레이어를 설정합니다."); ?></p>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
@ -44,59 +44,59 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="nw_disable_hours">시간</label></th>
|
||||
<td>
|
||||
<?=help("고객이 다시 보지 않음을 선택할 시 몇 시간동안 팝업레이어를 보여주지 않을지 설정합니다.")?>
|
||||
<input type="text" name="nw_disable_hours" value="<? echo $nw['nw_disable_hours'] ?>" id="nw_disable_hours" required class="frm_input required" size="5"> 시간
|
||||
<?php echo help("고객이 다시 보지 않음을 선택할 시 몇 시간동안 팝업레이어를 보여주지 않을지 설정합니다."); ?>
|
||||
<input type="text" name="nw_disable_hours" value="<?php echo $nw['nw_disable_hours']; ?>" id="nw_disable_hours" required class="frm_input required" size="5"> 시간
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="nw_begin_time">시작일시</label></th>
|
||||
<td>
|
||||
<input type="text" name="nw_begin_time" value="<? echo $nw['nw_begin_time'] ?>" id="nw_begin_time" required class="frm_input required" size="21" maxlength="19">
|
||||
<input type="text" name="nw_begin_time" value="<?php echo $nw['nw_begin_time']; ?>" id="nw_begin_time" required class="frm_input required" size="21" maxlength="19">
|
||||
<label for="nw_begin_chk">시작일시를 오늘로</label>
|
||||
<input type="checkbox" name="nw_begin_chk" value="<? echo date("Y-m-d 00:00:00", G4_SERVER_TIME); ?>" id="nw_begin_chk" onclick="if (this.checked == true) this.form.nw_begin_time.value=this.form.nw_begin_chk.value; else this.form.nw_begin_time.value = this.form.nw_begin_time.defaultValue;">
|
||||
<input type="checkbox" name="nw_begin_chk" value="<?php echo date("Y-m-d 00:00:00", G4_SERVER_TIME); ?>" id="nw_begin_chk" onclick="if (this.checked == true) this.form.nw_begin_time.value=this.form.nw_begin_chk.value; else this.form.nw_begin_time.value = this.form.nw_begin_time.defaultValue;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="nw_end_time">종료일시</label></th>
|
||||
<td>
|
||||
<input type="text" name="nw_end_time" value="<? echo $nw['nw_end_time'] ?>" id="nw_end_time" required class="frm_input required" size="21" maxlength="19">
|
||||
<input type="text" name="nw_end_time" value="<?php echo $nw['nw_end_time']; ?>" id="nw_end_time" required class="frm_input required" size="21" maxlength="19">
|
||||
<label for="nw_end_chk">종료일시를 오늘로부터 7일 후로</label>
|
||||
<input type="checkbox" name="nw_end_chk" value="<? echo date("Y-m-d 23:59:59", G4_SERVER_TIME+(60*60*24*7)); ?>" id="nw_end_chk" onclick="if (this.checked == true) this.form.nw_end_time.value=this.form.nw_end_chk.value; else this.form.nw_end_time.value = this.form.nw_end_time.defaultValue;">
|
||||
<input type="checkbox" name="nw_end_chk" value="<?php echo date("Y-m-d 23:59:59", G4_SERVER_TIME+(60*60*24*7)); ?>" id="nw_end_chk" onclick="if (this.checked == true) this.form.nw_end_time.value=this.form.nw_end_chk.value; else this.form.nw_end_time.value = this.form.nw_end_time.defaultValue;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="nw_left">팝업레이어 좌측 위치</label></th>
|
||||
<td>
|
||||
<input type="text" name="nw_left" value="<? echo $nw['nw_left'] ?>" id="nw_left" required class="frm_input required" size="5"> px
|
||||
<input type="text" name="nw_left" value="<?php echo $nw['nw_left']; ?>" id="nw_left" required class="frm_input required" size="5"> px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="nw_top">팝업레이어 상단 위치</label></th>
|
||||
<td>
|
||||
<input type="text" name="nw_top" value="<? echo $nw['nw_top'] ?>" id="nw_top" required class="frm_input required" size="5"> px
|
||||
<input type="text" name="nw_top" value="<?php echo $nw['nw_top']; ?>" id="nw_top" required class="frm_input required" size="5"> px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="nw_width">팝업레이어 넓이</label></th>
|
||||
<td>
|
||||
<input type="text" name="nw_width" value="<? echo $nw['nw_width'] ?>" id="nw_width" required class="frm_input required" size="5"> px
|
||||
<input type="text" name="nw_width" value="<?php echo $nw['nw_width'] ?>" id="nw_width" required class="frm_input required" size="5"> px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="nw_height">팝업레이어 높이</label></th>
|
||||
<td>
|
||||
<input type="text" name="nw_height" value="<? echo $nw['nw_height'] ?>" id="nw_height" required class="frm_input required" size="5"> px
|
||||
<input type="text" name="nw_height" value="<?php echo $nw['nw_height'] ?>" id="nw_height" required class="frm_input required" size="5"> px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="nw_subject">팝업 제목</label></th>
|
||||
<td>
|
||||
<input type="text" name="nw_subject" value="<? echo stripslashes($nw['nw_subject']) ?>" id="nw_subject" required class="frm_input required" size="80">
|
||||
<input type="text" name="nw_subject" value="<?php echo stripslashes($nw['nw_subject']) ?>" id="nw_subject" required class="frm_input required" size="80">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td><?=editor_html('nw_content', $nw['nw_content']);?></td>
|
||||
<td><?php echo editor_html('nw_content', $nw['nw_content']); ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -114,7 +114,7 @@ function frmnewwin_check(f)
|
||||
errmsg = "";
|
||||
errfld = "";
|
||||
|
||||
<?=get_editor_js('nw_content');?>
|
||||
<?php echo get_editor_js('nw_content'); ?>
|
||||
|
||||
check_field(f.nw_subject, "제목을 입력하세요.");
|
||||
|
||||
@ -127,6 +127,6 @@ function frmnewwin_check(f)
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400720';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400720';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -20,7 +20,7 @@ $result = sql_query($sql);
|
||||
|
||||
<section class="cbox">
|
||||
<h2>팝업레이어 관리</h2>
|
||||
<p>추가된 팝업레이어 <? echo $total_count ?>건</p>
|
||||
<p>추가된 팝업레이어 <?php echo $total_count; ?>건</p>
|
||||
<div id="btn_add">
|
||||
<a href="./newwinform.php">새창관리추가</a>
|
||||
</div>
|
||||
@ -40,23 +40,23 @@ $result = sql_query($sql);
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? for ($i=0; $row=mysql_fetch_array($result); $i++) { ?>
|
||||
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) { ?>
|
||||
<tr>
|
||||
<td class="td_num"><?=$row['nw_id']?></td>
|
||||
<td><?=$row['nw_subject']?></td>
|
||||
<td class="td_time"><?=substr($row['nw_begin_time'],2,14)?></td>
|
||||
<td class="td_time"><?=substr($row['nw_end_time'],2,14)?></td>
|
||||
<td><?=$row['nw_disable_hours']?>시간</td>
|
||||
<td><?=$row['nw_left']?>px</td>
|
||||
<td><?=$row['nw_top']?>px</td>
|
||||
<td><?=$row['nw_width']?>px</td>
|
||||
<td><?=$row['nw_height']?>px</td>
|
||||
<td class="td_num"><?php echo $row['nw_id']; ?></td>
|
||||
<td><?php echo $row['nw_subject']; ?></td>
|
||||
<td class="td_time"><?php echo substr($row['nw_begin_time'],2,14); ?></td>
|
||||
<td class="td_time"><?php echo substr($row['nw_end_time'],2,14); ?></td>
|
||||
<td><?php echo $row['nw_disable_hours']; ?>시간</td>
|
||||
<td><?php echo $row['nw_left']; ?>px</td>
|
||||
<td><?php echo $row['nw_top']; ?>px</td>
|
||||
<td><?php echo $row['nw_width']; ?>px</td>
|
||||
<td><?php echo $row['nw_height']; ?>px</td>
|
||||
<td class="td_smallmng">
|
||||
<a href="./newwinform.php?w=u&nw_id=<?=$row['nw_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$row['nw_subject']?> 수정"></a>
|
||||
<a href="./newwinformupdate.php?w=d&nw_id=<?=$row['nw_id']?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?=$row['nw_subject']?> 삭제"></a>
|
||||
<a href="./newwinform.php?w=u&nw_id=<?php echo $row['nw_id']; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo $row['nw_subject']; ?> 수정"></a>
|
||||
<a href="./newwinformupdate.php?w=d&nw_id=<?php echo $row['nw_id']; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?php echo $row['nw_subject']; ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0) {
|
||||
@ -68,6 +68,6 @@ $result = sql_query($sql);
|
||||
</section>
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '500130';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -54,25 +54,25 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="flist">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
<fieldset>
|
||||
<legend>전자결제내역 검색</legend>
|
||||
|
||||
<span>
|
||||
<?=$listall?>
|
||||
전체 전자결제내역 <?=$total_count ?>건
|
||||
<?php echo $listall; ?>
|
||||
전체 전자결제내역 <?php echo $total_count; ?>건
|
||||
</span>
|
||||
|
||||
<label for="sel_field" class="sound_only">검색대상</label>
|
||||
<select name="sel_field" id="sel_field">
|
||||
<option value="a.od_id" <?=get_selected($_GET['sel_field'], 'a.od_id')?>>주문번호</option>
|
||||
<option value="cd_app_no" <?=get_selected($_GET['sel_field'], 'cd_app_no')?>>승인번호</option>
|
||||
<option value="cd_opt01" <?=get_selected($_GET['sel_field'], 'cd_opt01')?>>결제자</option>
|
||||
<option value="a.od_id" <?php echo get_selected($_GET['sel_field'], 'a.od_id'); ?>>주문번호</option>
|
||||
<option value="cd_app_no" <?php echo get_selected($_GET['sel_field'], 'cd_app_no'); ?>>승인번호</option>
|
||||
<option value="cd_opt01" <?php echo get_selected($_GET['sel_field'], 'cd_opt01'); ?>>결제자</option>
|
||||
</select>
|
||||
<label for="search" class="sound_only">검색어 <strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="search" value="<?=$search?>" id="search" required class="frm_input required" autocomplete="off">
|
||||
<input type="text" name="search" value="<?php echo $search; ?>" id="search" required class="frm_input required" autocomplete="off">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
@ -91,25 +91,25 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
<table class="frm_basic">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><a href="<?=title_sort("od_id") . "&$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("cd_amount") . "&$qstr1"; ?>">승인금액<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("cd_app_no") . "&$qstr1"; ?>">승인번호<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("cd_app_rt") . "&$qstr1"; ?>">승인결과<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("cd_app_time") . "&$qstr1"; ?>">승인일시<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("cd_opt01") . "&$qstr1"; ?>">결제자<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("od_id") . "&$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("cd_amount") . "&$qstr1"; ?>">승인금액<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("cd_app_no") . "&$qstr1"; ?>">승인번호<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("cd_app_rt") . "&$qstr1"; ?>">승인결과<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("cd_app_time") . "&$qstr1"; ?>">승인일시<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("cd_opt01") . "&$qstr1"; ?>">결제자<span class="sound_only"> 순 정렬</span></a></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? for ($i=0; $row=sql_fetch_array($result); $i++) { ?>
|
||||
<?php for ($i=0; $row=sql_fetch_array($result); $i++) { ?>
|
||||
<tr>
|
||||
<td class="td_odrnum2"><a href="./orderform.php?od_id=<?=$row['od_id']?>"><?=$row['od_id']?></a></td>
|
||||
<td><?=display_amount($row['cd_amount'])?></td>
|
||||
<td class="td_num"><?=$row['cd_app_no']?></td>
|
||||
<td class="td_smallmng"><?=$row['cd_app_rt']?></td>
|
||||
<td class="td_time"><?=$row['cd_app_time']?></td>
|
||||
<td class="td_smallmng"><?=$row['cd_opt01']?></td>
|
||||
<td class="td_odrnum2"><a href="./orderform.php?od_id=<?php echo $row['od_id']; ?>"><?php echo $row['od_id']; ?></a></td>
|
||||
<td><?php echo display_amount($row['cd_amount']); ?></td>
|
||||
<td class="td_num"><?php echo $row['cd_app_no']; ?></td>
|
||||
<td class="td_smallmng"><?php echo $row['cd_app_rt']; ?></td>
|
||||
<td class="td_time"><?php echo $row['cd_app_time']; ?></td>
|
||||
<td class="td_smallmng"><?php echo $row['cd_opt01']; ?></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="6" class="empty_table">자료가 없습니다.</td></tr>'
|
||||
@ -119,8 +119,8 @@ if ($search) // 검색 결과일 때만 처음 버튼을 보여줌
|
||||
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400400';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400400';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400400';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -121,20 +121,20 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_sodr_list" class="cbox">
|
||||
<h2>주문상품 목록</h2>
|
||||
<?=$pg_anchor?>
|
||||
<p>주문일시 <?=substr($od['od_time'],0,16)?> (<?=get_yoil($od['od_time']);?>) / 주문총액 <strong><?=number_format($t_ct_amount['합계']); ?></strong>원</p>
|
||||
<? if ($default['de_hope_date_use']) { ?><p>희망배송일은 <?=$od['od_hope_date']?> (<?=get_yoil($od['od_hope_date'])?>) 입니다.</p><? } ?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<p>주문일시 <?php echo substr($od['od_time'],0,16); ?> (<?php echo get_yoil($od['od_time']); ?>) / 주문총액 <strong><?php echo number_format($t_ct_amount['합계']); ?></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 } ?>
|
||||
|
||||
<form name="frmorderform" method="post" action="./ordercartupdate.php" onsubmit="return form_submit(this);">
|
||||
<input type="hidden" name="uq_id" value="<?=$od['uq_id']?>">
|
||||
<input type="hidden" name="od_id" value="<?=$od_id?>">
|
||||
<input type="hidden" name="mb_id" value="<?=$od['mb_id']?>">
|
||||
<input type="hidden" name="od_email" value="<?=$od['od_email']?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" name="search" value="<?=$search?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="uq_id" value="<?php echo $od['uq_id']; ?>">
|
||||
<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']; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page;?>">
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@ -154,7 +154,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
$image_rate = 2.5;
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$ct_amount['소계'] = $row['ct_amount'] * $row['ct_qty'];
|
||||
@ -169,24 +169,24 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<tr>
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="ct_id[<?=$i?>]" value="<?=$row['ct_id']?>">
|
||||
<label for="ct_chk_<?=$i?>" class="sound_only"><?=$row['it_name']?> 체크</label>
|
||||
<input type="checkbox" name="ct_chk[<?=$i?>]" value="1" id="ct_chk_<?=$i?>">
|
||||
<input type="hidden" name="ct_id[<?php echo $i; ?>]" value="<?php echo $row['ct_id']; ?>">
|
||||
<label for="ct_chk_<?php echo $i; ?>" class="sound_only"><?php echo $row['it_name']; ?> 체크</label>
|
||||
<input type="checkbox" name="ct_chk[<?php echo $i; ?>]" value="1" id="ct_chk_<?php echo $i; ?>">
|
||||
</td>
|
||||
<td>
|
||||
<a href="./itemform.php?w=u&it_id=<?=$row['it_id']?>"><?=$image?><?=stripslashes($row['it_name'])?></a><br>
|
||||
<?=print_item_options($row['it_id'], $row['it_opt1'], $row['it_opt2'], $row['it_opt3'], $row['it_opt4'], $row['it_opt5'], $row['it_opt6'])?>
|
||||
<a href="./itemform.php?w=u&it_id=<?php echo $row['it_id']; ?>"><?php echo $image; ?><?php echo stripslashes($row['it_name']); ?></a><br>
|
||||
<?php echo print_item_options($row['it_id'], $row['it_opt1'], $row['it_opt2'], $row['it_opt3'], $row['it_opt4'], $row['it_opt5'], $row['it_opt6']); ?>
|
||||
</td>
|
||||
<td class="td_small_stats"><?=$row['ct_status']?></td>
|
||||
<td class="td_num"><?=$row['ct_qty']?></td>
|
||||
<td class="td_num"><?=number_format($row['ct_amount'])?></td>
|
||||
<td class="td_num"><?=number_format($ct_amount['소계'])?></td>
|
||||
<td class="td_num"><?=number_format($ct_point['소계'])?></td>
|
||||
<td class="td_small_stats"><?=get_yn($row['dct_point_use'])?></td>
|
||||
<td class="td_small_stats"><?=get_yn($row['ct_stock_use'])?></td>
|
||||
<td class="td_small_stats"><?php echo $row['ct_status']; ?></td>
|
||||
<td class="td_num"><?php echo $row['ct_qty']; ?></td>
|
||||
<td class="td_num"><?php echo number_format($row['ct_amount']); ?></td>
|
||||
<td class="td_num"><?php echo number_format($ct_amount['소계']); ?></td>
|
||||
<td class="td_num"><?php echo number_format($ct_point['소계']); ?></td>
|
||||
<td class="td_small_stats"><?php echo get_yn($row['dct_point_use']); ?></td>
|
||||
<td class="td_small_stats"><?php echo get_yn($row['ct_stock_use']); ?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
$t_ct_amount['합계'] += $ct_amount['소계'];
|
||||
$t_ct_point['합계'] += $ct_point['소계'];
|
||||
}
|
||||
@ -195,7 +195,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</table>
|
||||
|
||||
<div class="btn_list">
|
||||
<input type="hidden" name="chk_cnt" value="<?=$i?>">
|
||||
<input type="hidden" name="chk_cnt" value="<?php echo $i; ?>">
|
||||
<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">
|
||||
@ -211,9 +211,9 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_sodr_pay" class="cbox">
|
||||
<h2>주문결제 내역</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 주문금액 = 상품구입금액 + 배송비
|
||||
$amount['정상'] = $t_ct_amount['정상'] + $od['od_send_cost'];
|
||||
|
||||
@ -230,7 +230,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
$s_receipt_way .= "+포인트";
|
||||
?>
|
||||
|
||||
<strong class="sodr_nonpay">미수금 <?=display_amount($amount['미수']) ?></strong>
|
||||
<strong class="sodr_nonpay">미수금 <?php echo display_amount($amount['미수']); ?></strong>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@ -247,14 +247,14 @@ $pg_anchor = '<ul class="anchor">
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="td_odrnum2"><?=$od['od_id'] ?><!-- uq_id : <?=$od[uq_id] ?> --></td>
|
||||
<td class="td_payby"><?=$s_receipt_way ?></td>
|
||||
<td class="td_bignum"><?=display_amount($amount['정상']) ?></td>
|
||||
<td class="td_bignum"><?=display_point($od['od_receipt_point'])?></td>
|
||||
<td class="td_bignum"><?=number_format($amount['입금'])?>원</td>
|
||||
<td class="td_bignum"><?=display_amount($od['od_dc_amount'])?></td>
|
||||
<td class="td_bignum"><?=display_amount($od['od_refund_amount'])?></td>
|
||||
<td class="td_bignum"><?=number_format($t_ct_amount['취소'])?>원</td>
|
||||
<td class="td_odrnum2"><?php echo $od['od_id']; ?><!-- uq_id : <?php echo $od['uq_id']; ?> --></td>
|
||||
<td class="td_payby"><?php echo $s_receipt_way; ?></td>
|
||||
<td class="td_bignum"><?php echo display_amount($amount['정상']); ?></td>
|
||||
<td class="td_bignum"><?php echo display_point($od['od_receipt_point']); ?></td>
|
||||
<td class="td_bignum"><?php echo number_format($amount['입금']); ?>원</td>
|
||||
<td class="td_bignum"><?php echo display_amount($od['od_dc_amount']); ?></td>
|
||||
<td class="td_bignum"><?php echo display_amount($od['od_refund_amount']); ?></td>
|
||||
<td class="td_bignum"><?php echo number_format($t_ct_amount['취소']); ?>원</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -263,17 +263,17 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section class="cbox compare_wrap">
|
||||
<h2>결제상세정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<form name="frmorderreceiptform" action="./orderreceiptupdate.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="od_id" value="<?=$od_id?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" name="search" value="<?=$search?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="od_name" value="<?=$od['od_name']?>">
|
||||
<input type="hidden" name="od_hp" value="<?=$od['od_hp']?>">
|
||||
<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; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="od_name" value="<?php echo $od['od_name']; ?>">
|
||||
<input type="hidden" name="od_hp" value="<?php echo $od['od_hp']; ?>">
|
||||
|
||||
<section id="anc_sodr_chk" class="compare_left">
|
||||
<h3>결제상세정보 확인</h3>
|
||||
@ -284,133 +284,133 @@ $pg_anchor = '<ul class="anchor">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<? if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌' || $od['od_settle_case'] == '계좌이체') { ?>
|
||||
<? if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌') { ?>
|
||||
<?php if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌' || $od['od_settle_case'] == '계좌이체') { ?>
|
||||
<?php if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌') { ?>
|
||||
<tr>
|
||||
<th scope="row">계좌번호</th>
|
||||
<td><?=$od['od_bank_account']?></td>
|
||||
<td><?php echo $od['od_bank_account']; ?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><?=$od['od_settle_case']?> 입금액</th>
|
||||
<td><?=display_amount($od['od_receipt_bank']);?></td>
|
||||
<th scope="row"><?php echo $od['od_settle_case']; ?> 입금액</th>
|
||||
<td><?php echo display_amount($od['od_receipt_bank']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">입금자</th>
|
||||
<td><?=$od['od_deposit_name']?></td>
|
||||
<td><?php echo $od['od_deposit_name']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">입금확인일시</th>
|
||||
<td>
|
||||
<? if ($od['od_bank_time'] == 0) { ?>입금 확인일시를 체크해 주세요.
|
||||
<? } else { ?><?=$od['od_bank_time']?> (<?=get_yoil($od['od_bank_time'])?>)
|
||||
<? } ?>
|
||||
<?php if ($od['od_bank_time'] == 0) { ?>입금 확인일시를 체크해 주세요.
|
||||
<?php } else { ?><?php echo $od['od_bank_time']; ?> (<?php echo get_yoil($od['od_bank_time']); ?>)
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<? if ($od['od_settle_case'] == '휴대폰') { ?>
|
||||
<?php if ($od['od_settle_case'] == '휴대폰') { ?>
|
||||
<tr>
|
||||
<th scope="row">휴대폰번호</th>
|
||||
<td><?=$od['od_escrow2']?></td>
|
||||
<td><?php echo $od['od_escrow2']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?=$od['od_settle_case']?> 결제액</th>
|
||||
<td><?=display_amount($od['od_receipt_hp']);?></td>
|
||||
<th scope="row"><?php echo $od['od_settle_case']; ?> 결제액</th>
|
||||
<td><?php echo display_amount($od['od_receipt_hp']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">결제 확인일시</th>
|
||||
<td>
|
||||
<? if ($od['od_hp_time'] == 0) { ?>결제 확인일시를 체크해 주세요.
|
||||
<? } else { ?><?=$od['od_hp_time']?> (<?=get_yoil($od['od_hp_time'])?>)
|
||||
<? } ?>
|
||||
<?php if ($od['od_hp_time'] == 0) { ?>결제 확인일시를 체크해 주세요.
|
||||
<?php } else { ?><?php echo $od['od_hp_time']; ?> (<?php echo get_yoil($od['od_hp_time']); ?>)
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<? if ($od['od_settle_case'] == '신용카드') { ?>
|
||||
<?php if ($od['od_settle_case'] == '신용카드') { ?>
|
||||
<tr>
|
||||
<th scope="row" class="sodr_sppay">신용카드 입금액</th>
|
||||
<td>
|
||||
<? if ($od['od_card_time'] == "0000-00-00 00:00:00") {?>0원
|
||||
<? } else { ?><?=display_amount($od['od_receipt_card'])?>
|
||||
<? } ?>
|
||||
<?php if ($od['od_card_time'] == "0000-00-00 00:00:00") {?>0원
|
||||
<?php } else { ?><?php echo display_amount($od['od_receipt_card']); ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" class="sodr_sppay">카드 승인일시</th>
|
||||
<td>
|
||||
<? if ($od['od_card_time'] == "0000-00-00 00:00:00") {?>신용카드 결제 일시 정보가 없습니다.
|
||||
<? } else { ?><?=substr($od['od_card_time'], 0, 20)?>
|
||||
<? } ?>
|
||||
<?php if ($od['od_card_time'] == "0000-00-00 00:00:00") {?>신용카드 결제 일시 정보가 없습니다.
|
||||
<?php } else { ?><?php echo substr($od['od_card_time'], 0, 20); ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" class="sodr_sppay">카드 승인취소</th>
|
||||
<td><?=display_amount($od['od_cancel_card'])?></td>
|
||||
<td><?php echo display_amount($od['od_cancel_card']); ?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row">포인트</th>
|
||||
<td><?=display_point($od['od_receipt_point'])?></td>
|
||||
<td><?php echo display_point($od['od_receipt_point']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">DC</th>
|
||||
<td><?=display_amount($od['od_dc_amount'])?></td>
|
||||
<td><?php echo display_amount($od['od_dc_amount']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">환불액</th>
|
||||
<td><?=display_amount($od['od_refund_amount'])?></td>
|
||||
<td><?php echo display_amount($od['od_refund_amount']); ?></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select dl_company, dl_url, dl_tel from {$g4['shop_delivery_table']} where dl_id = '{$od['dl_id']}' ";
|
||||
$dl = sql_fetch($sql);
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row">배송회사</th>
|
||||
<td>
|
||||
<?
|
||||
<?php
|
||||
if ($od['dl_id'] > 0) {
|
||||
// get 으로 날리는 경우 운송장번호를 넘김
|
||||
if (strpos($dl['dl_url'], "=")) $invoice = $od['od_invoice'];
|
||||
?>
|
||||
<a href="<?=$dl['dl_url']?><?=$invoice?>" target="_blank"><?=$dl['dl_company']?></a> (고객센터 <?=$dl['dl_tel']?>)
|
||||
<? } else { ?>배송회사를 선택해 주세요.
|
||||
<? } ?>
|
||||
<a href="<?php echo $dl['dl_url']; ?><?php echo $invoice; ?>" target="_blank"><?php echo $dl['dl_company']; ?></a> (고객센터 <?php echo $dl['dl_tel']; ?>)
|
||||
<?php } else { ?>배송회사를 선택해 주세요.
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($od['od_invoice']) { ?>
|
||||
<?php if ($od['od_invoice']) { ?>
|
||||
<tr>
|
||||
<th scope="row">운송장번호</th>
|
||||
<td><?=$od['od_invoice'] ?></td>
|
||||
<td><?php echo $od['od_invoice']; ?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row">배송일시</th>
|
||||
<td><?=$od['od_invoice_time'] ?></td>
|
||||
<td><?php echo $od['od_invoice_time']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_send_cost">배송비</label></th>
|
||||
<td>
|
||||
<?=help("주문취소시 배송비는 취소되지 않으므로 이 배송비를 0으로 설정하여 미수금을 맞추십시오.");?>
|
||||
<input type="text" name="od_send_cost" value="<?=$od['od_send_cost']?>" id="od_send_cost" class="frm_input" size="10"> 원
|
||||
<?php echo help("주문취소시 배송비는 취소되지 않으므로 이 배송비를 0으로 설정하여 미수금을 맞추십시오."); ?>
|
||||
<input type="text" name="od_send_cost" value="<?php echo $od['od_send_cost']; ?>" id="od_send_cost" class="frm_input" size="10"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
if ($amount['미수'] == 0) {
|
||||
if ($od['od_receipt_bank']) {
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row">현금영수증</th>
|
||||
<td>
|
||||
<? if ($od["od_cash"]) { ?>
|
||||
<a href="javascript:;" onclick="window.open('https://admin.kcp.co.kr/Modules/Service/Cash/Cash_Bill_Common_View.jsp?cash_no=<?=$od['od_cash_no']?>', 'taxsave_receipt', 'width=360,height=647,scrollbars=0,menus=0');">현금영수증 확인</a>
|
||||
<? } else { ?>
|
||||
<a href="javascript:;" onclick="window.open('<?=G4_SHOP_URL?>/taxsave_kcp.php?od_id=<?=$od_id?>&uq_id=<?=$od['uq_id']?>', 'taxsave', 'width=550,height=400,scrollbars=1,menus=0');">현금영수증 발급</a>
|
||||
<? } ?>
|
||||
<?php if ($od["od_cash"]) { ?>
|
||||
<a href="javascript:;" onclick="window.open('https://admin.kcp.co.kr/Modules/Service/Cash/Cash_Bill_Common_View.jsp?cash_no=<?php echo $od['od_cash_no']; ?>', 'taxsave_receipt', 'width=360,height=647,scrollbars=0,menus=0');">현금영수증 확인</a>
|
||||
<?php } else { ?>
|
||||
<a href="javascript:;" onclick="window.open('<?php echo G4_SHOP_URL; ?>/taxsave_kcp.php?od_id=<?php echo $od_id; ?>&uq_id=<?php echo $od['uq_id']; ?>', 'taxsave', 'width=550,height=400,scrollbars=1,menus=0');">현금영수증 발급</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
@ -427,8 +427,8 @@ $pg_anchor = '<ul class="anchor">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<? if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌' || $od['od_settle_case'] == '계좌이체') { ########## 시작?>
|
||||
<?
|
||||
<?php if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌' || $od['od_settle_case'] == '계좌이체') { ########## 시작?>
|
||||
<?php
|
||||
// 주문서
|
||||
$sql = " select * from {$g4['shop_order_table']} where od_id = '$od_id' ";
|
||||
$result = sql_query($sql);
|
||||
@ -452,56 +452,56 @@ $pg_anchor = '<ul class="anchor">
|
||||
$bank_account = $od['od_settle_case'];
|
||||
?>
|
||||
|
||||
<? if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌') { ?>
|
||||
<?php if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌') { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_bank_account">계좌번호</label></th>
|
||||
<td><?=$bank_account?></td>
|
||||
<td><?php echo $bank_account; ?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_receipt_bank"><?=$od['od_settle_case']?> 입금액</label></th>
|
||||
<th scope="row"><label for="od_receipt_bank"><?php echo $od['od_settle_case']; ?> 입금액</label></th>
|
||||
<td>
|
||||
<input type="text" name="od_receipt_bank" value="<?=$od['od_receipt_bank']?>" id="od_receipt_bank" class="frm_input" size="10"> 원
|
||||
<?
|
||||
<input type="text" name="od_receipt_bank" value="<?php echo $od['od_receipt_bank']; ?>" id="od_receipt_bank" class="frm_input" size="10"> 원
|
||||
<?php
|
||||
if ($od['od_settle_case'] == '계좌이체' || $od['od_settle_case'] == '가상계좌') {
|
||||
$pg_url = $g4['shop_cardpg'][$default['de_card_pg']];
|
||||
?>
|
||||
<a href="<?=$pg_url?>" target="_blank">결제대행사</a>
|
||||
<? } ?>
|
||||
<a href="<?php echo $pg_url; ?>" target="_blank">결제대행사</a>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_deposit_name">입금자명</label></th>
|
||||
<td>
|
||||
<? if ($default['de_sms_use3']) { ?>
|
||||
<?php if ($default['de_sms_use3']) { ?>
|
||||
<label for="od_sms_ipgum_check">SMS 문자전송</label>
|
||||
<input type="checkbox" name="od_sms_ipgum_check" id="od_sms_ipgum_check">
|
||||
<br>
|
||||
<? } ?>
|
||||
<input type="text" name="od_deposit_name" value="<?=$od['od_deposit_name'] ?>" id="od_deposit_name" class="frm_input">
|
||||
<?php } ?>
|
||||
<input type="text" name="od_deposit_name" value="<?php echo $od['od_deposit_name']; ?>" id="od_deposit_name" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_bank_time">입금 확인일시</label></th>
|
||||
<td>
|
||||
<label for="od_bank_chk">현재 시간으로 설정</label>
|
||||
<input type="checkbox" name="od_bank_chk" id="od_bank_chk" value="<?=date("Y-m-d H:i:s", G4_SERVER_TIME)?>" onclick="if (this.checked == true) this.form.od_bank_time.value=this.form.od_bank_chk.value; else this.form.od_bank_time.value = this.form.od_bank_time.defaultValue;"><br>
|
||||
<input type="text" name="od_bank_time" value="<?=is_null_time($od['od_bank_time']) ? "" : $od['od_bank_time'];?>" id="od_bank_time" class="frm_input" maxlength="19">
|
||||
<input type="checkbox" name="od_bank_chk" id="od_bank_chk" value="<?php echo date("Y-m-d H:i:s", G4_SERVER_TIME); ?>" onclick="if (this.checked == true) this.form.od_bank_time.value=this.form.od_bank_chk.value; else this.form.od_bank_time.value = this.form.od_bank_time.defaultValue;"><br>
|
||||
<input type="text" name="od_bank_time" value="<?php echo is_null_time($od['od_bank_time']) ? "" : $od['od_bank_time']; ?>" id="od_bank_time" class="frm_input" maxlength="19">
|
||||
</td>
|
||||
</tr>
|
||||
<? } ########## 끝 ?>
|
||||
<?php } ########## 끝 ?>
|
||||
|
||||
<? if ($od['od_settle_case'] == '휴대폰') { ?>
|
||||
<?php if ($od['od_settle_case'] == '휴대폰') { ?>
|
||||
<tr>
|
||||
<th scope="row">휴대폰번호</th>
|
||||
<td><?=$od['od_escrow2']?></td>
|
||||
<td><?php echo $od['od_escrow2']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_receipt_hp"><?=$od['od_settle_case']?> 결제액</label></th>
|
||||
<th scope="row"><label for="od_receipt_hp"><?php echo $od['od_settle_case']; ?> 결제액</label></th>
|
||||
<td>
|
||||
<input type="text" name="od_receipt_hp" value="<?=$od['od_receipt_hp']?>" id="od_receipt_hp" class="frm_input"> 원
|
||||
<? $pg_url = $g4['shop_cardpg'][$default['de_card_pg']];?>
|
||||
<a href="<?=$pg_url?>" target="_blank">결제대행사</a>
|
||||
<input type="text" name="od_receipt_hp" value="<?php echo $od['od_receipt_hp']; ?>" id="od_receipt_hp" class="frm_input"> 원
|
||||
<?php $pg_url = $g4['shop_cardpg'][$default['de_card_pg']];?>
|
||||
<a href="<?php echo $pg_url; ?>" target="_blank">결제대행사</a>
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -510,48 +510,48 @@ $pg_anchor = '<ul class="anchor">
|
||||
<td>
|
||||
<label for="od_card_chk">현재 시간으로 설정</label>
|
||||
<!-- name od_card_chk 를 od_hp_chk 로 수정 - 지운아빠 2013-04-16 -->
|
||||
<input type="checkbox" name="od_hp_chk" id="od_hp_chk" value="<? echo date("Y-m-d H:i:s", G4_SERVER_TIME); ?>" onclick="if (this.checked == true) this.form.od_hp_time.value=this.form.od_card_chk.value; else this.form.od_hp_time.value = this.form.od_hp_time.defaultValue;"><br>
|
||||
<input type="text" name="od_hp_time" value="<?=is_null_time($od['od_hp_time']) ? "" : $od['od_hp_time']; ?>" id="op_hp_time" class="frm_input" size="19" maxlength="19">
|
||||
<input type="checkbox" name="od_hp_chk" id="od_hp_chk" value="<?php echo date("Y-m-d H:i:s", G4_SERVER_TIME); ?>" onclick="if (this.checked == true) this.form.od_hp_time.value=this.form.od_card_chk.value; else this.form.od_hp_time.value = this.form.od_hp_time.defaultValue;"><br>
|
||||
<input type="text" name="od_hp_time" value="<?php echo is_null_time($od['od_hp_time']) ? "" : $od['od_hp_time']; ?>" id="op_hp_time" class="frm_input" size="19" maxlength="19">
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<? if ($od['od_settle_case'] == '신용카드') { ?>
|
||||
<?php if ($od['od_settle_case'] == '신용카드') { ?>
|
||||
<tr>
|
||||
<th scope="row" class="sodr_sppay"><label for="od_receipt_card">신용카드 결제액</label></th>
|
||||
<td>
|
||||
<input type="text" name="od_receipt_card" value="<?=$od['od_receipt_card'] ?>" id="od_receipt_card" class="frm_input" size="10"> 원
|
||||
<? $card_url = $g4['shop_cardpg'][$default['de_card_pg']]; ?>
|
||||
<a href="<?=$card_url ?>" target="_blank">결제대행사</a>
|
||||
<input type="text" name="od_receipt_card" value="<?php echo $od['od_receipt_card']; ?>" id="od_receipt_card" class="frm_input" size="10"> 원
|
||||
<?php $card_url = $g4['shop_cardpg'][$default['de_card_pg']]; ?>
|
||||
<a href="<?php echo $card_url; ?>" target="_blank">결제대행사</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" class="sodr_sppay"><label for="od_card_time">카드 승인일시</label></th>
|
||||
<td>
|
||||
<label for="od_card_chk">현재 시간으로 설정</label>
|
||||
<input type="checkbox" name="od_card_chk" id="od_card_chk" value="<? echo date("Y-m-d H:i:s", G4_SERVER_TIME); ?>" onclick="if (this.checked == true) this.form.od_card_time.value=this.form.od_card_chk.value; else this.form.od_card_time.value = this.form.od_card_time.defaultValue;"><br>
|
||||
<input type="text" name="od_card_time" value="<?=is_null_time($od['od_card_time']) ? "" : $od['od_card_time']; ?>" id="od_card_time" class="frm_input" size="19" maxlength="19">
|
||||
<input type="checkbox" name="od_card_chk" id="od_card_chk" value="<?php echo date("Y-m-d H:i:s", G4_SERVER_TIME); ?>" onclick="if (this.checked == true) this.form.od_card_time.value=this.form.od_card_chk.value; else this.form.od_card_time.value = this.form.od_card_time.defaultValue;"><br>
|
||||
<input type="text" name="od_card_time" value="<?php echo is_null_time($od['od_card_time']) ? "" : $od['od_card_time']; ?>" id="od_card_time" class="frm_input" size="19" maxlength="19">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" class="sodr_sppay"><label for="od_cancel_card">카드 승인취소</label></th>
|
||||
<td><input type="text" name="od_cancel_card" value="<?=$od['od_cancel_card']?>" class="frm_input" size="10"> 원</td>
|
||||
<td><input type="text" name="od_cancel_card" value="<?php echo $od['od_cancel_card']; ?>" class="frm_input" size="10"> 원</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="od_receipt_point">포인트 결제액</label></th>
|
||||
<td><input type="text" name="od_receipt_point" value="<?=$od['od_receipt_point']?>" id="od_receipt_point" class="frm_input" size="10"> 점</td>
|
||||
<td><input type="text" name="od_receipt_point" value="<?php echo $od['od_receipt_point']; ?>" id="od_receipt_point" class="frm_input" size="10"> 점</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_dc_amount">DC</label></th>
|
||||
<td><input type="text" name="od_dc_amount" value="<?=$od['od_dc_amount']?>" id="od_dc_amount" class="frm_input" size="10"> 원</td>
|
||||
<td><input type="text" name="od_dc_amount" value="<?php echo $od['od_dc_amount']; ?>" id="od_dc_amount" class="frm_input" size="10"> 원</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_refund_amount">환불액</label></th>
|
||||
<td>
|
||||
<?=help("카드승인취소를 입력한 경우에는 중복하여 입력하면 미수금이 틀려집니다.");?>
|
||||
<input type="text" name="od_refund_amount" value="<?=$od['od_refund_amount']?>" id="od_refund_amount" class="frm_input" size="10"> 원
|
||||
<?php echo help("카드승인취소를 입력한 경우에는 중복하여 입력하면 미수금이 틀려집니다."); ?>
|
||||
<input type="text" name="od_refund_amount" value="<?php echo $od['od_refund_amount']; ?>" id="od_refund_amount" class="frm_input" size="10"> 원
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -559,13 +559,13 @@ $pg_anchor = '<ul class="anchor">
|
||||
<td>
|
||||
<select name="dl_id" id="dl_id">
|
||||
<option value="">배송시 선택하세요.</option>
|
||||
<?
|
||||
<?php
|
||||
$sql = "select * from {$g4['shop_delivery_table']} order by dl_order desc, dl_id desc ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
<option value="<?=$row['dl_id']?>" <?=get_selected($od['dl_id'], $row['dl_id'])?>><?=$row['dl_company']?></option>
|
||||
<?
|
||||
<option value="<?php echo $row['dl_id']; ?>" <?php echo get_selected($od['dl_id'], $row['dl_id']); ?>><?php echo $row['dl_company']; ?></option>
|
||||
<?php
|
||||
}
|
||||
mysql_free_result($result);
|
||||
?>
|
||||
@ -575,26 +575,26 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tr>
|
||||
<th scope="row"><label for="od_invoice">운송장번호</label></th>
|
||||
<td>
|
||||
<? if ($default['de_sms_use4']) { ?>
|
||||
<?php if ($default['de_sms_use4']) { ?>
|
||||
<label for="od_sms_baesong_check">SMS 문자전송</label>
|
||||
<input type="checkbox" name="od_sms_baesong_check" id="od_sms_baesong_check">
|
||||
<br>
|
||||
<? } ?>
|
||||
<input type="text" name="od_invoice" value="<?=$od['od_invoice'] ?>" id="od_invoice" class="frm_input">
|
||||
<?php } ?>
|
||||
<input type="text" name="od_invoice" value="<?php echo $od['od_invoice']; ?>" id="od_invoice" class="frm_input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_invoice_time">배송일시</label></th>
|
||||
<td>
|
||||
<label for="od_invoice_chk">현재 시간으로 설정</label>
|
||||
<input type="checkbox" name="od_invoice_chk" id="od_invoice_chk" value="<?=date("Y-m-d H:i:s", G4_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;"><br>
|
||||
<input type="text" name="od_invoice_time" value="<? echo is_null_time($od['od_invoice_time']) ? "" : $od['od_invoice_time']; ?>" id="od_invoice_time" class="frm_input" maxlength="19">
|
||||
<input type="checkbox" name="od_invoice_chk" id="od_invoice_chk" value="<?php echo date("Y-m-d H:i:s", G4_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;"><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">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_send_mail">메일발송</label></th>
|
||||
<td>
|
||||
<?=help("주문자님께 입금, 배송내역을 메일로 발송합니다.\n메일발송시 상점메모에 기록됩니다.");?>
|
||||
<?php echo help("주문자님께 입금, 배송내역을 메일로 발송합니다.\n메일발송시 상점메모에 기록됩니다."); ?>
|
||||
<input type="checkbox" name="od_send_mail" value="1" id="od_send_mail"> 메일발송
|
||||
</td>
|
||||
</tr>
|
||||
@ -610,24 +610,24 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<section id="anc_sodr_memo" class="cbox">
|
||||
<h2>상점메모</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
<p>
|
||||
현재 열람 중인 주문에 대한 내용을 메모하는곳입니다.<br>
|
||||
입금, 배송 내역을 메일로 발송할 경우 함께 기록됩니다.
|
||||
</p>
|
||||
|
||||
<form name="frmorderform2" action="./orderformupdate.php" method="post">
|
||||
<input type="hidden" name="od_id" value="<?=$od_id?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" name="search" value="<?=$search?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<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; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="mod_type" value="memo">
|
||||
|
||||
<div>
|
||||
<label for="od_shop_memo" class="sound_only">상점메모</label>
|
||||
<textarea name="od_shop_memo" id="od_shop_memo" rows="8"><?=stripslashes($od['od_shop_memo']) ?></textarea>
|
||||
<textarea name="od_shop_memo" id="od_shop_memo" rows="8"><?php echo stripslashes($od['od_shop_memo']); ?></textarea>
|
||||
</div>
|
||||
|
||||
<div class="btn_confirm">
|
||||
@ -639,15 +639,15 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<div class="cbox compare_wrap">
|
||||
<h2>주문자/배송지 정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor; ?>
|
||||
|
||||
<form name="frmorderform3" action="./orderformupdate.php" method="post">
|
||||
<input type="hidden" name="od_id" value="<?=$od_id?>">
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" name="search" value="<?=$search?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<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; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="mod_type" value="info">
|
||||
|
||||
<section id="anc_sodr_payer" class="compare_left">
|
||||
@ -661,33 +661,33 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_name"><span class="sound_only">주문하신 분 </span>이름</label></th>
|
||||
<td><input type="text" name="od_name" value="<?=$od['od_name']?>" id="od_name" required class="frm_input required"></td>
|
||||
<td><input type="text" name="od_name" value="<?php echo $od['od_name']; ?>" id="od_name" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_tel"><span class="sound_only">주문하신 분 </span>전화번호</label></th>
|
||||
<td><input type="text" name="od_tel" value="<?=$od['od_tel']?>" id="od_tel" required class="frm_input required"></td>
|
||||
<td><input type="text" name="od_tel" value="<?php echo $od['od_tel']; ?>" id="od_tel" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_hp"><span class="sound_only">주문하신 분 </span>핸드폰</label></th>
|
||||
<td><input type="text" name="od_hp" value="<?=$od['od_hp']?>" id="od_hp" class="frm_input"></td>
|
||||
<td><input type="text" name="od_hp" value="<?php echo $od['od_hp']; ?>" id="od_hp" class="frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><span class="sound_only">주문하시는 분 </span>주소</th>
|
||||
<td>
|
||||
<label for="od_zip1" class="sound_only">우편번호 앞자리</label>
|
||||
<input type="text" name="od_zip1" value="<?=$od['od_zip1']?>" id="od_zip1" required class="frm_input required" size="4">
|
||||
<input type="text" name="od_zip1" value="<?php echo $od['od_zip1']; ?>" id="od_zip1" required class="frm_input required" size="4">
|
||||
-
|
||||
<label for="od_zip2" class="sound_only">우편번호 뒷자리</label>
|
||||
<input type="text" name="od_zip2" value="<?=$od['od_zip2']?>" id="od_zip2" required class="frm_input required" size="4">
|
||||
<input type="text" name="od_zip2" value="<?php echo $od['od_zip2']; ?>" id="od_zip2" required class="frm_input required" size="4">
|
||||
<span id="od_win_zip" style="display:block"></span>
|
||||
<label for="od_addr1" class="sound_only">주소</label>
|
||||
<input type="text" name="od_addr1" value="<?=$od['od_addr1']?>" id="od_addr1" required class="frm_input required" size="30"><br>
|
||||
<input type="text" name="od_addr1" value="<?php echo $od['od_addr1']; ?>" id="od_addr1" required class="frm_input required" size="30"><br>
|
||||
<label for="od_addr2" class="sound_only">상세주소</label>
|
||||
<input type="text" name="od_addr2" value="<?=$od['od_addr2']?>" id="od_addr2" required class="frm_input required" size="30">
|
||||
<input type="text" name="od_addr2" value="<?php echo $od['od_addr2']; ?>" id="od_addr2" required class="frm_input required" size="30">
|
||||
|
||||
<script>
|
||||
// 우편번호 자바스크립트 비활성화 대응을 위한 코드
|
||||
$('<a href="<?=G4_BBS_URL?>/zip.php?frm_name=frmorderform2&frm_zip1=od_zip1&frm_zip2=od_zip2&frm_addr1=od_addr1&frm_addr2=od_addr2" id="od_zip_find" class="btn_frmline win_zip_find" target="_blank">우편번호 검색</a><br>').appendTo('#od_win_zip');
|
||||
$('<a href="<?php echo G4_BBS_URL; ?>/zip.php?frm_name=frmorderform2&frm_zip1=od_zip1&frm_zip2=od_zip2&frm_addr1=od_addr1&frm_addr2=od_addr2" id="od_zip_find" class="btn_frmline win_zip_find" target="_blank">우편번호 검색</a><br>').appendTo('#od_win_zip');
|
||||
$("#od_win_zip").css("display", "inline");
|
||||
$("#od_zip1, #od_zip2, #od_addr1").attr('readonly', 'readonly');
|
||||
$("#od_zip1, #od_zip2, #od_addr1").addClass('readonly');
|
||||
@ -695,11 +695,11 @@ $pg_anchor = '<ul class="anchor">
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_email"><span class="sound_only">주문하신 분 </span>E-mail</label></th>
|
||||
<td><input type="text" name="od_email" value="<?=$od['od_email']?>" id="od_email" required class="frm_input email required" size="30"></td>
|
||||
<td><input type="text" name="od_email" value="<?php echo $od['od_email']; ?>" id="od_email" required class="frm_input email required" size="30"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><span class="sound_only">주문하신 분 </span>IP Address</th>
|
||||
<td><?=$od[od_ip]?></td>
|
||||
<td><?php echo $od['od_ip']; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -717,33 +717,33 @@ $pg_anchor = '<ul class="anchor">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_b_name"><span class="sound_only">받으시는 분 </span>이름</label></th>
|
||||
<td><input type="text" name="od_b_name" value="<?=$od['od_b_name']?>" id="od_b_name" required class="frm_input required"></td>
|
||||
<td><input type="text" name="od_b_name" value="<?php echo $od['od_b_name']; ?>" id="od_b_name" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_b_tel"><span class="sound_only">받으시는 분 </span>전화번호</label></th>
|
||||
<td><input type="text" name="od_b_tel" value="<?=$od['od_b_tel']?>" id="od_b_tel" required class="frm_input required"></td>
|
||||
<td><input type="text" name="od_b_tel" value="<?php echo $od['od_b_tel']; ?>" id="od_b_tel" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_b_hp"><span class="sound_only">받으시는 분 </span>핸드폰</label></th>
|
||||
<td><input type="text" name="od_b_hp" value="<?=$od['od_b_hp']?>" id=-"od_b_hp" class="frm_input required"></td>
|
||||
<td><input type="text" name="od_b_hp" value="<?php echo $od['od_b_hp']; ?>" id=-"od_b_hp" class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><span class="sound_only">받으시는 분 </span>주소</th>
|
||||
<td>
|
||||
<label for="od_b_zip1" class="sound_only">우편번호 앞자리</label>
|
||||
<input type="text" name="od_b_zip1" value="<?=$od['od_b_zip1']?>" id="od_b_zip1" required class="frm_input required" size="4">
|
||||
<input type="text" name="od_b_zip1" value="<?php echo $od['od_b_zip1']; ?>" id="od_b_zip1" required class="frm_input required" size="4">
|
||||
-
|
||||
<label for="od_b_zip2" class="sound_only">우편번호 뒷자리</label>
|
||||
<input type="text" name="od_b_zip2" value="<?=$od['od_b_zip2']?>" id="od_b_zip2" required class="frm_input required" size="4">
|
||||
<input type="text" name="od_b_zip2" value="<?php echo $od['od_b_zip2']; ?>" id="od_b_zip2" required class="frm_input required" size="4">
|
||||
<span id="od_win_zipb" style="display:block"></span>
|
||||
<label for="od_b_addr1" class="sound_only">주소</label>
|
||||
<input type="text" name="od_b_addr1" value="<?=$od['od_b_addr1']?>" id="od_b_addr1" required class="frm_input required" size="30"><br>
|
||||
<input type="text" name="od_b_addr1" value="<?php echo $od['od_b_addr1']; ?>" id="od_b_addr1" required class="frm_input required" size="30"><br>
|
||||
<label for="od_b_addr2" class="sound_only">상세주소</label>
|
||||
<input type="text" name="od_b_addr2" value="<?=$od['od_b_addr2']?>" id="od_b_addr2" required class="frm_input required" size="30">
|
||||
<input type="text" name="od_b_addr2" value="<?php echo $od['od_b_addr2']; ?>" id="od_b_addr2" required class="frm_input required" size="30">
|
||||
|
||||
<script>
|
||||
// 우편번호 자바스크립트 비활성화 대응을 위한 코드
|
||||
$('<a href="<?=G4_BBS_URL?>/zip.php?frm_name=frmorderform2&frm_zip1=od_b_zip1&frm_zip2=od_b_zip2&frm_addr1=od_b_addr1&frm_addr2=od_b_addr2" id="od_zip_findb" class="btn_frmline win_zip_find" target="_blank">우편번호 검색</a><br>').appendTo('#od_win_zipb');
|
||||
$('<a href="<?php echo G4_BBS_URL; ?>/zip.php?frm_name=frmorderform2&frm_zip1=od_b_zip1&frm_zip2=od_b_zip2&frm_addr1=od_b_addr1&frm_addr2=od_b_addr2" id="od_zip_findb" class="btn_frmline win_zip_find" target="_blank">우편번호 검색</a><br>').appendTo('#od_win_zipb');
|
||||
$("#od_win_zipb").css("display", "inline");
|
||||
$("#od_b_zip1, #od_b_zip2, #od_b_addr1").attr('readonly', 'readonly');
|
||||
$("#od_b_zip1, #od_b_zip2, #od_b_addr1").addClass('readonly');
|
||||
@ -751,18 +751,18 @@ $pg_anchor = '<ul class="anchor">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<? if ($default['de_hope_date_use']) { ?>
|
||||
<?php if ($default['de_hope_date_use']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="od_hope_date">희망배송일</label></th>
|
||||
<td>
|
||||
<input type="text" name="od_hope_date" value="<?=$od['od_hope_date']?>" id="od_hopedate" required class="frm_input required" maxlength="10" minlength="10"> (<?=get_yoil($od['od_hope_date'])?>)
|
||||
<input type="text" name="od_hope_date" value="<?php echo $od['od_hope_date']; ?>" id="od_hopedate" required class="frm_input required" maxlength="10" minlength="10"> (<?php echo get_yoil($od['od_hope_date']); ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<tr>
|
||||
<th scope="row">전달 메세지</th>
|
||||
<td><? if ($od['od_memo']) echo nl2br($od['od_memo']);else echo "없음";?></td>
|
||||
<td><?php if ($od['od_memo']) echo nl2br($od['od_memo']);else echo "없음";?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -777,8 +777,8 @@ $pg_anchor = '<ul class="anchor">
|
||||
</div>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<a href="./orderdelete.php?od_id=<?=$od['od_id']?>&uq_id=<?=$od['uq_id']?>&amo;mb_id=<?=$od['mb_id']?>&<?=$qstr?>" onclick="return del_confirm();">주문서 삭제</a>
|
||||
<a href="./orderlist.php?<?=$qstr?>">목록</a>
|
||||
<a href="./orderdelete.php?od_id=<?php echo $od['od_id']; ?>&uq_id=<?php echo $od['uq_id']; ?>&amo;mb_id=<?php echo $od['mb_id']; ?>&<?php echo $qstr; ?>" onclick="return del_confirm();">주문서 삭제</a>
|
||||
<a href="./orderlist.php?<?php echo $qstr; ?>">목록</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
@ -836,6 +836,6 @@ function del_confirm()
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400400';
|
||||
include_once('./_common.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = '400400';
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -86,41 +86,41 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
</style>
|
||||
|
||||
<form name="frmorderlist">
|
||||
<input type="hidden" name="doc" value="<? echo $doc ?>">
|
||||
<input type="hidden" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" name="page" value="<? echo $page ?>">
|
||||
<input type="hidden" name="save_search" value="<?=$search?>">
|
||||
<input type="hidden" name="doc" value="<?php echo $doc; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="save_search" value="<?php echo $search; ?>">
|
||||
<fieldset>
|
||||
<legend>주문내역 검색</legend>
|
||||
<span>
|
||||
<?=$listall?>
|
||||
전체 주문내역 <?=$total_count ?>건
|
||||
<?php echo $listall; ?>
|
||||
전체 주문내역 <?php echo $total_count; ?>건
|
||||
</span>
|
||||
|
||||
<label for="sel_field" class="sound_only">검색대상</label>
|
||||
<select name="sel_field" id="sel_field">
|
||||
<option value="od_id" <?=get_selected($sel_field, 'od_id')?>>주문번호</option>
|
||||
<option value="mb_id" <?=get_selected($sel_field, 'mb_id')?>>회원 ID</option>
|
||||
<option value="od_name" <?=get_selected($sel_field, 'od_name')?>>주문자</option>
|
||||
<option value="od_tel" <?=get_selected($sel_field, 'od_tel')?>>주문자전화</option>
|
||||
<option value="od_hp" <?=get_selected($sel_field, 'od_hp')?>>주문자핸드폰</option>
|
||||
<option value="od_b_name" <?=get_selected($sel_field, 'od_b_name')?>>받는분</option>
|
||||
<option value="od_b_tel" <?=get_selected($sel_field, 'od_b_tel')?>>받는분전화</option>
|
||||
<option value="od_b_hp" <?=get_selected($sel_field, 'od_b_hp')?>>받는분핸드폰</option>
|
||||
<option value="od_deposit_name" <?=get_selected($sel_field, 'od_deposit_name')?>>입금자</option>
|
||||
<option value="od_invoice" <?=get_selected($sel_field, 'od_invoice')?>>운송장번호</option>
|
||||
<option value="od_id" <?php echo get_selected($sel_field, 'od_id'); ?>>주문번호</option>
|
||||
<option value="mb_id" <?php echo get_selected($sel_field, 'mb_id'); ?>>회원 ID</option>
|
||||
<option value="od_name" <?php echo get_selected($sel_field, 'od_name'); ?>>주문자</option>
|
||||
<option value="od_tel" <?php echo get_selected($sel_field, 'od_tel'); ?>>주문자전화</option>
|
||||
<option value="od_hp" <?php echo get_selected($sel_field, 'od_hp'); ?>>주문자핸드폰</option>
|
||||
<option value="od_b_name" <?php echo get_selected($sel_field, 'od_b_name'); ?>>받는분</option>
|
||||
<option value="od_b_tel" <?php echo get_selected($sel_field, 'od_b_tel'); ?>>받는분전화</option>
|
||||
<option value="od_b_hp" <?php echo get_selected($sel_field, 'od_b_hp'); ?>>받는분핸드폰</option>
|
||||
<option value="od_deposit_name" <?php echo get_selected($sel_field, 'od_deposit_name'); ?>>입금자</option>
|
||||
<option value="od_invoice" <?php echo get_selected($sel_field, 'od_invoice'); ?>>운송장번호</option>
|
||||
</select>
|
||||
|
||||
<label for="search" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="search" value="<?=$search?>" id="search" required class="required frm_input" autocomplete="off">
|
||||
<input type="text" name="search" value="<?php echo $search; ?>" id="search" required class="required frm_input" autocomplete="off">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>주문내역 목록</h2>
|
||||
<p><?=help('<strong>주의!</strong> 주문번호를 클릭하여 나오는 주문상세내역의 주소를 외부에서 조회가 가능한곳에 올리지 마십시오.')?></p>
|
||||
<p><?php echo help('<strong>주의!</strong> 주문번호를 클릭하여 나오는 주문상세내역의 주소를 외부에서 조회가 가능한곳에 올리지 마십시오.'); ?></p>
|
||||
|
||||
<div id="btn_add">
|
||||
<a href="./orderprint.php" class="btn_add_optional">주문내역출력</a>
|
||||
@ -130,18 +130,18 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
<table id="sodr_list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><a href="<?=title_sort("od_id", 1)."&$qstr1";?>">주문번호<span class="sound_only"> 순 정렬</span><br>주문일시</a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("od_id", 1)."&$qstr1"; ?>">주문번호<span class="sound_only"> 순 정렬</span><br>주문일시</a></th>
|
||||
<th scope="col">
|
||||
<a href="<?=title_sort("od_name")."&$qstr1";?>">주문자<span class="sound_only"> 순 정렬</span></a><br>
|
||||
<a href="<?=title_sort("mb_id")."&$qstr1"; ?>">회원ID<span class="sound_only"> 순 정렬</span>
|
||||
<a href="<?php echo title_sort("od_name")."&$qstr1"; ?>">주문자<span class="sound_only"> 순 정렬</span></a><br>
|
||||
<a href="<?php echo title_sort("mb_id")."&$qstr1"; ?>">회원ID<span class="sound_only"> 순 정렬</span>
|
||||
</th>
|
||||
<th scope="col"><a href="<?=title_sort("itemcount", 1)."&$qstr1";?>">건수<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("orderamount", 1)."&$qstr1";?>" class="order_sum">주문합계<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("ordercancel", 1)."&$qstr1";?>">주문취소<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("od_dc_amount", 1)."&$qstr1";?>">DC<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("receiptamount")."&$qstr1";?>" class="order_sum">입금합계<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("receiptcancel", 1)."&$qstr1";?>">입금취소<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?=title_sort("misu", 1)."&$qstr1";?>" class="order_outstanding">미수금<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("itemcount", 1)."&$qstr1"; ?>">건수<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("orderamount", 1)."&$qstr1"; ?>" class="order_sum">주문합계<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("ordercancel", 1)."&$qstr1"; ?>">주문취소<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("od_dc_amount", 1)."&$qstr1"; ?>">DC<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("receiptamount")."&$qstr1"; ?>" class="order_sum">입금합계<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("receiptcancel", 1)."&$qstr1"; ?>">입금취소<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col"><a href="<?php echo title_sort("misu", 1)."&$qstr1"; ?>" class="order_outstanding">미수금<span class="sound_only"> 순 정렬</span></a></th>
|
||||
<th scope="col">결제수단</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
@ -149,18 +149,18 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
<tfoot>
|
||||
<tr class="orderlist">
|
||||
<th scope="row" colspan="2">합 계</td>
|
||||
<td><?=(int)$tot_itemcount?>건</td>
|
||||
<td><?=number_format($tot_orderamount)?></td>
|
||||
<td><?=number_format($tot_ordercancel)?></td>
|
||||
<td><?=number_format($tot_dc_amount)?></td>
|
||||
<td><?=number_format($tot_receiptamount)?></td>
|
||||
<td><?=number_format($tot_receiptcancel)?></td>
|
||||
<td><?=number_format($tot_misu)?></td>
|
||||
<td><?php echo (int)$tot_itemcount; ?>건</td>
|
||||
<td><?php echo number_format($tot_orderamount); ?></td>
|
||||
<td><?php echo number_format($tot_ordercancel); ?></td>
|
||||
<td><?php echo number_format($tot_dc_amount); ?></td>
|
||||
<td><?php echo number_format($tot_receiptamount); ?></td>
|
||||
<td><?php echo number_format($tot_receiptcancel); ?></td>
|
||||
<td><?php echo number_format($tot_misu); ?></td>
|
||||
<td colspan="2"></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $i<count($lines[$i]); $i++)
|
||||
{
|
||||
// 결제 수단
|
||||
@ -207,32 +207,32 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
<tr class="orderlist">
|
||||
<td class="td_odrnum2">
|
||||
<a href="<?=G4_SHOP_URL?>/orderinquiryview.php?od_id=<?=$lines[$i]['od_id']?>&uq_id=<?=$lines[$i]['uq_id']?>">
|
||||
<?=$lines[$i]['od_id']?><br>
|
||||
<span class="sound_only">주문일시 </span><?=$lines[$i]['od_time']?>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/orderinquiryview.php?od_id=<?php echo $lines[$i]['od_id']; ?>&uq_id=<?php echo $lines[$i]['uq_id']; ?>">
|
||||
<?php echo $lines[$i]['od_id']; ?><br>
|
||||
<span class="sound_only">주문일시 </span><?php echo $lines[$i]['od_time']; ?>
|
||||
</a>
|
||||
</td>
|
||||
<!-- <td align=center><a href="<?=$_SERVER['PHP_SELF']?>?sort1=$sort1&sort2=$sort2&sel_field=od_name&search=<?=$lines[$i]['od_name']?>'><span title="<?=$od_deposit_name?>"><?=cut_str($lines[$i]['od_name'],8,"")?></span></a></td> -->
|
||||
<!-- <td align=center><a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=$sort1&sort2=$sort2&sel_field=od_name&search=<?php echo $lines[$i]['od_name']; ?>'><span title="<?php echo $od_deposit_name; ?>"><?php echo cut_str($lines[$i]['od_name'],8,""); ?></span></a></td> -->
|
||||
<td class="td_name">
|
||||
<?=$mb_nick?><br>
|
||||
<a href="<?=$_SERVER['PHP_SELF']?>?sort1=<?=$sort1?>&sort2=<?=$sort2?>&sel_field=mb_id&search=<?=$lines[$i]['mb_id']?>">
|
||||
<?=$lines[$i]['mb_id']?>
|
||||
<?php echo $mb_nick; ?><br>
|
||||
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=<?php echo $sort1; ?>&sort2=<?php echo $sort2; ?>&sel_field=mb_id&search=<?php echo $lines[$i]['mb_id']; ?>">
|
||||
<?php echo $lines[$i]['mb_id']; ?>
|
||||
</a>
|
||||
</td>
|
||||
<td class="td_sodr_cnt"><b><?=$lines[$i]['itemcount']?></b>건<br>누적 <?=$row2['cnt']?>건</td>
|
||||
<td class="td_sodr_sum"><?=number_format($lines[$i]['orderamount'])?></td>
|
||||
<td><?=number_format($lines[$i]['ordercancel'])?></td>
|
||||
<td><?=number_format($lines[$i]['od_dc_amount'])?></td>
|
||||
<td class="td_sodr_sum"><?=number_format($lines[$i]['receiptamount'])?></td>
|
||||
<td><?=number_format($lines[$i]['receiptcancel'])?></td>
|
||||
<td class="td_sodr_nonpay"><?=number_format($lines[$i]['misu'])?></td>
|
||||
<td><?=$s_receipt_way?></td>
|
||||
<td class="td_sodr_cnt"><b><?php echo $lines[$i]['itemcount']; ?></b>건<br>누적 <?php echo $row2['cnt']; ?>건</td>
|
||||
<td class="td_sodr_sum"><?php echo number_format($lines[$i]['orderamount']); ?></td>
|
||||
<td><?php echo number_format($lines[$i]['ordercancel']); ?></td>
|
||||
<td><?php echo number_format($lines[$i]['od_dc_amount']); ?></td>
|
||||
<td class="td_sodr_sum"><?php echo number_format($lines[$i]['receiptamount']); ?></td>
|
||||
<td><?php echo number_format($lines[$i]['receiptcancel']); ?></td>
|
||||
<td class="td_sodr_nonpay"><?php echo number_format($lines[$i]['misu']); ?></td>
|
||||
<td><?php echo $s_receipt_way; ?></td>
|
||||
<td>
|
||||
<a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>&<?=$qstr?>"><img src="./img/icon_mod.jpg" alt="<?=$lines[$i]['od_id']?> 수정"></a>
|
||||
<a href="./orderdelete.php?od_id=<?=$lines[$i]['od_id']?>&uq_id=<?=$lines[$i]['uq_id']?>&mb_id=<?=$lines[$i]['mb_id']?>&<?=$qstr?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?=$lines[$i]['od_id']?> 삭제"></a>
|
||||
<a href="./orderform.php?od_id=<?php echo $lines[$i]['od_id']; ?>&<?php echo $qstr; ?>"><img src="./img/icon_mod.jpg" alt="<?php echo $lines[$i]['od_id']; ?> 수정"></a>
|
||||
<a href="./orderdelete.php?od_id=<?php echo $lines[$i]['od_id']; ?>&uq_id=<?php echo $lines[$i]['uq_id']; ?>&mb_id=<?php echo $lines[$i]['mb_id']; ?>&<?php echo $qstr; ?>" onclick="return delete_confirm();"><img src="./img/icon_del.jpg" alt="<?php echo $lines[$i]['od_id']; ?> 삭제"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
mysql_free_result($result);
|
||||
if ($i == 0)
|
||||
@ -242,8 +242,8 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -77,7 +77,7 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
?>
|
||||
|
||||
<form name="frmorderlist">
|
||||
<input type="hidden" name="doc" value="<?php cho $doc; ?>">
|
||||
<input type="hidden" name="doc" value="<?php echo $doc; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
Reference in New Issue
Block a user