Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -28,11 +28,10 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<section class="cbox">
|
||||
<h2>배너 입력 수정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="3">
|
||||
<col class="13">
|
||||
<col class="grid_3">
|
||||
<col class="grid_15">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
||||
@ -75,9 +75,15 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
|
||||
$g4['title'] = $html_title;
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
|
||||
$pg_anchor ="<ul class=\"anchor\">
|
||||
<li><a href=\"#frm_basic\">기본입력</a></li>
|
||||
<li><a href=\"#frm_select\">선택입력</a></li>
|
||||
</ul>
|
||||
";
|
||||
?>
|
||||
|
||||
|
||||
<form name="fcategoryform" action="./categoryformupdate.php" onsubmit="return fcategoryformcheck(this);" method="post" enctype="multipart/form-data">
|
||||
|
||||
@ -87,15 +93,15 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<input type="hidden" name="sort1" value="<?=$sort1?>">
|
||||
<input type="hidden" name="sort2" value="<?=$sort2?>">
|
||||
<input type="hidden" name="ca_explan_html" value="<?=$ca['ca_explan_html']?>">
|
||||
<section class="cbox">
|
||||
<section id="frm_basic" class="cbox">
|
||||
<h2>기본입력</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -217,13 +223,13 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section class="cbox">
|
||||
<section id="frm_select" class="cbox">
|
||||
<h2>선택 입력</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_13">
|
||||
<col class="grid_15">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
||||
@ -117,9 +117,9 @@ $pg_anchor ="<ul class=\"anchor\">
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -190,7 +190,7 @@ $pg_anchor ="<ul class=\"anchor\">
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_13">
|
||||
<col class="grid_15">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -292,9 +292,9 @@ $pg_anchor ="<ul class=\"anchor\">
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -478,12 +478,12 @@ $pg_anchor ="<ul class=\"anchor\">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none;">
|
||||
<th><label for="de_dacom_mid">LG텔레콤 상점아이디</label></th>
|
||||
<th scope="row"><label for="de_dacom_mid">LG텔레콤 상점아이디</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_dacom_mid" value="<?=$default['de_dacom_mid']?>" id="de_dacom_mid" size="40">
|
||||
<?=help("tsi_ 로 시작되는 상점아이디로만 테스트 결제가 가능합니다.");?>
|
||||
</td>
|
||||
<th><label for="de_dacom_mertkey">LG텔레콤 mertkey</label></th>
|
||||
<th scope="row"><label for="de_dacom_mertkey">LG텔레콤 mertkey</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_dacom_mertkey" value="<?=$default['de_dacom_mertkey']?>" id="de_dacom_mertkey" size="40">
|
||||
</td>
|
||||
@ -494,63 +494,63 @@ $pg_anchor ="<ul class=\"anchor\">
|
||||
</td> -->
|
||||
</tr>
|
||||
<tr style="display:none;">
|
||||
<th><label for="de_inicis_mid">이니시스 아이디</label></th>
|
||||
<th scope="row"><label for="de_inicis_mid">이니시스 아이디</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_inicis_mid" value="<?=$default['de_inicis_mid']?>" id="de_inicis_mid" size="40">
|
||||
</td>
|
||||
<th><label for="de_inicis_passwd">이니시스 패스워드</label></th>
|
||||
<th scope="row"><label for="de_inicis_passwd">이니시스 패스워드</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_inicis_passwd" value="<?=$default['de_inicis_passwd']?>" id="de_inicis_passwd">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th><label for="de_banktown_mid">뱅크타운 상점ID</label></th>
|
||||
<th scope="row"><label for="de_banktown_mid">뱅크타운 상점ID</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_banktown_mid" value="<?=$default['de_banktown_mid']?>" id="de_banktown_mid" size="40">
|
||||
</td>
|
||||
<th><label for="de_banktown_auth_key">뱅크타운 라이센스 키<!-- AuthKey --></label></th>
|
||||
<th scope="row"><label for="de_banktown_auth_key">뱅크타운 라이센스 키<!-- AuthKey --></label></th>
|
||||
<td>
|
||||
<input type="text" name="de_banktown_auth_key" value="<?=$default['de_banktown_auth_key']?>" id="de_banktown_auth_key" size="40" maxlength="32">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th><label for="de_allthegate_mid">올더게이트 몰ID</label></th>
|
||||
<th scope="row"><label for="de_allthegate_mid">올더게이트 몰ID</label></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="de_allthegate_mid" value="<?=$default['de_allthegate_mid']?>" id="de_allthegate_mid" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th><label for="de_allat_partner_id">올앳 파트너 ID</label></th>
|
||||
<th scope="row"><label for="de_allat_partner_id">올앳 파트너 ID</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allat_partner_id" value="<?=$default['de_allat_partner_id']?>" id="de_allat_partner_id" size="40">
|
||||
</td>
|
||||
<th><label for="de_allat_prefix">주문번호 Prefix</label></th>
|
||||
<th scope="row"><label for="de_allat_prefix">주문번호 Prefix</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allat_prefix" value="<?=$default['de_allat_prefix']?>" id="de_allat_prefix"> 3자리
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th><label for="de_allat_formkey">올앳 FormKey 값</label></th>
|
||||
<th scope="row"><label for="de_allat_formkey">올앳 FormKey 값</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allat_formkey" value="<?=$default['de_allat_formkey']?>" id="de_allat_formkey" size="40">
|
||||
</td>
|
||||
<th><label for="de_allat_crosskey">올앳 CrossKey 값</label></th>
|
||||
<th scope="row"><label for="de_allat_crosskey">올앳 CrossKey 값</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_allat_crosskey" value="<?=$default['de_allat_crosskey']?>" id="de_allat_crosskey" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th><label for="de_tgcorp_mxid">티지코프 ID</label></th>
|
||||
<th scope="row"><label for="de_tgcorp_mxid">티지코프 ID</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_tgcorp_mxid" value="<?=$default['de_tgcorp_mxid']?>" id="de_tgcorp_mxid" size="40">
|
||||
</td>
|
||||
<th><label for="de_tgcorp_mxotp">티지코프 접근키</label></th>
|
||||
<th scope="row"><label for="de_tgcorp_mxotp">티지코프 접근키</label></th>
|
||||
<td>
|
||||
<input type="text" name="de_tgcorp_mxotp" value="<?=$default['de_tgcorp_mxotp']?>" id="de_tgcorp_mxotp" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="display:none">
|
||||
<th><label for="de_kspay_id">KSPAY 상점아이디</label></th>
|
||||
<th scope="row"><label for="de_kspay_id">KSPAY 상점아이디</label></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="de_kspay_id" value="<?=$default['de_kspay_id']?>" id="de_kspay_id" size="40">
|
||||
</td>
|
||||
@ -565,9 +565,9 @@ $pg_anchor ="<ul class=\"anchor\">
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -632,9 +632,9 @@ $pg_anchor ="<ul class=\"anchor\">
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -868,9 +868,9 @@ function byte_check(el_cont, el_byte)
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
||||
@ -32,81 +32,89 @@ $g4['title'] = $html_title;
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<?//=subtitle($html_title)?><p>
|
||||
<form name="frmcontentform" action="./contentformupdate.php" onsubmit="return frmcontentform_check(this);" method="post" enctype="MULTIPART/FORM-DATA" >
|
||||
<input type="hidden" name="w" value="<? echo $w?>">
|
||||
<input type="hidden" name="co_html" value="1">
|
||||
|
||||
<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?>'>
|
||||
<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'>
|
||||
<? 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>
|
||||
</tr>
|
||||
<section class="cbox">
|
||||
<h2>내용 입력</h2>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_15">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="co_id">ID</label></th>
|
||||
<td>
|
||||
<input type="text" value="<? echo $co['co_id'] ?>" name="co_id" id ="co_id" required class="required frm_input" size="20" maxlength="20" <? echo $readonly ?>>
|
||||
<? if ($w == 'u') { echo icon("보기", "$g4[shop_path]/content.php?co_id=$co_id"); } ?>
|
||||
(영문자, 숫자, _ 만 가능; 20자 이내; 공란 불가)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="co_subject">제목</label></th>
|
||||
<td>
|
||||
<input type="text" name="co_subject" value="<?=htmlspecialchars2($co['co_subject'])?>" id="co_subject" required class="frm_input required">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<?=editor_html('co_content', $co['co_content']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="co_include_head">상단 파일 경로</label></th>
|
||||
<td>
|
||||
<?=help("내용별로 상단+좌측의 내용이 다를 경우 상단+좌측 디자인 파일의 경로를 입력합니다.\n입력이 없으면 기본 상단 파일을 사용합니다.\n상단 내용과 달리 PHP 코드를 사용할 수 있습니다.\n");?>
|
||||
<input type="text" name="co_include_head" value="<?=$co['co_include_head']?>" id="co_include_head" class="frm_input" size="60">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="co_include_tail">하단 파일 경로</label></th>
|
||||
<td>
|
||||
<?=help("내용별로 하단+우측의 내용이 다를 경우 하단+우측 디자인 파일의 경로를 입력합니다.\n입력이 없으면 기본 하단 파일을 사용합니다.\n하단 내용과 달리 PHP 코드를 사용할 수 있습니다.\n");?>
|
||||
<input type="text" name="co_include_tail" value="<?=$co['co_include_tail']?>" id="co_include_tail" class="frm_input" size="60">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상단이미지</th>
|
||||
<td>
|
||||
<input type="file" name="co_himg">
|
||||
<?
|
||||
$himg = G4_DATA_PATH."/content/{$co['co_id']}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=co_himg_del value='1'>삭제";
|
||||
$himg_str = "<img src='".G4_DATA_URL."/content/{$co['co_id']}_h' border=0>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단이미지</th>
|
||||
<td>
|
||||
<input type="file" name="co_timg">
|
||||
<?
|
||||
$timg = G4_DATA_PATH."/content/{$co['co_id']}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=co_timg_del value='1'>삭제";
|
||||
$timg_str = "<img src='".G4_DATA_URL."/content/{$co['co_id']}_t' border=0>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<input type=hidden 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>
|
||||
</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>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상단이미지</td>
|
||||
<td>
|
||||
<input type=file class=ed name=co_himg size=40>
|
||||
<?
|
||||
$himg = G4_DATA_PATH."/content/{$co['co_id']}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=co_himg_del value='1'>삭제";
|
||||
$himg_str = "<img src='".G4_DATA_URL."/content/{$co['co_id']}_h' border=0>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($himg_str) { echo "<tr><td colspan=2>$himg_str</td></tr>"; } ?>
|
||||
|
||||
<tr class=ht>
|
||||
<td>하단이미지</td>
|
||||
<td>
|
||||
<input type=file class=ed name=co_timg size=40>
|
||||
<?
|
||||
$timg = G4_DATA_PATH."/content/{$co['co_id']}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=co_timg_del value='1'>삭제";
|
||||
$timg_str = "<img src='".G4_DATA_URL."/content/{$co['co_id']}_t' border=0>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($timg_str) { echo "<tr><td colspan=2>$timg_str</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='./contentlist.php';">
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./contentlist.php">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<script language="javascript">
|
||||
<script>
|
||||
function frmcontentform_check(f)
|
||||
{
|
||||
errmsg = "";
|
||||
@ -126,11 +134,11 @@ function frmcontentform_check(f)
|
||||
return true;
|
||||
}
|
||||
|
||||
<? if ($w == "u") { ?>
|
||||
/*<? if ($w == "u") { ?>
|
||||
document.frmcontentform.co_subject.focus();
|
||||
<? } else { ?>
|
||||
document.frmcontentform.co_id.focus();
|
||||
<? } ?>
|
||||
<? } ?> 김혜련 2013-04-02 포커스해제*/
|
||||
</script>
|
||||
|
||||
<?
|
||||
|
||||
@ -29,11 +29,10 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<section class="cbox">
|
||||
<h2>배송회사 입력 수정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="gird_3">
|
||||
<col class="grid_13">
|
||||
<col class="grid_3">
|
||||
<col class="grid_15">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr >
|
||||
|
||||
@ -38,22 +38,21 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<section class="cbox">
|
||||
<h2>FAQ상세입력 수정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_13">
|
||||
<col class="grid_15">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="col"><label for="fa_order">출력순서</label></th>
|
||||
<th scope="row"><label for="fa_order">출력순서</label></th>
|
||||
<td >
|
||||
<?=help('숫자가 작을수록 FAQ 페이지의 상단에 출력합니다.', 60, -50)?>
|
||||
<input type="text" name="fa_order" value="<?=$fa['fa_order']?>" id="fa_order" class="frm_input" maxlength="10" size="10">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">질문
|
||||
<th scope="row">질문
|
||||
<? if ($w == 'u') {
|
||||
echo icon("보기", G4_SHOP_URL."/faq.php?fm_id=$fm_id");
|
||||
}
|
||||
@ -64,7 +63,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col">답변</th>
|
||||
<th scope="row">답변</th>
|
||||
<td ><?=editor_html('fa_content', $fa['fa_content']);?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -24,82 +24,87 @@ $g4['title'] = $html_title;
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<?//=subtitle($html_title)?>
|
||||
<form name="frmfaqmasterform" action="./faqmasterformupdate.php" onsubmit="return frmfaqmasterform_check(this);" method="post" enctype="MULTIPART/FORM-DATA">
|
||||
<input type="hidden" name="w" value="<? echo $w ?>">
|
||||
<input type="hidden" name="fm_id" value="<? echo $fm_id ?>">
|
||||
|
||||
<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 ?>'>
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<colgroup width=15% class=tdsl></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=fm_subject size=60 value='<?=get_text($fm['fm_subject']) ?>' required itemname="제목">
|
||||
<?
|
||||
if ($w == 'u')
|
||||
{
|
||||
echo icon("보기", G4_SHOP_URL."/faq.php?fm_id=$fm_id");
|
||||
echo " <a href='./faqlist.php?fm_id=$fm_id'>상세보기</a>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td>상단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=fm_himg size=40>
|
||||
<?
|
||||
$himg = G4_DATA_PATH."/faq/{$fm['fm_id']}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=fm_himg_del value='1'>삭제";
|
||||
$himg_str = "<img src='".G4_DATA_URL."/faq/{$fm['fm_id']}_h' border=0>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($himg_str) { echo "<tr><td colspan=4>$himg_str</td></tr>"; } ?>
|
||||
<section class="cbox">
|
||||
<h2>FAQ입력</h2>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_15">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="fm_subject">제목</label></th>
|
||||
<td>
|
||||
<input type="text" value="<?=get_text($fm['fm_subject']) ?>" name="fm_subject" id="fm_subject" required class="frm_input requried" size="60">
|
||||
<?
|
||||
if ($w == 'u')
|
||||
{
|
||||
echo icon("보기", G4_SHOP_URL."/faq.php?fm_id=$fm_id");
|
||||
echo " <a href='./faqlist.php?fm_id=$fm_id'>상세보기</a>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상단이미지</th>
|
||||
<td>
|
||||
<input type="file" name="fm_himg">
|
||||
<?
|
||||
$himg = G4_DATA_PATH."/faq/{$fm['fm_id']}_h";
|
||||
if (file_exists($himg)) {
|
||||
echo "<input type=checkbox name=fm_himg_del value='1'>삭제";
|
||||
$himg_str = "<img src='".G4_DATA_URL."/faq/{$fm['fm_id']}_h' border=0>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단이미지</th>
|
||||
<td>
|
||||
<input type="file" name="fm_timg">
|
||||
<?
|
||||
$timg = G4_DATA_PATH."/faq/{$fm['fm_id']}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=fm_timg_del value='1'>삭제";
|
||||
$timg_str = "<img src='".G4_DATA_URL."/faq/{$fm['fm_id']}_t' border=0>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">상단 내용</th>
|
||||
<td>
|
||||
<?=editor_html('fm_head_html', $fm['fm_head_html']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">하단 내용</th>
|
||||
<td>
|
||||
<?=editor_html('fm_tail_html', $fm['fm_tail_html']);?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<tr class=ht>
|
||||
<td>하단이미지</td>
|
||||
<td colspan=3>
|
||||
<input type=file class=ed name=fm_timg size=40>
|
||||
<?
|
||||
$timg = G4_DATA_PATH."/faq/{$fm['fm_id']}_t";
|
||||
if (file_exists($timg)) {
|
||||
echo "<input type=checkbox name=fm_timg_del value='1'>삭제";
|
||||
$timg_str = "<img src='".G4_DATA_URL."/faq/{$fm['fm_id']}_t' border=0>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($timg_str) { echo "<tr><td colspan=4>$timg_str</td></tr>"; } ?>
|
||||
|
||||
<tr>
|
||||
<td>상단 내용</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=editor_html('fm_head_html', $fm['fm_head_html']);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>하단 내용</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><?=editor_html('fm_tail_html', $fm['fm_tail_html']);?></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='./faqmasterlist.php';">
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./faqmasterlist.php">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script language="javascript">
|
||||
<script>
|
||||
function frmfaqmasterform_check(f)
|
||||
{
|
||||
<?=get_editor_js('fm_head_html');?>
|
||||
<?=get_editor_js('fm_tail_html');?>
|
||||
}
|
||||
|
||||
document.frmfaqmasterform.fm_subject.focus();
|
||||
// document.frmfaqmasterform.fm_subject.focus(); 김혜련 2013-04-02 포커스해제
|
||||
</script>
|
||||
|
||||
<?
|
||||
|
||||
@ -40,13 +40,12 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
<section class="cbox">
|
||||
<h2>이벤트 입력 수정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<? if ($w == "u") { ?>
|
||||
|
||||
@ -91,6 +91,13 @@ $qstr = "$qstr&sca=$sca&page=$page";
|
||||
|
||||
$g4['title'] = $html_title;
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
$pg_anchor ="<ul class=\"anchor\">
|
||||
<li><a href=\"#frm_basic_item\">기본정보</a></li>
|
||||
<li><a href=\"#frm_image\">이미지</a></li>
|
||||
<li><a href=\"#frm_select_item\">선택정보</a></li>
|
||||
</ul>
|
||||
";
|
||||
?>
|
||||
|
||||
<form name="fitemform" action="./itemformupdate.php" onsubmit="return fitemformcheck(this)" method="post" enctype="MULTIPART/FORM-DATA" autocomplete="off">
|
||||
@ -110,15 +117,15 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="it_explan_html" value="1"><!---->
|
||||
|
||||
<section class="cbox">
|
||||
<section id="frm_basic_item" class="cbox">
|
||||
<h2>기본정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
<col class="grid_3">
|
||||
<col class="grid_5">
|
||||
<col class="grid_6">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -207,7 +214,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="it_name">상품명</label></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="it_name" value="<?=get_text(cut_str($it['it_name'], 250, ""))?>" id="it_name" required class="frm_input required" size="120">
|
||||
<input type="text" name="it_name" value="<?=get_text(cut_str($it['it_name'], 250, ""))?>" id="it_name" required class="frm_input required" size="100">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -219,7 +226,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<th scope="row"><label for="it_order">출력순서</label></th>
|
||||
<td>
|
||||
<?=help("상품의 출력순서를 인위적으로 변경할때 사용합니다.\n숫자를 입력하며 기본은 0 입니다.\n숫자가 작을 수록 상위에 출력됩니다.\n음수 입력도 가능합니다.\n구간 : -2147483648 ~ 2147483647");?>
|
||||
<input type="text" name="it_order" value="<? echo $it['it_order'] ?>" id="it_order" class="frm_input" size="10">
|
||||
<input type="text" name="it_order" value="<? echo $it['it_order'] ?>" id="it_order" class="frm_input" size="12">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -242,12 +249,12 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<th scope="row"><label for="it_maker">제조사</label></th>
|
||||
<td>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
<input type="text" name="it_maker" value="<?=get_text($it['it_maker'])?>" id="it_maker" class="frm_input" size="41">
|
||||
<input type="text" name="it_maker" value="<?=get_text($it['it_maker'])?>" id="it_maker" class="frm_input" size="40">
|
||||
</td>
|
||||
<th scope="row"><label for="it_origin">원산지</label></th>
|
||||
<td>
|
||||
<?=help("입력하지 않으면 상품상세페이지에 출력하지 않습니다.");?>
|
||||
<input type="text" name="it_origin" value="<?=get_text($it['it_origin'])?>" id="it_origin" class="frm_input" size="41">
|
||||
<input type="text" name="it_origin" value="<?=get_text($it['it_origin'])?>" id="it_origin" class="frm_input" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
@ -271,7 +278,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<style type="text/css">
|
||||
#cost_box{width:900px}
|
||||
#cost_box{width:890px}
|
||||
#cost_box h3{width:158px;height:300px;line-height:300px;float:left}
|
||||
#cost_box li{list-style:none;position:relative;float:left;width:110px;height:300px;margin-right:12px}
|
||||
#cost_box input{background:#fedddd}
|
||||
@ -313,7 +320,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<th scope="row"><label for="it_basic">기본설명</label></th>
|
||||
<td colspan="3">
|
||||
<?=help("상품상세페이지의 상품설명 상단에 표시되는 설명입니다.\nHTML 입력도 가능합니다.", -150, -100);?>
|
||||
<input type="text" name="it_basic" value="<?=get_text($it['it_basic'])?>" id="it_basic" class="frm_input" size="120"><!-- width:727px-->
|
||||
<input type="text" name="it_basic" value="<?=get_text($it['it_basic'])?>" id="it_basic" class="frm_input" size="90">
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($it['it_id']) { ?>
|
||||
@ -364,13 +371,13 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section class="cbox">
|
||||
<section id="frm_image" class="cbox">
|
||||
<h2>이미지</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col class="grid_13">
|
||||
<col class="grid_15">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -398,6 +405,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row">이미지(중)</th>
|
||||
<td>
|
||||
<?=help("업로드 하지 않으면 기본 noimage 로 출력합니다.");?>
|
||||
<input type="file" name="it_mimg">
|
||||
<?
|
||||
$mimg = G4_DATA_PATH."/item/{$it[it_id]}_m";
|
||||
@ -407,12 +415,12 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
echo "<div id='mimg' style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='".G4_DATA_URL."/item/{$it[it_id]}_m' border=\"1\"></div>";
|
||||
}
|
||||
?>
|
||||
<?=help("업로드 하지 않으면 기본 noimage 로 출력합니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">이미지(소)</th>
|
||||
<td>
|
||||
<?=help("업로드 하지 않으면 기본 noimage 로 출력합니다.");?>
|
||||
<input type="file" name="it_simg">
|
||||
<?
|
||||
$simg = G4_DATA_PATH."/item/{$it[it_id]}_s";
|
||||
@ -422,7 +430,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
echo "<div id='simg' style='left:0; top:0; z-index:+1; display:none; position:absolute;'><img src='".G4_DATA_URL."/item/{$it[it_id]}_s' border=\"1\"></div>";
|
||||
}
|
||||
?>
|
||||
<?=help("업로드 하지 않으면 기본 noimage 로 출력합니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<? for ($i=2; $i<=5; $i++) { // 이미지(대)는 5개 ?>
|
||||
@ -451,7 +458,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<a href="./itemlist.php?<?=$qstr?>">목록</a>
|
||||
</div>
|
||||
|
||||
<!--2013-03-26 김혜련 선택된 목록 / 등록된 목록 구조 다시 짜야함 start-->
|
||||
<!-- 김혜련 2013-03-26 선택된 목록 / 등록된 목록 구조 다시 짜야함 start-->
|
||||
|
||||
<?//=subtitle("선택정보")?>
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
@ -751,9 +758,9 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--2013-03-26 김혜련 선택된 목록 / 등록된 목록 구조 다시 짜야함 end-->
|
||||
<!-- 김혜련 2013-03-26 선택된 목록 / 등록된 목록 구조 다시 짜야함 end-->
|
||||
|
||||
<section class="cbox">
|
||||
<section id="frm_select_item" class="cbox">
|
||||
<h2>선택정보</h2>
|
||||
<?=$pg_anchor?>
|
||||
<table class="frm_tbl">
|
||||
@ -765,6 +772,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<!--김혜련 2013-04-02 선택된 목록 / 등록된 목록 넣을 곳-->
|
||||
<th scope="row"></th>
|
||||
<td></td>
|
||||
<th scope="row"></th>
|
||||
@ -773,6 +781,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
<tr>
|
||||
<th scope="row">상단이미지</th>
|
||||
<td colspan="3">
|
||||
<?=help("상품상세설명 페이지 상단에 출력하는 이미지입니다.");?>
|
||||
<input type="file" name="it_himg">
|
||||
<?
|
||||
$himg_str = "";
|
||||
@ -782,13 +791,13 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
$himg_str = "<img src='".G4_DATA_URL."/item/{$it['it_id']}_h' border=0>";
|
||||
}
|
||||
?>
|
||||
<?=help("상품상세설명 페이지 상단에 출력하는 이미지입니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($himg_str) { echo "<tr><td colspan=\"4\">$himg_str</td></tr>"; } ?>
|
||||
<tr>
|
||||
<th scope="row">하단이미지</th>
|
||||
<td colspan="3">
|
||||
<?=help("상품상세설명 페이지 하단에 출력하는 이미지입니다.");?>
|
||||
<input type="file" name="it_timg">
|
||||
<?
|
||||
$timg_str = "";
|
||||
@ -798,17 +807,16 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
$timg_str = "<img src='".G4_DATA_URL."/item/{$it['it_id']}_t' border=\"0\">";
|
||||
}
|
||||
?>
|
||||
<?=help("상품상세설명 페이지 하단에 출력하는 이미지입니다.");?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($timg_str) { echo "<tr><td colspan=\"4\">$timg_str</td></tr>"; } ?>
|
||||
<tr>
|
||||
<th scope="row"><?=help("상품상세설명 페이지 상단에 출력하는 HTML 내용입니다.", -150);?>상품상단내용</th>
|
||||
<td colspan="3"><?=editor_html('it_head_html', $it['it_head_html']);?></td>
|
||||
<th scope="row">상품상단내용</th>
|
||||
<td colspan="3"><?=help("상품상세설명 페이지 상단에 출력하는 HTML 내용입니다.", -150);?><?=editor_html('it_head_html', $it['it_head_html']);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?=help("상품상세설명 페이지 하단에 출력하는 HTML 내용입니다.", -150);?>상품하단내용</th>
|
||||
<td colspan="3"><?=editor_html('it_tail_html', $it['it_tail_html']);?></td>
|
||||
<th scope="row">상품하단내용</th>
|
||||
<td colspan="3"><?=help("상품상세설명 페이지 하단에 출력하는 HTML 내용입니다.", -150);?><?=editor_html('it_tail_html', $it['it_tail_html']);?></td>
|
||||
</tr>
|
||||
<? if ($w == "u") { ?>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user