merge를 위한 커밋
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
<?
|
||||
$menu['menu100'] = array (
|
||||
array('100000', '환경설정', $g4['admin_url'].'/config_form.php', 'config'),
|
||||
array('', '기본환경설정', $g4['admin_url'].'/config_form.php', 'cf_basic'),
|
||||
array('', '관리권한설정', $g4['admin_url'].'/auth_list.php', 'cf_auth'),
|
||||
array('100300', '메일 테스트', $g4['admin_url'].'/sendmail_test.php', 'cf_mailtest'),
|
||||
//array('100400', '버전정보', $g4['admin_url'].'/version.php', 'cf_version'),
|
||||
array('100500', 'phpinfo()', $g4['admin_url'].'/phpinfo.php', 'cf_phpinfo'),
|
||||
//array('100600', '업그레이드', $g4['admin_url'].'/upgrade.php', 'cf_upgrade'),
|
||||
//array('100700', '복구/최적화', $g4['admin_url'].'/repair.php', 'cf_repair'),
|
||||
array('100800', '세션파일 일괄삭제',$g4['admin_url'].'/session_file_delete.php', 'cf_session'),
|
||||
array('100900', '캐쉬파일 일괄삭제',$g4['admin_url'].'/cache_file_delete.php', 'cf_cache'),
|
||||
array('100000', '환경설정', G4_ADMIN_URL.'/config_form.php', 'config'),
|
||||
array('', '기본환경설정', G4_ADMIN_URL.'/config_form.php', 'cf_basic'),
|
||||
array('', '관리권한설정', G4_ADMIN_URL.'/auth_list.php', 'cf_auth'),
|
||||
array('100300', '메일 테스트', G4_ADMIN_URL.'/sendmail_test.php', 'cf_mailtest'),
|
||||
//array('100400', '버전정보', G4_ADMIN_URL.'/version.php', 'cf_version'),
|
||||
array('100500', 'phpinfo()', G4_ADMIN_URL.'/phpinfo.php', 'cf_phpinfo'),
|
||||
//array('100600', '업그레이드', G4_ADMIN_URL.'/upgrade.php', 'cf_upgrade'),
|
||||
//array('100700', '복구/최적화', G4_ADMIN_URL.'/repair.php', 'cf_repair'),
|
||||
array('100800', '세션파일 일괄삭제',G4_ADMIN_URL.'/session_file_delete.php', 'cf_session'),
|
||||
array('100900', '캐쉬파일 일괄삭제',G4_ADMIN_URL.'/cache_file_delete.php', 'cf_cache'),
|
||||
//array('', 'phpMyAdmin', ''.$g4['path'].'/'.$g4['phpmyadmin_dir'].'', 'cf_phpmyadmin')
|
||||
);
|
||||
?>
|
||||
@ -1,10 +1,10 @@
|
||||
<?
|
||||
$menu['menu200'] = array (
|
||||
array('200000', '회원관리', $g4['admin_url'].'/member_list.php', 'member'),
|
||||
array('200100', '회원관리', $g4['admin_url'].'/member_list.php', 'mb_list'),
|
||||
array('200200', '포인트관리', $g4['admin_url'].'/point_list.php', 'mb_point'),
|
||||
array('200300', '회원메일발송', $g4['admin_url'].'/mail_list.php', 'mb_mail'),
|
||||
array('200800', '접속자집계', $g4['admin_url'].'/visit_list.php', 'mb_visit'),
|
||||
array('200900', '투표관리', $g4['admin_url'].'/poll_list.php', 'mb_poll')
|
||||
array('200000', '회원관리', G4_ADMIN_URL.'/member_list.php', 'member'),
|
||||
array('200100', '회원관리', G4_ADMIN_URL.'/member_list.php', 'mb_list'),
|
||||
array('200200', '포인트관리', G4_ADMIN_URL.'/point_list.php', 'mb_point'),
|
||||
array('200300', '회원메일발송', G4_ADMIN_URL.'/mail_list.php', 'mb_mail'),
|
||||
array('200800', '접속자집계', G4_ADMIN_URL.'/visit_list.php', 'mb_visit'),
|
||||
array('200900', '투표관리', G4_ADMIN_URL.'/poll_list.php', 'mb_poll')
|
||||
);
|
||||
?>
|
||||
@ -1,9 +1,9 @@
|
||||
<?
|
||||
$menu['menu300'] = array (
|
||||
array('300000', '게시판관리', ''.$g4['admin_url'].'/board_list.php', 'board'),
|
||||
array('300100', '게시판관리', ''.$g4['admin_url'].'/board_list.php', 'bbs_board'),
|
||||
array('300200', '게시판그룹관리', ''.$g4['admin_url'].'/boardgroup_list.php', 'bbs_group'),
|
||||
array('300300', '인기검색어관리', ''.$g4['admin_url'].'/popular_list.php', 'bbs_poplist'),
|
||||
array('300400', '인기검색어순위', ''.$g4['admin_url'].'/popular_rank.php', 'bbs_poprank'),
|
||||
array('300000', '게시판관리', ''.G4_ADMIN_URL.'/board_list.php', 'board'),
|
||||
array('300100', '게시판관리', ''.G4_ADMIN_URL.'/board_list.php', 'bbs_board'),
|
||||
array('300200', '게시판그룹관리', ''.G4_ADMIN_URL.'/boardgroup_list.php', 'bbs_group'),
|
||||
array('300300', '인기검색어관리', ''.G4_ADMIN_URL.'/popular_list.php', 'bbs_poplist'),
|
||||
array('300400', '인기검색어순위', ''.G4_ADMIN_URL.'/popular_rank.php', 'bbs_poprank'),
|
||||
);
|
||||
?>
|
||||
@ -25,9 +25,9 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
<?=subtitle($html_title)?>
|
||||
|
||||
<form name=fbanner method=post action='./bannerformupdate.php' enctype='multipart/form-data' style="margin:0px;">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=bn_id value='<? echo $bn_id ?>'>
|
||||
<form id="fbanner" name="fbanner" method=post action='./bannerformupdate.php' enctype='multipart/form-data' style="margin:0px;">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w ?>'>
|
||||
<input type="hidden" id="bn_id" name="bn_id" value='<? echo $bn_id ?>'>
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=15%></colgroup>
|
||||
<colgroup width=85% bgcolor=#ffffff></colgroup>
|
||||
@ -35,16 +35,16 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td> 이미지</td>
|
||||
<td>
|
||||
<input type=file name=bn_bimg size=40 class=ed>
|
||||
<input type="file" id="bn_bimg" name="bn_bimg" size=40 class=ed>
|
||||
<?
|
||||
$bimg_str = "";
|
||||
$bimg = "$g4[path]/data/banner/{$bn[bn_id]}";
|
||||
if (file_exists($bimg) && $bn[bn_id]) {
|
||||
echo "<input type=checkbox name=bn_bimg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="bn_bimg_del" name="bn_bimg_del" value='1'>삭제";
|
||||
$bimg_str = "<img src='$bimg' border=0>";
|
||||
//$size = getimagesize($bimg);
|
||||
//echo "<img src='$g4[admin_path]/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('bimg', $size[0], $size[1]);\"><input type=checkbox name=bn_bimg_del value='1'>삭제";
|
||||
//echo "<div id='bimg' style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$bimg' border=1></div>";
|
||||
//echo "<img src='$g4[admin_path]/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('bimg', $size[0], $size[1]);\"><input type="checkbox" id="bn_bimg_del" name="bn_bimg_del" value='1'>삭제";
|
||||
//echo "<div id="bimg" style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$bimg' border=1></div>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
@ -54,21 +54,21 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td> 이미지 설명</td>
|
||||
<td>
|
||||
<input type=text name=bn_alt size=80 value='<? echo $bn[bn_alt] ?>' class=ed>
|
||||
<input type="text" id="bn_alt" name="bn_alt" size=80 value='<? echo $bn[bn_alt] ?>' class=ed>
|
||||
<?=help("img 태그의 alt, title 에 해당되는 내용입니다.\n배너에 마우스를 오버하면 이미지의 설명이 나옵니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td> 링크</td>
|
||||
<td>
|
||||
<input type=text name=bn_url size=80 value='<? echo $bn[bn_url] ?>' class=ed>
|
||||
<input type="text" id="bn_url" name="bn_url" size=80 value='<? echo $bn[bn_url] ?>' class=ed>
|
||||
<?=help("배너클릭시 이동하는 주소입니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td> 출력위치</td>
|
||||
<td>
|
||||
<select name=bn_position>
|
||||
<select id="bn_position" name="bn_position">
|
||||
<option value="왼쪽">왼쪽
|
||||
<option value="메인">메인
|
||||
</select>
|
||||
@ -78,7 +78,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td> 테두리</td>
|
||||
<td>
|
||||
<select name=bn_border>
|
||||
<select id="bn_border" name="bn_border">
|
||||
<option value="0">아니오
|
||||
<option value="1">예
|
||||
</select>
|
||||
@ -88,7 +88,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td> 새창</td>
|
||||
<td>
|
||||
<select name=bn_new_win>
|
||||
<select id="bn_new_win" name="bn_new_win">
|
||||
<option value="0">아니오
|
||||
<option value="1">예
|
||||
</select>
|
||||
@ -98,16 +98,16 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td> 시작일시</td>
|
||||
<td>
|
||||
<input type=text name=bn_begin_time size=21 maxlength=19 value='<? echo $bn[bn_begin_time] ?>' class=ed>
|
||||
<input type=checkbox name=bn_begin_chk value="<? echo date("Y-m-d 00:00:00", time()); ?>" 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;">오늘
|
||||
<input type="text" id="bn_begin_time" name="bn_begin_time" size=21 maxlength=19 value='<? echo $bn[bn_begin_time] ?>' class=ed>
|
||||
<input type="checkbox" id="bn_begin_chk" name="bn_begin_chk" value="<? echo date("Y-m-d 00:00:00", time()); ?>" 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;">오늘
|
||||
<?=help("현재시간이 시작일시와 종료일시 기간안에 있어야 배너가 출력됩니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td> 종료일시</td>
|
||||
<td>
|
||||
<input type=text name=bn_end_time size=21 maxlength=19 value='<? echo $bn[bn_end_time] ?>' class=ed>
|
||||
<input type=checkbox name=bn_end_chk value="<? echo date("Y-m-d 23:59:59", time()+60*60*24*31); ?>" 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;">오늘+31일
|
||||
<input type="text" id="bn_end_time" name="bn_end_time" size=21 maxlength=19 value='<? echo $bn[bn_end_time] ?>' class=ed>
|
||||
<input type="checkbox" id="bn_end_chk" name="bn_end_chk" value="<? echo date("Y-m-d 23:59:59", time()+60*60*24*31); ?>" 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;">오늘+31일
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
@ -121,8 +121,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./bannerlist.php';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./bannerlist.php';">
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
@ -83,14 +83,14 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
<?=subtitle("기본 입력")?>
|
||||
|
||||
<form name=fcategoryform method=post action="./categoryformupdate.php" enctype="multipart/form-data" onsubmit='return fcategoryformcheck(this);' style="margin:0px;">
|
||||
<form id="fcategoryform" name="fcategoryform" method=post action="./categoryformupdate.php" enctype="multipart/form-data" onsubmit='return fcategoryformcheck(this);' style="margin:0px;">
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<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" id="codedup" name="codedup" value="<?=$default[de_code_dup_use]?>">
|
||||
<input type="hidden" id="w" name="w" value="<?=$w?>">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<?=$sort2?>">
|
||||
<colgroup width=15%>
|
||||
<colgroup width=35% bgcolor=#FFFFFF>
|
||||
<colgroup width=15%>
|
||||
@ -101,11 +101,11 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<td colspan=3>
|
||||
|
||||
<? if ($w == "") { ?>
|
||||
<input type=text class=ed id=ca_id name=ca_id itemname='분류코드' size='<?=$sublen?>' maxlength='<?=$sublen?>' minlength='<?=$sublen?>' nospace alphanumeric value='<?=$subid?>'>
|
||||
<input type="text" class=ed id="ca_id" id="ca_id" name="ca_id" itemname='분류코드' size='<?=$sublen?>' maxlength='<?=$sublen?>' minlength='<?=$sublen?>' nospace alphanumeric value='<?=$subid?>'>
|
||||
<? if ($default[de_code_dup_use]) { ?><a href='javascript:;' onclick="codedupcheck(document.getElementById('ca_id').value)"><img src='./img/btn_code.gif' border=0 align=absmiddle></a><? } ?>
|
||||
<?=help("자동으로 보여지는 분류코드를 사용하시길 권해드리지만 직접 입력한 값으로도 사용할 수 있습니다.\n분류코드는 나중에 수정이 되지 않으므로 신중하게 결정하여 사용하십시오.\n\n분류코드는 2자리씩 10자리를 사용하여 5단계를 표현할 수 있습니다.\n0~z까지 입력이 가능하며 한 분류당 최대 1296가지를 표현할 수 있습니다.\n그러므로 총 3656158440062976가지의 분류를 사용할 수 있습니다.");?>
|
||||
<? } else { ?>
|
||||
<input type=hidden name=ca_id value='<?=$ca[ca_id]?>'><?=$ca[ca_id]?>
|
||||
<input type="hidden" id="ca_id" name="ca_id" value='<?=$ca[ca_id]?>'><?=$ca[ca_id]?>
|
||||
<? echo icon("미리보기", G4_SHOP_URL."/list.php?ca_id=$ca_id"); ?>
|
||||
<? echo "<a href='./categoryform.php?ca_id=$ca_id&$qstr' title='하위분류 추가'><img src='".G4_ADMIN_URL."/img/icon_insert.gif' border=0 align=absmiddle></a>"; ?>
|
||||
<a href='./itemlist.php?sca=<?=$ca[ca_id]?>'>상품리스트</a>
|
||||
@ -115,23 +115,23 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>분류명<font color="#ff6600"> <b>*</b></font></td>
|
||||
<td colspan=3><input type=text name=ca_name value='<? echo $ca[ca_name] ?>' size=38 required itemname="분류명" class=ed></td>
|
||||
<td colspan=3><input type="text" id="ca_name" name="ca_name" value='<? echo $ca[ca_name] ?>' size=38 required itemid="분류명" name="분류명" class=ed></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>관리 회원아이디</td>
|
||||
<td colspan=3>
|
||||
<?
|
||||
if ($is_admin == 'super')
|
||||
echo "<input type=text name=ca_mb_id value='{$ca[ca_mb_id]}' maxlength=20 class=ed>";
|
||||
echo "<input type="text" id="ca_mb_id" name="ca_mb_id" value='{$ca[ca_mb_id]}' maxlength=20 class=ed>";
|
||||
else
|
||||
echo "<input type=hidden name=ca_mb_id value='{$ca[ca_mb_id]}'>{$ca[ca_mb_id]}";
|
||||
echo "<input type="hidden" id="ca_mb_id" name="ca_mb_id" value='{$ca[ca_mb_id]}'>{$ca[ca_mb_id]}";
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>출력스킨</td>
|
||||
<td colspan=3>
|
||||
<select id=ca_skin name=ca_skin>
|
||||
<select id="ca_skin" id="ca_skin" name="ca_skin">
|
||||
<? echo get_list_skin_options("^list.skin.(.*)\.php", G4_SHOP_PATH); ?>
|
||||
</select>
|
||||
<script>document.getElementById('ca_skin').value='<?=$ca[ca_skin]?>';</script>
|
||||
@ -141,78 +141,78 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>출력이미지 폭</td>
|
||||
<td>
|
||||
<input type=text name=ca_img_width size=5 value='<? echo $ca[ca_img_width] ?>' class=ed required itemname="출력이미지 폭"> 픽셀
|
||||
<input type="text" id="ca_img_width" name="ca_img_width" size=5 value='<? echo $ca[ca_img_width] ?>' class=ed required itemid="출력이미지 폭" name="출력이미지 폭"> 픽셀
|
||||
<?=help("환경설정 > 이미지(소) 폭, 높이가 기본값으로 설정됩니다.\n\n$g4[shop_url]/list.php에서 출력되는 이미지의 폭과 높이입니다.");?>
|
||||
</td>
|
||||
<td>출력이미지 높이</td>
|
||||
<td>
|
||||
<input type=text name=ca_img_height size=5 value='<? echo $ca[ca_img_height] ?>' class=ed required itemname="출력이미지 높이"> 픽셀
|
||||
<input type="text" id="ca_img_height" name="ca_img_height" size=5 value='<? echo $ca[ca_img_height] ?>' class=ed required itemid="출력이미지 높이" name="출력이미지 높이"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>1라인 이미지수</td>
|
||||
<td>
|
||||
<input type=text name=ca_list_mod size=3 value='<? echo $ca[ca_list_mod] ?>' class=ed required itemname="1라인 이미지수"> 개
|
||||
<input type="text" id="ca_list_mod" name="ca_list_mod" size=3 value='<? echo $ca[ca_list_mod] ?>' class=ed required itemid="1라인 이미지수" name="1라인 이미지수"> 개
|
||||
<?=help("1라인에 설정한 값만큼의 상품을 출력하지만 스킨에 따라 1라인에 하나의 상품만 출력할 수도 있습니다.");?>
|
||||
</td>
|
||||
<td>총라인수</td>
|
||||
<td>
|
||||
<input type=text name=ca_list_row size=3 value='<? echo $ca[ca_list_row] ?>' class=ed required itemname="총라인수"> 라인
|
||||
<input type="text" id="ca_list_row" name="ca_list_row" size=3 value='<? echo $ca[ca_list_row] ?>' class=ed required itemid="총라인수" name="총라인수"> 라인
|
||||
<?=help("한페이지에 몇라인을 출력할것인지를 설정합니다.\n\n한페이지에서 표시하는 상품수는 (1라인 이미지수 x 총라인수) 입니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>옵션 제목 1</td>
|
||||
<td>
|
||||
<input type=text name=ca_opt1_subject value='<? echo $ca[ca_opt1_subject] ?>' class=ed>
|
||||
<input type="text" id="ca_opt1_subject" name="ca_opt1_subject" value='<? echo $ca[ca_opt1_subject] ?>' class=ed>
|
||||
<?=help("제조사, 원산지 이외의 총 6개 옵션을 사용하실 수 있습니다.\n\n분류별로 다른 옵션 제목을 미리 설정할 수 있습니다.\n\n이곳에 입력한 값은 상품입력에서 옵션 제목으로 기본입력됩니다.");?>
|
||||
</td>
|
||||
<td>옵션 제목 2</td>
|
||||
<td><input type=text name=ca_opt2_subject value='<? echo $ca[ca_opt2_subject] ?>' class=ed></td>
|
||||
<td><input type="text" id="ca_opt2_subject" name="ca_opt2_subject" value='<? echo $ca[ca_opt2_subject] ?>' class=ed></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>옵션 제목 3</td>
|
||||
<td><input type=text name=ca_opt3_subject value='<? echo $ca[ca_opt3_subject] ?>' class=ed></td>
|
||||
<td><input type="text" id="ca_opt3_subject" name="ca_opt3_subject" value='<? echo $ca[ca_opt3_subject] ?>' class=ed></td>
|
||||
<td>옵션 제목 4</td>
|
||||
<td><input type=text name=ca_opt4_subject value='<? echo $ca[ca_opt4_subject] ?>' class=ed></td>
|
||||
<td><input type="text" id="ca_opt4_subject" name="ca_opt4_subject" value='<? echo $ca[ca_opt4_subject] ?>' class=ed></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>옵션 제목 5</td>
|
||||
<td><input type=text name=ca_opt5_subject value='<? echo $ca[ca_opt5_subject] ?>' class=ed></td>
|
||||
<td><input type="text" id="ca_opt5_subject" name="ca_opt5_subject" value='<? echo $ca[ca_opt5_subject] ?>' class=ed></td>
|
||||
<td>옵션 제목 6</td>
|
||||
<td><input type=text name=ca_opt6_subject value='<? echo $ca[ca_opt6_subject] ?>' class=ed></td>
|
||||
<td><input type="text" id="ca_opt6_subject" name="ca_opt6_subject" value='<? echo $ca[ca_opt6_subject] ?>' class=ed></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>재고수량</td>
|
||||
<td colspan=3>
|
||||
<input type=text name=ca_stock_qty size=10 value='<? echo $ca[ca_stock_qty]; ?>' class=ed> 개
|
||||
<input type="text" id="ca_stock_qty" name="ca_stock_qty" size=10 value='<? echo $ca[ca_stock_qty]; ?>' class=ed> 개
|
||||
<?=help("상품의 기본재고 수량을 설정합니다.\n재고를 사용하지 않는다면 숫자를 크게 입력하여 주십시오.\n예)999999");?>
|
||||
</td>
|
||||
</tr>
|
||||
<input type=hidden name=ca_explan_html value='<?=$ca[ca_explan_html]?>'>
|
||||
<input type="hidden" id="ca_explan_html" name="ca_explan_html" value='<?=$ca[ca_explan_html]?>'>
|
||||
<tr class=ht>
|
||||
<td>판매자 E-mail</td>
|
||||
<td colspan=3>
|
||||
<input type=text name=ca_sell_email size=40 value='<? echo $ca[ca_sell_email] ?>' class=ed>
|
||||
<input type="text" id="ca_sell_email" name="ca_sell_email" size=40 value='<? echo $ca[ca_sell_email] ?>' class=ed>
|
||||
<?=help("운영자와 판매자가 다른 경우에 사용합니다.\n이 분류에 속한 상품을 등록할 경우에 기본값으로 입력됩니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>메뉴표시</td>
|
||||
<td>
|
||||
<input type=checkbox name='ca_menu' <? echo ($ca[ca_menu]) ? "checked" : ""; ?> value='1'>예
|
||||
<input type="checkbox" id="ca_menu" name="ca_menu" <? echo ($ca[ca_menu]) ? "checked" : ""; ?> value='1'>예
|
||||
<?=help("메뉴에 분류명을 표시합니다.");?>
|
||||
</td>
|
||||
<td>판매가능</td>
|
||||
<td>
|
||||
<input type=checkbox name='ca_use' <? echo ($ca[ca_use]) ? "checked" : ""; ?> value='1'>예
|
||||
<input type="checkbox" id="ca_use" name="ca_use" <? echo ($ca[ca_use]) ? "checked" : ""; ?> value='1'>예
|
||||
<?=help("잠시 판매를 중단하거나 재고가 없을 경우에 체크하면 이 분류명과 이 분류에 속한 상품은 출력하지 않으며 주문도 할 수 없습니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>쿠폰사용제외</td>
|
||||
<td colspan="3">
|
||||
<input type="checkbox" name="ca_nocoupon" value="1" <?php echo ($ca['ca_nocoupon']) ? "checked=\"checked\"" : ""; ?> />예
|
||||
<input type="checkbox" id="ca_nocoupon" name="ca_nocoupon" value="1" <?php echo ($ca['ca_nocoupon']) ? "checked=\"checked\"" : ""; ?> />예
|
||||
<?=help("체크하면 이 분류명과 이 분류에 속한 상품은 쿠폰을 사용할 수 없습니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -228,26 +228,26 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr><td colspan=4 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr class=ht>
|
||||
<td>상단 파일 경로</td>
|
||||
<td colspan=3><input type=text class=ed name=ca_include_head size=60 value="<?=$ca[ca_include_head]?>"> <?=help("분류별로 상단+좌측의 내용이 다를 경우 상단+좌측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 상단 파일을 사용합니다.<p>상단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
<td colspan=3><input type="text" class=ed id="ca_include_head" name="ca_include_head" size=60 value="<?=$ca[ca_include_head]?>"> <?=help("분류별로 상단+좌측의 내용이 다를 경우 상단+좌측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 상단 파일을 사용합니다.<p>상단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>하단 파일 경로</td>
|
||||
<td colspan=3><input type=text class=ed name=ca_include_tail size=60 value="<?=$ca[ca_include_tail]?>"> <?=help("분류별로 하단+우측의 내용이 다를 경우 하단+우측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 하단 파일을 사용합니다.<p>하단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
<td colspan=3><input type="text" class=ed id="ca_include_tail" name="ca_include_tail" size=60 value="<?=$ca[ca_include_tail]?>"> <?=help("분류별로 하단+우측의 내용이 다를 경우 하단+우측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 하단 파일을 사용합니다.<p>하단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=ca_himg size=40>
|
||||
<input type="file" class=ed id="ca_himg" name="ca_himg" size=40>
|
||||
<?
|
||||
$himg_str = "";
|
||||
$himg = "{$category_path}/{$ca[ca_id]}_h";
|
||||
if (file_exists($himg))
|
||||
{
|
||||
echo "<input type=checkbox name=ca_himg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="ca_himg_del" name="ca_himg_del" value='1'>삭제";
|
||||
$himg_str = "<img src='$himg' border=0>";
|
||||
//$size = getimagesize($himg);
|
||||
//echo "<img src='$g4[admin_path]/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('himg', $size[0], $size[1]);\">";
|
||||
//echo "<div id='himg' style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$himg' border=1></div>";
|
||||
//echo "<div id="himg" style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$himg' border=1></div>";
|
||||
}
|
||||
?>
|
||||
<?=help("상품리스트 페이지 상단에 출력하는 이미지입니다.");?>
|
||||
@ -258,16 +258,16 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>하단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=ca_timg size=40>
|
||||
<input type="file" class=ed id="ca_timg" name="ca_timg" size=40>
|
||||
<?
|
||||
$timg_str = "";
|
||||
$timg = "{$category_path}/{$ca[ca_id]}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=ca_timg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="ca_timg_del" name="ca_timg_del" value='1'>삭제";
|
||||
$timg_str = "<img src='$timg' border=0>";
|
||||
//$size = getimagesize($timg);
|
||||
//echo "<img src='$g4[admin_path]/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('timg', $size[0], $size[1]);\"><input type=checkbox name=ca_timg_del value='1'>삭제";
|
||||
//echo "<div id='timg' style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$timg' border=1></div>";
|
||||
//echo "<img src='$g4[admin_path]/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('timg', $size[0], $size[1]);\"><input type="checkbox" id="ca_timg_del" name="ca_timg_del" value='1'>삭제";
|
||||
//echo "<div id="timg" style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$timg' border=1></div>";
|
||||
}
|
||||
?>
|
||||
<?=help("상품리스트 페이지 하단에 출력하는 이미지입니다.");?>
|
||||
@ -297,7 +297,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>하위분류</td>
|
||||
<td colspan=3>
|
||||
<input type=checkbox name=sub_category value='1' onclick="if (this.checked) if (confirm('이 분류에 속한 하위 분류의 속성을 똑같이 변경합니다.\n\n이 작업은 되돌릴 방법이 없습니다.\n\n그래도 변경하시겠습니까?')) return ; this.checked = false;"> 이 분류의 설정과 같은 설정으로 반영
|
||||
<input type="checkbox" id="sub_category" name="sub_category" value='1' onclick="if (this.checked) if (confirm('이 분류에 속한 하위 분류의 속성을 똑같이 변경합니다.\n\n이 작업은 되돌릴 방법이 없습니다.\n\n그래도 변경하시겠습니까?')) return ; this.checked = false;"> 이 분류의 설정과 같은 설정으로 반영
|
||||
<?=help("이 분류의 코드가 10 이라면 10 으로 시작하는 하위분류의 설정값을 이 분류와 동일하게 설정합니다.", 0, -100);?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -307,8 +307,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./categorylist.php?<?=$qstr?>';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./categorylist.php?<?=$qstr?>';">
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
@ -76,32 +76,32 @@ $result = sql_query($sql);
|
||||
$qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<form name=flist>
|
||||
<input type=hidden name=page value="<?=$page?>">
|
||||
<table>
|
||||
<form id="flist" name="flist">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<tr>
|
||||
<td width=20%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=60% align=center>
|
||||
<select name=sfl>
|
||||
<select id="sfl" name="sfl">
|
||||
<option value='ca_name'>분류명
|
||||
<option value='ca_id'>분류코드
|
||||
<option value='ca_mb_id'>회원아이디
|
||||
</select>
|
||||
<? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?>
|
||||
|
||||
<input type=hidden name=save_stx value='<?=$stx?>'>
|
||||
<input type=text name=stx value='<?=$stx?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type=hidden name=ca_id value='<? echo $ca_id ?>'>
|
||||
<input type=hidden name=move value='<? echo $move ?>'>
|
||||
<input type="hidden" id="save_stx" name="save_stx" value='<?=$stx?>'>
|
||||
<input type="text" id="stx" name="stx" value='<?=$stx?>'>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="hidden" id="ca_id" name="ca_id" value='<? echo $ca_id ?>'>
|
||||
<input type="hidden" id="move" name="move" value='<? echo $move ?>'>
|
||||
</td>
|
||||
<td width=20% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
<form name=fcategorylist method='post' action='./categorylistupdate.php' autocomplete='off' style="margin:0px;">
|
||||
<input type=hidden name=page value='<? echo $page ?>'>
|
||||
<form id="fcategorylist" name="fcategorylist" method="post" action='./categorylistupdate.php' autocomplete='off' style="margin:0px;">
|
||||
<input type="hidden" id="page" name="page" value='<? echo $page ?>'>
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<tr><td colspan=11 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr align=center class=ht>
|
||||
@ -154,10 +154,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr class='list$list center ht' id='tr{$i}'>
|
||||
<td align=left><input type=hidden name='ca_id[]' value='$row[ca_id]'>$row[ca_id]</td>
|
||||
<td align=left>$s_level <input type=text name='ca_name[$i]' value='".get_text($row[ca_name])."' title='$row[ca_id]' required itemname='분류명' class=ed size=35 $style></td>
|
||||
<td><input type=checkbox name='ca_menu[$i]' ".($row[ca_menu] ? "checked" : "")." value='1'></td>
|
||||
<td><input type=checkbox name='ca_use[$i]' ".($row[ca_use] ? "checked" : "")." value='1'></td>
|
||||
<td align=left><input type="hidden" name='ca_id[]' value='$row[ca_id]'>$row[ca_id]</td>
|
||||
<td align=left>$s_level <input type="text" name='ca_name[$i]' value='".get_text($row[ca_name])."' title='$row[ca_id]' required itemname='분류명' class=ed size=35 $style></td>
|
||||
<td><input type="checkbox" name='ca_menu[$i]' ".($row[ca_menu] ? "checked" : "")." value='1'></td>
|
||||
<td><input type="checkbox" name='ca_use[$i]' ".($row[ca_use] ? "checked" : "")." value='1'></td>
|
||||
<td><a href='javascript:;' onclick=\"category_move('$row[ca_id]', 'up')\" title='위로 이동'>△</a> <a href='javascript:;' onclick=\"category_move('$row[ca_id]', 'down')\" title='아래로 이동'>▽</a></td>
|
||||
<td><a href='./itemlist.php?sca=$row[ca_id]'><U>$row1[cnt]</U></a></td>
|
||||
<td>$s_upd $s_del $s_vie $s_add</td>
|
||||
@ -175,7 +175,7 @@ if ($i == 0) {
|
||||
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<td width=50%><input type=submit class=btn1 value='일괄수정'></td>
|
||||
<td width=50%><input type="submit" class=btn1 value='일괄수정'></td>
|
||||
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -35,45 +35,45 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<?=subtitle($html_title)?><p>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<form name=frmcontentform method=post action="./contentformupdate.php" enctype="MULTIPART/FORM-DATA" onsubmit="return frmcontentform_check(this);">
|
||||
<input type=hidden name=w value='<? echo $w?>'>
|
||||
<form id="frmcontentform" name="frmcontentform" method=post action="./contentformupdate.php" enctype="MULTIPART/FORM-DATA" onsubmit="return frmcontentform_check(this);">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w?>'>
|
||||
<colgroup width=15%></colgroup>
|
||||
<colgroup width=85% bgcolor=#ffffff></colgroup>
|
||||
<tr><td colspan=2 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr class=ht>
|
||||
<td>ID</td>
|
||||
<td>
|
||||
<input type=text class=ed name=co_id size=20 max=20 value='<? echo $co[co_id] ?>' <? echo $readonly ?> required itemname='ID'>
|
||||
<input type="text" class=ed id="co_id" name="co_id" size=20 max=20 value='<? echo $co[co_id] ?>' <? echo $readonly ?> required itemid="ID" name="ID">
|
||||
<? if ($w == 'u') { echo icon("보기", "$g4[shop_path]/content.php?co_id=$co_id"); } ?>
|
||||
(영문자, 숫자, _ 만 가능; 20자 이내; 공란 불가)
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>제목</td>
|
||||
<td><input type=text class=ed name=co_subject style='width:99%;' value='<?=htmlspecialchars2($co[co_subject])?>' required itemname='제목'></td>
|
||||
<td><input type="text" class=ed id="co_subject" name="co_subject" style='width:99%;' value='<?=htmlspecialchars2($co[co_subject])?>' required itemname='제목'></td>
|
||||
</tr>
|
||||
|
||||
<input type=hidden name=co_html value=1>
|
||||
<input type="hidden" id="co_html" name="co_html" value=1>
|
||||
<tr>
|
||||
<td>내용</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=editor_html('co_content', $co[co_content]);?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상단 파일 경로</td>
|
||||
<td colspan=3><input type=text class=ed name=co_include_head size=60 value="<?=$co[co_include_head]?>"> <?=help("내용별로 상단+좌측의 내용이 다를 경우 상단+좌측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 상단 파일을 사용합니다.<p>상단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
<td colspan=3><input type="text" class=ed id="co_include_head" name="co_include_head" size=60 value="<?=$co[co_include_head]?>"> <?=help("내용별로 상단+좌측의 내용이 다를 경우 상단+좌측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 상단 파일을 사용합니다.<p>상단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>하단 파일 경로</td>
|
||||
<td colspan=3><input type=text class=ed name=co_include_tail size=60 value="<?=$co[co_include_tail]?>"> <?=help("내용별로 하단+우측의 내용이 다를 경우 하단+우측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 하단 파일을 사용합니다.<p>하단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
<td colspan=3><input type="text" class=ed id="co_include_tail" name="co_include_tail" size=60 value="<?=$co[co_include_tail]?>"> <?=help("내용별로 하단+우측의 내용이 다를 경우 하단+우측 디자인 파일의 경로를 입력합니다.<p>입력이 없으면 기본 하단 파일을 사용합니다.<p>하단 내용과 달리 PHP 코드를 사용할 수 있습니다.");?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상단이미지</td>
|
||||
<td>
|
||||
<input type=file class=ed name=co_himg size=40>
|
||||
<input type="file" class=ed id="co_himg" name="co_himg" size=40>
|
||||
<?
|
||||
$himg = "$g4[path]/data/content/{$co[co_id]}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=co_himg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="co_himg_del" name="co_himg_del" value='1'>삭제";
|
||||
$himg_str = "<img src='$himg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -84,11 +84,11 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>하단이미지</td>
|
||||
<td>
|
||||
<input type=file class=ed name=co_timg size=40>
|
||||
<input type="file" class=ed id="co_timg" name="co_timg" size=40>
|
||||
<?
|
||||
$timg = "$g4[path]/data/content/{$co[co_id]}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=co_timg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="co_timg_del" name="co_timg_del" value='1'>삭제";
|
||||
$timg_str = "<img src='$timg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -101,8 +101,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./contentlist.php';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./contentlist.php';">
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ form { display: inline; }
|
||||
<div id="container">
|
||||
<div class="searcharea">
|
||||
<form id="fcategory" method="get" action="./coupon_category.php?w=<? echo $w; ?>">
|
||||
<input type="text" name="stx" class="ed" size="30" value="<? echo stripslashes($stx); ?>" />
|
||||
<input type="text" id="stx" name="stx" class="ed" size="30" value="<? echo stripslashes($stx); ?>" />
|
||||
<input type="submit" class="btn1" value="검색" />
|
||||
</form>
|
||||
</div>
|
||||
@ -45,7 +45,7 @@ form { display: inline; }
|
||||
<colgroup width="120" />
|
||||
<colgroup width="" />
|
||||
<tr>
|
||||
<th><input type="checkbox" name="check_all" /></th>
|
||||
<th><input type="checkbox" id="check_all" name="check_all" /></th>
|
||||
<th>카테고리코드</th>
|
||||
<th>카테고리명</th>
|
||||
</tr>
|
||||
@ -53,7 +53,7 @@ form { display: inline; }
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
<tr>
|
||||
<td align="center"><input type="checkbox" name="s_ca_id[]" value="<? echo $row['ca_id']; ?>" /></td>
|
||||
<td align="center"><input type="checkbox" id="s_ca_id[]" name="s_ca_id[]" value="<? echo $row['ca_id']; ?>" /></td>
|
||||
<td align="center"><? echo $row['ca_id']; ?></td>
|
||||
<td align="center"><? echo $row['ca_name']; ?></td>
|
||||
</tr>
|
||||
@ -75,7 +75,7 @@ form { display: inline; }
|
||||
<script>
|
||||
$(function() {
|
||||
$("#fcategory").submit(function() {
|
||||
var stx = $.trim($("input[name=stx]").val());
|
||||
var stx = $.trim($("input[id="stx" name="stx"]").val());
|
||||
if(stx == "") {
|
||||
alert("검색어를 입력해 주세요.");
|
||||
return false;
|
||||
@ -84,7 +84,7 @@ $(function() {
|
||||
return true;
|
||||
});
|
||||
|
||||
$("input[name=check_all]").click(function() {
|
||||
$("input[id="check_all" name="check_all"]").click(function() {
|
||||
if($(this).is(":checked")) {
|
||||
$("input[name^=s_ca_id]").attr("checked", true);
|
||||
} else {
|
||||
@ -121,7 +121,7 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
$opener.$("input[name=ca_id]").val(caid);
|
||||
$opener.$("input[id="ca_id" name="ca_id"]").val(caid);
|
||||
self.close();
|
||||
|
||||
return false;
|
||||
|
||||
@ -32,7 +32,7 @@ form { display: inline; }
|
||||
<div id="container">
|
||||
<div class="searcharea">
|
||||
<form id="fitem" method="get" action="./coupon_item.php?w=<? echo $w; ?>">
|
||||
<input type="text" name="stx" class="ed" size="30" value="<? echo stripslashes($stx); ?>" />
|
||||
<input type="text" id="stx" name="stx" class="ed" size="30" value="<? echo stripslashes($stx); ?>" />
|
||||
<input type="submit" class="btn1" value="검색" />
|
||||
</form>
|
||||
</div>
|
||||
@ -46,7 +46,7 @@ form { display: inline; }
|
||||
<colgroup width="90" />
|
||||
<colgroup width="90" />
|
||||
<tr>
|
||||
<th><input type="checkbox" name="check_all" /></th>
|
||||
<th><input type="checkbox" id="check_all" name="check_all" /></th>
|
||||
<th>상품코드</th>
|
||||
<th>상품명</th>
|
||||
<th>가격</th>
|
||||
@ -55,7 +55,7 @@ form { display: inline; }
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
<tr>
|
||||
<td align="center"><input type="checkbox" name="s_it_id[]" value="<? echo $row['it_id']; ?>" /></td>
|
||||
<td align="center"><input type="checkbox" id="s_it_id[]" name="s_it_id[]" value="<? echo $row['it_id']; ?>" /></td>
|
||||
<td align="center"><? echo $row['it_id']; ?></td>
|
||||
<td align="center"><? echo $row['it_name']; ?></td>
|
||||
<td align="center"><? echo number_format($row['it_amount']); ?></td>
|
||||
@ -78,7 +78,7 @@ form { display: inline; }
|
||||
<script>
|
||||
$(function() {
|
||||
$("#fitem").submit(function() {
|
||||
var stx = $.trim($("input[name=stx]").val());
|
||||
var stx = $.trim($("input[id="stx" name="stx"]").val());
|
||||
if(stx == "") {
|
||||
alert("검색어를 입력해 주세요.");
|
||||
return false;
|
||||
@ -87,7 +87,7 @@ $(function() {
|
||||
return true;
|
||||
});
|
||||
|
||||
$("input[name=check_all]").click(function() {
|
||||
$("input[id="check_all" name="check_all"]").click(function() {
|
||||
if($(this).is(":checked")) {
|
||||
$("input[name^=s_it_id]").attr("checked", true);
|
||||
} else {
|
||||
@ -124,7 +124,7 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
$opener.$("input[name=it_id]").val(itid);
|
||||
$opener.$("input[id="it_id" name="it_id"]").val(itid);
|
||||
self.close();
|
||||
|
||||
return false;
|
||||
|
||||
@ -32,12 +32,12 @@ form { display: inline; }
|
||||
<div id="container">
|
||||
<div class="searcharea">
|
||||
<form id="fmember" method="get" action="./coupon_member.php?w=<? echo $w; ?>">
|
||||
<select name="sfl">
|
||||
<select id="sfl" name="sfl">
|
||||
<option value="mb_name">이름</option>
|
||||
<option value="mb_nick">별명</option>
|
||||
<option value="mb_id">아이디</option>
|
||||
</select>
|
||||
<input type="text" name="stx" class="ed" size="20" value="<? echo stripslashes($stx); ?>" />
|
||||
<input type="text" id="stx" name="stx" class="ed" size="20" value="<? echo stripslashes($stx); ?>" />
|
||||
<input type="submit" class="btn1" value="검색" />
|
||||
</form>
|
||||
</div>
|
||||
@ -51,7 +51,7 @@ form { display: inline; }
|
||||
<colgroup width="90" />
|
||||
<colgroup width="90" />
|
||||
<tr>
|
||||
<th><input type="checkbox" name="check_all" /></th>
|
||||
<th><input type="checkbox" id="check_all" name="check_all" /></th>
|
||||
<th>아이디</th>
|
||||
<th>이름</th>
|
||||
<th>별명</th>
|
||||
@ -60,7 +60,7 @@ form { display: inline; }
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
<tr>
|
||||
<td align="center"><input type="checkbox" name="s_mb_id[]" value="<? echo $row['mb_id']; ?>" /></td>
|
||||
<td align="center"><input type="checkbox" id="s_mb_id[]" name="s_mb_id[]" value="<? echo $row['mb_id']; ?>" /></td>
|
||||
<td align="center"><? echo $row['mb_id']; ?></td>
|
||||
<td align="center"><? echo $row['mb_name']; ?></td>
|
||||
<td align="center"><? echo $row['mb_nick']; ?></td>
|
||||
@ -83,7 +83,7 @@ form { display: inline; }
|
||||
<script>
|
||||
$(function() {
|
||||
$("#fmember").submit(function() {
|
||||
var stx = $.trim($("input[name=stx]").val());
|
||||
var stx = $.trim($("input[id="stx" name="stx"]").val());
|
||||
if(stx == "") {
|
||||
alert("검색어를 입력해 주세요.");
|
||||
return false;
|
||||
@ -92,7 +92,7 @@ $(function() {
|
||||
return true;
|
||||
});
|
||||
|
||||
$("input[name=check_all]").click(function() {
|
||||
$("input[id="check_all" name="check_all"]").click(function() {
|
||||
if($(this).is(":checked")) {
|
||||
$("input[name^=s_mb_id]").attr("checked", true);
|
||||
} else {
|
||||
@ -129,13 +129,13 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
$opener.$("input[name=mb_id]").val(mbid);
|
||||
$opener.$("input[id="mb_id" name="mb_id"]").val(mbid);
|
||||
self.close();
|
||||
|
||||
return false;
|
||||
});
|
||||
<? if($sfl) { ?>
|
||||
$("select[name=sfl]").val("<? echo $sfl; ?>");
|
||||
$("select[id="sfl" name="sfl"]").val("<? echo $sfl; ?>");
|
||||
<? } ?>
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -33,13 +33,13 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</style>
|
||||
|
||||
<form id="fcoupon" method="post" action="./couponformupdate.php" style="margin:0px;">
|
||||
<input type="hidden" name="cp_no" value="<? echo $cp_no; ?>" />
|
||||
<input type="hidden" name="w" value="<? echo $w; ?>" />
|
||||
<input type="hidden" name="sst" value="<? echo $sst ?>" />
|
||||
<input type="hidden" name="sod" value="<? echo $sod; ?>" />
|
||||
<input type="hidden" name="sfl" value="<? echo $sfl; ?>" />
|
||||
<input type="hidden" name="stx" value="<? echo $stx; ?>" />
|
||||
<input type="hidden" name="page" value="<? echo $page; ?>" />
|
||||
<input type="hidden" id="cp_no" name="cp_no" value="<? echo $cp_no; ?>" />
|
||||
<input type="hidden" id="w" name="w" value="<? echo $w; ?>" />
|
||||
<input type="hidden" id="sst" name="sst" value="<? echo $sst ?>" />
|
||||
<input type="hidden" id="sod" name="sod" value="<? echo $sod; ?>" />
|
||||
<input type="hidden" id="sfl" name="sfl" value="<? echo $sfl; ?>" />
|
||||
<input type="hidden" id="stx" name="stx" value="<? echo $stx; ?>" />
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page; ?>" />
|
||||
<table cellpadding="0" cellspacing="0" width="100%">
|
||||
<colgroup width="15%"></colgroup>
|
||||
<colgroup width="85%" bgcolor="#ffffff"></colgroup>
|
||||
@ -52,28 +52,28 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<? } ?>
|
||||
<tr class="ht">
|
||||
<td>쿠폰명</td>
|
||||
<td><input type="text" name="cp_subject" size="60" class="ed" value="<? echo $write['cp_subject']; ?>" /></td>
|
||||
<td><input type="text" id="cp_subject" name="cp_subject" size="60" class="ed" value="<? echo $write['cp_subject']; ?>" /></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>쿠폰종류</td>
|
||||
<td><input type="radio" name="cp_type" value="0" <? if(!$write['cp_type'] || $w == '') echo "checked=\"checked\""; ?> /> 상품할인 <input type="radio" name="cp_type" value="1" <? if($write['cp_type'] == 1) echo "checked=\"checked\""; ?> /> 결제금액할인 <input type="radio" name="cp_type" value="2" <? if($write['cp_type'] == 2) echo "checked=\"checked\""; ?> /> 배송비할인</td>
|
||||
<td><input type="radio" id="cp_type" name="cp_type" value="0" <? if(!$write['cp_type'] || $w == '') echo "checked=\"checked\""; ?> /> 상품할인 <input type="radio" id="cp_type" name="cp_type" value="1" <? if($write['cp_type'] == 1) echo "checked=\"checked\""; ?> /> 결제금액할인 <input type="radio" id="cp_type" name="cp_type" value="2" <? if($write['cp_type'] == 2) echo "checked=\"checked\""; ?> /> 배송비할인</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>사용대상</td>
|
||||
<td><input type="radio" name="cp_target" value="0" <? if(!$write['cp_target'] || $w == '') echo "checked=\"checked\""; ?> /> 상품 <input type="radio" name="cp_target" value="1" <? if($write['cp_target'] == 1) echo "checked=\"checked\""; ?> /> 카테고리 <input type="radio" name="cp_target" value="2" <? if($write['cp_target'] == 2) echo "checked=\"checked\""; ?> /> 전체상품 <input type="radio" name="cp_target" value="3" <? if($write['cp_target'] == 3) echo "checked=\"checked\""; ?> disabled="disabled" /> 주문서</td>
|
||||
<td><input type="radio" id="cp_target" name="cp_target" value="0" <? if(!$write['cp_target'] || $w == '') echo "checked=\"checked\""; ?> /> 상품 <input type="radio" id="cp_target" name="cp_target" value="1" <? if($write['cp_target'] == 1) echo "checked=\"checked\""; ?> /> 카테고리 <input type="radio" id="cp_target" name="cp_target" value="2" <? if($write['cp_target'] == 2) echo "checked=\"checked\""; ?> /> 전체상품 <input type="radio" id="cp_target" name="cp_target" value="3" <? if($write['cp_target'] == 3) echo "checked=\"checked\""; ?> disabled="disabled" /> 주문서</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>할인방식</td>
|
||||
<td><input type="radio" name="cp_method" value="0" <? if(!$write['cp_method'] || $w == '') echo "checked=\"checked\""; ?> /> 정액할인 <input type="radio" name="cp_method" value="1" <? if($write['cp_method']) echo "checked=\"checked\""; ?> /> 정율(%)할인</td>
|
||||
<td><input type="radio" id="cp_method" name="cp_method" value="0" <? if(!$write['cp_method'] || $w == '') echo "checked=\"checked\""; ?> /> 정액할인 <input type="radio" id="cp_method" name="cp_method" value="1" <? if($write['cp_method']) echo "checked=\"checked\""; ?> /> 정율(%)할인</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td><span id="cp_amount_label">할인금액</span></td>
|
||||
<td><input type="text" name="cp_amount" size="10" class="ed" value="<? echo $write['cp_amount']; ?>" /><span id="cp_amount_unit">원</span></td>
|
||||
<td><input type="text" id="cp_amount" name="cp_amount" size="10" class="ed" value="<? echo $write['cp_amount']; ?>" /><span id="cp_amount_unit">원</span></td>
|
||||
</tr>
|
||||
<tr id="cp_trunc_dsp" class="ht">
|
||||
<td>절사금액</td>
|
||||
<td>
|
||||
<select name="cp_trunc">
|
||||
<select id="cp_trunc" name="cp_trunc">
|
||||
<option value="1">1원단위</option>
|
||||
<option value="10">10원단위</option>
|
||||
<option value="100">100원단위</option>
|
||||
@ -82,31 +82,31 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</tr>
|
||||
<tr id="cp_maximum_dsp" class="ht">
|
||||
<td>최대할인금액</td>
|
||||
<td><input type="text" name="cp_maximum" size="10" class="ed" value="<? echo $write['cp_maximum']; ?>" />원 * 0이면 제한없음</td>
|
||||
<td><input type="text" id="cp_maximum" name="cp_maximum" size="10" class="ed" value="<? echo $write['cp_maximum']; ?>" />원 * 0이면 제한없음</td>
|
||||
</tr>
|
||||
<tr id="cp_minimum_dsp" class="ht">
|
||||
<td>최소주문금액</td>
|
||||
<td><input type="text" name="cp_minimum" size="10" class="ed" value="<? echo $write['cp_minimum']; ?>" />원 * 0이면 제한없음</td>
|
||||
<td><input type="text" id="cp_minimum" name="cp_minimum" size="10" class="ed" value="<? echo $write['cp_minimum']; ?>" />원 * 0이면 제한없음</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>사용기한</td>
|
||||
<td><input type="text" name="cp_start" size="20" class="ed" value="<? echo $write['cp_start']; ?>" /> ~ <input type="text" name="cp_end" size="20" class="ed" value="<? echo $write['cp_end']; ?>" /> * 입력예: <? echo date("Y-m-d", (time() + 86400 * 7)); ?></td>
|
||||
<td><input type="text" id="cp_start" name="cp_start" size="20" class="ed" value="<? echo $write['cp_start']; ?>" /> ~ <input type="text" id="cp_end" name="cp_end" size="20" class="ed" value="<? echo $write['cp_end']; ?>" /> * 입력예: <? echo date("Y-m-d", (time() + 86400 * 7)); ?></td>
|
||||
</tr>
|
||||
<tr id="it_id_dsp" class="ht">
|
||||
<td>적용상품</td>
|
||||
<td><input type="text" name="it_id" size="50" class="ed" value="<? echo $write['it_id']; ?>" /> <button type="button" id="item_search">상품찾기</button></td>
|
||||
<td><input type="text" id="it_id" name="it_id" size="50" class="ed" value="<? echo $write['it_id']; ?>" /> <button type="button" id="item_search">상품찾기</button></td>
|
||||
</tr>
|
||||
<tr id="ca_id_dsp" class="ht">
|
||||
<td>적용카테고리</td>
|
||||
<td><input type="text" name="ca_id" size="50" class="ed" value="<? echo $write['ca_id']; ?>" /> <input type="checkbox" name="allcategory" value="1" />전체카테고리 <button type="button" id="category_search">카테고리찾기</button></td>
|
||||
<td><input type="text" id="ca_id" name="ca_id" size="50" class="ed" value="<? echo $write['ca_id']; ?>" /> <input type="checkbox" id="allcategory" name="allcategory" value="1" />전체카테고리 <button type="button" id="category_search">카테고리찾기</button></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>적용회원</td>
|
||||
<td><input type="text" name="mb_id" size="50" class="ed" value="<? echo $write['mb_id']; ?>" /> <input type="checkbox" name="allmember" value="1" />전체회원 <button type="button" id="member_search">회원찾기</button></td>
|
||||
<td><input type="text" id="mb_id" name="mb_id" size="50" class="ed" value="<? echo $write['mb_id']; ?>" /> <input type="checkbox" id="allmember" name="allmember" value="1" />전체회원 <button type="button" id="member_search">회원찾기</button></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>쿠폰사용</td>
|
||||
<td><input type="radio" name="cp_use" value="1" <? if($write['cp_use'] || $w == '') echo "checked=\"checked\""; ?> /> 사용함 <input type="radio" name="cp_use" value="0" <? if(!$write['cp_use'] && $w == 'u') echo "checked=\"checked\""; ?> /> 사용안함</td>
|
||||
<td><input type="radio" id="cp_use" name="cp_use" value="1" <? if($write['cp_use'] || $w == '') echo "checked=\"checked\""; ?> /> 사용함 <input type="radio" id="cp_use" name="cp_use" value="0" <? if(!$write['cp_use'] && $w == 'u') echo "checked=\"checked\""; ?> /> 사용안함</td>
|
||||
</tr>
|
||||
<tr><td colspan="2" height="1" bgcolor="#CCCCCC"><td></tr>
|
||||
</table>
|
||||
@ -120,7 +120,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<script>
|
||||
$(function() {
|
||||
<?php if($w == 'u') { ?>
|
||||
$("select[name=cp_trunc]").val("<? echo $write['cp_trunc']; ?>");
|
||||
$("select[id="cp_trunc" name="cp_trunc"]").val("<? echo $write['cp_trunc']; ?>");
|
||||
if("<?php echo $write['cp_method']; ?>" == "1") {
|
||||
$("#cp_amount_label").text("할인비율");
|
||||
$("#cp_amount_unit").text("%");
|
||||
@ -130,16 +130,16 @@ $(function() {
|
||||
var u_cp_type = "<?php echo $write['cp_type']; ?>";
|
||||
if(u_cp_type == "0") { // 상품할인
|
||||
$("#cp_minimum_dsp").hide();
|
||||
$("input[name=cp_target]").not("[value=3]").attr("disabled", false);
|
||||
$("input[name=cp_target]").filter("[value=3]").attr("disabled", true);
|
||||
$("input[name=cp_method]").not("[value=0]").attr("disabled", false);
|
||||
$("input[id="cp_target" name="cp_target"]").not("[value=3]").attr("disabled", false);
|
||||
$("input[id="cp_target" name="cp_target"]").filter("[value=3]").attr("disabled", true);
|
||||
$("input[id="cp_method" name="cp_method"]").not("[value=0]").attr("disabled", false);
|
||||
$("#it_id_dsp").show();
|
||||
$("#ca_id_dsp").hide();
|
||||
} else if(u_cp_type == "2") { // 배송비할인
|
||||
$("#cp_minimum_dsp").show();
|
||||
$("input[name=cp_target]").not("[value=3]").attr("disabled", true);
|
||||
$("input[name=cp_target]").filter("[value=3]").attr("disabled", false);
|
||||
$("input[name=cp_method]").not("[value=0]").attr("disabled", true);
|
||||
$("input[id="cp_target" name="cp_target"]").not("[value=3]").attr("disabled", true);
|
||||
$("input[id="cp_target" name="cp_target"]").filter("[value=3]").attr("disabled", false);
|
||||
$("input[id="cp_method" name="cp_method"]").not("[value=0]").attr("disabled", true);
|
||||
$("#cp_amount_label").text("할인금액");
|
||||
$("#cp_amount_unit").text("원");
|
||||
$("#cp_trunc_dsp").hide();
|
||||
@ -148,9 +148,9 @@ $(function() {
|
||||
$("#ca_id_dsp").hide();
|
||||
} else {
|
||||
$("#cp_minimum_dsp").show();
|
||||
$("input[name=cp_target]").not("[value=3]").attr("disabled", true);
|
||||
$("input[name=cp_target]").filter("[value=3]").attr("disabled", false);
|
||||
$("input[name=cp_method]").not("[value=0]").attr("disabled", false);
|
||||
$("input[id="cp_target" name="cp_target"]").not("[value=3]").attr("disabled", true);
|
||||
$("input[id="cp_target" name="cp_target"]").filter("[value=3]").attr("disabled", false);
|
||||
$("input[id="cp_method" name="cp_method"]").not("[value=0]").attr("disabled", false);
|
||||
$("#it_id_dsp").hide();
|
||||
$("#ca_id_dsp").hide();
|
||||
}
|
||||
@ -166,22 +166,22 @@ $(function() {
|
||||
$("#ca_id_dsp").hide();
|
||||
}
|
||||
<?php } ?>
|
||||
$("input[name=cp_type]").click(function() {
|
||||
$("input[id="cp_type" name="cp_type"]").click(function() {
|
||||
var val = $(this).val();
|
||||
if(val == "0") { // 상품할인
|
||||
$("#cp_minimum_dsp").hide();
|
||||
$("input[name=cp_target]").not("[value=3]").attr("disabled", false);
|
||||
$("input[name=cp_target]").filter("[value=0]").attr("checked", true);
|
||||
$("input[name=cp_target]").filter("[value=3]").attr("disabled", true);
|
||||
$("input[name=cp_method]").not("[value=0]").attr("disabled", false);
|
||||
$("input[id="cp_target" name="cp_target"]").not("[value=3]").attr("disabled", false);
|
||||
$("input[id="cp_target" name="cp_target"]").filter("[value=0]").attr("checked", true);
|
||||
$("input[id="cp_target" name="cp_target"]").filter("[value=3]").attr("disabled", true);
|
||||
$("input[id="cp_method" name="cp_method"]").not("[value=0]").attr("disabled", false);
|
||||
$("#it_id_dsp").show();
|
||||
$("#ca_id_dsp").hide();
|
||||
} else if(val == "2") { // 배송비할인
|
||||
$("#cp_minimum_dsp").show();
|
||||
$("input[name=cp_target]").not("[value=3]").attr("disabled", true);
|
||||
$("input[name=cp_target]").filter("[value=3]").attr("checked", true).attr("disabled", false);
|
||||
$("input[name=cp_method]").filter("[value=0]").attr("checked", true);
|
||||
$("input[name=cp_method]").not("[value=0]").attr("disabled", true);
|
||||
$("input[id="cp_target" name="cp_target"]").not("[value=3]").attr("disabled", true);
|
||||
$("input[id="cp_target" name="cp_target"]").filter("[value=3]").attr("checked", true).attr("disabled", false);
|
||||
$("input[id="cp_method" name="cp_method"]").filter("[value=0]").attr("checked", true);
|
||||
$("input[id="cp_method" name="cp_method"]").not("[value=0]").attr("disabled", true);
|
||||
$("#cp_amount_label").text("할인금액");
|
||||
$("#cp_amount_unit").text("원");
|
||||
$("#cp_trunc_dsp").hide();
|
||||
@ -190,15 +190,15 @@ $(function() {
|
||||
$("#ca_id_dsp").hide();
|
||||
} else {
|
||||
$("#cp_minimum_dsp").show();
|
||||
$("input[name=cp_target]").not("[value=3]").attr("disabled", true);
|
||||
$("input[name=cp_target]").filter("[value=3]").attr("checked", true).attr("disabled", false);
|
||||
$("input[name=cp_method]").not("[value=0]").attr("disabled", false);
|
||||
$("input[id="cp_target" name="cp_target"]").not("[value=3]").attr("disabled", true);
|
||||
$("input[id="cp_target" name="cp_target"]").filter("[value=3]").attr("checked", true).attr("disabled", false);
|
||||
$("input[id="cp_method" name="cp_method"]").not("[value=0]").attr("disabled", false);
|
||||
$("#it_id_dsp").hide();
|
||||
$("#ca_id_dsp").hide();
|
||||
}
|
||||
});
|
||||
|
||||
$("input[name=cp_method]").click(function() {
|
||||
$("input[id="cp_method" name="cp_method"]").click(function() {
|
||||
var val = $(this).val();
|
||||
if(val == "1") { // 정율할인
|
||||
$("#cp_amount_label").text("할인비율");
|
||||
@ -213,7 +213,7 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
$("input[name=cp_target]").click(function() {
|
||||
$("input[id="cp_target" name="cp_target"]").click(function() {
|
||||
var val = $(this).val();
|
||||
if(val == "2") { // 전체상품
|
||||
$("#it_id_dsp").hide();
|
||||
@ -227,33 +227,33 @@ $(function() {
|
||||
}
|
||||
});
|
||||
|
||||
$("input[name=allcategory]").click(function() {
|
||||
$("input[id="allcategory" name="allcategory"]").click(function() {
|
||||
if($(this).is(":checked")) {
|
||||
$("input[name=ca_id]").val("전체카테고리");
|
||||
$("input[id="ca_id" name="ca_id"]").val("전체카테고리");
|
||||
} else {
|
||||
$("input[name=ca_id]").val("");
|
||||
$("input[id="ca_id" name="ca_id"]").val("");
|
||||
}
|
||||
});
|
||||
|
||||
$("input[name=allmember]").click(function() {
|
||||
$("input[id="allmember" name="allmember"]").click(function() {
|
||||
if($(this).is(":checked")) {
|
||||
$("input[name=mb_id]").val("전체회원");
|
||||
$("input[id="mb_id" name="mb_id"]").val("전체회원");
|
||||
} else {
|
||||
$("input[name=mb_id]").val("");
|
||||
$("input[id="mb_id" name="mb_id"]").val("");
|
||||
}
|
||||
});
|
||||
|
||||
$("form#fcoupon").submit(function() {
|
||||
var cp_subject = $.trim($("input[name=cp_subject]").val());
|
||||
var cp_type = $("input[name=cp_type]:checked").val();
|
||||
var cp_target = $("input[name=cp_target]:checked").val();
|
||||
var cp_method = $("input[name=cp_method]:checked").val();
|
||||
var cp_amount = $.trim($("input[name=cp_amount]").val()).replace(/[^0-9]/, "");
|
||||
var cp_start = $.trim($("input[name=cp_start]").val());
|
||||
var cp_end = $.trim($("input[name=cp_end]").val());
|
||||
var it_id = $.trim($("input[name=it_id]").val());
|
||||
var ca_id = $.trim($("input[name=ca_id]").val());
|
||||
var mb_id = $.trim($("input[name=mb_id]").val());
|
||||
var cp_subject = $.trim($("input[id="cp_subject" name="cp_subject"]").val());
|
||||
var cp_type = $("input[id="cp_type" name="cp_type"]:checked").val();
|
||||
var cp_target = $("input[id="cp_target" name="cp_target"]:checked").val();
|
||||
var cp_method = $("input[id="cp_method" name="cp_method"]:checked").val();
|
||||
var cp_amount = $.trim($("input[id="cp_amount" name="cp_amount"]").val()).replace(/[^0-9]/, "");
|
||||
var cp_start = $.trim($("input[id="cp_start" name="cp_start"]").val());
|
||||
var cp_end = $.trim($("input[id="cp_end" name="cp_end"]").val());
|
||||
var it_id = $.trim($("input[id="it_id" name="it_id"]").val());
|
||||
var ca_id = $.trim($("input[id="ca_id" name="ca_id"]").val());
|
||||
var mb_id = $.trim($("input[id="mb_id" name="mb_id"]").val());
|
||||
|
||||
if(cp_subject == "") {
|
||||
alert("쿠폰명을 입력해 주세요.");
|
||||
|
||||
@ -45,13 +45,13 @@ $result = sql_query($sql);
|
||||
$qstr = "$qstr&page=$page&save_stx=$stx";
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<form name=flist>
|
||||
<input type=hidden name=page value="<?=$page?>">
|
||||
<table>
|
||||
<form id="flist" name="flist">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<tr>
|
||||
<td width=20%><a href='<?=$_SERVER['PHP_SELF']?>'>처음</a></td>
|
||||
<td width=60% align=center>
|
||||
<select name=sfl>
|
||||
<select id="sfl" name="sfl">
|
||||
<option value='cp_id'>쿠폰번호
|
||||
<option value='cp_subject'>쿠폰명
|
||||
<option value='it_name'>상품명
|
||||
@ -60,9 +60,9 @@ $qstr = "$qstr&page=$page&save_stx=$stx";
|
||||
<?// if ($sel_field) echo "<script> document.flist.sel_field.value = '$sel_field';</script>"; ?>
|
||||
<? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?>
|
||||
|
||||
<input type=hidden name=save_stx value='<?=$stx?>'>
|
||||
<input type=text name=stx value='<?=$stx?>'>
|
||||
<input type=image src='<?=$g4['admin_path']?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="hidden" id="save_stx" name="save_stx" value='<?=$stx?>'>
|
||||
<input type="text" id="stx" name="stx" value='<?=$stx?>'>
|
||||
<input type="image" src='<?=$g4['admin_path']?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=20% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
@ -71,15 +71,15 @@ $qstr = "$qstr&page=$page&save_stx=$stx";
|
||||
|
||||
|
||||
<form id="fcouponlist" method="post" action="./coupondelete.php" style="margin: 0;">
|
||||
<input type="hidden" name="sst" value="<? echo $sst ?>" />
|
||||
<input type="hidden" name="sod" value="<? echo $sod; ?>" />
|
||||
<input type="hidden" name="sfl" value="<? echo $sfl; ?>" />
|
||||
<input type="hidden" name="stx" value="<? echo $stx; ?>" />
|
||||
<input type="hidden" name="page" value="<? echo $page; ?>" />
|
||||
<input type="hidden" id="sst" name="sst" value="<? echo $sst ?>" />
|
||||
<input type="hidden" id="sod" name="sod" value="<? echo $sod; ?>" />
|
||||
<input type="hidden" id="sfl" name="sfl" value="<? echo $sfl; ?>" />
|
||||
<input type="hidden" id="stx" name="stx" value="<? echo $stx; ?>" />
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page; ?>" />
|
||||
<table cellpadding=0 cellspacing=0 width=100% border=0>
|
||||
<tr><td colspan=9 height=2 bgcolor=0E87F9></td></tr>
|
||||
<tr align=center class=ht>
|
||||
<td width="50"><input type="checkbox" name="list_all" value="1" /></td>
|
||||
<td width="50"><input type="checkbox" id="list_all" name="list_all" value="1" /></td>
|
||||
<td width="70">쿠폰번호</td>
|
||||
<td width="">쿠폰명</td>
|
||||
<td width="100"><?=subject_sort_link("mb_id", "")?>회원아이디</a></td>
|
||||
@ -129,7 +129,7 @@ for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr class='list$list ht'>
|
||||
<td align=\"center\"><input type=\"checkbox\" name=\"list_chk[]\" value=\"{$row['cp_no']}\" /></td>
|
||||
<td align=\"center\"><input type="\""checkbox\" id="\" name="\""list_chk[]\" value=\"{$row['cp_no']}\" /></td>
|
||||
<td align=\"center\">".$row['cp_id']."</td>
|
||||
<td>".$cp_subject."</td>
|
||||
<td align=\"center\">".$mb_id."</td>
|
||||
@ -159,7 +159,7 @@ if ($i == 0) {
|
||||
<script>
|
||||
$(function() {
|
||||
// 전체선택
|
||||
$('input[name=list_all]').click(function() {
|
||||
$('input[id="list_all" name="list_all"]').click(function() {
|
||||
if($(this).is(':checked')) {
|
||||
$('input[name^=list_chk]').attr('checked', true);
|
||||
} else {
|
||||
|
||||
@ -26,23 +26,23 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<?=subtitle($html_title);?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<form name=fdeliverycodeform method=post action='./deliverycodeformupdate.php'>
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=dl_id value='<? echo $dl_id ?>'>
|
||||
<form id="fdeliverycodeform" name="fdeliverycodeform" method=post action='./deliverycodeformupdate.php'>
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w ?>'>
|
||||
<input type="hidden" id="dl_id" name="dl_id" value='<? echo $dl_id ?>'>
|
||||
<colgroup width=15%></colgroup>
|
||||
<colgroup width=85% bgcolor=#ffffff></colgroup>
|
||||
<tr><td colspan=2 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr class=ht>
|
||||
<td>배송회사명</td>
|
||||
<td><input type=text class=ed name=dl_company value='<? echo stripslashes($dl[dl_company]) ?>' required itemname="배송회사명"></td>
|
||||
<td><input type="text" class=ed id="dl_company" name="dl_company" value='<? echo stripslashes($dl[dl_company]) ?>' required itemid="배송회사명" name="배송회사명"></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>화물추적 URL</td>
|
||||
<td><input type=text class=ed name=dl_url value='<? echo stripslashes($dl[dl_url]) ?>' style='width:98%;'></td>
|
||||
<td><input type="text" class=ed id="dl_url" name="dl_url" value='<? echo stripslashes($dl[dl_url]) ?>' style='width:98%;'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>고객센터 전화</td>
|
||||
<td><input type=text class=ed name=dl_tel value='<? echo stripslashes($dl[dl_tel]) ?>'></td>
|
||||
<td><input type="text" class=ed id="dl_tel" name="dl_tel" value='<? echo stripslashes($dl[dl_tel]) ?>'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>출력 순서</td>
|
||||
@ -55,8 +55,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./deliverycodelist.php';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./deliverycodelist.php';">
|
||||
</form>
|
||||
|
||||
<?
|
||||
|
||||
@ -34,7 +34,7 @@ if ($sel_ca_id != "") {
|
||||
if ($sel_field == "") $sel_field = "od_id";
|
||||
|
||||
$sql_common = " from $g4[yc4_order_table] a
|
||||
left join $g4[yc4_cart_table] b on (a.on_uid=b.on_uid)
|
||||
left join $g4[yc4_cart_table] b on (a.on_uid="b".on_uid)
|
||||
$sql_search ";
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
@ -71,24 +71,24 @@ $qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&chk_misu=$chk
|
||||
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
?>
|
||||
|
||||
<form name=flist autocomplete='off' style="margin:0px;">
|
||||
<input type=hidden name=doc value="<?=$doc?>">
|
||||
<input type=hidden name=page value="<?=$page?>">
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<form id="flist" name="flist" autocomplete='off' style="margin:0px;">
|
||||
<input type="hidden" id="doc" name="doc" value="<?=$doc?>">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<table>
|
||||
<tr>
|
||||
<td width=20%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=60% align=center>
|
||||
<label><input type="checkbox" name="chk_misu" value="1" <?=$chk_misu?"checked='checked'":"";?> /> 미수금없음</label>
|
||||
<label><input type="checkbox" id="chk_misu" name="chk_misu" value="1" <?=$chk_misu?"checked='checked'":"";?> /> 미수금없음</label>
|
||||
|
||||
<select name=sel_field>
|
||||
<select id="sel_field" name="sel_field">
|
||||
<option value='od_id'>주문번호
|
||||
<option value='od_name'>주문자
|
||||
<option value='od_invoice'>운송장번호
|
||||
</select>
|
||||
<? if ($sel_field) echo "<script> document.flist.sel_field.value = '$sel_field';</script>"; ?>
|
||||
|
||||
<input type=text name=search value='<? echo $search ?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="text" id="search" name="search" value='<? echo $search ?>'>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=20% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
@ -96,13 +96,13 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
</form>
|
||||
|
||||
|
||||
<form name=fdeliverylistupate method=post action="./deliverylistupdate.php" autocomplete='off' style="margin:0px;">
|
||||
<input type=hidden name=sel_ca_id value="<? echo $sel_ca_id ?>">
|
||||
<input type=hidden name=sel_field value="<? echo $sel_field ?>">
|
||||
<input type=hidden name=search value="<? echo $search ?>">
|
||||
<input type=hidden name=page value="<? echo $page ?>">
|
||||
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
|
||||
<input type=hidden name=sort2 value="<? echo $sort2 ?>">
|
||||
<form id="fdeliverylistupate" name="fdeliverylistupate" method=post action="./deliverylistupdate.php" autocomplete='off' style="margin:0px;">
|
||||
<input type="hidden" id="sel_ca_id" name="sel_ca_id" value="<? echo $sel_ca_id ?>">
|
||||
<input type="hidden" id="sel_field" name="sel_field" value="<? echo $sel_field ?>">
|
||||
<input type="hidden" id="search" name="search" value="<? echo $search ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<table cellpadding=0 cellspacing=0 width=100% border=0>
|
||||
<colgroup width=70>
|
||||
<colgroup width=100>
|
||||
@ -153,8 +153,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<input type='hidden' name='od_id[$i]' value='$row[od_id]'>
|
||||
<input type='hidden' name='on_uid[$i]' value='$row[on_uid]'>
|
||||
<input type="hidden" name='od_id[$i]' value='$row[od_id]'>
|
||||
<input type="hidden" name='on_uid[$i]' value='$row[on_uid]'>
|
||||
<tr class='list$list center ht'>
|
||||
<td><a href='./orderform.php?od_id=$row[od_id]'>$row[od_id]</a></td>
|
||||
<td>$row[od_name]</td>
|
||||
@ -162,17 +162,17 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
<td align=right>".display_amount($row[receiptamount])." </td>
|
||||
<td align=right>".display_amount($row[misu])." </td>
|
||||
<td>$hope_date</td>
|
||||
<td><input type='text' name='od_invoice_time[$i]' class=ed size=20 maxlength=19 value='$invoice_time'></td>
|
||||
<td><input type="text" name='od_invoice_time[$i]' class=ed size=20 maxlength=19 value='$invoice_time'></td>
|
||||
<td>
|
||||
<select name=dl_id[$i]>
|
||||
<select id="dl_id" name="dl_id"[$i]>
|
||||
<option value=''>--------
|
||||
$delivery_options
|
||||
</select>
|
||||
</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]'>
|
||||
<td><input type='text' name='od_invoice[$i]' class=ed size=10 value='$row[od_invoice]'></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]'>
|
||||
<td><input type="text" name='od_invoice[$i]' class=ed size=10 value='$row[od_invoice]'></td>
|
||||
<td>$row[it_hit]</td>
|
||||
</tr>";
|
||||
|
||||
@ -193,9 +193,9 @@ if ($i == 0)
|
||||
<td width=50%>
|
||||
<table>
|
||||
<tr>
|
||||
<td><input type=checkbox name='od_send_mail' value='1' checked> 메일발송 </td>
|
||||
<td><input type=checkbox name='send_sms' value='1' checked> SMS </td>
|
||||
<td><input type=submit class=btn1 accesskey='s' value='일괄수정'></td>
|
||||
<td><input type="checkbox" id="od_send_mail" name="od_send_mail" value='1' checked> 메일발송 </td>
|
||||
<td><input type="checkbox" id="send_sms" name="send_sms" value='1' checked> SMS </td>
|
||||
<td><input type="submit" class=btn1 accesskey='s' value='일괄수정'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
@ -33,10 +33,10 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
<?=subtitle($html_title)?><p>
|
||||
|
||||
<form name=frmfaqform method=post action='./faqformupdate.php' onsubmit="return frmfaqform_check(this);" style="margin:0px;">
|
||||
<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 ?>'>
|
||||
<form id="frmfaqform" name="frmfaqform" method=post action='./faqformupdate.php' onsubmit="return frmfaqform_check(this);" style="margin:0px;">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w ?>'>
|
||||
<input type="hidden" id="fm_id" name="fm_id" value='<? echo $fm_id ?>'>
|
||||
<input type="hidden" id="fa_id" name="fa_id" value='<? echo $fa_id ?>'>
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=15%></colgroup>
|
||||
<colgroup width=85% bgcolor=#ffffff></colgroup>
|
||||
@ -44,7 +44,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td> 출력 순서</td>
|
||||
<td>
|
||||
<input type=text id=fa_order name=fa_order size=10 maxlength=10 value='<?=$fa[fa_order]?>' class=ed>
|
||||
<input type="text" id="fa_order" id="fa_order" name="fa_order" size=10 maxlength=10 value='<?=$fa[fa_order]?>' class=ed>
|
||||
<?=help('숫자가 작을수록 FAQ 페이지의 상단에 출력합니다.', 60, -50)?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -69,8 +69,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./faqlist.php?fm_id=<?=$fm_id?>';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./faqlist.php?fm_id=<?=$fm_id?>';">
|
||||
</form>
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
@ -92,7 +92,7 @@ if ($i == 0) {
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=button class=btn1 accesskey='l' value=' FAQ 관리 ' onclick="location='./faqmasterlist.php'">
|
||||
<input type="button" class=btn1 accesskey='l' value=' FAQ 관리 ' onclick="location='./faqmasterlist.php'">
|
||||
|
||||
|
||||
<?
|
||||
|
||||
@ -26,9 +26,9 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
<?=subtitle($html_title)?>
|
||||
|
||||
<form name=frmfaqmasterform method=post action="./faqmasterformupdate.php" onsubmit="return frmfaqmasterform_check(this);"enctype="MULTIPART/FORM-DATA" style="margin:0px;">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=fm_id value='<? echo $fm_id ?>'>
|
||||
<form id="frmfaqmasterform" name="frmfaqmasterform" method=post action="./faqmasterformupdate.php" onsubmit="return frmfaqmasterform_check(this);"enctype="MULTIPART/FORM-DATA" style="margin:0px;">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w ?>'>
|
||||
<input type="hidden" id="fm_id" name="fm_id" value='<? echo $fm_id ?>'>
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=15% class=tdsl></colgroup>
|
||||
<colgroup width=85% bgcolor=#ffffff></colgroup>
|
||||
@ -36,7 +36,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>제목</td>
|
||||
<td>
|
||||
<input type=text class=ed name=fm_subject size=60 value='<?=get_text($fm[fm_subject]) ?>' required itemname="제목">
|
||||
<input type="text" class=ed id="fm_subject" name="fm_subject" size=60 value='<?=get_text($fm[fm_subject]) ?>' required itemid="제목" name="제목">
|
||||
<?
|
||||
if ($w == 'u')
|
||||
{
|
||||
@ -49,11 +49,11 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>상단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=fm_himg size=40>
|
||||
<input type="file" class=ed id="fm_himg" name="fm_himg" size=40>
|
||||
<?
|
||||
$himg = "$g4[path]/data/faq/{$fm[fm_id]}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=fm_himg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="fm_himg_del" name="fm_himg_del" value='1'>삭제";
|
||||
$himg_str = "<img src='$himg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -64,11 +64,11 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>하단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=fm_timg size=40>
|
||||
<input type="file" class=ed id="fm_timg" name="fm_timg" size=40>
|
||||
<?
|
||||
$timg = "$g4[path]/data/faq/{$fm[fm_id]}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=fm_timg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="fm_timg_del" name="fm_timg_del" value='1'>삭제";
|
||||
$timg_str = "<img src='$timg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -88,8 +88,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./faqmasterlist.php';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./faqmasterlist.php';">
|
||||
</form>
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
@ -5,7 +5,7 @@ include_once("./_common.php");
|
||||
$max_limit = 7; // 몇행 출력할 것인지?
|
||||
|
||||
$g4['title'] = " 쇼핑몰관리";
|
||||
include_once ($g4['admin_path'].'/admin.head.php');
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<table width=100%>
|
||||
@ -33,7 +33,7 @@ include_once ($g4['admin_path'].'/admin.head.php');
|
||||
$sql = " select b.od_id,
|
||||
b.*, "._MISU_QUERY_."
|
||||
from {$g4['yc4_cart_table']} a
|
||||
left join {$g4['yc4_order_table']} b on (a.uq_id=b.od_id)
|
||||
left join {$g4['yc4_order_table']} b on (a.uq_id="b".od_id)
|
||||
group by b.od_id
|
||||
/*having misu <= 0 and b.od_invoice = '' and ordercancel = 0*/
|
||||
/*having orderamount - receiptamount = 0 and b.od_invoice = ''*/
|
||||
@ -97,7 +97,7 @@ include_once ($g4['admin_path'].'/admin.head.php');
|
||||
$sql = " select b.od_id,
|
||||
b.*, "._MISU_QUERY_."
|
||||
from {$g4['yc4_cart_table']} a
|
||||
left join {$g4['yc4_order_table']} b on (a.uq_id=b.od_id)
|
||||
left join {$g4['yc4_order_table']} b on (a.uq_id="b".od_id)
|
||||
group by b.od_id
|
||||
/* having receiptamount <= 0 */
|
||||
having misu > 0
|
||||
@ -235,5 +235,5 @@ include_once ($g4['admin_path'].'/admin.head.php');
|
||||
</table><br>
|
||||
|
||||
<?
|
||||
include_once ($g4['admin_path'].'/admin.tail.php');
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
@ -12,8 +12,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
<?=subtitle($g4[title])?>
|
||||
|
||||
<form name="finvoicebundle" method="post" action="invoicebundleupdate.php" onsubmit="return finvoicebundle_submit(this);" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type=hidden name=case value="1">
|
||||
<form id="finvoicebundle" name="finvoicebundle" method="post" action="invoicebundleupdate.php" onsubmit="return finvoicebundle_submit(this);" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type="hidden" id="case" name="case" value="1">
|
||||
|
||||
<table cellpadding=0 cellspacing=0 border=0 width=100%>
|
||||
<tr><td colspan=20 height=2 bgcolor=#0E87F9></td></tr>
|
||||
@ -22,7 +22,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>CSV 파일</td>
|
||||
<td class=lh style='padding:3px 0 3px 0;'>
|
||||
<input type=file name='csv_file' size=40 class='ed'>
|
||||
<input type="file" id="csv_file" name="csv_file" size=40 class='ed'>
|
||||
<br><font color=crimson>주문내역출력에서 다운로드 받은 CSV 파일에 운송장번호만 입력하신 후 저장하여,
|
||||
반드시 이 CSV 파일로만 업로드 하시기 바랍니다.</font>
|
||||
</td>
|
||||
@ -30,7 +30,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>배송회사</td>
|
||||
<td>
|
||||
<select name=dl_id>
|
||||
<select id="dl_id" name="dl_id">
|
||||
<option value=''>배송회사를 선택하세요.
|
||||
<?
|
||||
$sql = "select * from $g4[yc4_delivery_table] order by dl_order desc, dl_id desc ";
|
||||
@ -45,8 +45,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>배송일시</td>
|
||||
<td>
|
||||
<input type=text name='od_invoice_time' maxlength=19 class='ed'>
|
||||
<input type=checkbox name=od_invoice_chk
|
||||
<input type="text" id="od_invoice_time" name="od_invoice_time" maxlength=19 class='ed'>
|
||||
<input type="checkbox" id="od_invoice_chk" name="od_invoice_chk"
|
||||
value="<? 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;">현재 시간
|
||||
</td>
|
||||
@ -54,7 +54,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>주문상품 상태</td>
|
||||
<td>
|
||||
<select name=ct_status>
|
||||
<select id="ct_status" name="ct_status">
|
||||
<option value=''>변경안함
|
||||
<option value='배송'>배송중
|
||||
<option value='완료'>완료
|
||||
@ -65,14 +65,14 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>업데이트</td>
|
||||
<td>
|
||||
<input type=checkbox name='re' value='1'> 이미 입력된 배송정보를 모두 새로 업데이트 합니다.
|
||||
<input type="checkbox" id="re" name="re" value='1'> 이미 입력된 배송정보를 모두 새로 업데이트 합니다.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=20 height=2 bgcolor=#0E87F9></td></tr>
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 value=' 확 인 '>
|
||||
<input type="submit" class=btn1 value=' 확 인 '>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
@ -17,15 +17,15 @@ include_once("$g4[path]/head.sub.php");
|
||||
<tr><td colspan=2 height=3 bgcolor=0E87F9></td></tr>
|
||||
<tr align=center>
|
||||
<td>상품코드</td>
|
||||
<td><input type='text' id='new_it_id' value='<?=time()?>'></td>
|
||||
<td><input type="text" id="new_it_id" value='<?=time()?>'></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
<div align='center'>
|
||||
<input type='button' value='복사하기' onclick="_copy('item_copy_update.php?it_id=<?=$it_id?>&ca_id=<?=$ca_id?>');">
|
||||
<input type="button" value='복사하기' onclick="_copy('item_copy_update.php?it_id=<?=$it_id?>&ca_id=<?=$ca_id?>');">
|
||||
|
||||
<input type='button' value='창닫기' onclick='self.close();'>
|
||||
<input type="button" value='창닫기' onclick='self.close();'>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
@ -37,9 +37,9 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
<?=subtitle($html_title);?><p>
|
||||
|
||||
<form name=feventform method=post action="./itemeventformupdate.php" enctype="MULTIPART/FORM-DATA" style="margin:0px;" onsubmit="return feventform_check(this);">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=ev_id value='<? echo $ev_id ?>'>
|
||||
<form id="feventform" name="feventform" method=post action="./itemeventformupdate.php" enctype="MULTIPART/FORM-DATA" style="margin:0px;" onsubmit="return feventform_check(this);">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w ?>'>
|
||||
<input type="hidden" id="ev_id" name="ev_id" value='<? echo $ev_id ?>'>
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=15%></colgroup>
|
||||
<colgroup width=35% bgcolor=#FFFFFF></colgroup>
|
||||
@ -61,7 +61,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>출력스킨</td>
|
||||
<td>
|
||||
<select name=ev_skin>
|
||||
<select id="ev_skin" name="ev_skin">
|
||||
<? echo get_list_skin_options("^list\.skin\.(.*)\.php", $g4[shop_path]); ?>
|
||||
</select>
|
||||
|
||||
@ -74,28 +74,28 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>출력이미지 폭</td>
|
||||
<td>
|
||||
<input type=text name=ev_img_width size=5 value='<? echo $ev[ev_img_width] ?>' class=ed> 픽셀
|
||||
<input type="text" id="ev_img_width" name="ev_img_width" size=5 value='<? echo $ev[ev_img_width] ?>' class=ed> 픽셀
|
||||
<?=help("환경설정 > 이미지(소) 폭, 높이가 기본값으로 설정됩니다.\n\n$cart_dir/event.php에서 출력되는 이미지의 폭과 높이입니다.", 50);?>
|
||||
</td>
|
||||
<td>출력이미지 높이</td>
|
||||
<td><input type=text name=ev_img_height size=5 value='<? echo $ev[ev_img_height] ?>' class=ed> 픽셀</td>
|
||||
<td><input type="text" id="ev_img_height" name="ev_img_height" size=5 value='<? echo $ev[ev_img_height] ?>' class=ed> 픽셀</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>1라인 이미지수</td>
|
||||
<td>
|
||||
<input type=text name=ev_list_mod size=3 value='<? echo $ev[ev_list_mod] ?>' class=ed> 개
|
||||
<input type="text" id="ev_list_mod" name="ev_list_mod" size=3 value='<? echo $ev[ev_list_mod] ?>' class=ed> 개
|
||||
<?=help("1라인에 설정한 값만큼의 상품을 출력하지만 스킨에 따라 1라인에 하나의 상품만 출력할 수도 있습니다.", 50);?>
|
||||
</td>
|
||||
<td>총라인수</td>
|
||||
<td>
|
||||
<input type=text name=ev_list_row size=3 value='<? echo $ev[ev_list_row] ?>' class=ed> 라인
|
||||
<input type="text" id="ev_list_row" name="ev_list_row" size=3 value='<? echo $ev[ev_list_row] ?>' class=ed> 라인
|
||||
<?=help("한페이지에 몇라인을 출력할것인지를 설정합니다.\n\n한페이지에서 표시하는 상품수는 (1라인 이미지수 x 총라인수) 입니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>사용</td>
|
||||
<td>
|
||||
<select name=ev_use>
|
||||
<select id="ev_use" name="ev_use">
|
||||
<option value='1'>예
|
||||
<option value='0'>아니오
|
||||
</select>
|
||||
@ -105,17 +105,17 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>이벤트제목</td>
|
||||
<td colspan=3><input type=text class=ed name=ev_subject size=60 value='<? echo htmlspecialchars2($ev[ev_subject]) ?>' required itemname='이벤트 제목'></td>
|
||||
<td colspan=3><input type="text" class=ed id="ev_subject" name="ev_subject" size=60 value='<? echo htmlspecialchars2($ev[ev_subject]) ?>' required itemname='이벤트 제목'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>메뉴이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=ev_mimg size=40>
|
||||
<input type="file" class=ed id="ev_mimg" name="ev_mimg" size=40>
|
||||
<?
|
||||
$mimg_str = "";
|
||||
$mimg = "$g4[path]/data/event/{$ev[ev_id]}_m";
|
||||
if (file_exists($mimg)) {
|
||||
echo "<input type=checkbox name=ev_mimg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="ev_mimg_del" name="ev_mimg_del" value='1'>삭제";
|
||||
$mimg_str = "<img src='$mimg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -127,12 +127,12 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>상단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=ev_himg size=40>
|
||||
<input type="file" class=ed id="ev_himg" name="ev_himg" size=40>
|
||||
<?
|
||||
$himg_str = "";
|
||||
$himg = "$g4[path]/data/event/{$ev[ev_id]}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=ev_himg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="ev_himg_del" name="ev_himg_del" value='1'>삭제";
|
||||
$himg_str = "<img src='$himg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -144,12 +144,12 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr class=ht>
|
||||
<td>하단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=ev_timg size=40>
|
||||
<input type="file" class=ed id="ev_timg" name="ev_timg" size=40>
|
||||
<?
|
||||
$timg_str = "";
|
||||
$timg = "$g4[path]/data/event/{$ev[ev_id]}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=ev_timg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="ev_timg_del" name="ev_timg_del" value='1'>삭제";
|
||||
$timg_str = "<img src='$timg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -170,8 +170,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./itemevent.php';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./itemevent.php';">
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ if ($sel_field == "") {
|
||||
}
|
||||
|
||||
$sql_common = " from $g4[yc4_item_table] a
|
||||
left join $g4[yc4_event_item_table] b on (a.it_id=b.it_id and b.ev_id='$ev_id') ";
|
||||
left join $g4[yc4_event_item_table] b on (a.it_id="b".it_id and b.ev_id='$ev_id') ";
|
||||
$sql_common .= $sql_search;
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
@ -57,9 +57,9 @@ $qstr1 = "ev_id=$ev_id&sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search"
|
||||
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
?>
|
||||
|
||||
<form name=flist autocomplete='off' style="margin:0px;">
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<input type=hidden name=page value="<? echo $page ?>">
|
||||
<form id="flist" name="flist" autocomplete='off' style="margin:0px;">
|
||||
<table>
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<tr>
|
||||
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=20% align=center>
|
||||
@ -71,13 +71,13 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
while ($row1=mysql_fetch_array($result1))
|
||||
$event_option .= "<option value='$row1[ev_id]'>".conv_subject($row1[ev_subject], 20,"…");
|
||||
|
||||
echo "<select name='ev_id' onchange='this.form.submit();'>$event_option</select>";
|
||||
echo "<select id="ev_id" name="ev_id" onchange='this.form.submit();'>$event_option</select>";
|
||||
if ($ev_id)
|
||||
echo "<script> document.flist.ev_id.value = '$ev_id'; </script>";
|
||||
?>
|
||||
</td>
|
||||
<td width=60% align=center>
|
||||
<select name="sel_ca_id">
|
||||
<select id="sel_ca_id" name="sel_ca_id">
|
||||
<option value=''>전체분류
|
||||
<?
|
||||
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
|
||||
@ -93,14 +93,14 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
</select>
|
||||
<script> document.flist.sel_ca_id.value = '<?=$sel_ca_id?>';</script>
|
||||
|
||||
<select name=sel_field>
|
||||
<select id="sel_field" name="sel_field">
|
||||
<option value='it_name'>상품명
|
||||
<option value='a.it_id'>상품코드
|
||||
</select>
|
||||
<? if ($sel_field) echo "<script> document.flist.sel_field.value = '$sel_field';</script>"; ?>
|
||||
|
||||
<input type=text name=search value='<? echo $search ?>' size=10>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="text" id="search" name="search" value='<? echo $search ?>' size=10>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=10% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
@ -108,14 +108,14 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
</form>
|
||||
|
||||
|
||||
<form name=fitemeventlistupdate method=post action="./itemeventlistupdate.php" onsubmit="return fitemeventlistupdatecheck(this)" style="margin:0px;">
|
||||
<input type=hidden name=ev_id value="<? echo $ev_id ?>">
|
||||
<input type=hidden name=sel_ca_id value="<? echo $sel_ca_id ?>">
|
||||
<input type=hidden name=sel_field value="<? echo $sel_field ?>">
|
||||
<input type=hidden name=search value="<? echo $search ?>">
|
||||
<input type=hidden name=page value="<? echo $page ?>">
|
||||
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
|
||||
<input type=hidden name=sort2 value="<? echo $sort2 ?>">
|
||||
<form id="fitemeventlistupdate" name="fitemeventlistupdate" method=post action="./itemeventlistupdate.php" onsubmit="return fitemeventlistupdatecheck(this)" style="margin:0px;">
|
||||
<input type="hidden" id="ev_id" name="ev_id" value="<? echo $ev_id ?>">
|
||||
<input type="hidden" id="sel_ca_id" name="sel_ca_id" value="<? echo $sel_ca_id ?>">
|
||||
<input type="hidden" id="sel_field" name="sel_field" value="<? echo $sel_field ?>">
|
||||
<input type="hidden" id="search" name="search" value="<? echo $search ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<table cellpadding=0 cellspacing=0 width=100% border=0>
|
||||
<colgroup width=100>
|
||||
<colgroup width=100>
|
||||
@ -140,9 +140,9 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<input type='hidden' name='it_id[$i]' value='$row[it_id]'>
|
||||
<input type="hidden" name='it_id[$i]' value='$row[it_id]'>
|
||||
<tr class='list$list center'>
|
||||
<td><input type=checkbox name='ev_chk[$i]' ".($row[ev_id] ? "checked" : "")." value='1'></td>
|
||||
<td><input type="checkbox" name='ev_chk[$i]' ".($row[ev_id] ? "checked" : "")." value='1'></td>
|
||||
<td><a href='$href'>$row[it_id]</a></td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image("{$row[it_id]}_s", 50, 50)."</a></td>
|
||||
<td align=left><a href='$href'>".cut_str(stripslashes($row[it_name]), 60, "…")."</a></td>
|
||||
@ -157,7 +157,7 @@ if ($i == 0)
|
||||
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<td colspan=50%><input type=submit class=btn1 value='일괄수정' accesskey='s'></td>
|
||||
<td colspan=50%><input type="submit" class=btn1 value='일괄수정' accesskey='s'></td>
|
||||
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
@ -28,7 +28,7 @@ include_once("$g4[path]/head.sub.php");
|
||||
|
||||
<?
|
||||
$sql = " select b.it_id, b.it_name, b.it_use from $g4[yc4_event_item_table] a
|
||||
left join $g4[yc4_item_table] b on (a.it_id=b.it_id)
|
||||
left join $g4[yc4_item_table] b on (a.it_id="b".it_id)
|
||||
where a.ev_id = '$ev_id'
|
||||
order by b.it_id desc ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
@ -84,22 +84,22 @@ ul { margin: 0; padding: 0; list-style: none; }
|
||||
-->
|
||||
</style>
|
||||
|
||||
<form name=fitemform method=post action="./itemformupdate.php" onsubmit="return fitemformcheck(this)" enctype="MULTIPART/FORM-DATA" autocomplete="off" style="margin:0px;">
|
||||
<form id="fitemform" name="fitemform" method=post action="./itemformupdate.php" onsubmit="return fitemformcheck(this)" enctype="MULTIPART/FORM-DATA" autocomplete="off" style="margin:0px;">
|
||||
<?=subtitle("기본정보")?>
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<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" id="codedup" name="codedup" value="<?=$default[de_code_dup_use]?>">
|
||||
<input type="hidden" id="w" name="w" value="<?=$w?>">
|
||||
<!-- <input type="hidden" id="sel_ca_id" name="sel_ca_id" value="<?=$sel_ca_id?>">
|
||||
<input type="hidden" id="sel_field" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" id="search" name="search" value="<?=$search?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<?=$sort2?>"> -->
|
||||
<input type="hidden" id="sca" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" id="sst" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" id="sod" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" id="sfl" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" id="stx" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<colgroup width=15%></colgroup>
|
||||
<colgroup width=35% bgcolor=#FFFFFF></colgroup>
|
||||
<colgroup width=15%></colgroup>
|
||||
@ -108,7 +108,7 @@ ul { margin: 0; padding: 0; list-style: none; }
|
||||
<tr class=ht>
|
||||
<td>분류명</td>
|
||||
<td colspan=3>
|
||||
<select name="ca_id" onchange="categorychange(this.form)">
|
||||
<select id="ca_id" name="ca_id" onchange="categorychange(this.form)">
|
||||
<option value="">= 기본분류 =
|
||||
<?
|
||||
$script = "";
|
||||
@ -177,12 +177,12 @@ ul { margin: 0; padding: 0; list-style: none; }
|
||||
|
||||
<? if ($w == "") { // 추가 ?>
|
||||
<!-- 최근에 입력한 코드(자동 생성시)가 목록의 상단에 출력되게 하려면 아래의 코드로 대체하십시오. -->
|
||||
<!-- <input type=text class=ed name=it_id value="<?=10000000000-time()?>" size=12 maxlength=10 required nospace alphanumeric itemname="상품코드"> <a href='javascript:;' onclick="codedupcheck(document.all.it_id.value)"><img src='./img/btn_code.gif' border=0 align=absmiddle></a> -->
|
||||
<input type=text class=ed name=it_id value="<?=time()?>" size=12 maxlength=10 required nospace alphanumeric itemname="상품코드">
|
||||
<!-- <input type="text" class=ed id="it_id" name="it_id" value="<?=10000000000-time()?>" size=12 maxlength=10 required nospace alphanumeric itemid="상품코드" name="상품코드"> <a href='javascript:;' onclick="codedupcheck(document.all.it_id.value)"><img src='./img/btn_code.gif' border=0 align=absmiddle></a> -->
|
||||
<input type="text" class=ed id="it_id" name="it_id" value="<?=time()?>" size=12 maxlength=10 required nospace alphanumeric itemid="상품코드" name="상품코드">
|
||||
<? if ($default[de_code_dup_use]) { ?><a href='javascript:;' onclick="codedupcheck(document.all.it_id.value)"><img src='./img/btn_code.gif' border=0 align=absmiddle></a><? } ?>
|
||||
<?=help("상품의 코드는 10자리 숫자로 자동생성합니다.\n운영자 임의로 상품코드를 입력하실 수 있습니다.\n상품코드는 영문자와 숫자만 입력 가능합니다.");?>
|
||||
<? } else { ?>
|
||||
<input type=hidden name=it_id value="<?=$it[it_id]?>">
|
||||
<input type="hidden" id="it_id" name="it_id" value="<?=$it[it_id]?>">
|
||||
<?=$it[it_id]?>
|
||||
<?=icon("보기", G4_SHOP_URL."/item.php?it_id=$it_id");?>
|
||||
<a href='./itempslist.php?sel_field=a.it_id&search=<?=$it_id?>'>사용후기</a>
|
||||
@ -194,76 +194,76 @@ ul { margin: 0; padding: 0; list-style: none; }
|
||||
<tr class=ht>
|
||||
<td>상품명</td>
|
||||
<td colspan=3>
|
||||
<input type=text name=it_name value='<?=get_text(cut_str($it[it_name], 250, ""))?>' style='width:97%;' required itemname='상품명' class=ed>
|
||||
<input type="text" id="it_name" name="it_name" value='<?=get_text(cut_str($it[it_name], 250, ""))?>' style='width:97%;' required itemname='상품명' class=ed>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>출력유형</td>
|
||||
<td>
|
||||
<input type=checkbox name=it_gallery value='1' <?=($it[it_gallery] ? "checked" : "")?>> 갤러리로 사용
|
||||
<input type="checkbox" id="it_gallery" name="it_gallery" value='1' <?=($it[it_gallery] ? "checked" : "")?>> 갤러리로 사용
|
||||
<?=help("금액표시는 하지 않고 상품을 구매할 수 없으며 상품설명만 나타낼때 사용합니다.");?>
|
||||
</td>
|
||||
<td>출력순서</td>
|
||||
<td>
|
||||
<input type=text class=ed name=it_order size=10 value='<? echo $it[it_order] ?>'>
|
||||
<input type="text" class=ed id="it_order" name="it_order" size=10 value='<? echo $it[it_order] ?>'>
|
||||
<?=help("상품의 출력순서를 인위적으로 변경할때 사용합니다.\n숫자를 입력하며 기본은 0 입니다.\n숫자가 작을 수록 상위에 출력됩니다.\n음수 입력도 가능합니다.\n구간 : -2147483648 ~ 2147483647");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상품유형</td>
|
||||
<td colspan=3>
|
||||
<input type=checkbox name=it_type1 value='1' <?=($it[it_type1] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type1.gif" align=absmiddle>
|
||||
<input type=checkbox name=it_type2 value='1' <?=($it[it_type2] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type2.gif" align=absmiddle>
|
||||
<input type=checkbox name=it_type3 value='1' <?=($it[it_type3] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type3.gif" align=absmiddle>
|
||||
<input type=checkbox name=it_type4 value='1' <?=($it[it_type4] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type4.gif" align=absmiddle>
|
||||
<input type=checkbox name=it_type5 value='1' <?=($it[it_type5] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type5.gif" align=absmiddle>
|
||||
<input type="checkbox" id="it_type1" name="it_type1" value='1' <?=($it[it_type1] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type1.gif" align=absmiddle>
|
||||
<input type="checkbox" id="it_type2" name="it_type2" value='1' <?=($it[it_type2] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type2.gif" align=absmiddle>
|
||||
<input type="checkbox" id="it_type3" name="it_type3" value='1' <?=($it[it_type3] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type3.gif" align=absmiddle>
|
||||
<input type="checkbox" id="it_type4" name="it_type4" value='1' <?=($it[it_type4] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type4.gif" align=absmiddle>
|
||||
<input type="checkbox" id="it_type5" name="it_type5" value='1' <?=($it[it_type5] ? "checked" : "");?>><img src="<?=G4_SHOP_IMG_URL?>/icon_type5.gif" align=absmiddle>
|
||||
<?=help("메인화면에 유형별로 출력할때 사용합니다.\n\n이곳에 체크하게되면 상품리스트에서 유형별로 정렬할때 체크된 상품이 가장 먼저 출력됩니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>제조사</td>
|
||||
<td>
|
||||
<input type=text class=ed name=it_maker value='<?=get_text($it[it_maker])?>' size=41>
|
||||
<input type="text" class=ed id="it_maker" name="it_maker" value='<?=get_text($it[it_maker])?>' size=41>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
</td>
|
||||
<td>원산지</td>
|
||||
<td>
|
||||
<input type=text class=ed name=it_origin value='<?=get_text($it[it_origin])?>' size=41>
|
||||
<input type="text" class=ed id="it_origin" name="it_origin" value='<?=get_text($it[it_origin])?>' size=41>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>브랜드</td>
|
||||
<td>
|
||||
<input type=text class=ed name=it_brand value='<?=get_text($it[it_brand])?>' size=41>
|
||||
<input type="text" class=ed id="it_brand" name="it_brand" value='<?=get_text($it[it_brand])?>' size=41>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
</td>
|
||||
<td>모델명</td>
|
||||
<td>
|
||||
<input type=text class=ed name=it_model value='<?=get_text($it[it_model])?>' size=41>
|
||||
<input type="text" class=ed id="it_model" name="it_model" value='<?=get_text($it[it_model])?>' size=41>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>선택옵션</td>
|
||||
<td colspan="3"><input type="radio" name="it_option_use" value="0" <?php if($w == '' || !$it['it_option_use']) echo 'checked="checked"'; ?> />등록안함 <input type="radio" name="it_option_use" value="1" <?php if($it['it_option_use']) echo 'checked="checked"'; ?> />등록함
|
||||
<td colspan="3"><input type="radio" id="it_option_use" name="it_option_use" value="0" <?php if($w == '' || !$it['it_option_use']) echo 'checked="checked"'; ?> />등록안함 <input type="radio" id="it_option_use" name="it_option_use" value="1" <?php if($it['it_option_use']) echo 'checked="checked"'; ?> />등록함
|
||||
<a href="./optionform.php?w=<?php echo $w; ?>&it_id=<?php echo $it_id; ?>" target="_blank" onclick="javascript: optionformwindow('<?php echo $w; ?>'); return false;">선택옵션설정</a></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td><input type="text" name="it_opt1_subject" value="<?php echo $it['it_opt1_subject']; ?>" /></td>
|
||||
<td colspan="3"><input type="text" name="it_opt1" value="<?php echo $it['it_opt1']; ?>" style="width: 90%;" /></td>
|
||||
<td><input type="text" id="it_opt1_subject" name="it_opt1_subject" value="<?php echo $it['it_opt1_subject']; ?>" /></td>
|
||||
<td colspan="3"><input type="text" id="it_opt1" name="it_opt1" value="<?php echo $it['it_opt1']; ?>" style="width: 90%;" /></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td><input type="text" name="it_opt2_subject" value="<?php echo $it['it_opt2_subject']; ?>" /></td>
|
||||
<td colspan="3"><input type="text" name="it_opt2" value="<?php echo $it['it_opt2']; ?>" style="width: 90%;" /></td>
|
||||
<td><input type="text" id="it_opt2_subject" name="it_opt2_subject" value="<?php echo $it['it_opt2_subject']; ?>" /></td>
|
||||
<td colspan="3"><input type="text" id="it_opt2" name="it_opt2" value="<?php echo $it['it_opt2']; ?>" style="width: 90%;" /></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td><input type="text" name="it_opt3_subject" value="<?php echo $it['it_opt3_subject']; ?>" /></td>
|
||||
<td colspan="3"><input type="text" name="it_opt3" value="<?php echo $it['it_opt3']; ?>" style="width: 90%;" /></td>
|
||||
<td><input type="text" id="it_opt3_subject" name="it_opt3_subject" value="<?php echo $it['it_opt3_subject']; ?>" /></td>
|
||||
<td colspan="3"><input type="text" id="it_opt3" name="it_opt3" value="<?php echo $it['it_opt3']; ?>" style="width: 90%;" /></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>추가옵션</td>
|
||||
<td colspan="3"><input type="radio" name="it_supplement_use" value="0" <?php if($w == '' || !$it['it_supplement_use']) echo 'checked="checked"'; ?> />등록안함 <input type="radio" name="it_supplement_use" value="1" <?php if($it['it_supplement_use']) echo 'checked="checked"'; ?> />등록함
|
||||
<td colspan="3"><input type="radio" id="it_supplement_use" name="it_supplement_use" value="0" <?php if($w == '' || !$it['it_supplement_use']) echo 'checked="checked"'; ?> />등록안함 <input type="radio" id="it_supplement_use" name="it_supplement_use" value="1" <?php if($it['it_supplement_use']) echo 'checked="checked"'; ?> />등록함
|
||||
<a href="./supplementform.php?w=<?php echo $w; ?>&it_id=<?php echo $it_id; ?>" target="_blank" onclick="javascript: supplementformwindow('<?php echo $w; ?>'); return false;">추가옵션설정</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -280,28 +280,28 @@ ul { margin: 0; padding: 0; list-style: none; }
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- 비회원가 대비 회원가격은 90%, 특별회원가격은 75%로 자동 설정할 경우의 코드
|
||||
<td><input type=text class=ed name=it_amount size=8 value='<?=$it[it_amount]?>' style='text-align:right; background-color:#DDE6FE;' onblur="document.fitemform.it_amount2.value=document.fitemform.it_amount.value*.9;document.fitemform.it_amount3.value=document.fitemform.it_amount.value*.75;"></td>
|
||||
<td><input type="text" class=ed id="it_amount" name="it_amount" size=8 value='<?=$it[it_amount]?>' style='text-align:right; background-color:#DDE6FE;' onblur="document.fitemform.it_amount2.value=document.fitemform.it_amount.value*.9;document.fitemform.it_amount3.value=document.fitemform.it_amount.value*.75;"></td>
|
||||
-->
|
||||
<td><input type=text class=ed name=it_amount size=8 value='<?=$it[it_amount]?>' style='text-align:right; background-color:#DDE6FE;'></td>
|
||||
<td><input type=text class=ed name=it_amount2 size=8 value='<?=$it[it_amount2]?>' style='text-align:right; background-color:#DDFEDE;'></td>
|
||||
<td><input type=text class=ed name=it_amount3 size=8 value='<?=$it[it_amount3]?>' style='text-align:right; background-color:#FEDDDD;'></td>
|
||||
<td><input type=text class=ed name=it_cust_amount size=8 value='<?=$it[it_cust_amount]?>' style='text-align:right;'></td>
|
||||
<td><input type=text class=ed name=it_point size=8 value='<? echo $it[it_point] ?>' style='text-align:right;'> 점</td>
|
||||
<td><input type=text class=ed name=it_stock_qty size=8 value='<? echo $it[it_stock_qty] ?>' style='text-align:right;'> 개</td>
|
||||
<td><input type="text" class=ed id="it_amount" name="it_amount" size=8 value='<?=$it[it_amount]?>' style='text-align:right; background-color:#DDE6FE;'></td>
|
||||
<td><input type="text" class=ed id="it_amount2" name="it_amount2" size=8 value='<?=$it[it_amount2]?>' style='text-align:right; background-color:#DDFEDE;'></td>
|
||||
<td><input type="text" class=ed id="it_amount3" name="it_amount3" size=8 value='<?=$it[it_amount3]?>' style='text-align:right; background-color:#FEDDDD;'></td>
|
||||
<td><input type="text" class=ed id="it_cust_amount" name="it_cust_amount" size=8 value='<?=$it[it_cust_amount]?>' style='text-align:right;'></td>
|
||||
<td><input type="text" class=ed id="it_point" name="it_point" size=8 value='<? echo $it[it_point] ?>' style='text-align:right;'> 점</td>
|
||||
<td><input type="text" class=ed id="it_stock_qty" name="it_stock_qty" size=8 value='<? echo $it[it_stock_qty] ?>' style='text-align:right;'> 개</td>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상품구분</td>
|
||||
<td><input type="radio" name="it_notax" value="0" <? if(!$it['it_notax']) echo "checked=\"checked\""; ?> /> 과세상품
|
||||
<input type="radio" name="it_notax" value="1" <? if($it['it_notax']) echo "checked=\"checked\""; ?> /> 면세상품</td>
|
||||
<td><input type="radio" id="it_notax" name="it_notax" value="0" <? if(!$it['it_notax']) echo "checked=\"checked\""; ?> /> 과세상품
|
||||
<input type="radio" id="it_notax" name="it_notax" value="1" <? if($it['it_notax']) echo "checked=\"checked\""; ?> /> 면세상품</td>
|
||||
<td>쿠폰제외상품</td>
|
||||
<td><input type="checkbox" name="it_nocoupon" value="1" <? if($it['it_nocoupon']) echo "checked=\"checked\""; ?> /> 예</td>
|
||||
<td><input type="checkbox" id="it_nocoupon" name="it_nocoupon" value="1" <? if($it['it_nocoupon']) echo "checked=\"checked\""; ?> /> 예</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>기본설명</td>
|
||||
<td colspan=3>
|
||||
<input type=text class=ed name=it_basic style='width:97%;' value='<?=get_text($it[it_basic])?>'>
|
||||
<input type="text" class=ed id="it_basic" name="it_basic" style='width:97%;' value='<?=get_text($it[it_basic])?>'>
|
||||
<?=help("상품상세페이지의 상품설명 상단에 표시되는 설명입니다.\nHTML 입력도 가능합니다.", -150, -100);?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -326,7 +326,7 @@ if ($ii) {
|
||||
</td>
|
||||
</tr>
|
||||
<?}//if?>
|
||||
<input type=hidden name=it_explan_html value=1>
|
||||
<input type="hidden" id="it_explan_html" name="it_explan_html" value=1>
|
||||
<tr>
|
||||
<td>상품설명</td>
|
||||
<td colspan=3 style='padding-top:7px; padding-bottom:7px;'><?=editor_html('it_explan', $it[it_explan]);?></td>
|
||||
@ -347,17 +347,17 @@ if ($ii) {
|
||||
<td align="center">결제방법</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td><input type="radio" name="it_sc_type" value="0" <? if(!$it['it_sc_type'] || $w == '') echo 'checked="checked"'; ?> />무료배송</td>
|
||||
<td><input type="radio" id="it_sc_type" name="it_sc_type" value="0" <? if(!$it['it_sc_type'] || $w == '') echo 'checked="checked"'; ?> />무료배송</td>
|
||||
<td>무조건 무료배송</td>
|
||||
<td align="center">0원</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td><input type="radio" name="it_sc_type" value="1" <? if($it['it_sc_type'] == 1) echo 'checked="checked"'; ?> />조건부 무료</td>
|
||||
<td>상품구매액 함계 <input type="text" class="ed" name="it_minimum" size="5" value="<? if($it['it_sc_type'] == 1) echo $it['it_sc_condition']; ?>" />원 이상 무료배송</td>
|
||||
<td rowspan="3" align="center"><input type="text" class="ed" name="it_sc_basic" size="5" value="<? echo $it['it_sc_basic']; ?>" /> 원</td>
|
||||
<td><input type="radio" id="it_sc_type" name="it_sc_type" value="1" <? if($it['it_sc_type'] == 1) echo 'checked="checked"'; ?> />조건부 무료</td>
|
||||
<td>상품구매액 함계 <input type="text" class="ed" id="it_minimum" name="it_minimum" size="5" value="<? if($it['it_sc_type'] == 1) echo $it['it_sc_condition']; ?>" />원 이상 무료배송</td>
|
||||
<td rowspan="3" align="center"><input type="text" class="ed" id="it_sc_basic" name="it_sc_basic" size="5" value="<? echo $it['it_sc_basic']; ?>" /> 원</td>
|
||||
<td rowspan="3" align="center">
|
||||
<select name="it_sc_method">
|
||||
<select id="it_sc_method" name="it_sc_method">
|
||||
<option value="0" <? if(!$it['it_sc_method']) echo 'selected="selected"'; ?>>선불</option>
|
||||
<option value="1" <? if($it['it_sc_method'] == 1) echo 'selected="selected"'; ?>>착불</option>
|
||||
<option value="2" <? if($it['it_sc_method'] == 2) echo 'selected="selected"'; ?>>선불 또는 착불</option>
|
||||
@ -365,12 +365,12 @@ if ($ii) {
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td><input type="radio" name="it_sc_type" value="2" <? if($it['it_sc_type'] == 2) echo 'checked="checked"'; ?> />유료배송</td>
|
||||
<td><input type="radio" id="it_sc_type" name="it_sc_type" value="2" <? if($it['it_sc_type'] == 2) echo 'checked="checked"'; ?> />유료배송</td>
|
||||
<td>고정배송비 부과</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td><input type="radio" name="it_sc_type" value="3" <? if($it['it_sc_type'] == 3) echo 'checked="checked"'; ?> />수량별 부과</td>
|
||||
<td>수량 <input type="text" class="ed" name="it_count" size="5" value="<? if($it['it_sc_type'] == 3) echo $it['it_sc_condition']; ?>" />개마다 반복부과</td>
|
||||
<td><input type="radio" id="it_sc_type" name="it_sc_type" value="3" <? if($it['it_sc_type'] == 3) echo 'checked="checked"'; ?> />수량별 부과</td>
|
||||
<td>수량 <input type="text" class="ed" id="it_count" name="it_count" size="5" value="<? if($it['it_sc_type'] == 3) echo $it['it_sc_condition']; ?>" />개마다 반복부과</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
@ -379,19 +379,19 @@ if ($ii) {
|
||||
<tr class=ht>
|
||||
<td>판매자 e-mail</td>
|
||||
<td colspan=3>
|
||||
<input type=text class=ed name=it_sell_email size=40 value='<? echo $it[it_sell_email] ?>'>
|
||||
<input type="text" class=ed id="it_sell_email" name="it_sell_email" size=40 value='<? echo $it[it_sell_email] ?>'>
|
||||
<?=help("운영자와 판매자가 다른 경우 이곳에 판매자의 e-mail을 입력해 놓으면 이 상품이 주문되는 시점에서 판매자에게 별도의 주문서 메일을 발송합니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>전화문의</td>
|
||||
<td>
|
||||
<input type=checkbox name='it_tel_inq' <? echo ($it[it_tel_inq]) ? "checked" : ""; ?> value='1'> 예
|
||||
<input type="checkbox" id="it_tel_inq" name="it_tel_inq" <? echo ($it[it_tel_inq]) ? "checked" : ""; ?> value='1'> 예
|
||||
<?=help("상품 금액 대신 전화문의로 표시됩니다.");?>
|
||||
</td>
|
||||
<td>판매가능</td>
|
||||
<td>
|
||||
<input type=checkbox name='it_use' <? echo ($it[it_use]) ? "checked" : ""; ?> value='1'> 예
|
||||
<input type="checkbox" id="it_use" name="it_use" <? echo ($it[it_use]) ? "checked" : ""; ?> value='1'> 예
|
||||
<?=help("잠시 판매를 중단하거나 재고가 없을 경우에 체크하면 이 상품은 출력하지 않으며 주문도 할 수 없습니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -408,15 +408,15 @@ if ($ii) {
|
||||
<tr class=ht>
|
||||
<td>이미지(대) <?=$i?></td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=it_img<?=$i?> size=40>
|
||||
<input type="file" class=ed id="it_img" name="it_img"<?=$i?> size=40>
|
||||
<?
|
||||
$idx = 'it_img'.$i;
|
||||
$img = G4_DATA_PATH."/item/$it_id/{$it[$idx]}";
|
||||
$img_url = G4_DATA_URL."/item/$it_id/{$it[$idx]}";
|
||||
if (file_exists($img) && is_file($img)) {
|
||||
$size = getimagesize($img);
|
||||
echo "<img src='".G4_ADMIN_URL."/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('img$i', $size[0], $size[1]);\"><input type=checkbox name=it_img{$i}_del value='1'>삭제";
|
||||
echo "<span id=img{$i} style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$img_url' border=1></div>";
|
||||
echo "<img src='".G4_ADMIN_URL."/img/icon_viewer.gif' border=0 align=absmiddle onclick=\"imageview('img$i', $size[0], $size[1]);\"><input type="checkbox" id="it_img" name="it_img"{$i}_del value='1'>삭제";
|
||||
echo "<span id="img"{$i} style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='$img_url' border=1></div>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
@ -426,8 +426,8 @@ if ($ii) {
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./itemlist.php?<?=$qstr?>';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./itemlist.php?<?=$qstr?>';">
|
||||
|
||||
<p>
|
||||
<?=subtitle("선택정보")?>
|
||||
@ -456,7 +456,7 @@ if ($ii) {
|
||||
<td>
|
||||
※ 상품 선택후 <FONT COLOR="#FF6600">더블클릭하면 삭제됨</FONT><br>※ 한 번 클릭시 상품이미지/상품금액 출력<br>
|
||||
<br>
|
||||
<select name='relationselect' size=8 style='width:250px;' onclick="relation_img(this.value, 'sel_span')" ondblclick="relation_del(this);">
|
||||
<select id="relationselect" name="relationselect" size=8 style='width:250px;' onclick="relation_img(this.value, 'sel_span')" ondblclick="relation_del(this);">
|
||||
<?
|
||||
$str = array();
|
||||
$sql = " select b.ca_id, b.it_id, b.it_name, b.it_amount
|
||||
@ -482,7 +482,7 @@ if ($ii) {
|
||||
$str = implode(",", $str);
|
||||
?>
|
||||
</select>
|
||||
<input type='hidden' name='it_list' value='<?=$str?>'>
|
||||
<input type="hidden" id="it_list" name="it_list" value='<?=$str?>'>
|
||||
</td>
|
||||
<td rowspan=2 width=20 bgcolor=#FFFFFF>◀</td>
|
||||
<td align="center">상품목록<br><span id="add_span" style="line-height:200%"></span></td>
|
||||
@ -506,7 +506,7 @@ if ($ii) {
|
||||
}
|
||||
?>
|
||||
</select><br>
|
||||
<select id='relation' size=8 style='width:250px; background-color:#F6F6F6;' onclick="relation_img(this.value, 'add_span')" ondblclick="relation_add(this);">
|
||||
<select id="relation" size=8 style='width:250px; background-color:#F6F6F6;' onclick="relation_img(this.value, 'add_span')" ondblclick="relation_add(this);">
|
||||
<?
|
||||
/*
|
||||
$sql = " select ca_id, it_id, it_name, it_amount
|
||||
@ -622,13 +622,13 @@ if ($ii) {
|
||||
</td>
|
||||
<td>
|
||||
이벤트 선택후 <FONT COLOR="#FF6600">더블클릭하면 삭제됨</FONT><br>
|
||||
<select name=eventselect size=6 style='width:250px;' ondblclick="event_del(this);">
|
||||
<select id="eventselect" name="eventselect" size=6 style='width:250px;' ondblclick="event_del(this);">
|
||||
<?
|
||||
$str = "";
|
||||
$comma = "";
|
||||
$sql = " select b.ev_id, b.ev_subject
|
||||
from $g4[yc4_event_item_table] a
|
||||
left join $g4[yc4_event_table] b on (a.ev_id=b.ev_id)
|
||||
left join $g4[yc4_event_table] b on (a.ev_id="b".ev_id)
|
||||
where a.it_id = '$it_id'
|
||||
order by b.ev_id desc ";
|
||||
$result = sql_query($sql);
|
||||
@ -639,7 +639,7 @@ if ($ii) {
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type='hidden' name='ev_list' value='<?=$str?>'>
|
||||
<input type="hidden" id="ev_list" name="ev_list" value='<?=$str?>'>
|
||||
</td>
|
||||
<td>이벤트목록</td>
|
||||
<td>
|
||||
@ -725,12 +725,12 @@ if ($ii) {
|
||||
<tr class=ht>
|
||||
<td>상단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=it_himg size=40>
|
||||
<input type="file" class=ed id="it_himg" name="it_himg" size=40>
|
||||
<?
|
||||
$himg_str = "";
|
||||
$himg = G4_DATA_PATH."/item/{$it[it_id]}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=it_himg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="it_himg_del" name="it_himg_del" value='1'>삭제";
|
||||
$himg_str = "<img src='$himg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -742,12 +742,12 @@ if ($ii) {
|
||||
<tr class=ht>
|
||||
<td>하단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=it_timg size=40>
|
||||
<input type="file" class=ed id="it_timg" name="it_timg" size=40>
|
||||
<?
|
||||
$timg_str = "";
|
||||
$timg = G4_DATA_PATH."/item/{$it[it_id]}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=it_timg_del value='1'>삭제";
|
||||
echo "<input type="checkbox" id="it_timg_del" name="it_timg_del" value='1'>삭제";
|
||||
$timg_str = "<img src='$timg' border=0>";
|
||||
}
|
||||
?>
|
||||
@ -779,8 +779,8 @@ if ($ii) {
|
||||
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./itemlist.php?<?=$qstr?>';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./itemlist.php?<?=$qstr?>';">
|
||||
</form>
|
||||
|
||||
<script language='javascript'>
|
||||
@ -789,11 +789,11 @@ var f = document.fitemform;
|
||||
<?php if($w == 'u') { ?>
|
||||
$(document).ready(function() {
|
||||
// 선택옵션등록 변경
|
||||
$("input[name=it_option_use]").click(function() {
|
||||
$("input[id="it_option_use" name="it_option_use"]").click(function() {
|
||||
var val = $(this).val();
|
||||
if(val == "0") {
|
||||
if(!confirm("기존의 선택옵션정보가 삭제됩니다. 계속 하시겠습니까?")) {
|
||||
$("input[name=it_option_use]").filter("input[value=1]").attr("checked", true);
|
||||
$("input[id="it_option_use" name="it_option_use"]").filter("input[value=1]").attr("checked", true);
|
||||
} else {
|
||||
$("input[name^=it_opt]:text").val('');
|
||||
}
|
||||
@ -801,11 +801,11 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
// 추가옵션등록 변경
|
||||
$("input[name=it_supplement_use]").click(function() {
|
||||
$("input[id="it_supplement_use" name="it_supplement_use"]").click(function() {
|
||||
var val = $(this).val();
|
||||
if(val == "0") {
|
||||
if(!confirm("기존의 추가옵션정보가 삭제됩니다. 계속 하시겠습니까?")) {
|
||||
$("input[name=it_supplement_use]").filter("input[value=1]").attr("checked", true);
|
||||
$("input[id="it_supplement_use" name="it_supplement_use"]").filter("input[value=1]").attr("checked", true);
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -839,28 +839,28 @@ function codedupcheck(id)
|
||||
// 선택옵션창
|
||||
function optionformwindow()
|
||||
{
|
||||
var it_id = $.trim($('input[name=it_id]').val());
|
||||
var it_id = $.trim($('input[id="it_id" name="it_id"]').val());
|
||||
if (!it_id) {
|
||||
alert('상품코드를 입력하십시오.');
|
||||
f.it_id.focus();
|
||||
return;
|
||||
}
|
||||
|
||||
$('input[name=it_option_use]').filter('input[value=1]').attr('checked', true);
|
||||
$('input[id="it_option_use" name="it_option_use"]').filter('input[value=1]').attr('checked', true);
|
||||
window.open("./optionform.php?w=<? echo $w; ?>&it_id="+it_id, "optionform", "width=700, height=700, left=100, top=50, scrollbars=yes");
|
||||
}
|
||||
|
||||
// 추가옵션창
|
||||
function supplementformwindow()
|
||||
{
|
||||
var it_id = $.trim($('input[name=it_id]').val());
|
||||
var it_id = $.trim($('input[id="it_id" name="it_id"]').val());
|
||||
if (!it_id) {
|
||||
alert('상품코드를 입력하십시오.');
|
||||
f.it_id.focus();
|
||||
return;
|
||||
}
|
||||
|
||||
$('input[name=it_supplement_use]').filter('input[value=1]').attr('checked', true);
|
||||
$('input[id="it_supplement_use" name="it_supplement_use"]').filter('input[value=1]').attr('checked', true);
|
||||
window.open("./supplementform.php?w=<? echo $w; ?>&it_id="+it_id, "supplementform", "width=700, height=700, left=100, top=50, scrollbars=yes");
|
||||
}
|
||||
|
||||
@ -880,18 +880,18 @@ function fitemformcheck(f)
|
||||
}
|
||||
|
||||
// 개별배송비체크
|
||||
var sc_type = $("input[name=it_sc_type]:checked").val();
|
||||
var sc_basic = $("input[name=it_sc_basic]").val();
|
||||
var sc_type = $("input[id="it_sc_type" name="it_sc_type"]:checked").val();
|
||||
var sc_basic = $("input[id="it_sc_basic" name="it_sc_basic"]").val();
|
||||
var patt = /[^0-9]/g;
|
||||
|
||||
if(sc_type == "1") { // 조건부무료
|
||||
var minimum = $("input[name=it_minimum]").val().replace(patt, "");
|
||||
var minimum = $("input[id="it_minimum" name="it_minimum"]").val().replace(patt, "");
|
||||
if(minimum == "") {
|
||||
alert("구매금액 합계를 입력해 주세요.");
|
||||
return false;
|
||||
}
|
||||
} else if(sc_type == "3") { // 수량별
|
||||
var count = $("input[name=it_count]").val().replace(patt, "");
|
||||
var count = $("input[id="it_count" name="it_count"]").val().replace(patt, "");
|
||||
if(count == "") {
|
||||
alert("반복수량을 입력해 주세요.");
|
||||
return false;
|
||||
|
||||
@ -20,7 +20,7 @@ $null_text = "상품페이지 참고";
|
||||
</style>
|
||||
|
||||
<form id="fiteminfo" method="post" action="#" onsubmit="return fiteminfo_submit(this)">
|
||||
<input type="hidden" name="it_id" value="<?=$it_id?>">
|
||||
<input type="hidden" id="it_id" name="it_id" value="<?=$it_id?>">
|
||||
<div style="width:95%;padding:10px">
|
||||
<div style="float:left;"><?=subtitle("요약상품정보")?></div>
|
||||
<div style="float:right;">(모든필드 필수입력)</div>
|
||||
@ -34,7 +34,7 @@ $null_text = "상품페이지 참고";
|
||||
<td style='padding:3px;' valign='top' width='25%'><b>상품군</b></td>
|
||||
<td style='padding:3px;' valign='top'>
|
||||
<div style="float:left;">
|
||||
<select id="gubun" name="gubun" onchange="location.href='?it_id=<?=$it_id?>&gubun='+this.value;">
|
||||
<select id="gubun" id="gubun" name="gubun" onchange="location.href='?it_id=<?=$it_id?>&gubun='+this.value;">
|
||||
<option value="">상품군을 선택하세요.</option>
|
||||
<?
|
||||
foreach($item_info as $key=>$value) {
|
||||
@ -64,8 +64,8 @@ if ($article) {
|
||||
echo "<tr class='ht'>\n";
|
||||
echo "<td style='padding:3px;' valign='top'><b>$el_title</b></td>\n";
|
||||
echo "<td style='padding:3px;' valign='top'>";
|
||||
echo "<input type='hidden' name='{$el_name}[]' value='$el_title' />";
|
||||
echo "<input type='text' name='{$el_name}[]' value='$el_value' class='ed' style='width:99%;' required itemname='$el_title' />";
|
||||
echo "<input type="hidden" name='{$el_name}[]' value='$el_title' />";
|
||||
echo "<input type="text" name='{$el_name}[]' value='$el_value' class='ed' style='width:99%;' required itemname='$el_title' />";
|
||||
if ($el_example != "") {
|
||||
echo "<p style=\"margin:2px 0;padding:0\">$el_example</p>";
|
||||
}
|
||||
@ -87,7 +87,7 @@ if ($article) {
|
||||
<script>
|
||||
$(function(){
|
||||
$("#null").click(function(){
|
||||
var $f = $("#fiteminfo input[type=text], #fiteminfo textarea");
|
||||
var $f = $("#fiteminfo input[type="text"], #fiteminfo textarea");
|
||||
if (this.checked) {
|
||||
$.each($f, function(){
|
||||
if ($(this).val() == "") {
|
||||
|
||||
@ -79,13 +79,13 @@ $result = sql_query($sql);
|
||||
$qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<form name=flist>
|
||||
<input type=hidden name=page value="<?=$page?>">
|
||||
<table>
|
||||
<form id="flist" name="flist">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<tr>
|
||||
<td width=20%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=60% align=center>
|
||||
<select name="sca">
|
||||
<select id="sca" name="sca">
|
||||
<option value=''>전체분류
|
||||
<?
|
||||
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
|
||||
@ -101,7 +101,7 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
|
||||
</select>
|
||||
<script> document.flist.sca.value = '<?=$sca?>';</script>
|
||||
|
||||
<select name=sfl>
|
||||
<select id="sfl" name="sfl">
|
||||
<option value='it_name'>상품명
|
||||
<option value='it_id'>상품코드
|
||||
<option value='it_maker'>제조사
|
||||
@ -111,9 +111,9 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
|
||||
<?// if ($sel_field) echo "<script> document.flist.sel_field.value = '$sel_field';</script>"; ?>
|
||||
<? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?>
|
||||
|
||||
<input type=hidden name=save_stx value='<?=$stx?>'>
|
||||
<input type=text name=stx value='<?=$stx?>'>
|
||||
<input type=image src='<?=G4_ADMIN_URL?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="hidden" id="save_stx" name="save_stx" value='<?=$stx?>'>
|
||||
<input type="text" id="stx" name="stx" value='<?=$stx?>'>
|
||||
<input type="image" src='<?=G4_ADMIN_URL?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=20% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
@ -136,13 +136,13 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
|
||||
<tr><td colspan=13 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
</form>
|
||||
|
||||
<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?>">
|
||||
<form id="fitemlistupdate" name="fitemlistupdate" method=post action="./itemlistupdate.php" autocomplete='off'>
|
||||
<input type="hidden" id="sca" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" id="sst" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" id="sod" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" id="sfl" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" id="stx" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<?
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
@ -173,20 +173,20 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
}
|
||||
|
||||
echo "
|
||||
<input type='hidden' name='it_id[$i]' value='$row[it_id]'>
|
||||
<input type="hidden" name='it_id[$i]' value='$row[it_id]'>
|
||||
<tr class='list$list'>
|
||||
<td>$row[it_id]</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image($row['it_id'], $filename, 50, 50)."</a></td>
|
||||
<td align=left>$tmp_ca_list<br><input type='text' name='it_name[$i]' value='".htmlspecialchars2(cut_str($row[it_name],250, ""))."' required size=40 class=ed></td>
|
||||
<td align=left>$tmp_ca_list<br><input type="text" name='it_name[$i]' value='".htmlspecialchars2(cut_str($row[it_name],250, ""))."' required size=40 class=ed></td>
|
||||
<td colspan=3>
|
||||
<table width=210 cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td>
|
||||
<table cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td width=70 align=center><input type='text' name='it_amount[$i]' value='$row[it_amount]' class=ed size=7 style='text-align:right; background-color:#DDE6FE;'></td>
|
||||
<td width=70 align=center><input type='text' name='it_amount2[$i]' value='$row[it_amount2]' class=ed size=7 style='text-align:right; background-color:#DDFEDE;'></td>
|
||||
<td width=70 align=center><input type='text' name='it_amount3[$i]' value='$row[it_amount3]' class=ed size=7 style='text-align:right; background-color:#FEDDDD;'></td>
|
||||
<td width=70 align=center><input type="text" name='it_amount[$i]' value='$row[it_amount]' class=ed size=7 style='text-align:right; background-color:#DDE6FE;'></td>
|
||||
<td width=70 align=center><input type="text" name='it_amount2[$i]' value='$row[it_amount2]' class=ed size=7 style='text-align:right; background-color:#DDFEDE;'></td>
|
||||
<td width=70 align=center><input type="text" name='it_amount3[$i]' value='$row[it_amount3]' class=ed size=7 style='text-align:right; background-color:#FEDDDD;'></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
@ -194,15 +194,15 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
<td>
|
||||
<table cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td width=70 align=center><input type='text' name='it_cust_amount[$i]' value='$row[it_cust_amount]' class=ed size=7 style='text-align:right;'></td>
|
||||
<td width=70 align=center><input type='text' name='it_point[$i]' value='$row[it_point]' class=ed size=7 style='text-align:right;'></td>
|
||||
<td width=70 align=center><input type='text' name='it_stock_qty[$i]' value='$row[it_stock_qty]' class=ed size=7 style='text-align:right;'></td>
|
||||
<td width=70 align=center><input type="text" name='it_cust_amount[$i]' value='$row[it_cust_amount]' class=ed size=7 style='text-align:right;'></td>
|
||||
<td width=70 align=center><input type="text" name='it_point[$i]' value='$row[it_point]' class=ed size=7 style='text-align:right;'></td>
|
||||
<td width=70 align=center><input type="text" name='it_stock_qty[$i]' value='$row[it_stock_qty]' class=ed size=7 style='text-align:right;'></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td><input type='text' name='it_order[$i]' value='$row[it_order]' class=ed size=3 style='text-align:right;'></td>
|
||||
<td><input type=checkbox name='it_use[$i]' ".($row[it_use] ? "checked" : "")." value='1'></td>
|
||||
<td><input type="text" name='it_order[$i]' value='$row[it_order]' class=ed size=3 style='text-align:right;'></td>
|
||||
<td><input type="checkbox" name='it_use[$i]' ".($row[it_use] ? "checked" : "")." value='1'></td>
|
||||
<td>$row[it_hit]</td>
|
||||
<td>$s_mod $s_del $s_vie $s_copy</td>
|
||||
</tr>";
|
||||
@ -215,7 +215,7 @@ if ($i == 0)
|
||||
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<td width=50%><input type=submit class=btn1 value='일괄수정' accesskey='s'></td>
|
||||
<td width=50%><input type="submit" class=btn1 value='일괄수정' accesskey='s'></td>
|
||||
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -24,12 +24,12 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
|
||||
<?=subtitle($g4[title])?>
|
||||
|
||||
<form name=fitemps method=post onsubmit="return fitemps_submit(this);" style="margin:0px;">
|
||||
<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 ?>'>
|
||||
<form id="fitemps" name="fitemps" method=post onsubmit="return fitemps_submit(this);" style="margin:0px;">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w ?>'>
|
||||
<input type="hidden" id="is_id" name="is_id" value='<? echo $is_id ?>'>
|
||||
<input type="hidden" id="page" name="page" value='<? echo $page ?>'>
|
||||
<input type="hidden" id="sort1" name="sort1" value='<? echo $sort1 ?>'>
|
||||
<input type="hidden" id="sort2" name="sort2" value='<? echo $sort2 ?>'>
|
||||
<table cellpadding=0 cellspacing=1 width=100%>
|
||||
<colgroup width=120 class=tdsl></colgroup>
|
||||
<colgroup width='' bgcolor=#ffffff></colgroup>
|
||||
@ -48,27 +48,27 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
</tr>
|
||||
<tr height=25>
|
||||
<td> 제 목</td>
|
||||
<td><input type=text class=ed name=is_subject required itenmae='제목' style='width:99%;'
|
||||
<td><input type="text" class=ed id="is_subject" name="is_subject" required itenmae='제목' style='width:99%;'
|
||||
value='<?=conv_subject($is[is_subject], 120)?>'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> 내 용</td>
|
||||
<td>
|
||||
<!-- <?=textarea_size("is_content")?>
|
||||
<textarea id='is_content' name="is_content" rows="10" style='width:99%;' class=ed required itemname='내용'><? echo get_text($is[is_content]) ?></textarea> -->
|
||||
<textarea id="is_content" id="is_content" name="is_content" rows="10" style='width:99%;' class=ed required itemname='내용'><? echo get_text($is[is_content]) ?></textarea> -->
|
||||
<?=editor_html('is_content', $is['is_content']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height=25>
|
||||
<td> 확 인</td>
|
||||
<td><input type=checkbox name=is_confirm value='1' <?=($is[is_confirm]?"checked":"")?> id=is_confirm> <label for='is_confirm'>확인하였습니다.</a></td>
|
||||
<td><input type="checkbox" id="is_confirm" name="is_confirm" value='1' <?=($is[is_confirm]?"checked":"")?> id="is_confirm"> <label for='is_confirm'>확인하였습니다.</a></td>
|
||||
</tr>
|
||||
<tr><td colspan=4 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 value=' 확 인 ' accesskey='s'>
|
||||
<input type=button class=btn1 value=' 목 록 ' onclick="document.location.href='./itempslist.php?<?=$qstr?>';">
|
||||
<input type="submit" class=btn1 value=' 확 인 ' accesskey='s'>
|
||||
<input type="button" class=btn1 value=' 목 록 ' onclick="document.location.href='./itempslist.php?<?=$qstr?>';">
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
||||
@ -53,13 +53,13 @@ $result = sql_query($sql);
|
||||
$qstr = "$qstr&sca=$sca&save_stx=$stx";
|
||||
?>
|
||||
|
||||
<form name=flist style="margin:0px;">
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<input type=hidden name=page value="<?=$page?>">
|
||||
<form id="flist" name="flist" style="margin:0px;">
|
||||
<table>
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<tr>
|
||||
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=80% align=center>
|
||||
<select name="sca">
|
||||
<select id="sca" name="sca">
|
||||
<option value=''>전체분류
|
||||
<?
|
||||
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
|
||||
@ -74,16 +74,16 @@ $qstr = "$qstr&sca=$sca&save_stx=$stx";
|
||||
</select>
|
||||
<script> document.flist.sca.value = '<?=$sca?>';</script>
|
||||
|
||||
<select name=sfl>
|
||||
<select id="sfl" name="sfl">
|
||||
<option value='it_name'>상품명
|
||||
<option value='a.it_id'>상품코드
|
||||
<option value='is_name'>이름
|
||||
</select>
|
||||
<? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?>
|
||||
|
||||
<input type=hidden name=save_stx value='<?=$stx?>'>
|
||||
<input type=text name=stx value='<?=$stx?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="hidden" id="save_stx" name="save_stx" value='<?=$stx?>'>
|
||||
<input type="text" id="stx" name="stx" value='<?=$stx?>'>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=10% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
|
||||
@ -22,12 +22,12 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
<?=subtitle($g4[title])?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<form name=frmitemqaform method=post action="./itemqaformupdate.php">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=iq_id value='<? echo $iq_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 ?>'>
|
||||
<form id="frmitemqaform" name="frmitemqaform" method=post action="./itemqaformupdate.php">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w ?>'>
|
||||
<input type="hidden" id="iq_id" name="iq_id" value='<? echo $iq_id ?>'>
|
||||
<input type="hidden" id="page" name="page" value='<? echo $page ?>'>
|
||||
<input type="hidden" id="sort1" name="sort1" value='<? echo $sort1 ?>'>
|
||||
<input type="hidden" id="sort2" name="sort2" value='<? echo $sort2 ?>'>
|
||||
<colgroup width=120></colgroup>
|
||||
<colgroup width='' bgcolor=#ffffff></colgroup>
|
||||
<tr><td colspan=2 height=2 bgcolor=#0E87F9></td></tr>
|
||||
@ -37,28 +37,28 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td> 제 목</td>
|
||||
<td><input type=text class=ed name=iq_subject required itenmae='제목' style='width:99%;' value='<?=conv_subject($iq[iq_subject],120)?>'></td>
|
||||
<td><input type="text" class=ed id="iq_subject" name="iq_subject" required itenmae='제목' style='width:99%;' value='<?=conv_subject($iq[iq_subject],120)?>'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> 질 문</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'>
|
||||
<?=textarea_size('iq_question')?>
|
||||
<textarea id='iq_question' name='iq_question' rows="7" style='width:99%;' class=ed required itemname='질문'><? echo get_text($iq[iq_question]) ?></textarea>
|
||||
<textarea id="iq_question" id="iq_question" name="iq_question" rows="7" style='width:99%;' class=ed required itemname='질문'><? echo get_text($iq[iq_question]) ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> 답 변</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'>
|
||||
<?=textarea_size('iq_answer')?>
|
||||
<textarea id='iq_answer' name='iq_answer' rows="7" style='width:99%;' class=ed itemname='답변'><? echo get_text($iq[iq_answer]) ?></textarea>
|
||||
<textarea id="iq_answer" id="iq_answer" name="iq_answer" rows="7" style='width:99%;' class=ed itemname='답변'><? echo get_text($iq[iq_answer]) ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./itemqalist.php?<?=$qstr?>';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./itemqalist.php?<?=$qstr?>';">
|
||||
</form>
|
||||
|
||||
<?
|
||||
|
||||
@ -53,13 +53,13 @@ $result = sql_query($sql);
|
||||
$qstr = "$qstr&sca=$sca&save_stx=$stx";
|
||||
?>
|
||||
|
||||
<form name=flist style="margin:0px;">
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<input type=hidden name=page value="<?=$page?>">
|
||||
<form id="flist" name="flist" style="margin:0px;">
|
||||
<table>
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<tr>
|
||||
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=80% align=center>
|
||||
<select name="sca">
|
||||
<select id="sca" name="sca">
|
||||
<option value=''>전체분류
|
||||
<?
|
||||
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
|
||||
@ -74,15 +74,15 @@ $qstr = "$qstr&sca=$sca&save_stx=$stx";
|
||||
</select>
|
||||
<script> document.flist.sca.value = '<?=$sca?>';</script>
|
||||
|
||||
<select name=sfl>
|
||||
<select id="sfl" name="sfl">
|
||||
<option value='it_name'>상품명
|
||||
<option value='a.it_id'>상품코드
|
||||
</select>
|
||||
<? if ($sfl) echo "<script> document.flist.sfl.value = '$sfl';</script>"; ?>
|
||||
|
||||
<input type=hidden name=save_stx value='<?=$stx?>'>
|
||||
<input type=text name=stx value='<?=$stx?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="hidden" id="save_stx" name="save_stx" value='<?=$stx?>'>
|
||||
<input type="text" id="stx" name="stx" value='<?=$stx?>'>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=10% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
|
||||
@ -54,16 +54,16 @@ $result = sql_query($sql);
|
||||
$qstr1 = "$qstr&sort1=$sort1&sort2=$sort2&fr_date=$fr_date&to_date=$to_date&sel_ca_id=$sel_ca_id";
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<form name=flist>
|
||||
<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 ?>">
|
||||
<table>
|
||||
<form id="flist" name="flist">
|
||||
<input type="hidden" id="doc" name="doc" value="<? echo $doc ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<tr>
|
||||
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=80% align=center>
|
||||
<select name="sel_ca_id">
|
||||
<select id="sel_ca_id" name="sel_ca_id">
|
||||
<option value=''>전체분류
|
||||
<?
|
||||
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
|
||||
@ -78,8 +78,8 @@ $qstr1 = "$qstr&sort1=$sort1&sort2=$sort2&fr_date=$fr_date&to_date=$to_date&sel_
|
||||
</select>
|
||||
<script> document.flist.sel_ca_id.value = '<?=$sel_ca_id?>';</script>
|
||||
|
||||
기간 : <input type=text name=fr_date size=8 maxlength=8 itemname='기간' value='<?=$fr_date?>'> ~ <input type=text name=to_date size=8 maxlength=8 itemname='기간' value='<?=$to_date?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
기간 : <input type="text" id="fr_date" name="fr_date" size=8 maxlength=8 itemname='기간' value='<?=$fr_date?>'> ~ <input type="text" id="to_date" name="to_date" size=8 maxlength=8 itemname='기간' value='<?=$to_date?>'>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=10% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
|
||||
@ -48,16 +48,16 @@ $qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search";
|
||||
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
?>
|
||||
|
||||
<form name=flist style="margin:0px;">
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<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 ?>">
|
||||
<form id="flist" name="flist" style="margin:0px;">
|
||||
<table>
|
||||
<input type="hidden" id="doc" name="doc" value="<? echo $doc ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<tr>
|
||||
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=80% align=center>
|
||||
<select name="sel_ca_id">
|
||||
<select id="sel_ca_id" name="sel_ca_id">
|
||||
<option value=''>전체분류
|
||||
<?
|
||||
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
|
||||
@ -72,14 +72,14 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
</select>
|
||||
<script> document.flist.sel_ca_id.value = '<?=$sel_ca_id?>';</script>
|
||||
|
||||
<select name=sel_field>
|
||||
<select id="sel_field" name="sel_field">
|
||||
<option value='it_name'>상품명
|
||||
<option value='it_id'>상품코드
|
||||
</select>
|
||||
<? if ($sel_field) echo "<script> document.flist.sel_field.value = '$sel_field';</script>"; ?>
|
||||
|
||||
<input type=text name=search value='<? echo $search ?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="text" id="search" name="search" value='<? echo $search ?>'>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=10% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
@ -87,13 +87,13 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
</form>
|
||||
|
||||
|
||||
<form name=fitemstocklist method=post action="./itemstocklistupdate.php" style="margin:0px;">
|
||||
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
|
||||
<input type=hidden name=sort2 value="<? echo $sort2 ?>">
|
||||
<input type=hidden name=sel_ca_id value="<? echo $sel_ca_id ?>">
|
||||
<input type=hidden name=sel_field value="<? echo $sel_field ?>">
|
||||
<input type=hidden name=search value="<? echo $search ?>">
|
||||
<input type=hidden name=page value="<? echo $page ?>">
|
||||
<form id="fitemstocklist" name="fitemstocklist" method=post action="./itemstocklistupdate.php" style="margin:0px;">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" id="sel_ca_id" name="sel_ca_id" value="<? echo $sel_ca_id ?>">
|
||||
<input type="hidden" id="sel_field" name="sel_field" value="<? echo $sel_field ?>">
|
||||
<input type="hidden" id="search" name="search" value="<? echo $search ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=80>
|
||||
<colgroup width=80>
|
||||
@ -136,7 +136,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<input type='hidden' name='it_id[$i]' value='$row[it_id]'>
|
||||
<input type="hidden" name='it_id[$i]' value='$row[it_id]'>
|
||||
<tr class='list$list center'>
|
||||
<td>$row[it_id]</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image("{$row[it_id]}_s", 50, 50)."</a></td>
|
||||
@ -144,8 +144,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
<td align=right>".number_format($row[it_stock_qty])."</td>
|
||||
<td align=right>".number_format($wait_qty)."</td>
|
||||
<td align=right>".number_format($temporary_qty)."</td>
|
||||
<td align=right><input type='text' name='it_stock_qty[$i]' value='$row[it_stock_qty]' class=ed size=10 style='text-align:right;' autocomplete='off'></td>
|
||||
<td><input type=checkbox name='it_use[$i]' value='1' ".($row[it_use] ? "checked" : "")."></td>
|
||||
<td align=right><input type="text" name='it_stock_qty[$i]' value='$row[it_stock_qty]' class=ed size=10 style='text-align:right;' autocomplete='off'></td>
|
||||
<td><input type="checkbox" name='it_use[$i]' value='1' ".($row[it_use] ? "checked" : "")."></td>
|
||||
<td>$s_mod</td>
|
||||
</tr><tr>";
|
||||
}
|
||||
@ -158,7 +158,7 @@ if (!$i)
|
||||
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<td colspan=50%><input type=submit class=btn1 value='일괄수정' accesskey='s'></td>
|
||||
<td colspan=50%><input type="submit" class=btn1 value='일괄수정' accesskey='s'></td>
|
||||
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
@ -75,16 +75,16 @@ $result = sql_query($sql);
|
||||
$qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
|
||||
?>
|
||||
|
||||
<form name=flist style="margin:0px;">
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<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 ?>">
|
||||
<form id="flist" name="flist" style="margin:0px;">
|
||||
<table>
|
||||
<input type="hidden" id="doc" name="doc" value="<? echo $doc ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<tr>
|
||||
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=80% align=center>
|
||||
<select name="sca">
|
||||
<select id="sca" name="sca">
|
||||
<option value=''>전체분류
|
||||
<?
|
||||
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
|
||||
@ -99,14 +99,14 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
|
||||
</select>
|
||||
<script> document.flist.sca.value = '<?=$sca?>';</script>
|
||||
|
||||
<select name=sfl>
|
||||
<select id="sfl" name="sfl">
|
||||
<option value='it_name'>상품명
|
||||
<option value='it_id'>상품코드
|
||||
</select>
|
||||
<? if ($slf) echo "<script> document.flist.slf.value = '$sfl';</script>"; ?>
|
||||
|
||||
<input type=text name=stx value='<? echo $stx ?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="text" id="stx" name="stx" value='<? echo $stx ?>'>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=10% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
@ -114,13 +114,13 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
|
||||
</form>
|
||||
|
||||
|
||||
<form name=fitemtypelist method=post action="./itemtypelistupdate.php" style="margin:0px;">
|
||||
<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?>">
|
||||
<form id="fitemtypelist" name="fitemtypelist" method=post action="./itemtypelistupdate.php" style="margin:0px;">
|
||||
<input type="hidden" id="sca" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" id="sst" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" id="sod" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" id="sfl" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" id="stx" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=80>
|
||||
<colgroup width=80>
|
||||
@ -152,16 +152,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<input type='hidden' name='it_id[$i]' value='$row[it_id]'>
|
||||
<input type="hidden" name='it_id[$i]' value='$row[it_id]'>
|
||||
<tr class='list$list center'>
|
||||
<td>$row[it_id]</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image("{$row[it_id]}_s", 50, 50)."</a></td>
|
||||
<td align=left><a href='$href'>".cut_str(stripslashes($row[it_name]), 60, "…")."</a></td>
|
||||
<td><input type=checkbox name='it_type1[$i]' value='1' ".($row[it_type1] ? 'checked' : '')."></td>
|
||||
<td><input type=checkbox name='it_type2[$i]' value='1' ".($row[it_type2] ? 'checked' : '')."></td>
|
||||
<td><input type=checkbox name='it_type3[$i]' value='1' ".($row[it_type3] ? 'checked' : '')."></td>
|
||||
<td><input type=checkbox name='it_type4[$i]' value='1' ".($row[it_type4] ? 'checked' : '')."></td>
|
||||
<td><input type=checkbox name='it_type5[$i]' value='1' ".($row[it_type5] ? 'checked' : '')."></td>
|
||||
<td><input type="checkbox" name='it_type1[$i]' value='1' ".($row[it_type1] ? 'checked' : '')."></td>
|
||||
<td><input type="checkbox" name='it_type2[$i]' value='1' ".($row[it_type2] ? 'checked' : '')."></td>
|
||||
<td><input type="checkbox" name='it_type3[$i]' value='1' ".($row[it_type3] ? 'checked' : '')."></td>
|
||||
<td><input type="checkbox" name='it_type4[$i]' value='1' ".($row[it_type4] ? 'checked' : '')."></td>
|
||||
<td><input type="checkbox" name='it_type5[$i]' value='1' ".($row[it_type5] ? 'checked' : '')."></td>
|
||||
<td>$s_mod</td>
|
||||
</tr>";
|
||||
}
|
||||
@ -174,7 +174,7 @@ if (!$i)
|
||||
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<td colspan=50%><input type=submit class=btn1 value='일괄수정' accesskey='s'></td>
|
||||
<td colspan=50%><input type="submit" class=btn1 value='일괄수정' accesskey='s'></td>
|
||||
<td width=50% align=right><?=get_paging($config[cf_write_pages], $page, $total_page, "$_SERVER[PHP_SELF]?$qstr&page=");?></td>
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
@ -30,9 +30,9 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
|
||||
<?=subtitle($html_title)?>
|
||||
|
||||
<form name=frmnewwin method=post action="./newwinformupdate.php" onsubmit="return frmnewwin_check(this);" style="margin:0px;">
|
||||
<input type=hidden name=w value='<? echo $w ?>'>
|
||||
<input type=hidden name=nw_id value='<? echo $nw_id ?>'>
|
||||
<form id="frmnewwin" name="frmnewwin" method=post action="./newwinformupdate.php" onsubmit="return frmnewwin_check(this);" style="margin:0px;">
|
||||
<input type="hidden" id="w" name="w" value='<? echo $w ?>'>
|
||||
<input type="hidden" id="nw_id" name="nw_id" value='<? echo $nw_id ?>'>
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=15%>
|
||||
<colgroup width=35% bgcolor=#ffffff>
|
||||
@ -41,35 +41,35 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<tr><td colspan=4 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr class=ht>
|
||||
<td>시간</td>
|
||||
<td colspan=3><input type=text class=ed name=nw_disable_hours size=5 value='<? echo $nw[nw_disable_hours] ?>' required itemname="시간"> 시간 동안 다시 띄우지 않음</td>
|
||||
<td colspan=3><input type="text" class=ed id="nw_disable_hours" name="nw_disable_hours" size=5 value='<? echo $nw[nw_disable_hours] ?>' required itemid="시간" name="시간"> 시간 동안 다시 띄우지 않음</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>시작일시</td>
|
||||
<td>
|
||||
<input type=text class=ed name=nw_begin_time size=21 maxlength=19 value='<? echo $nw[nw_begin_time] ?>' required itemname="시작일시">
|
||||
<input type=checkbox name=nw_begin_chk value="<? echo date("Y-m-d 00:00:00", $g4[server_time]); ?>" 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="text" class=ed id="nw_begin_time" name="nw_begin_time" size=21 maxlength=19 value='<? echo $nw[nw_begin_time] ?>' required itemid="시작일시" name="시작일시">
|
||||
<input type="checkbox" id="nw_begin_chk" name="nw_begin_chk" value="<? echo date("Y-m-d 00:00:00", $g4[server_time]); ?>" 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>종료일시</td>
|
||||
<td>
|
||||
<input type=text class=ed name=nw_end_time size=21 maxlength=19 value='<? echo $nw[nw_end_time] ?>' required itemname="종료일시">
|
||||
<input type=checkbox name=nw_end_chk value="<? echo date("Y-m-d 23:59:59", $g4[server_time]+(60*60*24*7)); ?>" 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;">오늘+7일
|
||||
<input type="text" class=ed id="nw_end_time" name="nw_end_time" size=21 maxlength=19 value='<? echo $nw[nw_end_time] ?>' required itemid="종료일시" name="종료일시">
|
||||
<input type="checkbox" id="nw_end_chk" name="nw_end_chk" value="<? echo date("Y-m-d 23:59:59", $g4[server_time]+(60*60*24*7)); ?>" 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;">오늘+7일
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>창위치 왼쪽</td>
|
||||
<td><input type=text class=ed name=nw_left size=5 value='<? echo $nw[nw_left] ?>' required itemname="창위치 왼쪽"></td>
|
||||
<td><input type="text" class=ed id="nw_left" name="nw_left" size=5 value='<? echo $nw[nw_left] ?>' required itemid="창위치 왼쪽" name="창위치 왼쪽"></td>
|
||||
<td>창위치 위</td>
|
||||
<td><input type=text class=ed name=nw_top size=5 value='<? echo $nw[nw_top] ?>' required itemname="창위치 위"></td>
|
||||
<td><input type="text" class=ed id="nw_top" name="nw_top" size=5 value='<? echo $nw[nw_top] ?>' required itemid="창위치 위" name="창위치 위"></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>창크기 폭</td>
|
||||
<td><input type=text class=ed name=nw_width size=5 value='<? echo $nw[nw_width] ?>' required itemname="창크기폭"></td>
|
||||
<td><input type="text" class=ed id="nw_width" name="nw_width" size=5 value='<? echo $nw[nw_width] ?>' required itemid="창크기폭" name="창크기폭"></td>
|
||||
<td>창크기 높이</td>
|
||||
<td><input type=text class=ed name=nw_height size=5 value='<? echo $nw[nw_height] ?>' required itemname="창크기높이"></td>
|
||||
<td><input type="text" class=ed id="nw_height" name="nw_height" size=5 value='<? echo $nw[nw_height] ?>' required itemid="창크기높이" name="창크기높이"></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>창제목</td>
|
||||
<td colspan=3><input type=text class=ed name=nw_subject size=80 value='<? echo stripslashes($nw[nw_subject]) ?>' required itemname="제목"></td>
|
||||
<td colspan=3><input type="text" class=ed id="nw_subject" name="nw_subject" size=80 value='<? echo stripslashes($nw[nw_subject]) ?>' required itemid="제목" name="제목"></td>
|
||||
</tr>
|
||||
<input type=hidden name=nw_content_html value=1>
|
||||
<input type="hidden" id="nw_content_html" name="nw_content_html" value=1>
|
||||
<tr>
|
||||
<td>내용</td>
|
||||
<td colspan=3 style='padding-top:5px; padding-bottom:5px;'><?=editor_html('nw_content', $nw[nw_content]);?></td>
|
||||
@ -78,8 +78,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./newwinlist.php';">
|
||||
<input type="submit" class=btn1 accesskey='s' value=' 확 인 '>
|
||||
<input type="button" class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./newwinlist.php';">
|
||||
</form>
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
@ -36,13 +36,13 @@ if($makemode) {
|
||||
?>
|
||||
|
||||
<table width="650" cellpadding="0" cellspacing="0" border="0">
|
||||
<input type="hidden" name="it_id" value="<? echo $it_id; ?>" />
|
||||
<input type="hidden" name="w" value="<? echo $w; ?>" />
|
||||
<input type="hidden" name="makemode" value="" />
|
||||
<input type="hidden" id="it_id" name="it_id" value="<? echo $it_id; ?>" />
|
||||
<input type="hidden" id="w" name="w" value="<? echo $w; ?>" />
|
||||
<input type="hidden" id="makemode" name="makemode" value="" />
|
||||
<tr>
|
||||
<td colspan="<?php echo ($option_count + 5); ?>" height="50">
|
||||
<b>추가금액</b> <input type="text" name="common_amount" value="" size="5" /> <b>재고수량</b> <input type="text" name="common_qty" value="" size="5" /> <b>통보수량</b> <input type="text" name="common_notice" value="" size="5" />
|
||||
<b>사용여부</b> <select name="common_use">
|
||||
<b>추가금액</b> <input type="text" id="common_amount" name="common_amount" value="" size="5" /> <b>재고수량</b> <input type="text" id="common_qty" name="common_qty" value="" size="5" /> <b>통보수량</b> <input type="text" id="common_notice" name="common_notice" value="" size="5" />
|
||||
<b>사용여부</b> <select id="common_use" name="common_use">
|
||||
<option value=''>선택</option>
|
||||
<option value="1">Y</option>
|
||||
<option value="0">N</option>
|
||||
@ -50,7 +50,7 @@ if($makemode) {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" width="50"><input type="checkbox" name="all_check" value="1" /></td>
|
||||
<td rowspan="2" width="50"><input type="checkbox" id="all_check" name="all_check" value="1" /></td>
|
||||
<th colspan="<?php echo $option_count; ?>" align="center">옵션항목</th>
|
||||
<th rowspan="2" width="75">추가금액</th>
|
||||
<th rowspan="2" width="75">재고수량</th>
|
||||
@ -74,7 +74,7 @@ if($rec_count) {
|
||||
$str .= '<tr>';
|
||||
$opt_id = $list[$i]['opt_id'];
|
||||
|
||||
$str .= '<td><input type="checkbox" name="list_check[]" value="1" /><input type="hidden" name="opt_id[]" value="'. $opt_id . '" /></td>';
|
||||
$str .= '<td><input type="checkbox" id="list_check[]" name="list_check[]" value="1" /><input type="hidden" id="opt_id[]" name="opt_id[]" value="'. $opt_id . '" /></td>';
|
||||
|
||||
if(trim($opt[0])) {
|
||||
$str .= '<td class="cell-opt1">' . $opt[0] . '</td>';
|
||||
@ -96,10 +96,10 @@ if($rec_count) {
|
||||
$opt_use0 = ' selected="selected"';
|
||||
}
|
||||
|
||||
$str .= '<td><input type="text" name="opt_amount[]" value="' . $list[$i]['opt_amount'] . '" size="5" /></td>';
|
||||
$str .= '<td><input type="text" name="opt_qty[]" value="' . $list[$i]['opt_qty'] . '" size="5" /></td>';
|
||||
$str .= '<td><input type="text" name="opt_notice[]" value="' . $list[$i]['opt_notice'] . '" size="5" /></td>';
|
||||
$str .= '<td><select name="opt_use[]"><option value="1"'.$opt_use1.'>Y</option><option value="0"'.$opt_use0.'>N</option></select>';
|
||||
$str .= '<td><input type="text" id="opt_amount[]" name="opt_amount[]" value="' . $list[$i]['opt_amount'] . '" size="5" /></td>';
|
||||
$str .= '<td><input type="text" id="opt_qty[]" name="opt_qty[]" value="' . $list[$i]['opt_qty'] . '" size="5" /></td>';
|
||||
$str .= '<td><input type="text" id="opt_notice[]" name="opt_notice[]" value="' . $list[$i]['opt_notice'] . '" size="5" /></td>';
|
||||
$str .= '<td><select id="opt_use[]" name="opt_use[]"><option value="1"'.$opt_use1.'>Y</option><option value="0"'.$opt_use0.'>N</option></select>';
|
||||
$str .= '</tr>';
|
||||
}
|
||||
} else {
|
||||
@ -133,12 +133,12 @@ if($rec_count) {
|
||||
$opt_id .= chr(30) . $opt3_item[$k];
|
||||
}
|
||||
|
||||
$str .= '<td><input type="checkbox" name="list_check[]" value="1" /><input type="hidden" name="opt_id[]" value="'. $opt_id . '" /></td>';
|
||||
$str .= '<td><input type="checkbox" id="list_check[]" name="list_check[]" value="1" /><input type="hidden" id="opt_id[]" name="opt_id[]" value="'. $opt_id . '" /></td>';
|
||||
$str .= $str1 . $str2 . $str3;
|
||||
$str .= '<td><input type="text" name="opt_amount[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><input type="text" name="opt_qty[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><input type="text" name="opt_notice[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><select name="opt_use[]"><option value="1">Y</option><optoin value="0">N</option></select>';
|
||||
$str .= '<td><input type="text" id="opt_amount[]" name="opt_amount[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><input type="text" id="opt_qty[]" name="opt_qty[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><input type="text" id="opt_notice[]" name="opt_notice[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><select id="opt_use[]" name="opt_use[]"><option value="1">Y</option><optoin value="0">N</option></select>';
|
||||
$str .= '</tr>';
|
||||
}
|
||||
}
|
||||
@ -158,7 +158,7 @@ echo $str;
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
// 모두선택
|
||||
$('input[name=all_check]').click(function() {
|
||||
$('input[id="all_check" name="all_check"]').click(function() {
|
||||
if($(this).is(':checked')) {
|
||||
$('input[name^=list_check]').attr('checked', true);
|
||||
} else {
|
||||
@ -168,10 +168,10 @@ $(document).ready(function() {
|
||||
|
||||
// 일괄수정
|
||||
$('button#common_modify').click(function() {
|
||||
var common_amount = $.trim($('input[name=common_amount]').val());
|
||||
var common_qty = $.trim($('input[name=common_qty]').val());
|
||||
var common_notice = $.trim($('input[name=common_notice]').val());
|
||||
var common_use = $('select[name=common_use]').val();
|
||||
var common_amount = $.trim($('input[id="common_amount" name="common_amount"]').val());
|
||||
var common_qty = $.trim($('input[id="common_qty" name="common_qty"]').val());
|
||||
var common_notice = $.trim($('input[id="common_notice" name="common_notice"]').val());
|
||||
var common_use = $('select[id="common_use" name="common_use"]').val();
|
||||
|
||||
if(common_amount == '' && common_qty == '' && common_notice == '' && common_use == '') {
|
||||
alert('추가금액, 재고수량, 통보수량, 사용여부 중 1개 이상의 값을 입력해 주세요.');
|
||||
|
||||
@ -41,16 +41,16 @@ include_once ($g4['path'].'/head.sub.php');
|
||||
<th width="450">옵션항목(,로 구분)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="it_opt1_subject" class="it_opt_subject" value="" size="15" /></td>
|
||||
<td><input type="text" name="it_opt1" class="it_opt" value="" size="50" /></td>
|
||||
<td><input type="text" id="it_opt1_subject" name="it_opt1_subject" class="it_opt_subject" value="" size="15" /></td>
|
||||
<td><input type="text" id="it_opt1" name="it_opt1" class="it_opt" value="" size="50" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="it_opt2_subject" class="it_opt_subject" value="" size="15" /></td>
|
||||
<td><input type="text" name="it_opt2" class="it_opt" value="" size="50" /></td>
|
||||
<td><input type="text" id="it_opt2_subject" name="it_opt2_subject" class="it_opt_subject" value="" size="15" /></td>
|
||||
<td><input type="text" id="it_opt2" name="it_opt2" class="it_opt" value="" size="50" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="text" name="it_opt3_subject" class="it_opt_subject" value="" size="15" /></td>
|
||||
<td><input type="text" name="it_opt3" class="it_opt" value="" size="50" /></td>
|
||||
<td><input type="text" id="it_opt3_subject" name="it_opt3_subject" class="it_opt_subject" value="" size="15" /></td>
|
||||
<td><input type="text" id="it_opt3" name="it_opt3" class="it_opt" value="" size="50" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" height="50" align="center" /><input type="submit" value=" 목록생성 " /></td>
|
||||
@ -68,12 +68,12 @@ var it_id = '<?php echo $it_id; ?>';
|
||||
$(document).ready(function() {
|
||||
var $opener = window.opener;
|
||||
|
||||
$('input[name=it_opt1_subject]').val($opener.$('input[name=it_opt1_subject]').val());
|
||||
$('input[name=it_opt2_subject]').val($opener.$('input[name=it_opt2_subject]').val());
|
||||
$('input[name=it_opt3_subject]').val($opener.$('input[name=it_opt3_subject]').val());
|
||||
$('input[name=it_opt1]').val($opener.$('input[name=it_opt1]').val());
|
||||
$('input[name=it_opt2]').val($opener.$('input[name=it_opt2]').val());
|
||||
$('input[name=it_opt3]').val($opener.$('input[name=it_opt3]').val());
|
||||
$('input[id="it_opt1_subject" name="it_opt1_subject"]').val($opener.$('input[id="it_opt1_subject" name="it_opt1_subject"]').val());
|
||||
$('input[id="it_opt2_subject" name="it_opt2_subject"]').val($opener.$('input[id="it_opt2_subject" name="it_opt2_subject"]').val());
|
||||
$('input[id="it_opt3_subject" name="it_opt3_subject"]').val($opener.$('input[id="it_opt3_subject" name="it_opt3_subject"]').val());
|
||||
$('input[id="it_opt1" name="it_opt1"]').val($opener.$('input[id="it_opt1" name="it_opt1"]').val());
|
||||
$('input[id="it_opt2" name="it_opt2"]').val($opener.$('input[id="it_opt2" name="it_opt2"]').val());
|
||||
$('input[id="it_opt3" name="it_opt3"]').val($opener.$('input[id="it_opt3" name="it_opt3"]').val());
|
||||
|
||||
optionTableMake('');
|
||||
|
||||
@ -181,21 +181,21 @@ $(document).ready(function() {
|
||||
}
|
||||
|
||||
if(opt1) {
|
||||
opt1_subject = $('input[name=it_opt1_subject]').val();
|
||||
opt1_subject = $('input[id="it_opt1_subject" name="it_opt1_subject"]').val();
|
||||
}
|
||||
if(opt2) {
|
||||
opt2_subject = $('input[name=it_opt2_subject]').val();
|
||||
opt2_subject = $('input[id="it_opt2_subject" name="it_opt2_subject"]').val();
|
||||
}
|
||||
if(opt3) {
|
||||
opt3_subject = $('input[name=it_opt3_subject]').val();
|
||||
opt3_subject = $('input[id="it_opt3_subject" name="it_opt3_subject"]').val();
|
||||
}
|
||||
|
||||
$opener.$('input[name=it_opt1_subject]').val(opt1_subject);
|
||||
$opener.$('input[name=it_opt2_subject]').val(opt2_subject);
|
||||
$opener.$('input[name=it_opt3_subject]').val(opt3_subject);
|
||||
$opener.$('input[name=it_opt1]').val(opt1);
|
||||
$opener.$('input[name=it_opt2]').val(opt2);
|
||||
$opener.$('input[name=it_opt3]').val(opt3);
|
||||
$opener.$('input[id="it_opt1_subject" name="it_opt1_subject"]').val(opt1_subject);
|
||||
$opener.$('input[id="it_opt2_subject" name="it_opt2_subject"]').val(opt2_subject);
|
||||
$opener.$('input[id="it_opt3_subject" name="it_opt3_subject"]').val(opt3_subject);
|
||||
$opener.$('input[id="it_opt1" name="it_opt1"]').val(opt1);
|
||||
$opener.$('input[id="it_opt2" name="it_opt2"]').val(opt2);
|
||||
$opener.$('input[id="it_opt3" name="it_opt3"]').val(opt3);
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
@ -49,22 +49,22 @@ $qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search";
|
||||
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
?>
|
||||
|
||||
<form name=flist style="margin:0px;">
|
||||
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
|
||||
<input type=hidden name=page value="<? echo $page ?>">
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<form id="flist" name="flist" style="margin:0px;">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<table>
|
||||
<tr>
|
||||
<td width=20%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=70% align=center>
|
||||
<select name=sel_field>
|
||||
<select id="sel_field" name="sel_field">
|
||||
<option value='a.od_id'>주문번호
|
||||
<option value='cd_app_no'>승인번호
|
||||
<option value='cd_opt01'>결제자
|
||||
</select>
|
||||
<? if ($sel_field) echo "<script> document.flist.sel_field.value = '$sel_field';</script>"; ?>
|
||||
|
||||
<input type=text name=search value='<? echo $search ?>' autocomplete="off">
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="text" id="search" name="search" value='<? echo $search ?>' autocomplete="off">
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=20% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
|
||||
@ -135,16 +135,16 @@ $result = sql_query($sql);
|
||||
</table>
|
||||
|
||||
|
||||
<form name=frmorderform method=post action='' style="margin:0px;">
|
||||
<input type=hidden name=ct_status value=''>
|
||||
<input type=hidden name=od_id value='<? echo $od_id ?>'>
|
||||
<input type=hidden name=mb_id value='<? echo $od['mb_id'] ?>'>
|
||||
<input type=hidden name=od_email value='<? echo $od['od_email'] ?>'>
|
||||
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
|
||||
<input type=hidden name=sort2 value="<? echo $sort2 ?>">
|
||||
<input type=hidden name=sel_field value="<? echo $sel_field ?>">
|
||||
<input type=hidden name=search value="<? echo $search ?>">
|
||||
<input type=hidden name=page value="<? echo $page ?>">
|
||||
<form id="frmorderform" name="frmorderform" method=post action='' style="margin:0px;">
|
||||
<input type="hidden" id="ct_status" name="ct_status" value=''>
|
||||
<input type="hidden" id="od_id" name="od_id" value='<? echo $od_id ?>'>
|
||||
<input type="hidden" id="mb_id" name="mb_id" value='<? echo $od['mb_id'] ?>'>
|
||||
<input type="hidden" id="od_email" name="od_email" value='<? echo $od['od_email'] ?>'>
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" id="sel_field" name="sel_field" value="<? echo $sel_field ?>">
|
||||
<input type="hidden" id="search" name="search" value="<? echo $search ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<colgroup width=50>
|
||||
<colgroup width=''>
|
||||
@ -158,7 +158,7 @@ $result = sql_query($sql);
|
||||
<colgroup width=50>
|
||||
<tr><td colspan=9 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr align=center class=ht>
|
||||
<td>전체<br><input type=checkbox onclick='select_all();'></td>
|
||||
<td>전체<br><input type="checkbox" onclick='select_all();'></td>
|
||||
<td>상품명</td>
|
||||
<td>상태</td>
|
||||
<td>수량</td>
|
||||
@ -189,7 +189,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
$list = $i%2;
|
||||
echo "
|
||||
<tr class='list$list'>
|
||||
<td align=center title='{$row['ct_id']}'><input type=hidden name=ct_id[$i] value='{$row['ct_id']}'><input type=checkbox id='ct_chk_{$i}' name='ct_chk[{$i}]' value='1'></td>
|
||||
<td align=center title='{$row['ct_id']}'><input type="hidden" id="ct_id" name="ct_id"[$i] value='{$row['ct_id']}'><input type="checkbox" id='ct_chk_{$i}' name='ct_chk[{$i}]' value='1'></td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><table width='100%'><tr><td width=40 align=center>$image</td><td>$it_name</td></tr></table></td>
|
||||
<td align=center>{$row['ct_status']}</td>
|
||||
<td align=center>$row[ct_qty]</td>
|
||||
@ -218,7 +218,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
</td>
|
||||
<td colspan=3>주문일시 : <?=substr($od['od_time'],0,16)?> (<?=get_yoil($od['od_time']);?>)</td>
|
||||
<td colspan=3 align=right>
|
||||
<input type=hidden name="chk_cnt" value="<? echo $i ?>">
|
||||
<input type="hidden" id="chk_cnt" name="chk_cnt" value="<? echo $i ?>">
|
||||
<b>주문합계 : <? echo number_format($t_ct_amount['합계']); ?>원</B></td>
|
||||
<? //echo number_format($t_ct_point[합계]); ?>
|
||||
</tr>
|
||||
@ -276,15 +276,15 @@ if ($od['od_receipt_point'] > 0)
|
||||
|
||||
|
||||
<p>
|
||||
<form name=frmorderreceiptform method=post action="./orderreceiptupdate.php" autocomplete=off style="margin:0px;">
|
||||
<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']?>">
|
||||
<form id="frmorderreceiptform" name="frmorderreceiptform" method=post action="./orderreceiptupdate.php" autocomplete=off style="margin:0px;">
|
||||
<input type="hidden" id="od_id" name="od_id" value="<?=$od_id?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" id="sel_field" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" id="search" name="search" value="<?=$search?>">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<input type="hidden" id="od_name" name="od_name" value="<?=$od['od_name']?>">
|
||||
<input type="hidden" id="od_hp" name="od_hp" value="<?=$od['od_hp']?>">
|
||||
<table border=0 cellpadding=0 cellspacing=0 width=100%>
|
||||
<tr>
|
||||
<td width=49% valign=top>
|
||||
@ -430,17 +430,17 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td>주문자 배송비</td>
|
||||
<!-- <td><? echo number_format($od[od_send_cost]) ?>원</td> -->
|
||||
<td><input type=text name='od_send_cost' value='<?=$od['od_send_cost']?>' class=ed size=10 style='text-align:right;'>원
|
||||
<td><input type="text" id="od_send_cost" name="od_send_cost" value='<?=$od['od_send_cost']?>' class=ed size=10 style='text-align:right;'>원
|
||||
<?=help("주문취소시 배송비는 취소되지 않으므로 이 배송비를 0으로 설정하여 미수금을 맞추십시오.");?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>배송비할인</td>
|
||||
<td><input type=text name='od_send_coupon' value='<?=$od['od_send_coupon']?>' class=ed size=10 style='text-align:right;'>원
|
||||
<td><input type="text" id="od_send_coupon" name="od_send_coupon" value='<?=$od['od_send_coupon']?>' class=ed size=10 style='text-align:right;'>원
|
||||
<?=help("주문취소시 배송비할인은 취소되지 않으므로 이 배송비할인을 0으로 설정하여 미수금을 맞추십시오.");?></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>추가배송비</td>
|
||||
<td><input type=text name='od_send_cost_area' value='<?=$od['od_send_cost_area']?>' class=ed size=10 style='text-align:right;'>원
|
||||
<td><input type="text" id="od_send_cost_area" name="od_send_cost_area" value='<?=$od['od_send_cost_area']?>' class=ed size=10 style='text-align:right;'>원
|
||||
<?=help("주문취소시 추가배송비는 취소되지 않으므로 이 추가배송비를 0으로 설정하여 미수금을 맞추십시오.");?></td>
|
||||
</tr>
|
||||
<? if ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '가상계좌' || $od['od_settle_case'] == '계좌이체') {
|
||||
@ -478,7 +478,7 @@ if ($od['od_receipt_point'] > 0)
|
||||
{
|
||||
// 은행계좌를 배열로 만든후
|
||||
$str = explode("\n", $default['de_bank_account']);
|
||||
$bank_account = "\n<select name=od_bank_account>\n";
|
||||
$bank_account = "\n<select id="od_bank_account" name="od_bank_account">\n";
|
||||
$bank_account .= "<option value=''>------------ 선택하십시오 ------------\n";
|
||||
for ($i=0; $i<count($str); $i++) {
|
||||
$str[$i] = str_replace("\r", "", $str[$i]);
|
||||
@ -487,7 +487,7 @@ if ($od['od_receipt_point'] > 0)
|
||||
$bank_account .= "</select> ";
|
||||
}
|
||||
else if ($od['od_settle_case'] == '가상계좌')
|
||||
$bank_account = $od['od_bank_account'] . "<input type='hidden' name='od_bank_account' value='{$od['od_bank_account']}'>";
|
||||
$bank_account = $od['od_bank_account'] . "<input type="hidden" id="od_bank_account" name="od_bank_account" value='{$od['od_bank_account']}'>";
|
||||
else if ($od['od_settle_case'] == '계좌이체')
|
||||
$bank_account = $od['od_settle_case'];
|
||||
?>
|
||||
@ -507,7 +507,7 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td><?=$od['od_settle_case']?> 입금액</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_receipt_bank size=10
|
||||
<input type="text" class=ed id="od_receipt_bank" name="od_receipt_bank" size=10
|
||||
value='<? echo $od['od_receipt_amount'] ?>'>원
|
||||
<?
|
||||
if ($od['od_settle_case'] == '계좌이체' || $od['od_settle_case'] == '가상계좌')
|
||||
@ -521,18 +521,18 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td>입금자명</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_deposit_name
|
||||
<input type="text" class=ed id="od_deposit_name" name="od_deposit_name"
|
||||
value='<? echo $od['od_deposit_name'] ?>'>
|
||||
<? if ($default['de_sms_use3']) { ?>
|
||||
<input type=checkbox name=od_sms_ipgum_check> SMS 문자전송
|
||||
<input type="checkbox" id="od_sms_ipgum_check" name="od_sms_ipgum_check"> SMS 문자전송
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>입금 확인일시</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_receipt_time maxlength=19 value='<? echo is_null_time($od['od_receipt_time']) ? "" : $od['od_receipt_time']; ?>'>
|
||||
<input type=checkbox name=od_bank_chk
|
||||
<input type="text" class=ed id="od_receipt_time" name="od_receipt_time" maxlength=19 value='<? echo is_null_time($od['od_receipt_time']) ? "" : $od['od_receipt_time']; ?>'>
|
||||
<input type="checkbox" id="od_bank_chk" name="od_bank_chk"
|
||||
value="<? echo date("Y-m-d H:i:s", $g4['server_time']); ?>"
|
||||
onclick="if (this.checked == true) this.form.od_receipt_time.value=this.form.od_bank_chk.value; else this.form.od_receipt_time.value = this.form.od_receipt_time.defaultValue;">현재 시간
|
||||
</td>
|
||||
@ -548,7 +548,7 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td><?=$od['od_settle_case']?> 결제액</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_receipt_amount size=10 value='<? echo $od['od_receipt_amount'] ?>'>원
|
||||
<input type="text" class=ed id="od_receipt_amount" name="od_receipt_amount" size=10 value='<? echo $od['od_receipt_amount'] ?>'>원
|
||||
<?
|
||||
$pg_url = $g4['yc4_cardpg'][$default['de_card_pg']];
|
||||
echo " <a href='$pg_url' target=_new>결제대행사</a>";
|
||||
@ -558,8 +558,8 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td>휴대폰 결제일시</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_receipt_time size=19 maxlength=19 value='<? echo is_null_time($od['od_receipt_time']) ? "" : $od['od_receipt_time']; ?>'>
|
||||
<input type=checkbox name=od_card_chk
|
||||
<input type="text" class=ed id="od_receipt_time" name="od_receipt_time" size=19 maxlength=19 value='<? echo is_null_time($od['od_receipt_time']) ? "" : $od['od_receipt_time']; ?>'>
|
||||
<input type="checkbox" id="od_card_chk" name="od_card_chk"
|
||||
value="<? echo date("Y-m-d H:i:s", $g4['server_time']); ?>"
|
||||
onclick="if (this.checked == true) this.form.od_receipt_time.value=this.form.od_card_chk.value; else this.form.od_receipt_time.value = this.form.od_receipt_time.defaultValue;">현재 시간
|
||||
</td>
|
||||
@ -571,7 +571,7 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td bgcolor=#F8FFED>신용카드 결제액</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_receipt_amount size=10
|
||||
<input type="text" class=ed id="od_receipt_amount" name="od_receipt_amount" size=10
|
||||
value='<? echo $od['od_receipt_amount'] ?>'>원
|
||||
|
||||
<?
|
||||
@ -583,8 +583,8 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td bgcolor=#F8FFED>카드 승인일시</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_receipt_time size=19 maxlength=19 value='<? echo is_null_time($od['od_receipt_time']) ? "" : $od['od_receipt_time']; ?>'>
|
||||
<input type=checkbox name=od_card_chk
|
||||
<input type="text" class=ed id="od_receipt_time" name="od_receipt_time" size=19 maxlength=19 value='<? echo is_null_time($od['od_receipt_time']) ? "" : $od['od_receipt_time']; ?>'>
|
||||
<input type="checkbox" id="od_card_chk" name="od_card_chk"
|
||||
value="<? echo date("Y-m-d H:i:s", $g4['server_time']); ?>"
|
||||
onclick="if (this.checked == true) this.form.od_receipt_time.value=this.form.od_card_chk.value; else this.form.od_receipt_time.value = this.form.od_receipt_time.defaultValue;">현재 시간
|
||||
</td>
|
||||
@ -592,7 +592,7 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td bgcolor=#F8FFED>카드 승인취소</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_card_cancel size=10 value='<? echo $od['od_card_cancel'] ?>'>원
|
||||
<input type="text" class=ed id="od_card_cancel" name="od_card_cancel" size=10 value='<? echo $od['od_card_cancel'] ?>'>원
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=#84C718></td></tr>
|
||||
@ -601,25 +601,25 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td>포인트 결제액</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_receipt_point size=10 value='<? echo $od['od_receipt_point'] ?>'>점
|
||||
<input type="text" class=ed id="od_receipt_point" name="od_receipt_point" size=10 value='<? echo $od['od_receipt_point'] ?>'>점
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>결제금액 할인</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_coupon_amount size=10 value='<? echo $od['od_coupon_amount'] ?>'>원
|
||||
<input type="text" class=ed id="od_coupon_amount" name="od_coupon_amount" size=10 value='<? echo $od['od_coupon_amount'] ?>'>원
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>DC</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_dc_amount size=10 value='<? echo $od['od_dc_amount'] ?>'>원
|
||||
<input type="text" class=ed id="od_dc_amount" name="od_dc_amount" size=10 value='<? echo $od['od_dc_amount'] ?>'>원
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>환불액</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_refund_amount size=10 value='<? echo $od['od_refund_amount'] ?>'>원
|
||||
<input type="text" class=ed id="od_refund_amount" name="od_refund_amount" size=10 value='<? echo $od['od_refund_amount'] ?>'>원
|
||||
<?=help("카드승인취소를 입력한 경우에는 중복하여 입력하면 미수금이 틀려집니다.", 0, -100);?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -628,7 +628,7 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td>배송회사</td>
|
||||
<td>
|
||||
<select name=dl_id>
|
||||
<select id="dl_id" name="dl_id">
|
||||
<option value=''>배송시 선택하세요.
|
||||
<?
|
||||
$sql = "select * from {$g4['yc4_delivery_table']} order by dl_order desc, dl_id desc ";
|
||||
@ -641,18 +641,18 @@ if ($od['od_receipt_point'] > 0)
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>운송장번호</td>
|
||||
<td><input type=text class=ed name=od_invoice
|
||||
<td><input type="text" class=ed id="od_invoice" name="od_invoice"
|
||||
value='<? echo $od['od_invoice'] ?>'>
|
||||
<? if ($default['de_sms_use4']) { ?>
|
||||
<input type=checkbox name=od_sms_baesong_check> SMS 문자전송
|
||||
<input type="checkbox" id="od_sms_baesong_check" name="od_sms_baesong_check"> SMS 문자전송
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>배송일시</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_invoice_time maxlength=19 value='<? echo is_null_time($od['od_invoice_time']) ? "" : $od['od_invoice_time']; ?>'>
|
||||
<input type=checkbox name=od_invoice_chk
|
||||
<input type="text" class=ed id="od_invoice_time" name="od_invoice_time" maxlength=19 value='<? echo is_null_time($od['od_invoice_time']) ? "" : $od['od_invoice_time']; ?>'>
|
||||
<input type="checkbox" id="od_invoice_chk" name="od_invoice_chk"
|
||||
value="<? 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;">현재 시간
|
||||
</td>
|
||||
@ -660,7 +660,7 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr class=ht>
|
||||
<td>메일발송</td>
|
||||
<td>
|
||||
<input type=checkbox name=od_send_mail value='1'>예
|
||||
<input type="checkbox" id="od_send_mail" name="od_send_mail" value='1'>예
|
||||
<?=help("주문자님께 입금, 배송내역을 메일로 발송합니다.\n\n메일발송후 상점메모에 메일발송 시간을 남겨 놓습니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -673,28 +673,28 @@ if ($od['od_receipt_point'] > 0)
|
||||
?>
|
||||
|
||||
<br>
|
||||
<input type=submit class=btn1 value='결제/배송내역 수정'>
|
||||
<input type=button class=btn1 value=' 목 록 ' onclick="document.location.href='./orderlist.php?<?=$qstr?>';">
|
||||
<input type="submit" class=btn1 value='결제/배송내역 수정'>
|
||||
<input type="button" class=btn1 value=' 목 록 ' onclick="document.location.href='./orderlist.php?<?=$qstr?>';">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<?=subtitle("상점메모")?>
|
||||
<form name=frmorderform2 method=post action="./orderformupdate.php" style="margin:0px;">
|
||||
<form id="frmorderform2" name="frmorderform2" method=post action="./orderformupdate.php" style="margin:0px;">
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<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" id="od_id" name="od_id" value="<?=$od_id?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" id="sel_field" name="sel_field" value="<?=$sel_field?>">
|
||||
<input type="hidden" id="search" name="search" value="<?=$search?>">
|
||||
<input type="hidden" id="page" name="page" value="<?=$page?>">
|
||||
<tr>
|
||||
<td width=90%>
|
||||
<textarea name="od_shop_memo" rows=8 style='width:99%;' class=ed><? echo stripslashes($od['od_shop_memo']) ?></textarea>
|
||||
<textarea id="od_shop_memo" name="od_shop_memo" rows=8 style='width:99%;' class=ed><? echo stripslashes($od['od_shop_memo']) ?></textarea>
|
||||
</td>
|
||||
<td width=10%>
|
||||
<input type=submit class=btn1 value='메모 수정'>
|
||||
<input type="submit" class=btn1 value='메모 수정'>
|
||||
<br>
|
||||
<?=help("이 주문에 대해 일어난 내용을 메모하는곳입니다.\n\n위에서 메일발송한 내역도 이곳에 저장합니다.", -150);?>
|
||||
</td>
|
||||
@ -714,28 +714,28 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr><td colspan=2 height=1 bgcolor=CCCCCC></td></tr>
|
||||
<tr class=ht>
|
||||
<td>이름</td>
|
||||
<td><input type=text class=ed name=od_name value='<?=$od['od_name']?>' required itemname='주문하신 분 이름'></td>
|
||||
<td><input type="text" class=ed id="od_name" name="od_name" value='<?=$od['od_name']?>' required itemname='주문하신 분 이름'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>전화번호</td>
|
||||
<td><input type=text class=ed name=od_tel value='<?=$od['od_tel']?>' required itemname='주문하신 분 전화번호'></td>
|
||||
<td><input type="text" class=ed id="od_tel" name="od_tel" value='<?=$od['od_tel']?>' required itemname='주문하신 분 전화번호'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>핸드폰</td>
|
||||
<td><input type=text class=ed name=od_hp value='<?=$od['od_hp']?>'></td>
|
||||
<td><input type="text" class=ed id="od_hp" name="od_hp" value='<?=$od['od_hp']?>'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>주소</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_zip1 size=4 readonly required itemname='우편번호 앞자리' value='<?=$od['od_zip1']?>'> -
|
||||
<input type=text class=ed name=od_zip2 size=4 readonly required itemname='우편번호 뒷자리' value='<?=$od['od_zip2']?>'>
|
||||
<input type="text" class=ed id="od_zip1" name="od_zip1" size=4 readonly required itemname='우편번호 앞자리' value='<?=$od['od_zip1']?>'> -
|
||||
<input type="text" class=ed id="od_zip2" name="od_zip2" size=4 readonly required itemname='우편번호 뒷자리' value='<?=$od['od_zip2']?>'>
|
||||
<a href="javascript:;" onclick="win_zip('frmorderform2', 'od_zip1', 'od_zip2', 'od_addr1', 'od_addr2');"><img src="<?=$g4['shop_admin_path']?>/img/btn_zip_find.gif" border=0 align=absmiddle></a><br>
|
||||
<input type=text class=ed name=od_addr1 size=50 readonly required itemname='주소' value='<?=$od['od_addr1']?>'><br>
|
||||
<input type=text class=ed name=od_addr2 size=50 required itemname='상세주소' value='<?=$od['od_addr2']?>'></td>
|
||||
<input type="text" class=ed id="od_addr1" name="od_addr1" size=50 readonly required itemname='주소' value='<?=$od['od_addr1']?>'><br>
|
||||
<input type="text" class=ed id="od_addr2" name="od_addr2" size=50 required itemname='상세주소' value='<?=$od['od_addr2']?>'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>E-mail</td>
|
||||
<td><input type=text class=ed name=od_email size=30 email required itemname='주문하신 분 E-mail' value='<?=$od['od_email']?>'></td>
|
||||
<td><input type="text" class=ed id="od_email" name="od_email" size=30 email required itemname='주문하신 분 E-mail' value='<?=$od['od_email']?>'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>IP Address</td>
|
||||
@ -755,31 +755,31 @@ if ($od['od_receipt_point'] > 0)
|
||||
<tr><td colspan=2 height=1 bgcolor=CCCCCC></td></tr>
|
||||
<tr class=ht>
|
||||
<td>이름</td>
|
||||
<td><input type=text class=ed name=od_b_name value='<?=$od['od_b_name']?>' required itemname='받으시는 분 이름'></td>
|
||||
<td><input type="text" class=ed id="od_b_name" name="od_b_name" value='<?=$od['od_b_name']?>' required itemname='받으시는 분 이름'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>전화번호</td>
|
||||
<td><input type=text class=ed name=od_b_tel value='<?=$od['od_b_tel']?>' required itemname='받으시는 분 전화번호'></td>
|
||||
<td><input type="text" class=ed id="od_b_tel" name="od_b_tel" value='<?=$od['od_b_tel']?>' required itemname='받으시는 분 전화번호'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>핸드폰</td>
|
||||
<td><input type=text class=ed name=od_b_hp value='<?=$od['od_b_hp']?>'></td>
|
||||
<td><input type="text" class=ed id="od_b_hp" name="od_b_hp" value='<?=$od['od_b_hp']?>'></td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>주소</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_b_zip1 size=4 readonly required itemname='우편번호 앞자리' value='<?=$od['od_b_zip1']?>'> -
|
||||
<input type=text class=ed name=od_b_zip2 size=4 readonly required itemname='우편번호 뒷자리' value='<?=$od['od_b_zip2']?>'>
|
||||
<input type="text" class=ed id="od_b_zip1" name="od_b_zip1" size=4 readonly required itemname='우편번호 앞자리' value='<?=$od['od_b_zip1']?>'> -
|
||||
<input type="text" class=ed id="od_b_zip2" name="od_b_zip2" size=4 readonly required itemname='우편번호 뒷자리' value='<?=$od['od_b_zip2']?>'>
|
||||
<a href="javascript:;" onclick="win_zip('frmorderform2', 'od_b_zip1', 'od_b_zip2', 'od_b_addr1', 'od_b_addr2');"><img src="<?=$g4[shop_admin_path]?>/img/btn_zip_find.gif" border=0 align=absmiddle></a><br>
|
||||
<input type=text class=ed name=od_b_addr1 size=50 readonly required itemname='주소' value='<?=$od['od_b_addr1']?>'><br>
|
||||
<input type=text class=ed name=od_b_addr2 size=50 required itemname='상세주소' value='<?=$od['od_b_addr2']?>'></td>
|
||||
<input type="text" class=ed id="od_b_addr1" name="od_b_addr1" size=50 readonly required itemname='주소' value='<?=$od['od_b_addr1']?>'><br>
|
||||
<input type="text" class=ed id="od_b_addr2" name="od_b_addr2" size=50 required itemname='상세주소' value='<?=$od['od_b_addr2']?>'></td>
|
||||
</tr>
|
||||
|
||||
<? if ($default['de_hope_date_use']) { ?>
|
||||
<tr class=ht>
|
||||
<td>희망배송일</td>
|
||||
<td>
|
||||
<input type=text class=ed name=od_hope_date value='<?=$od['od_hope_date']?>' maxlength=10 minlength=10 required itemname='희망배송일'>
|
||||
<input type="text" class=ed id="od_hope_date" name="od_hope_date" value='<?=$od['od_hope_date']?>' maxlength=10 minlength=10 required itemname='희망배송일'>
|
||||
(<?=get_yoil($od['od_hope_date'])?>)</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
@ -795,9 +795,9 @@ if ($od['od_receipt_point'] > 0)
|
||||
</table>
|
||||
|
||||
<p align=center>
|
||||
<input type=submit class=btn1 value='주소정보 수정'>
|
||||
<input type=button class=btn1 value=' 목 록 ' accesskey='l' onclick="document.location.href='./orderlist.php?<?=$qstr?>';">
|
||||
<input type=button class=btn1 value='주문서 삭제' onclick="del('<?="./orderdelete.php?od_id={$od['od_id']}&mb_id={$od['mb_id']}&$qstr"?>');">
|
||||
<input type="submit" class=btn1 value='주소정보 수정'>
|
||||
<input type="button" class=btn1 value=' 목 록 ' accesskey='l' onclick="document.location.href='./orderlist.php?<?=$qstr?>';">
|
||||
<input type="button" class=btn1 value='주문서 삭제' onclick="del('<?="./orderdelete.php?od_id={$od['od_id']}&mb_id={$od['mb_id']}&$qstr"?>');">
|
||||
</form>
|
||||
|
||||
<script language='javascript'>
|
||||
|
||||
@ -26,7 +26,7 @@ if ($sort1 == "") $sort1 = "od_id";
|
||||
if ($sort2 == "") $sort2 = "desc";
|
||||
|
||||
$sql_common = " from {$g4['yc4_cart_table']} a
|
||||
left join {$g4['yc4_order_table']} b on (a.uq_id=b.od_id)
|
||||
left join {$g4['yc4_order_table']} b on (a.uq_id="b".od_id)
|
||||
$sql_search ";
|
||||
|
||||
// 김선용 200805 : 조인 사용으로 전체카운트가 일정레코드 이상일 때 지연시간 문제가 심각하므로 변경
|
||||
@ -63,16 +63,16 @@ $qstr1 = "sel_field=$sel_field&search=$search&save_search=$search";
|
||||
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<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 ?>">
|
||||
<table>
|
||||
<form id="frmorderlist" name="frmorderlist">
|
||||
<input type="hidden" id="doc" name="doc" value="<? echo $doc ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<tr>
|
||||
<td width=20%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=60% align=center>
|
||||
<select name=sel_field>
|
||||
<select id="sel_field" name="sel_field">
|
||||
<option value='od_id'>주문번호
|
||||
<option value='mb_id'>회원 ID
|
||||
<option value='od_name'>주문자
|
||||
@ -84,9 +84,9 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
<option value='od_deposit_name'>입금자
|
||||
<option value='od_invoice'>운송장번호
|
||||
</select>
|
||||
<input type=hidden name=save_search value='<?=$search?>'>
|
||||
<input type=text name=search value='<? echo $search ?>' autocomplete="off">
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="hidden" id="save_search" name="save_search" value='<?=$search?>'>
|
||||
<input type="text" id="search" name="search" value='<? echo $search ?>' autocomplete="off">
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=20% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
|
||||
@ -26,7 +26,7 @@ if ($sort1 == "") $sort1 = "od_id";
|
||||
if ($sort2 == "") $sort2 = "desc";
|
||||
|
||||
$sql_common = " from $g4[yc4_order_table] a
|
||||
left join $g4[yc4_cart_table] b on (a.on_uid=b.on_uid)
|
||||
left join $g4[yc4_cart_table] b on (a.on_uid="b".on_uid)
|
||||
$sql_search ";
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
@ -51,16 +51,16 @@ $qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&save_search=$
|
||||
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<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 ?>">
|
||||
<table>
|
||||
<form id="frmorderlist" name="frmorderlist">
|
||||
<input type="hidden" id="doc" name="doc" value="<? echo $doc ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<tr>
|
||||
<td width=20%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=60% align=center>
|
||||
<select name=sel_field>
|
||||
<select id="sel_field" name="sel_field">
|
||||
<option value='od_id'>주문번호
|
||||
<option value='mb_id'>회원 ID
|
||||
<option value='od_name'>주문자
|
||||
@ -68,9 +68,9 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
<option value='od_deposit_name'>입금자
|
||||
<option value='od_invoice'>운송장번호
|
||||
</select>
|
||||
<input type=hidden name=save_search value='<?=$search?>'>
|
||||
<input type=text name=search value='<? echo $search ?>' autocomplete="off">
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="hidden" id="save_search" name="save_search" value='<?=$search?>'>
|
||||
<input type="text" id="search" name="search" value='<? echo $search ?>' autocomplete="off">
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=20% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
|
||||
@ -25,7 +25,7 @@ if ($od_send_mail)
|
||||
b.it_opt4_subject,
|
||||
b.it_opt5_subject,
|
||||
b.it_opt6_subject
|
||||
from $g4[yc4_cart_table] a inner join $g4[yc4_item_table] b on (b.it_id=a.it_id)
|
||||
from $g4[yc4_cart_table] a inner join $g4[yc4_item_table] b on (b.it_id="a".it_id)
|
||||
where a.on_uid = '$od[on_uid]'
|
||||
order by a.ct_id ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
@ -13,8 +13,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<?=subtitle($g4[title])?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 border=0 width=100%>
|
||||
<form name=forderprint action="./orderprintresult.php" onsubmit="return forderprintcheck(this);" autocomplete="off" style="margin:0px;">
|
||||
<input type=hidden name=case value="1">
|
||||
<form id="forderprint" name="forderprint" action="./orderprintresult.php" onsubmit="return forderprintcheck(this);" autocomplete="off" style="margin:0px;">
|
||||
<input type="hidden" id="case" name="case" value="1">
|
||||
<tr><td colspan=20 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<colgroup width=100></colgroup>
|
||||
<colgroup width='' bgcolor=#ffffff></colgroup>
|
||||
@ -24,17 +24,17 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<table width=100% cellpadding=4>
|
||||
<tr>
|
||||
<td align=left>
|
||||
<input type='radio' name='csv' value='xls' id='xls1'><label for='xls1'>MS엑셀 XLS 데이터</label>
|
||||
<input type='radio' name='csv' value='csv' id='csv1'><label for='csv1'>MS엑셀 CSV 데이터</label>
|
||||
<input type="radio" id="csv" name="csv" value='xls' id="xls1"><label for='xls1'>MS엑셀 XLS 데이터</label>
|
||||
<input type="radio" id="csv" name="csv" value='csv' id="csv1"><label for='csv1'>MS엑셀 CSV 데이터</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=right>
|
||||
<input type=text name=fr_date id='fr_date' size=10 maxlength=8 value="<?=date("Ymd");?>" class=ed><a href="javascript:win_calendar('fr_date', document.getElementById('fr_date').value, '');"><img src='<?=$g4[path]?>/img/calendar.gif' border=0 align=absmiddle title='달력 - 날짜를 선택하세요'></a>
|
||||
<input type="text" id="fr_date" name="fr_date" id="fr_date" size=10 maxlength=8 value="<?=date("Ymd");?>" class=ed><a href="javascript:win_calendar('fr_date', document.getElementById('fr_date').value, '');"><img src='<?=$g4[path]?>/img/calendar.gif' border=0 align=absmiddle title='달력 - 날짜를 선택하세요'></a>
|
||||
∼
|
||||
<input type=text name=to_date id='to_date' size=10 maxlength=8 value="<?=date("Ymd");?>" class=ed><a href="javascript:win_calendar('to_date', document.getElementById('to_date').value, '');"><img src='<?=$g4[path]?>/img/calendar.gif' border=0 align=absmiddle title='달력 - 날짜를 선택하세요'></a>
|
||||
<input type="text" id="to_date" name="to_date" id="to_date" size=10 maxlength=8 value="<?=date("Ymd");?>" class=ed><a href="javascript:win_calendar('to_date', document.getElementById('to_date').value, '');"><img src='<?=$g4[path]?>/img/calendar.gif' border=0 align=absmiddle title='달력 - 날짜를 선택하세요'></a>
|
||||
|
||||
<select name=ct_status>
|
||||
<select id="ct_status" name="ct_status">
|
||||
<option value='주문'>주문
|
||||
<option value='준비'>상품준비중
|
||||
<option value='배송'>배송
|
||||
@ -45,7 +45,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<option value=''>전체
|
||||
</select>
|
||||
|
||||
<input type=submit class=btn1 value=' 확 인 '>
|
||||
<input type="submit" class=btn1 value=' 확 인 '>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -53,8 +53,8 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
</tr>
|
||||
</form>
|
||||
|
||||
<form name=forderprint action="./orderprintresult.php" onsubmit="return forderprintcheck(this);" autocomplete="off" style="margin:0px;">
|
||||
<input type=hidden name=case value="2">
|
||||
<form id="forderprint" name="forderprint" action="./orderprintresult.php" onsubmit="return forderprintcheck(this);" autocomplete="off" style="margin:0px;">
|
||||
<input type="hidden" id="case" name="case" value="2">
|
||||
<tr><td colspan=20 height=2 bgcolor=#DDDDDD></td></tr>
|
||||
<tr>
|
||||
<td>주문번호구간</td>
|
||||
@ -62,16 +62,16 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<table width=100% cellpadding=4>
|
||||
<tr>
|
||||
<td align=left>
|
||||
<input type='radio' name='csv' value='xls' id='xls2'><label for='xls2'>MS엑셀 XLS 데이터</label>
|
||||
<input type='radio' name='csv' value='csv' id='csv2'><label for='csv2'>MS엑셀 CSV 데이터</label>
|
||||
<input type="radio" id="csv" name="csv" value='xls' id="xls2"><label for='xls2'>MS엑셀 XLS 데이터</label>
|
||||
<input type="radio" id="csv" name="csv" value='csv' id="csv2"><label for='csv2'>MS엑셀 CSV 데이터</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=right>
|
||||
<input type=text name=fr_od_id size=10 maxlength=10 class=ed> 부터
|
||||
<input type=text name=to_od_id size=10 maxlength=10 class=ed> 까지
|
||||
<input type="text" id="fr_od_id" name="fr_od_id" size=10 maxlength=10 class=ed> 부터
|
||||
<input type="text" id="to_od_id" name="to_od_id" size=10 maxlength=10 class=ed> 까지
|
||||
|
||||
<select name=ct_status>
|
||||
<select id="ct_status" name="ct_status">
|
||||
<option value='주문'>주문
|
||||
<option value='준비'>상품준비중
|
||||
<option value='배송'>배송
|
||||
@ -82,7 +82,7 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<option value=''>전체
|
||||
</select>
|
||||
|
||||
<input type=submit class=btn1 value=' 확 인 '>
|
||||
<input type="submit" class=btn1 value=' 확 인 '>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -59,7 +59,7 @@ if ($csv == 'csv')
|
||||
header("Content-charset=$g4[charset]");
|
||||
header('Content-Type: doesn/matter');
|
||||
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Content-Disposition: attachment; filename="' . date("ymd", time()) . '.csv"');
|
||||
header('Content-Disposition: attachment; fileid="' . date(" name="' . date("ymd", time()) . '.csv"');
|
||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||
header('Pragma: public');
|
||||
//echo "우편번호,주소,이름,전화1,전화2,상품명,수량,비고,전하실말씀\n";
|
||||
@ -114,7 +114,7 @@ if ($csv == 'xls')
|
||||
header("Content-charset=$g4[charset]");
|
||||
header('Content-Type: application/vnd.ms-excel');
|
||||
header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Content-Disposition: attachment; filename="' . date("ymd", time()) . '.xls"');
|
||||
header('Content-Disposition: attachment; fileid="' . date(" name="' . date("ymd", time()) . '.xls"');
|
||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||
header('Pragma: public');
|
||||
echo "<html>";
|
||||
|
||||
@ -75,31 +75,31 @@ $qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&save_search=$
|
||||
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
?>
|
||||
|
||||
<form name=frmorderlist style="margin:0px;">
|
||||
<input type=hidden name=doc value="<? echo $doc ?>">
|
||||
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
|
||||
<input type=hidden name=page value="<? echo $page ?>">
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<form id="frmorderlist" name="frmorderlist" style="margin:0px;">
|
||||
<input type="hidden" id="doc" name="doc" value="<? echo $doc ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<table>
|
||||
<tr>
|
||||
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=80% align=center>
|
||||
<!-- <input type=button value='주문' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=주문"?>'">
|
||||
<input type=button value='준비' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=준비"?>'">
|
||||
<input type=button value='배송' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=배송"?>'">
|
||||
<input type=button value='완료' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=완료"?>'">
|
||||
<input type=button value='취소' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=취소"?>'">
|
||||
<input type=button value='반품' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=반품"?>'">
|
||||
<input type=button value='품절' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=품절"?>'"> -->
|
||||
<!-- <input type="button" value='주문' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=주문"?>'">
|
||||
<input type="button" value='준비' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=준비"?>'">
|
||||
<input type="button" value='배송' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=배송"?>'">
|
||||
<input type="button" value='완료' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=완료"?>'">
|
||||
<input type="button" value='취소' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=취소"?>'">
|
||||
<input type="button" value='반품' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=반품"?>'">
|
||||
<input type="button" value='품절' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=품절"?>'"> -->
|
||||
<!-- utf-8 에서 처리되도록 변경 -->
|
||||
<input type=button value='주문' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('주문')?>'">
|
||||
<input type=button value='준비' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('준비')?>'">
|
||||
<input type=button value='배송' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('배송')?>'">
|
||||
<input type=button value='완료' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('완료')?>'">
|
||||
<input type=button value='취소' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('취소')?>'">
|
||||
<input type=button value='반품' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('반품')?>'">
|
||||
<input type=button value='품절' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('품절')?>'">
|
||||
<input type="button" value='주문' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('주문')?>'">
|
||||
<input type="button" value='준비' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('준비')?>'">
|
||||
<input type="button" value='배송' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('배송')?>'">
|
||||
<input type="button" value='완료' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('완료')?>'">
|
||||
<input type="button" value='취소' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('취소')?>'">
|
||||
<input type="button" value='반품' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('반품')?>'">
|
||||
<input type="button" value='품절' class=btn1 onclick="location.href='<?="$_SERVER[PHP_SELF]?sort1=$sort1&sort2=$sort2&sel_field=ct_status&search=".urlencode('품절')?>'">
|
||||
|
||||
<select name=sel_field>
|
||||
<select id="sel_field" name="sel_field">
|
||||
<option value='od_id'>주문번호
|
||||
<option value='od_name'>주문자
|
||||
<option value='mb_id'>회원 ID
|
||||
@ -108,9 +108,9 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
|
||||
<option value='c.ca_id'>분류코드
|
||||
<option value='ct_status'>상태
|
||||
</select>
|
||||
<input type=hidden name=save_search value='<?=$search?>'>
|
||||
<input type=text name=search value='<? echo $search ?>' autocomplete="off">
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
<input type="hidden" id="save_search" name="save_search" value='<?=$search?>'>
|
||||
<input type="text" id="search" name="search" value='<? echo $search ?>' autocomplete="off">
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=10% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
|
||||
@ -15,51 +15,51 @@ include_once(G4_ADMIN_PATH."/admin.head.php");
|
||||
<colgroup width='' bgcolor=#ffffff></colgroup>
|
||||
<tr><td colspan=2 height=2 bgcolor=#0E87F9></td></tr>
|
||||
<tr height=40>
|
||||
<form name=frm_sale_today action='./sale1today.php'>
|
||||
<form id="frm_sale_today" name="frm_sale_today" action='./sale1today.php'>
|
||||
<td>당일 매출현황</td>
|
||||
<td align=right>
|
||||
<input type=text name=date size=8 maxlength=8 value='<? echo date("Ymd", $g4['server_time']) ?>' class=ed>
|
||||
<input type="text" id="date" name="date" size=8 maxlength=8 value='<? echo date("Ymd", $g4['server_time']) ?>' class=ed>
|
||||
일 하루
|
||||
<input type=submit class=btn1 value=' 확 인 '>
|
||||
<input type="submit" class=btn1 value=' 확 인 '>
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<tr height=40>
|
||||
<form name=frm_sale_date action='./sale1date.php'>
|
||||
<form id="frm_sale_date" name="frm_sale_date" action='./sale1date.php'>
|
||||
<td>일별 매출현황</td>
|
||||
<td align=right>
|
||||
<input type=text name=fr_date size=8 maxlength=8 value='<? echo date("Ym01", $g4['server_time']) ?>' class=ed>
|
||||
<input type="text" id="fr_date" name="fr_date" size=8 maxlength=8 value='<? echo date("Ym01", $g4['server_time']) ?>' class=ed>
|
||||
일 부터
|
||||
<input type=text name=to_date size=8 maxlength=8 value='<? echo date("Ymd", $g4['server_time']) ?>' class=ed>
|
||||
<input type="text" id="to_date" name="to_date" size=8 maxlength=8 value='<? echo date("Ymd", $g4['server_time']) ?>' class=ed>
|
||||
일 까지
|
||||
<input type=submit class=btn1 value=' 확 인 '>
|
||||
<input type="submit" class=btn1 value=' 확 인 '>
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<tr height=40>
|
||||
<form name=frm_sale_month action='./sale1month.php'>
|
||||
<form id="frm_sale_month" name="frm_sale_month" action='./sale1month.php'>
|
||||
<td>월별 매출현황</td>
|
||||
<td align=right>
|
||||
<input type=text name=fr_date size=6 maxlength=6 value='<? echo date("Y01", $g4['server_time']) ?>' class=ed>
|
||||
<input type="text" id="fr_date" name="fr_date" size=6 maxlength=6 value='<? echo date("Y01", $g4['server_time']) ?>' class=ed>
|
||||
월 부터
|
||||
<input type=text name=to_date size=6 maxlength=6 value='<? echo date("Ym", $g4['server_time']) ?>' class=ed>
|
||||
<input type="text" id="to_date" name="to_date" size=6 maxlength=6 value='<? echo date("Ym", $g4['server_time']) ?>' class=ed>
|
||||
월 까지
|
||||
<input type=submit class=btn1 value=' 확 인 '>
|
||||
<input type="submit" class=btn1 value=' 확 인 '>
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
<tr height=40>
|
||||
<form name=frm_sale_year action='./sale1year.php'>
|
||||
<form id="frm_sale_year" name="frm_sale_year" action='./sale1year.php'>
|
||||
<td>연별 매출현황</td>
|
||||
<td align=right>
|
||||
<input type=text name=fr_date size=4 maxlength=4 value='<? echo date("Y", $g4['server_time'])-1 ?>' class=ed>
|
||||
<input type="text" id="fr_date" name="fr_date" size=4 maxlength=4 value='<? echo date("Y", $g4['server_time'])-1 ?>' class=ed>
|
||||
년 부터
|
||||
<input type=text name=to_date size=4 maxlength=4 value='<? echo date("Y", $g4['server_time']) ?>' class=ed>
|
||||
<input type="text" id="to_date" name="to_date" size=4 maxlength=4 value='<? echo date("Y", $g4['server_time']) ?>' class=ed>
|
||||
년 까지
|
||||
<input type=submit class=btn1 value=' 확 인 '>
|
||||
<input type="submit" class=btn1 value=' 확 인 '>
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
|
||||
@ -32,15 +32,15 @@ form { display: inline; }
|
||||
<table cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr class="ht">
|
||||
<td width="150">지역명</td>
|
||||
<td><input type="text" name="sc_name" class="ed" size="20" /></td>
|
||||
<td><input type="text" id="sc_name" name="sc_name" class="ed" size="20" /></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>우편번호범위</td>
|
||||
<td><input type="text" name="sc_zip1" class="ed" size="10" maxlength="7" /> ~ <input type="text" name="sc_zip2" class="ed" size="10" maxlength="7" /> <button type="button" id="findzip">우편번호찾기</button></td>
|
||||
<td><input type="text" id="sc_zip1" name="sc_zip1" class="ed" size="10" maxlength="7" /> ~ <input type="text" id="sc_zip2" name="sc_zip2" class="ed" size="10" maxlength="7" /> <button type="button" id="findzip">우편번호찾기</button></td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td>추가배송료</td>
|
||||
<td><input type="text" name="sc_amount" class="ed" size="10" />원</td>
|
||||
<td><input type="text" id="sc_amount" name="sc_amount" class="ed" size="10" />원</td>
|
||||
</tr>
|
||||
<tr class="ht">
|
||||
<td colspan="2"><input type="submit" class="btn1" value=" 확 인 " /></td>
|
||||
@ -101,10 +101,10 @@ $(function() {
|
||||
|
||||
$("#fsendcost").submit(function() {
|
||||
var patt = /[^0-9]/g;
|
||||
var name = $.trim($("input[name=sc_name]").val());
|
||||
var zip1 = $.trim($("input[name=sc_zip1]").val()).replace(patt, "");
|
||||
var zip2 = $.trim($("input[name=sc_zip2]").val()).replace(patt, "");
|
||||
var amount = $.trim($("input[name=sc_amount]").val());
|
||||
var name = $.trim($("input[id="sc_name" name="sc_name"]").val());
|
||||
var zip1 = $.trim($("input[id="sc_zip1" name="sc_zip1"]").val()).replace(patt, "");
|
||||
var zip2 = $.trim($("input[id="sc_zip2" name="sc_zip2"]").val()).replace(patt, "");
|
||||
var amount = $.trim($("input[id="sc_amount" name="sc_amount"]").val());
|
||||
|
||||
if(!name) {
|
||||
alert("지역명을 입력해 주세요.");
|
||||
|
||||
@ -64,7 +64,7 @@ form { display: inline; }
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="addr" class="ed" value="<? echo stripslashes($addr); ?>" size="20" />
|
||||
<input type="text" id="addr" name="addr" class="ed" value="<? echo stripslashes($addr); ?>" size="20" />
|
||||
<input type="submit" class="btn1" value=" 검색 " />
|
||||
</td>
|
||||
</tr>
|
||||
@ -73,7 +73,7 @@ form { display: inline; }
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<select name="zipcode">
|
||||
<select id="zipcode" name="zipcode">
|
||||
<? echo $option; ?>
|
||||
</select>
|
||||
</td>
|
||||
@ -86,8 +86,8 @@ form { display: inline; }
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="zip1" class="ed" size="10" /> 부터
|
||||
<input type="text" name="zip2" class="ed" size="10" /> 까지
|
||||
<input type="text" id="zip1" name="zip1" class="ed" size="10" /> 부터
|
||||
<input type="text" id="zip2" name="zip2" class="ed" size="10" /> 까지
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -100,7 +100,7 @@ form { display: inline; }
|
||||
<script>
|
||||
$(function() {
|
||||
$("#fzipcode").submit(function() {
|
||||
var addr = $.trim($("input[name=addr]").val());
|
||||
var addr = $.trim($("input[id="addr" name="addr"]").val());
|
||||
if(addr == "") {
|
||||
alert("주소를 입력해 주세요.");
|
||||
return false;
|
||||
@ -110,7 +110,7 @@ $(function() {
|
||||
});
|
||||
|
||||
$(".addbutton").click(function() {
|
||||
var code = $("select[name=zipcode]").val();
|
||||
var code = $("select[id="zipcode" name="zipcode"]").val();
|
||||
var idx = $(".addbutton").index($(this));
|
||||
|
||||
if(code == "") {
|
||||
@ -122,8 +122,8 @@ $(function() {
|
||||
});
|
||||
|
||||
$("#addzipcode").click(function() {
|
||||
var zip1 = $.trim($("input[name=zip1]").val());
|
||||
var zip2 = $.trim($("input[name=zip2]").val());
|
||||
var zip1 = $.trim($("input[id="zip1" name="zip1"]").val());
|
||||
var zip2 = $.trim($("input[id="zip2" name="zip2"]").val());
|
||||
|
||||
if(zip1 == "" || zip2 == "") {
|
||||
alert("우편번호 범위를 입력해 주세요.");
|
||||
@ -132,8 +132,8 @@ $(function() {
|
||||
|
||||
var $opener = window.opener;
|
||||
|
||||
$opener.$("input[name=sc_zip1]").val(zip1);
|
||||
$opener.$("input[name=sc_zip2]").val(zip2);
|
||||
$opener.$("input[id="sc_zip1" name="sc_zip1"]").val(zip1);
|
||||
$opener.$("input[id="sc_zip2" name="sc_zip2"]").val(zip2);
|
||||
|
||||
self.close();
|
||||
});
|
||||
|
||||
@ -206,23 +206,23 @@ function receive_alldel()
|
||||
</script>
|
||||
|
||||
<? if ($default[de_sms_use] == "icode") { // 아이코드 사용 ?>
|
||||
<form action="./smssendicode.php" name="smsform" method=post autocomplete=off>
|
||||
<input type="hidden" name="receive_number" value="">
|
||||
<form action="./smssendicode.php" id="smsform" name="smsform" method=post autocomplete=off>
|
||||
<input type="hidden" id="receive_number" name="receive_number" value="">
|
||||
<? } else { ?>
|
||||
<form action="javascript:alert('SMS 사용을 하고 있지 않아 문자를 전송할 수 없습니다.');" name="smsform" method=post autocomplete=off>
|
||||
<input type="hidden" name="receive_number" value="">
|
||||
<form action="javascript:alert('SMS 사용을 하고 있지 않아 문자를 전송할 수 없습니다.');" id="smsform" name="smsform" method=post autocomplete=off>
|
||||
<input type="hidden" id="receive_number" name="receive_number" value="">
|
||||
<? } ?>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table align=center><tr><td><div id=bytes align=center>0 / 80 바이트</div></table>
|
||||
<table align=center><tr><td><div id="bytes" align=center>0 / 80 바이트</div></table>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td align="center" valign="middle"><table width="182" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="184" colspan="3" background="./img/skinL1_top.gif" align=center><bR><br><br>
|
||||
<textarea style='OVERFLOW: hidden; border:solid 0; width:100px; height:80px; background-color:#FFE07E; FONT-SIZE: 9pt; font-family:굴림체;' name=sms_contents cols="16" wrap=virtual ONKEYUP="byte_check(document.smsform.sms_contents, bytes);"></textarea></td>
|
||||
<textarea style='OVERFLOW: hidden; border:solid 0; width:100px; height:80px; background-color:#FFE07E; FONT-SIZE: 9pt; font-family:굴림체;' id="sms_contents" name="sms_contents" cols="16" wrap=virtual ONKEYUP="byte_check(document.smsform.sms_contents, bytes);"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="39"><img src="./img/skinL1_img1.gif" width="39" height="20"></td>
|
||||
@ -250,7 +250,7 @@ function receive_alldel()
|
||||
<tr>
|
||||
<td width="10" align="right"><img src="./img/skinL1_icon.gif" width="8" height="8"></td>
|
||||
<td width="52" align="center" valign="middle">발신번호</td>
|
||||
<td width="102" height="22"> <input name="send_number" type="text" class=ed size="10" value="<?=$send_number?>"></td>
|
||||
<td width="102" height="22"> <input id="send_number" name="send_number" type="text" class=ed size="10" value="<?=$send_number?>"></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
@ -260,8 +260,8 @@ function receive_alldel()
|
||||
<tr>
|
||||
<td width="10" align="right"><img src="./img/skinL1_icon.gif" width="8" height="8"></td>
|
||||
<td width="52" align="center" valign="middle">수신번호</td>
|
||||
<input type=hidden id='keycode'>
|
||||
<td width="70"> <input name="receive_input" type="text" class=ed size="10" onkeydown="document.getElementById('keycode').value=event.keyCode; tel_enter();"></td>
|
||||
<input type="hidden" id="keycode">
|
||||
<td width="70"> <input id="receive_input" name="receive_input" type="text" class=ed size="10" onkeydown="document.getElementById('keycode').value=event.keyCode; tel_enter();"></td>
|
||||
<td width="32" height="20" align="center"><a href="javascript:receive_add();"><img src="./img/skinL1_btnpls.gif" width="27" height="18" border=0></a></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
@ -271,8 +271,8 @@ function receive_alldel()
|
||||
<td><table width="164" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="22" align="right"> </td>
|
||||
<td width="52" align="center" valign="middle"><input type="text" name="count" size="3" class=ed readonly>명</td>
|
||||
<td width="102" rowspan="2"><select name="receive_buffer" size=4 style="font-size: 9pt; border: 0; width:100px;" >
|
||||
<td width="52" align="center" valign="middle"><input type="text" id="count" name="count" size="3" class=ed readonly>명</td>
|
||||
<td width="102" rowspan="2"><select id="receive_buffer" name="receive_buffer" size=4 style="font-size: 9pt; border: 0; width:100px;" >
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -294,19 +294,19 @@ function receive_alldel()
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="12"> </td>
|
||||
<td width="164" height="25" class=small><input type="checkbox" name="reserved_flag" value="true">예약 <select name="reserved_month" style="font-size:8pt">
|
||||
<td width="164" height="25" class=small><input type="checkbox" id="reserved_flag" name="reserved_flag" value="true">예약 <select id="reserved_month" name="reserved_month" style="font-size:8pt">
|
||||
<? for ($i=1; $i<=12; $i++) { echo "<option value='$i'>$i</option>"; } ?>
|
||||
</select>월<select name="reserved_day" style="font-size:8pt">
|
||||
</select>월<select id="reserved_day" name="reserved_day" style="font-size:8pt">
|
||||
<? for ($i=1; $i<=31; $i++) { echo "<option value='$i'>$i</option>"; } ?>
|
||||
</select>일</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td height="23" class=small><select name="reserved_year" style="font-size:8pt">
|
||||
<td height="23" class=small><select id="reserved_year" name="reserved_year" style="font-size:8pt">
|
||||
<? for ($i=date("Y"); $i<=date("Y")+1; $i++) { echo "<option value='$i'>".substr($i,-2)."</option>"; } ?>
|
||||
</select>년<select name="reserved_hour" style="font-size:8pt">
|
||||
</select>년<select id="reserved_hour" name="reserved_hour" style="font-size:8pt">
|
||||
<? for ($i=1; $i<=24; $i++) { echo "<option value='$i'>$i</option>"; } ?>
|
||||
</select>시<select name="reserved_minute" style="font-size:8pt">
|
||||
</select>시<select id="reserved_minute" name="reserved_minute" style="font-size:8pt">
|
||||
<? for ($i=1; $i<=60; $i++) { echo "<option value='$i'>$i</option>"; } ?>
|
||||
</select>분</td>
|
||||
</tr>
|
||||
|
||||
@ -31,13 +31,13 @@ if(!$makemode) {
|
||||
?>
|
||||
|
||||
<table width="650" cellpadding="0" cellspacing="0" border="0">
|
||||
<input type="hidden" name="it_id" value="<? echo $it_id; ?>" />
|
||||
<input type="hidden" name="w" value="<? echo $w; ?>" />
|
||||
<input type="hidden" name="makemode" value="<? echo $makemode; ?>" />
|
||||
<input type="hidden" id="it_id" name="it_id" value="<? echo $it_id; ?>" />
|
||||
<input type="hidden" id="w" name="w" value="<? echo $w; ?>" />
|
||||
<input type="hidden" id="makemode" name="makemode" value="<? echo $makemode; ?>" />
|
||||
<tr>
|
||||
<td colspan="6" height="50">
|
||||
<b>추가금액</b> <input type="text" name="common_amount" value="" size="5" /> <b>재고수량</b> <input type="text" name="common_qty" value="" size="5" /> <b>통보수량</b> <input type="text" name="common_notice" value="" size="5" />
|
||||
<b>사용여부</b> <select name="common_use">
|
||||
<b>추가금액</b> <input type="text" id="common_amount" name="common_amount" value="" size="5" /> <b>재고수량</b> <input type="text" id="common_qty" name="common_qty" value="" size="5" /> <b>통보수량</b> <input type="text" id="common_notice" name="common_notice" value="" size="5" />
|
||||
<b>사용여부</b> <select id="common_use" name="common_use">
|
||||
<option value=''>선택</option>
|
||||
<option value="1">Y</option>
|
||||
<option value="0">N</option>
|
||||
@ -45,7 +45,7 @@ if(!$makemode) {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50"><input type="checkbox" name="all_check" value="1" /></td>
|
||||
<td width="50"><input type="checkbox" id="all_check" name="all_check" value="1" /></td>
|
||||
<th width="150" align="center">추가옵션명</th>
|
||||
<th width="150" align="center">추가옵션항목</th>
|
||||
<th width="75">추가금액</th>
|
||||
@ -61,7 +61,7 @@ if($option_count) {
|
||||
$str .= '<tr>';
|
||||
$sp_id = $list[$i]['sp_id'];
|
||||
|
||||
$str .= '<td><input type="checkbox" name="list_check[]" value="1" /><input type="hidden" name="sp_id[]" value="'. $sp_id . '" /></td>';
|
||||
$str .= '<td><input type="checkbox" id="list_check[]" name="list_check[]" value="1" /><input type="hidden" id="sp_id[]" name="sp_id[]" value="'. $sp_id . '" /></td>';
|
||||
|
||||
if(trim($opt[0]) && trim($opt[1])) {
|
||||
$str .= '<td>' . $opt[0] . '</td>';
|
||||
@ -76,10 +76,10 @@ if($option_count) {
|
||||
$sp_use0 = ' selected="selected"';
|
||||
}
|
||||
|
||||
$str .= '<td><input type="text" name="sp_amount[]" value="' . $list[$i]['sp_amount'] . '" size="5" /></td>';
|
||||
$str .= '<td><input type="text" name="sp_qty[]" value="' . $list[$i]['sp_qty'] . '" size="5" /></td>';
|
||||
$str .= '<td><input type="text" name="sp_notice[]" value="' . $list[$i]['sp_notice'] . '" size="5" /></td>';
|
||||
$str .= '<td><select name="sp_use[]"><option value="1"'.$sp_use1.'>Y</option><option value="0"'.$sp_use0.'>N</option></select>';
|
||||
$str .= '<td><input type="text" id="sp_amount[]" name="sp_amount[]" value="' . $list[$i]['sp_amount'] . '" size="5" /></td>';
|
||||
$str .= '<td><input type="text" id="sp_qty[]" name="sp_qty[]" value="' . $list[$i]['sp_qty'] . '" size="5" /></td>';
|
||||
$str .= '<td><input type="text" id="sp_notice[]" name="sp_notice[]" value="' . $list[$i]['sp_notice'] . '" size="5" /></td>';
|
||||
$str .= '<td><select id="sp_use[]" name="sp_use[]"><option value="1"'.$sp_use1.'>Y</option><option value="0"'.$sp_use0.'>N</option></select>';
|
||||
$str .= '</tr>';
|
||||
}
|
||||
} else {
|
||||
@ -94,13 +94,13 @@ if($option_count) {
|
||||
|
||||
for($k = 0; $k < $sp_opt_count; $k++) {
|
||||
$sp_id = $sp_subj . chr(30) . $sp_opt[$k];
|
||||
$str .= '<td><input type="checkbox" name="list_check[]" value="1" /><input type="hidden" name="sp_id[]" value="'. $sp_id . '" /></td>';
|
||||
$str .= '<td><input type="checkbox" id="list_check[]" name="list_check[]" value="1" /><input type="hidden" id="sp_id[]" name="sp_id[]" value="'. $sp_id . '" /></td>';
|
||||
$str .= '<td>' . $sp_subj . '</td>';
|
||||
$str .= '<td>' . $sp_opt[$k] . '</td>';
|
||||
$str .= '<td><input type="text" name="sp_amount[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><input type="text" name="sp_qty[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><input type="text" name="sp_notice[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><select name="sp_use[]"><option value="1">Y</option><optoin value="0">N</option></select>';
|
||||
$str .= '<td><input type="text" id="sp_amount[]" name="sp_amount[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><input type="text" id="sp_qty[]" name="sp_qty[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><input type="text" id="sp_notice[]" name="sp_notice[]" value="0" size="5" /></td>';
|
||||
$str .= '<td><select id="sp_use[]" name="sp_use[]"><option value="1">Y</option><optoin value="0">N</option></select>';
|
||||
$str .= '</tr>';
|
||||
}
|
||||
}
|
||||
@ -119,7 +119,7 @@ echo $str;
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
// 모두선택
|
||||
$('input[name=all_check]').click(function() {
|
||||
$('input[id="all_check" name="all_check"]').click(function() {
|
||||
if($(this).is(':checked')) {
|
||||
$('input[name^=list_check]').attr('checked', true);
|
||||
} else {
|
||||
@ -129,10 +129,10 @@ $(document).ready(function() {
|
||||
|
||||
// 일괄수정
|
||||
$('button#common_modify').click(function() {
|
||||
var common_amount = $.trim($('input[name=common_amount]').val());
|
||||
var common_qty = $.trim($('input[name=common_qty]').val());
|
||||
var common_notice = $.trim($('input[name=common_notice]').val());
|
||||
var common_use = $('select[name=common_use]').val();
|
||||
var common_amount = $.trim($('input[id="common_amount" name="common_amount"]').val());
|
||||
var common_qty = $.trim($('input[id="common_qty" name="common_qty"]').val());
|
||||
var common_notice = $.trim($('input[id="common_notice" name="common_notice"]').val());
|
||||
var common_use = $('select[id="common_use" name="common_use"]').val();
|
||||
|
||||
if(common_amount == '' && common_qty == '' && common_notice == '' && common_use == '') {
|
||||
alert('추가금액, 재고수량, 통보수량, 사용여부 중 1개 이상의 값을 입력해 주세요.');
|
||||
|
||||
@ -77,8 +77,8 @@ include_once ($g4['path'].'/head.sub.php');
|
||||
if(!$spl_count) {
|
||||
?>
|
||||
<tr>
|
||||
<td><input type="text" name="sp_subject[]" class="sp_subject" value="<? echo $spl_subject[$i]; ?>" size="15" /></td>
|
||||
<td><input type="text" name="sp_option[]" class="sp_option" value="<? echo $spl_item[$i]; ?>" size="50" /></td>
|
||||
<td><input type="text" id="sp_subject[]" name="sp_subject[]" class="sp_subject" value="<? echo $spl_subject[$i]; ?>" size="15" /></td>
|
||||
<td><input type="text" id="sp_option[]" name="sp_option[]" class="sp_option" value="<? echo $spl_item[$i]; ?>" size="50" /></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
@ -92,8 +92,8 @@ include_once ($g4['path'].'/head.sub.php');
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td><input type="text" name="sp_subject[]" class="sp_subject" value="<? echo $spl_subject[$i]; ?>" size="15" /></td>
|
||||
<td><input type="text" name="sp_option[]" class="sp_option" value="<? echo $spl_item[$i]; ?>" size="50" /><? echo $rm_btn; ?></td>
|
||||
<td><input type="text" id="sp_subject[]" name="sp_subject[]" class="sp_subject" value="<? echo $spl_subject[$i]; ?>" size="15" /></td>
|
||||
<td><input type="text" id="sp_option[]" name="sp_option[]" class="sp_option" value="<? echo $spl_item[$i]; ?>" size="50" /><? echo $rm_btn; ?></td>
|
||||
</tr>
|
||||
<?
|
||||
}
|
||||
@ -120,8 +120,8 @@ $(document).ready(function() {
|
||||
// 입력행추가
|
||||
$('#AddRow').click(function() {
|
||||
var tr_content = '<tr>';
|
||||
tr_content += '<td><input type="text" name="sp_subject[]" class="sp_subject" value="" size="15" /></td>';
|
||||
tr_content += '<td><input type="text" name="sp_option[]" class="sp_option" value="" size="50" /> <span class="RowRemove">삭제</span></td>';
|
||||
tr_content += '<td><input type="text" id="sp_subject[]" name="sp_subject[]" class="sp_subject" value="" size="15" /></td>';
|
||||
tr_content += '<td><input type="text" id="sp_option[]" name="sp_option[]" class="sp_option" value="" size="50" /> <span class="RowRemove">삭제</span></td>';
|
||||
tr_content += '</tr>';
|
||||
|
||||
$('#AddRow').closest('tr').before(tr_content);
|
||||
|
||||
@ -46,16 +46,16 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
$qstr1 = "fr_date=$fr_date&to_date=$to_date&sel_ca_id=$sel_ca_id";
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=4 cellspacing=0>
|
||||
<form name=flist>
|
||||
<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 ?>">
|
||||
<table>
|
||||
<form id="flist" name="flist">
|
||||
<input type="hidden" id="doc" name="doc" value="<? echo $doc ?>">
|
||||
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
|
||||
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
|
||||
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
|
||||
<tr>
|
||||
<td width=10%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
|
||||
<td width=80% align=center>
|
||||
<select name="sel_ca_id">
|
||||
<select id="sel_ca_id" name="sel_ca_id">
|
||||
<option value=''>전체분류
|
||||
<?
|
||||
$sql1 = " select ca_id, ca_name from $g4[yc4_category_table] order by ca_id ";
|
||||
@ -70,8 +70,8 @@ $qstr1 = "fr_date=$fr_date&to_date=$to_date&sel_ca_id=$sel_ca_id";
|
||||
</select>
|
||||
<script> document.flist.sel_ca_id.value = '<?=$sel_ca_id?>';</script>
|
||||
|
||||
기간 : <input type=text name=fr_date size=8 maxlength=8 itemname='기간' value='<?=$fr_date?>'> ~ <input type=text name=to_date size=8 maxlength=8 itemname='기간' value='<?=$to_date?>'>
|
||||
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
기간 : <input type="text" id="fr_date" name="fr_date" size=8 maxlength=8 itemname='기간' value='<?=$fr_date?>'> ~ <input type="text" id="to_date" name="to_date" size=8 maxlength=8 itemname='기간' value='<?=$to_date?>'>
|
||||
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
|
||||
</td>
|
||||
<td width=10% align=right>건수 : <? echo $total_count ?> </td>
|
||||
</tr>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?
|
||||
define('G4_CAPTCHA', 1);
|
||||
include_once('./_common.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
include_once(G4_PATH.'/lib/register.lib.php');
|
||||
|
||||
// 불법접근을 막도록 토큰생성
|
||||
@ -108,9 +108,10 @@ $mb_icon = G4_PATH.'/data/member/'.substr($member['mb_id'],0,2).'/'.$member['mb_
|
||||
include_once('./_head.php');
|
||||
|
||||
if ($g4['https_url'])
|
||||
$register_action_url = "{$g4['https_url']}/{$g4['bbs']}/register_form_update.php";
|
||||
//$register_action_url = "{$g4['https_url']}/{$g4['bbs']}/register_form_update.php";
|
||||
$register_action_url = G4_BBS_URL.'/register_form_update.php';
|
||||
else
|
||||
$register_action_url = "{$g4['url']}/{$g4['bbs']}/register_form_update.php";
|
||||
$register_action_url = G4_BBS_URL.'/register_form_update.php';
|
||||
|
||||
$req_nick = !isset($member['mb_nick_date']) || (isset($member['mb_nick_date']) && $member['mb_nick_date'] <= date("Y-m-d", $g4['server_time'] - ($config['cf_nick_modify'] * 86400)));
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?
|
||||
define('G4_CAPTCHA', 1);
|
||||
include_once('./_common.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
include_once(G4_PATH.'/lib/register.lib.php');
|
||||
include_once(G4_PATH.'/lib/mailer.lib.php');
|
||||
|
||||
@ -307,23 +307,23 @@ if ($w == '') {
|
||||
|
||||
|
||||
// 사용자 코드 실행
|
||||
@include_once (G4_PATH.'/skin/member/'.$config['cf_member_skin'].'/register_update.skin.php');
|
||||
@include_once ($member_skin_path.'/register_update.skin.php');
|
||||
|
||||
|
||||
if ($msg)
|
||||
echo '<script>alert(\''.$msg.'\');</script>';
|
||||
|
||||
if ($w == "") {
|
||||
goto_url($g4['bbs_url'].'/register_result.php');
|
||||
goto_url(G4_BBS_URL.'/register_result.php');
|
||||
} else if ($w == 'u') {
|
||||
$row = sql_fetch(" select mb_password from {$g4['member_table']} where mb_id = '{$member[mb_id]}' ");
|
||||
$tmp_password = $row['mb_password'];
|
||||
|
||||
if ($old_email != $mb_email && $config['cf_use_email_certify']) {
|
||||
set_session("ss_mb_id", "");
|
||||
alert('회원 정보가 수정 되었습니다.\n\nE-mail 주소가 변경되었으므로 다시 인증하셔야 합니다.', G4_PATH);
|
||||
alert('회원 정보가 수정 되었습니다.\n\nE-mail 주소가 변경되었으므로 다시 인증하셔야 합니다.', G4_URL);
|
||||
} else {
|
||||
alert('회원 정보가 수정 되었습니다.', $g4['url']);
|
||||
alert('회원 정보가 수정 되었습니다.', G4_URL);
|
||||
/*
|
||||
echo '
|
||||
<html><title>회원정보수정</title><meta http-equiv="Content-Type" content="text/html; charset=$g4[charset]"></html><body>
|
||||
|
||||
@ -105,7 +105,7 @@ tfoot td {border-color:#c9c9c9;background:#f9f9f5;font-weight:bold;text-align:ce
|
||||
caption {padding:0 0 10px;text-align:left}
|
||||
th {padding:12px 0 8px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
|
||||
th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
|
||||
td {padding:10px 5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;word-break:break-all}
|
||||
td {padding:10px 5px 7px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all}
|
||||
table a {color:#000;text-decoration:none}
|
||||
.bo_sideview td {padding:7px 5px} /* 사이드뷰 사용하는 테이블 셀 패딩값 */
|
||||
.empty_table {padding:85px 0;text-align:center}
|
||||
@ -142,7 +142,7 @@ table a {color:#000;text-decoration:none}
|
||||
|
||||
/* ///// 새창 기본 스타일 ///// */
|
||||
.new_win {}
|
||||
.new_win h1 {margin-bottom:20px;padding:20px 20px 10px;background:#fff;font-size:1.2em}
|
||||
.new_win h1 {margin-bottom:20px;padding:20px 20px 10px;border-bottom:1px solid #eee;background:#fff;font-size:1.2em}
|
||||
.new_win table {margin:0 auto 20px;width:93%}
|
||||
.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #515151;background:#484848;list-style:none;zoom:1}
|
||||
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -187,10 +187,11 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
|
||||
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_before li {float:left;margin-left:5px;padding-top:2px}
|
||||
#ol_before #ol_auto {float:left;margin:4px 0 0;padding:0}
|
||||
#ol_before a {color:#000;letter-spacing:-0.1em}
|
||||
#ol_before a {letter-spacing:-0.1em}
|
||||
#ol_svc {padding-top:8px;text-align:right}
|
||||
|
||||
#ol_after_hd {text-align:center}
|
||||
#ol_after_hd a {color:#109ff1}
|
||||
#ol_after_private {margin:7px 0;zoom:1}
|
||||
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_after_private li {float:left}
|
||||
@ -241,10 +242,19 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
|
||||
/* 설문조사 스킨 */
|
||||
#poll {}
|
||||
#poll header {padding:14px 14px 0}
|
||||
#poll header a {color:#109ff1;text-decoration:none}
|
||||
#poll ul {margin:0 0 10px;padding:5px 14px;background:#f7f7f2;list-style:none}
|
||||
#poll li {padding:3px 0}
|
||||
#poll footer {padding:0 14px 14px;text-align:right}
|
||||
|
||||
/* 폼메일 */
|
||||
#formmail textarea {height:100px}
|
||||
|
||||
/* 자기소개 */
|
||||
#profile table {margin-bottom:0}
|
||||
#profile section {margin:0 auto 20px;padding:20px;width:86%}
|
||||
#profile h2 {margin:0}
|
||||
|
||||
/* 최근게시물 스킨 (latest) */
|
||||
.lt {float:left;margin-bottom:20px;padding:20px;width:314px;height:149px}
|
||||
.lt ul {margin:0;padding:0;list-style:none}
|
||||
@ -306,14 +316,13 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
|
||||
.btn_bo_user {float:right;margin:0;padding:0;list-style:none}
|
||||
.btn_bo_user li {float:left;margin-left:5px}
|
||||
#bo_list caption {padding:0;height:0;color:transparent;overflow:hidden} /* ff에서 감추기 위해 color:transparent 사용 */
|
||||
#bo_list td {line-height:1em}
|
||||
#bo_list strong {color:#109ff1}
|
||||
.btn_bo_adm {float:left}
|
||||
.btn_bo_adm li {float:left;margin-right:5px}
|
||||
.bo_notice {}
|
||||
.bo_cate_link {display:inline-block;padding:0 5px 0 0;font-weight:bold;text-decoration:none} /* 글제목 줄 분류스타일 */
|
||||
.bo_cate_link {display:inline-block;margin:0 3px 0 0;font-weight:bold;text-decoration:none} /* 글제목 줄 분류스타일 */
|
||||
.bo_current {color:#109ff1}
|
||||
.td_subject img {margin-left:5px}
|
||||
.td_subject img {margin-left:3px}
|
||||
.cnt_cmt {display:inline-block;margin:0 4px;color:#109ff1}
|
||||
|
||||
/* 게시판 읽기 */
|
||||
@ -325,10 +334,10 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
|
||||
#bo_v_info {padding:0 20px 15px;border-bottom:1px solid #f0f0f0}
|
||||
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_info strong {display:inline-block;margin:0 15px 0 5px;font-weight:normal}
|
||||
#bo_v_top {zoom:1}
|
||||
#bo_v_top {margin:15px 0 10px;padding:0 20px;zoom:1}
|
||||
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_top ul {margin-bottom:10px;padding:0 20px;list-style:none}
|
||||
#bo_v_top ul {list-style:none}
|
||||
#bo_v_file {background:#fff}
|
||||
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_file ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
@ -1429,18 +1429,10 @@ function check_string($str, $options)
|
||||
|
||||
// 한글
|
||||
if ($oc >= 0xA0 && $oc <= 0xFF) {
|
||||
if (strtoupper($g4['charset']) == 'UTF-8') {
|
||||
if ($options & G4_HANGUL) {
|
||||
$s .= $c . $str[$i+1] . $str[$i+2];
|
||||
}
|
||||
$i+=2;
|
||||
} else {
|
||||
// 한글은 2바이트 이므로 문자하나를 건너뜀
|
||||
$i++;
|
||||
if ($options & G4_HANGUL) {
|
||||
$s .= $c . $str[$i];
|
||||
}
|
||||
if ($options & G4_HANGUL) {
|
||||
$s .= $c . $str[$i+1] . $str[$i+2];
|
||||
}
|
||||
$i+=2;
|
||||
}
|
||||
// 숫자
|
||||
else if ($oc >= 0x30 && $oc <= 0x39) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once(G4_PATH.'/shop.head.php');
|
||||
include_once(G4_SHOP_PATH.'/shop.head.php');
|
||||
?>
|
||||
@ -3,10 +3,10 @@ include_once("./_common.php");
|
||||
include_once(G4_LIB_PATH.'/latest.lib.php');
|
||||
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
define("_INDEX_", TRUE);
|
||||
define("G4_SHOP_INDEX", TRUE);
|
||||
|
||||
$g4['title'] = "";
|
||||
include_once(G4_PATH.'/shop.head.php');
|
||||
$g4['title'] = $default['de_admin_company_name'];
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<script src="<?=G4_JS_URL?>/shop.js"></script>
|
||||
@ -99,7 +99,7 @@ include_once(G4_PATH.'/shop.head.php');
|
||||
<BR><BR>
|
||||
|
||||
<?
|
||||
include G4_SHOP_PATH.'/newwin.inc.php'; // 새창띄우기
|
||||
include_once(G4_SHOP_PATH.'/newwin.inc.php'); // 새창띄우기
|
||||
|
||||
include_once(G4_PATH.'/shop.tail.php');
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
@ -78,7 +78,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
<? } ?>
|
||||
|
||||
<aside id="bo_v_top">
|
||||
<nav id="bo_v_top">
|
||||
<h2>게시물 상단 버튼</h2>
|
||||
<?
|
||||
ob_start();
|
||||
@ -97,7 +97,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</aside>
|
||||
</nav>
|
||||
|
||||
<article id="bo_v_atc">
|
||||
<header>
|
||||
@ -133,7 +133,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once('./view_comment.php');
|
||||
?>
|
||||
|
||||
<aside id="bo_v_bot">
|
||||
<nav id="bo_v_bot">
|
||||
<h2>게시물 하단 버튼</h2>
|
||||
<? if ($prev_href || $next_href) { ?>
|
||||
<ul id="bo_v_nb">
|
||||
@ -144,7 +144,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<!-- 링크 버튼 -->
|
||||
<?=$link_buttons?>
|
||||
</aside>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -32,8 +32,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<section>
|
||||
<h2><?=$mb_nick?>님의 자기소개</h2>
|
||||
<section class="cbg">
|
||||
<h2>인사말</h2>
|
||||
<p><?=$mb_profile?></p>
|
||||
</section>
|
||||
|
||||
|
||||
@ -97,7 +97,7 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<? } ?>
|
||||
|
||||
<? if ($config['cf_use_addr']) {
|
||||
$zip_href = './zip.php?frm_name=fregisterform&frm_zip1=mb_zip1&frm_zip2=mb_zip2&frm_addr1=mb_addr1&frm_addr2=mb_addr2';
|
||||
$zip_href = G4_BBS_URL.'/zip.php?frm_name=fregisterform&frm_zip1=mb_zip1&frm_zip2=mb_zip2&frm_addr1=mb_addr1&frm_addr2=mb_addr2';
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
@ -108,7 +108,7 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<input type="text" id="reg_mb_zip1" name="mb_zip1" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip1']?>" title="우편번호 앞자리">
|
||||
-
|
||||
<input type="text" id="reg_mb_zip2" name="mb_zip2" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip2']?>" title="우편번호 뒷자리">
|
||||
<a href="<? echo $zip_href; ?>" id="reg_zip_find" class="btn_frmline" target="_blank" onclick="win_zip('fregisterform', 'mb_zip1', 'mb_zip2', 'mb_addr1', 'mb_addr2'); return false;" style="display: none;">주소찾기</a>
|
||||
<a href="<? echo $zip_href; ?>" id="reg_zip_find" class="btn_frmline win_zip_find" target="_blank">주소찾기</a>
|
||||
<input type="text" id="reg_mb_addr1" name="mb_addr1" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr1']?>" title="행정구역주소">
|
||||
<input type="text" id="reg_mb_addr2" name="mb_addr2" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr2']?>" title="상세주소">
|
||||
</td>
|
||||
@ -206,7 +206,7 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" class="btn_submit" value="회원가입" accesskey="s">
|
||||
<input type="submit" class="btn_submit" value="<?=$w==''?'회원가입':'정보수정';?>" accesskey="s">
|
||||
<a href="<?=$g4['path']?>/" class="btn_cancel">취소</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user