Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -25,19 +25,22 @@ if (!isset($config['cf_mobile_new_skin'])) {
|
||||
ADD `cf_mobile_member_skin` VARCHAR(255) NOT NULL AFTER `cf_mobile_connect_skin` ", true);
|
||||
}
|
||||
|
||||
if(!isset($config['cf_gcaptcha_mp3'])) {
|
||||
if (isset($config['cf_gcaptcha_mp3'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['config_table']}`
|
||||
ADD `cf_gcaptcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_mobile_member_skin` ", true);
|
||||
CHANGE `cf_gcaptcha_mp3` `cf_captcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' ", true);
|
||||
} else if (!isset($config['cf_captcha_mp3'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['config_table']}`
|
||||
ADD `cf_captcha_mp3` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_mobile_member_skin` ", true);
|
||||
}
|
||||
|
||||
if(!isset($config['cf_editor'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['config_table']}`
|
||||
ADD `cf_editor` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_gcaptcha_mp3` ", true);
|
||||
ADD `cf_editor` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_captcha_mp3` ", true);
|
||||
}
|
||||
|
||||
if(!isset($config['cf_googl_shorturl_apikey'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['config_table']}`
|
||||
ADD `cf_googl_shorturl_apikey` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_gcaptcha_mp3` ", true);
|
||||
ADD `cf_googl_shorturl_apikey` VARCHAR(255) NOT NULL DEFAULT '' AFTER `cf_captcha_mp3` ", true);
|
||||
}
|
||||
|
||||
if(!isset($config['cf_mobile_pages'])) {
|
||||
@ -340,15 +343,15 @@ $pg_anchor = '<ul class="anchor">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_gcaptcha_mp3">음성캡챠 선택<strong class="sound_only">필수</strong></label></th>
|
||||
<th scope="row"><label for="cf_captcha_mp3">음성캡챠 선택<strong class="sound_only">필수</strong></label></th>
|
||||
<td colspan="3">
|
||||
<?php echo help(G5_GCAPTCHA_URL.'/mp3 밑의 음성 폴더를 선택합니다.') ?>
|
||||
<select name="cf_gcaptcha_mp3" id="cf_gcaptcha_mp3" required class="required">
|
||||
<?php echo help(G5_CAPTCHA_URL.'/mp3 밑의 음성 폴더를 선택합니다.') ?>
|
||||
<select name="cf_captcha_mp3" id="cf_captcha_mp3" required class="required">
|
||||
<?php
|
||||
$arr = get_skin_dir('mp3', G5_GCAPTCHA_PATH);
|
||||
$arr = get_skin_dir('mp3', G5_CAPTCHA_PATH);
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
if ($i == 0) echo "<option value=\"\">선택</option>";
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_gcaptcha_mp3'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_captcha_mp3'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
@ -107,7 +107,7 @@ $sql = " update {$g5['config_table']}
|
||||
cf_mobile_search_skin = '{$_POST['cf_mobile_search_skin']}',
|
||||
cf_mobile_connect_skin = '{$_POST['cf_mobile_connect_skin']}',
|
||||
cf_mobile_member_skin = '{$_POST['cf_mobile_member_skin']}',
|
||||
cf_gcaptcha_mp3 = '{$_POST['cf_gcaptcha_mp3']}',
|
||||
cf_captcha_mp3 = '{$_POST['cf_captcha_mp3']}',
|
||||
cf_editor = '{$_POST['cf_editor']}',
|
||||
cf_cert_use = '{$_POST['cf_cert_use']}',
|
||||
cf_cert_ipin = '{$_POST['cf_cert_ipin']}',
|
||||
|
||||
@ -218,14 +218,14 @@ $colspan = 15;
|
||||
</td>
|
||||
<td headers="mb_list_id" rowspan="2" class="td_name sv_use"><?php echo $mb_id ?></td>
|
||||
<td headers="mb_list_name" class="td_mbname"><?php echo $row['mb_name']; ?></td>
|
||||
<td headers="mb_list_cert" colspan="5">
|
||||
<td headers="mb_list_cert" colspan="5" class="td_mbcert">
|
||||
<input type="radio" name="mb_certify[<?php echo $i; ?>]" value="ipin" id="mb_certify_ipin_<?php echo $i; ?>" <?php echo $row['mb_certify']=='ipin'?'checked':''; ?>>
|
||||
<label for="mb_certify_ipin_<?php echo $i; ?>">아이핀</label>
|
||||
<input type="radio" name="mb_certify[<?php echo $i; ?>]" value="hp" id="mb_certify_hp_<?php echo $i; ?>" <?php echo $row['mb_certify']=='hp'?'checked':''; ?>>
|
||||
<label for="mb_certify_hp_<?php echo $i; ?>">휴대폰</label>
|
||||
</td>
|
||||
<td headers="mb_list_mobile" class="td_tel"><?php echo $row['mb_hp']; ?></td>
|
||||
<td headers="mb_list_auth">
|
||||
<td headers="mb_list_auth" class="td_mbstat">
|
||||
<?php
|
||||
if ($leave_msg || $intercept_msg) echo $leave_msg.' '.$intercept_msg;
|
||||
else echo "정상";
|
||||
|
||||
@ -61,8 +61,8 @@ if ($w == "")
|
||||
$ca['ca_mobile_list_row'] = 3;
|
||||
$ca['ca_stock_qty'] = 99999;
|
||||
}
|
||||
$ca['ca_skin'] = "list.skin.10.php";
|
||||
$ca['ca_mobile_skin'] = "list.skin.10.php";
|
||||
$ca['ca_skin'] = "list.10.skin.php";
|
||||
$ca['ca_mobile_skin'] = "list.10.skin.php";
|
||||
}
|
||||
else if ($w == "u")
|
||||
{
|
||||
@ -163,7 +163,7 @@ $pg_anchor .= '</ul>';
|
||||
<td>
|
||||
<?php echo help('기본으로 제공하는 스킨은 '.str_replace(G5_PATH.'/', '', G5_SHOP_SKIN_PATH).'/list.*.skin.php 입니다.'); ?>
|
||||
<select id="ca_skin" name="ca_skin">
|
||||
<?php echo get_list_skin_options("^list.[^\.]+\.skin\.php", G5_SHOP_SKIN_PATH, $ca['ca_skin']); ?>
|
||||
<?php echo get_list_skin_options("^list.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $ca['ca_skin']); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -172,7 +172,7 @@ $pg_anchor .= '</ul>';
|
||||
<td>
|
||||
<?php echo help('기본으로 제공하는 스킨은 '.str_replace(G5_PATH.'/', '', G5_MSHOP_SKIN_PATH).'/list.*.skin.php 입니다.'); ?>
|
||||
<select id="ca_mobile_skin" name="ca_mobile_skin">
|
||||
<?php echo get_list_skin_options("^list.[^\.]+\.skin\.php", G5_MSHOP_SKIN_PATH, $ca['ca_mobile_skin']); ?>
|
||||
<?php echo get_list_skin_options("^list.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $ca['ca_mobile_skin']); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -168,7 +168,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
<td>
|
||||
<label for="ca_skin<?php echo $i; ?>" class="sound_only">출력스킨</label>
|
||||
<select id="ca_skin<?php echo $i; ?>" name="ca_skin[<?php echo $i; ?>]">
|
||||
<?php echo get_list_skin_options("^list.[^\.]+\.skin\.php", G5_SHOP_SKIN_PATH, $row['ca_skin']); ?>
|
||||
<?php echo get_list_skin_options("^list.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $row['ca_skin']); ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="td_mng" rowspan="2">
|
||||
|
||||
@ -226,7 +226,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_type1_list_use" value="1" id="de_type1_list_use" <?php echo $default['de_type1_list_use']?"checked":""; ?>>
|
||||
<label for="de_type1_list_skin">스킨</label>
|
||||
<select name="de_type1_list_skin" id="de_type1_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type1_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type1_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type1_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type1_list_row" value="<?php echo $default['de_type1_list_row']; ?>" id="de_type1_list_row" class="frm_input" size="3">
|
||||
@ -245,7 +245,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_type2_list_use" value="1" id="de_type2_list_use" <?php echo $default['de_type2_list_use']?"checked":""; ?>>
|
||||
<label for="de_type2_list_skin">스킨</label>
|
||||
<select name="de_type2_list_skin" id="de_type2_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type2_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type2_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type2_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type2_list_row" value="<?php echo $default['de_type2_list_row']; ?>" id="de_type2_list_row" class="frm_input" size="3">
|
||||
@ -264,7 +264,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_type3_list_use" value="1" id="de_type3_list_use" <?php echo $default['de_type3_list_use']?"checked":""; ?>>
|
||||
<label for="de_type3_list_skin">스킨</label>
|
||||
<select name="de_type3_list_skin" id="de_type3_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type3_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type3_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type3_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type3_list_row" value="<?php echo $default['de_type3_list_row']; ?>" id="de_type3_list_row" class="frm_input" size="3">
|
||||
@ -283,7 +283,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_type4_list_use" value="1" id="de_type4_list_use" <?php echo $default['de_type4_list_use']?"checked":""; ?>>
|
||||
<label for="de_type4_list_skin">스킨</label>
|
||||
<select name="de_type4_list_skin" id="de_type4_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type4_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type4_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type4_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type4_list_row" value="<?php echo $default['de_type4_list_row']; ?>" id="de_type4_list_row" class="frm_input" size="3">
|
||||
@ -302,7 +302,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_type5_list_use" value="1" id="de_type5_list_use" <?php echo $default['de_type5_list_use']?"checked":""; ?>>
|
||||
<label for="de_type5_list_skin">스킨</label>
|
||||
<select name="de_type5_list_skin" id="de_type5_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type5_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type5_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_type5_list_row">출력할 줄 수</label>
|
||||
<input type="text" name="de_type5_list_row" value="<?php echo $default['de_type5_list_row']; ?>" id="de_type5_list_row" class="frm_input" size="3">
|
||||
@ -344,7 +344,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_mobile_type1_list_use" value="1" id="de_mobile_type1_list_use" <?php echo $default['de_mobile_type1_list_use']?"checked":""; ?>>
|
||||
<label for="de_mobile_type1_list_skin">스킨</label>
|
||||
<select name="de_mobile_type1_list_skin" id="de_mobile_type1_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type1_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type1_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_mobile_type1_list_mod">출력할 이미지 수</label>
|
||||
<input type="text" name="de_mobile_type1_list_mod" value="<?php echo $default['de_mobile_type1_list_mod']; ?>" id="de_mobile_type1_list_mod" class="frm_input" size="3">
|
||||
@ -360,7 +360,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<label for="de_mobile_type2_list_use">출력</label> <input type="checkbox" name="de_mobile_type2_list_use" value="1" id="de_mobile_type2_list_use" <?php echo $default['de_mobile_type2_list_use']?"checked":""; ?>>
|
||||
<label for="de_mobile_type2_list_skin">스킨 </label>
|
||||
<select name="de_mobile_type2_list_skin" id="de_mobile_type2_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type2_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type2_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_mobile_type2_list_mod">출력할 이미지 수</label>
|
||||
<input type="text" name="de_mobile_type2_list_mod" value="<?php echo $default['de_mobile_type2_list_mod']; ?>" id="de_mobile_type2_list_mod" class="frm_input" size="3">
|
||||
@ -377,7 +377,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_mobile_type3_list_use" value="1" id="de_mobile_type3_list_use" <?php echo $default['de_mobile_type3_list_use']?"checked":""; ?>>
|
||||
<label for="de_mobile_type3_list_skin">스킨</label>
|
||||
<select name="de_mobile_type3_list_skin" id="de_mobile_type3_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type3_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type3_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_mobile_type3_list_mod">출력할 이미지 수</label>
|
||||
<input type="text" name="de_mobile_type3_list_mod" value="<?php echo $default['de_mobile_type3_list_mod']; ?>" id="de_mobile_type3_list_mod" class="frm_input" size="3">
|
||||
@ -394,7 +394,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_mobile_type4_list_use" value="1" id="de_mobile_type4_list_use" <?php echo $default['de_mobile_type4_list_use']?"checked":""; ?>>
|
||||
<label for="de_mobile_type4_list_skin">스킨</label>
|
||||
<select name="de_mobile_type4_list_skin" id="de_mobile_type4_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type4_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type4_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_mobile_type4_list_mod">출력할 이미지 수</label>
|
||||
<input type="text" name="de_mobile_type4_list_mod" value="<?php echo $default['de_mobile_type4_list_mod']; ?>" id="de_mobile_type4_list_mod" class="frm_input" size="3">
|
||||
@ -411,7 +411,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="checkbox" name="de_mobile_type5_list_use" value="1" id="de_mobile_type5_list_use" <?php echo $default['de_mobile_type5_list_use']?"checked":""; ?>>
|
||||
<label for="de_mobile_type5_list_skin">스킨</label>
|
||||
<select id="de_mobile_type5_list_skin" name="de_mobile_type5_list_skin">
|
||||
<?php echo get_list_skin_options("^main.[^\.]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type5_list_skin']); ?>
|
||||
<?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $default['de_mobile_type5_list_skin']); ?>
|
||||
</select>
|
||||
<label for="de_mobile_type5_list_mod">출력할 이미지 수</label>
|
||||
<input type="text" name="de_mobile_type5_list_mod" value="<?php echo $default['de_mobile_type5_list_mod']; ?>" id="de_mobile_type5_list_mod" class="frm_input" size="3">
|
||||
|
||||
@ -22,17 +22,29 @@ $pg_anchor = '<ul class="anchor">
|
||||
|
||||
<div class="local_desc01 local_desc">
|
||||
<p>
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '주문' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "주문 : ".$row['cnt'];
|
||||
?>
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '주문' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "<a href=\"./orderlist.php?od_status=주문\">주문 : ".$row['cnt']."</a>";
|
||||
?>
|
||||
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '입금' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "입금 : ".$row['cnt'];
|
||||
?>
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '입금' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "입금 : ".$row['cnt'];
|
||||
?>
|
||||
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '준비' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "준비 : ".$row['cnt'];
|
||||
?>
|
||||
|
||||
<?php
|
||||
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_status = '배송' ";
|
||||
$row = sql_fetch($sql);
|
||||
echo "배송 : ".$row['cnt'];
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -27,7 +27,8 @@ if ($w == "u")
|
||||
else
|
||||
{
|
||||
$html_title .= " 입력";
|
||||
$ev['ev_skin'] = '';
|
||||
$ev['ev_skin'] = 'list.10.skin.php';
|
||||
$ev['ev_mobile_skin'] = 'list.10.skin.php';
|
||||
$ev['ev_use'] = 1;
|
||||
|
||||
// 1.03.00
|
||||
@ -38,6 +39,9 @@ else
|
||||
$ev['ev_img_height'] = 230;
|
||||
$ev['ev_list_mod'] = 3;
|
||||
$ev['ev_list_row'] = 5;
|
||||
$ev['ev_mobile_img_width'] = 230;
|
||||
$ev['ev_mobile_img_height'] = 230;
|
||||
$ev['ev_mobile_list_mod'] = 3;
|
||||
}
|
||||
|
||||
// 분류리스트
|
||||
@ -88,34 +92,62 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
<td>
|
||||
<?php echo help('기본으로 제공하는 스킨은 '.str_replace(G5_PATH.'/', '', G5_SHOP_SKIN_PATH).'/list.*.skin.php 입니다.'.PHP_EOL.G5_SHOP_DIR.'/event.php&skin=userskin.php 처럼 직접 만든 스킨을 사용할 수도 있습니다.'); ?>
|
||||
<select name="ev_skin" id="ev_skin">
|
||||
<?php echo get_list_skin_options("^list.[^\.]+\.skin\.php", G5_SHOP_SKIN_PATH, $ev['ev_skin']); ?>
|
||||
<?php echo get_list_skin_options("^list.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $ev['ev_skin']); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_mobile_skin">모바일 출력스킨</label></th>
|
||||
<td>
|
||||
<?php echo help('기본으로 제공하는 스킨은 '.str_replace(G5_PATH.'/', '', G5_MSHOP_SKIN_PATH).'/list.*.skin.php 입니다.'.PHP_EOL.G5_SHOP_DIR.'/event.php&skin=userskin.php 처럼 직접 만든 스킨을 사용할 수도 있습니다.'); ?>
|
||||
<select name="ev_mobile_skin" id="ev_mobile_skin">
|
||||
<?php echo get_list_skin_options("^list.[0-9]+\.skin\.php", G5_MSHOP_SKIN_PATH, $ev['ev_mobile_skin']); ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_img_width">출력이미지 폭</label></th>
|
||||
<td>
|
||||
<input type="text" name="ev_img_width" value="<?php echo $ev['ev_img_width']; ?>" id="ev_img_width" class="frm_input" size="5"> 픽셀
|
||||
<input type="text" name="ev_img_width" value="<?php echo $ev['ev_img_width']; ?>" id="ev_img_width" required class="required frm_input" size="5"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_img_height">출력이미지 높이</label></th>
|
||||
<td>
|
||||
<input type="text" name="ev_img_height" value="<?php echo $ev['ev_img_height']; ?>" id="ev_img_height" class="frm_input" size="5"> 픽셀
|
||||
<input type="text" name="ev_img_height" value="<?php echo $ev['ev_img_height']; ?>" id="ev_img_height" required class="required frm_input" size="5"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_list_mod">1줄당 이미지 수</label></th>
|
||||
<td>
|
||||
<?php echo help("1행에 설정한 값만큼의 상품을 출력합니다. 스킨 설정에 따라 1행에 하나의 상품만 출력할 수도 있습니다.", 50); ?>
|
||||
<input type="text" name="ev_list_mod" value="<?php echo $ev['ev_list_mod']; ?>" id="ev_list_mod" class="frm_input" size="3"> 개
|
||||
<input type="text" name="ev_list_mod" value="<?php echo $ev['ev_list_mod']; ?>" id="ev_list_mod" required class="required frm_input" size="3"> 개
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_list_row">이미지 줄 수</label></th>
|
||||
<td>
|
||||
<?php echo help("한 페이지에 출력할 이미지 줄 수를 설정합니다.\n한 페이지에 표시되는 상품수는 (1줄당 이미지 수 x 줄 수) 입니다."); ?>
|
||||
<input type="text" name="ev_list_row" value="<?php echo $ev['ev_list_row']; ?>" id="ev_list_row" class="frm_input" size="3"> 줄
|
||||
<input type="text" name="ev_list_row" value="<?php echo $ev['ev_list_row']; ?>" id="ev_list_row" required class="required frm_input" size="3"> 줄
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_mobile_img_width">모바일 출력이미지 폭</label></th>
|
||||
<td>
|
||||
<input type="text" name="ev_mobile_img_width" value="<?php echo $ev['ev_mobile_img_width']; ?>" id="ev_mobile_img_width" required class="required frm_input" size="5"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_mobile_img_height">모바일 출력이미지 높이</label></th>
|
||||
<td>
|
||||
<input type="text" name="ev_mobile_img_height" value="<?php echo $ev['ev_mobile_img_height']; ?>" id="ev_mobile_img_height" required class="required frm_input" size="5"> 픽셀
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ev_mobile_list_mod">모바일 이미지 수</label></th>
|
||||
<td>
|
||||
<?php echo help("한 페이지에 출력할 이미지 수를 설정합니다.", 50); ?>
|
||||
<input type="text" name="ev_mobile_list_mod" value="<?php echo $ev['ev_mobile_list_mod']; ?>" id="ev_mobile_list_mod" required class="required frm_input" size="3"> 개
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -18,10 +18,14 @@ if ($ev_himg_del) @unlink(G5_DATA_PATH."/event/{$ev_id}_h");
|
||||
if ($ev_timg_del) @unlink(G5_DATA_PATH."/event/{$ev_id}_t");
|
||||
|
||||
$sql_common = " set ev_skin = '$ev_skin',
|
||||
ev_mobile_skin = '$ev_mobile_skin',
|
||||
ev_img_width = '$ev_img_width',
|
||||
ev_img_height = '$ev_img_height',
|
||||
ev_list_mod = '$ev_list_mod',
|
||||
ev_list_row = '$ev_list_row',
|
||||
ev_mobile_img_width = '$ev_mobile_img_width',
|
||||
ev_mobile_img_height= '$ev_mobile_img_height',
|
||||
ev_mobile_list_mod = '$ev_mobile_list_mod',
|
||||
ev_subject = '$ev_subject',
|
||||
ev_head_html = '$ev_head_html',
|
||||
ev_tail_html = '$ev_tail_html',
|
||||
|
||||
@ -200,7 +200,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
|
||||
<div class="tbl_head02 tbl_wrap">
|
||||
<table id="sodr_list">
|
||||
<caption>주문 내역 목록</caption></caption>
|
||||
<caption>주문 내역 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" rowspan="2">
|
||||
@ -275,9 +275,13 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
</td>
|
||||
<td headers="th_odrer" class="td_name"><?php echo $mb_nick; ?></td>
|
||||
<td rowspan="2" class="td_odrstatus">
|
||||
<input type="hidden" name="current_status[<?php echo $i ?>]" value="<?php echo $row['od_status'] ?>">
|
||||
<?php echo $row['od_status']; ?>
|
||||
</td>
|
||||
<td rowspan="2" class="td_payby"><?php echo $s_receipt_way; ?></td>
|
||||
<td rowspan="2" class="td_payby">
|
||||
<input type="hidden" name="current_settle_case[<?php echo $i ?>]" value="<?php echo $row['od_settle_case'] ?>">
|
||||
<?php echo $s_receipt_way; ?>
|
||||
</td>
|
||||
<td rowspan="2" class="td_numsum"><?php echo number_format($row['od_cart_price'] + $row['od_send_cost'] + $row['od_send_cost2']); ?></td>
|
||||
<td rowspan="2" class="td_numincome"><?php echo number_format($row['od_receipt_price']); ?></td>
|
||||
<td rowspan="2" class="td_numcancel"><?php echo number_format($row['od_cancel_price']); ?></td>
|
||||
@ -308,7 +312,7 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr class="orderlist">
|
||||
<th scope="row" colspan="5">합 계</td>
|
||||
<th scope="row" colspan="5">합 계</th>
|
||||
<td><?php echo number_format($tot_orderprice); ?></td>
|
||||
<td><?php echo number_format($tot_receiptprice); ?></td>
|
||||
<td><?php echo number_format($tot_ordercancel); ?></td>
|
||||
@ -401,6 +405,17 @@ function forderlist_submit(f)
|
||||
}
|
||||
}
|
||||
|
||||
var chk = document.getElementsByName("chk[]");
|
||||
for (var i=0; i<chk.length; i++) {
|
||||
if (chk[i].checked) {
|
||||
var k = chk[i].value;
|
||||
if (!(f.elements['current_settle_case['+k+']'].value == "무통장" && f.od_status.value == "입금")) {
|
||||
alert("무통장의 경우에만 입금 처리 가능합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
f.action = "./orderlistupdate.php";
|
||||
|
||||
return true;
|
||||
|
||||
@ -67,8 +67,7 @@ function change_order_status($current_staus, $change_status, $od)
|
||||
// 현재 주문상태와 바뀔 주문상태가 같다면 처리하지 않음
|
||||
if ($current_staus == $change_status) return;
|
||||
|
||||
$od = sql_fetch(" select od_settle_case from {$g5['g5_shop_order_table']} where od_id = '$od_id' ");
|
||||
if (!$od) return;
|
||||
$od_id = $od['od_id'];
|
||||
|
||||
switch ($current_staus)
|
||||
{
|
||||
@ -169,14 +168,14 @@ function change_order_status($current_staus, $change_status, $od)
|
||||
for ($i=0; $i<count($_POST['chk']); $i++)
|
||||
{
|
||||
// 실제 번호를 넘김
|
||||
$k = $_POST['chk'][$i];
|
||||
|
||||
$k = $_POST['chk'][$i];
|
||||
$od_id = $_POST['od_id'][$k];
|
||||
|
||||
change_order_status($od['od_status'], $_POST['od_status'], $od_id);
|
||||
|
||||
$od = sql_fetch(" select * from {$g5['g5_shop_order_table']} where od_id = '$od_id' ");
|
||||
if (!$od) continue;
|
||||
|
||||
echo $od_id . "<br>";
|
||||
change_order_status($od['od_status'], $_POST['od_status'], $od);
|
||||
//echo $od_id . "<br>";
|
||||
}
|
||||
|
||||
$qstr = "sort1=$sort1&sort2=$sort2&sel_field=$sel_field&search=$search";
|
||||
@ -189,5 +188,7 @@ $qstr .= "&od_receipt_point=$od_receipt_point";
|
||||
$qstr .= "&od_receipt_coupon=$od_receipt_coupon";
|
||||
//$qstr .= "&page=$page";
|
||||
|
||||
//exit;
|
||||
|
||||
goto_url("./orderlist.php?$qstr");
|
||||
?>
|
||||
Reference in New Issue
Block a user