Merge branch 'master' of github.com:gnuboard/yc5
This commit is contained in:
@ -103,9 +103,9 @@ $colspan = 5;
|
||||
continue;
|
||||
}
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="au_menu[<?php echo $i ?>]" value="<?php echo $row['au_menu'] ?>">
|
||||
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>">
|
||||
|
||||
@ -119,10 +119,10 @@ $colspan = 16;
|
||||
$one_update = '<a href="./board_form.php?w=u&bo_table='.$row['bo_table'].'&'.$qstr.'">수정</a>';
|
||||
$one_copy = '<a href="./board_copy.php?bo_table='.$row['bo_table'].'" class="board_copy" target="win_board_copy">복사</a>';
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['bo_subject']) ?></label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
|
||||
|
||||
@ -125,10 +125,10 @@ $colspan = 11;
|
||||
|
||||
$s_upd = '<a href="./boardgroup_form.php?'.$qstr.'&w=u&gr_id='.$row['gr_id'].'">수정</a>';
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="group_id[<?php echo $i ?>]" value="<?php echo $row['gr_id'] ?>">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo $row['gr_subject'] ?> 그룹</label>
|
||||
|
||||
@ -110,9 +110,9 @@ $colspan = 7;
|
||||
|
||||
$mb_nick = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo $row['mb_nick'] ?> 회원</label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $row['gm_id'] ?>" id="chk_<?php echo $i ?>">
|
||||
|
||||
@ -57,10 +57,10 @@ $colspan = 7;
|
||||
|
||||
$num = number_format($total_count - ($page - 1) * $config['cf_page_rows'] - $i);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="checkbox" id="chk_<?php echo $i ?>" name="chk[]" value="<?php echo $row['ma_id'] ?>" title="메일선택">
|
||||
</td>
|
||||
|
||||
@ -96,9 +96,9 @@ include_once('./admin.head.php');
|
||||
$ma_list .= $cr . $row['mb_email'] . "||" . $row['mb_id'] . "||" . $row['mb_name'] . "||" . $row['mb_nick'] . "||" . $row['mb_datetime'];
|
||||
$cr = "\n";
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $i ?></td>
|
||||
<td class="td_mbid"><?php echo $row['mb_id'] ?></td>
|
||||
<td class="td_mbname"><?php echo $row['mb_name'] ?></td>
|
||||
|
||||
@ -187,7 +187,7 @@ $colspan = 15;
|
||||
|
||||
$address = $row['mb_zip1'] ? $row['mb_addr1'].' '.$row['mb_addr2'] : '';
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
|
||||
switch($row['mb_certify']) {
|
||||
case 'hp':
|
||||
@ -209,7 +209,7 @@ $colspan = 15;
|
||||
}
|
||||
?>
|
||||
|
||||
<tr <?php echo $tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td headers="mb_list_chk" class="td_chk" rowspan="2">
|
||||
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>" id="mb_id_<?php echo $i ?>">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo $row['mb_name']; ?> <?php echo $row['mb_nick']; ?>님</label>
|
||||
@ -235,7 +235,7 @@ $colspan = 15;
|
||||
<td headers="mb_list_grp" rowspan="2" class="td_numsmall"><?php echo $group ?></td>
|
||||
<td headers="mb_list_mng" rowspan="2" class="td_mngsmall"><?php echo $s_mod ?> <?php echo $s_grp ?></td>
|
||||
</tr>
|
||||
<tr <?php echo $tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td headers="mb_list_nick" class="td_name sv_use"><div><?php echo $mb_nick ?></div></td>
|
||||
<td headers="mb_list_mailc" class="td_chk"><?php echo preg_match('/[1-9]/', $row['mb_email_certify'])?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>'; ?></td>
|
||||
<td headers="mb_list_mailr" class="td_chk"><input type="checkbox" name="mb_mailling[<?php echo $i; ?>]" <?php echo $row['mb_mailling']?'checked':''; ?> value="1"></td>
|
||||
|
||||
@ -151,10 +151,10 @@ function point_clear()
|
||||
if($row['po_expired'] == 1)
|
||||
$expr = ' txt_expired';
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>" id="mb_id_<?php echo $i ?>">
|
||||
<input type="hidden" name="po_id[<?php echo $i ?>]" value="<?php echo $row['po_id'] ?>" id="po_id_<?php echo $i ?>">
|
||||
|
||||
@ -105,10 +105,10 @@ $colspan = 7;
|
||||
$s_mod = '<a href="./poll_form.php?'.$qstr.'&w=u&po_id='.$row['po_id'].'">수정</a>';
|
||||
//$s_del = '<a href="javascript:post_delete(\'poll_form_update.php\', \''.$row['po_id'].'\');">삭제</a>';
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $row['po_id'] ?>" id="chk_<?php echo $i ?>" title="투표선택">
|
||||
</td>
|
||||
|
||||
@ -112,10 +112,10 @@ var list_delete_php = 'popular_list.php';
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
$word = get_text($row['pp_word']);
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $row['pp_id'] ?>" id="chk_<?php echo $i ?>" title="<?php echo $word ?> 선택">
|
||||
</td>
|
||||
|
||||
@ -74,10 +74,10 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
$bn_begin_time = substr($row['bn_begin_time'], 2, 14);
|
||||
$bn_end_time = substr($row['bn_end_time'], 2, 14);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td headers="th_id" rowspan="2" class="td_num"><?php echo $row['bn_id']; ?></td>
|
||||
<td headers="th_loc"><?php echo $row['bn_position']; ?></td>
|
||||
<td headers="th_st" class="td_datetime"><?php echo $bn_begin_time; ?></td>
|
||||
|
||||
@ -144,9 +144,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
or ca_id3 = '{$row['ca_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_idsmall" rowspan="2">
|
||||
<input type="hidden" name="ca_id[<?php echo $i; ?>]" value="<?php echo $row['ca_id']; ?>">
|
||||
<a href="<?php echo G5_SHOP_URL; ?>/list.php?ca_id=<?php echo $row['ca_id']; ?>"><?php echo $row['ca_id']; ?></a>
|
||||
|
||||
@ -44,9 +44,9 @@ $result = sql_query($sql);
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_id"><?php echo $row['co_id']; ?></td>
|
||||
<td><?php echo htmlspecialchars2($row['co_subject']); ?></td>
|
||||
<td class="td_mng">
|
||||
|
||||
@ -127,10 +127,10 @@ $colspan = 8;
|
||||
$tmp = sql_fetch($sql);
|
||||
$used_count = $tmp['cnt'];
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="cp_id_<?php echo $i; ?>" name="cp_id[<?php echo $i; ?>]" value="<?php echo $row['cp_id']; ?>">
|
||||
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="<?php echo $i; ?>" title="내역선택">
|
||||
|
||||
@ -157,9 +157,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
else
|
||||
$hope_date = "사용안함";
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td>
|
||||
<input type="hidden" name="od_id[<?php echo $i ?>]" value="<?php echo $row['od_id'] ?>" id="od_id_<?php echo $i ?>">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only">주문번호 <?php echo $row['od_id']; ?></label>
|
||||
|
||||
@ -60,10 +60,10 @@ $result = sql_query($sql);
|
||||
|
||||
$num = $i + 1;
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $num; ?></td>
|
||||
<td><?php echo stripslashes($row['fa_subject']); ?></td>
|
||||
<td class="td_num"><?php echo $row['fa_order']; ?></td>
|
||||
|
||||
@ -56,9 +56,9 @@ $result = sql_query($sql);
|
||||
$sql1 = " select COUNT(*) as cnt from {$g5['g5_shop_faq_table']} where fm_id = '{$row['fm_id']}' ";
|
||||
$row1 = sql_fetch($sql1);
|
||||
$cnt = $row1['cnt'];
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $row['fm_id']; ?></td>
|
||||
<td><a href="./faqlist.php?fm_id=<?php echo $row['fm_id']; ?>&fm_subject=<?php echo $row['fm_subject']; ?>"><?php echo stripslashes($row['fm_subject']); ?></a></td>
|
||||
<td class="td_num"><?php echo $cnt; ?></td>
|
||||
|
||||
@ -153,10 +153,10 @@ if (isset($ev_set)) {
|
||||
and ev_id = '$ev_id' ";
|
||||
$ev = sql_fetch($sql);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<label for="ev_chk_<?php echo $i; ?>" class="sound_only">이벤트 사용</label>
|
||||
|
||||
@ -164,9 +164,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td rowspan="3" class="td_chk">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['bo_subject']) ?> 게시판</label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i; ?>">
|
||||
|
||||
@ -125,9 +125,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$iq_question = get_view_thumbnail($row['iq_question'], 300);
|
||||
$iq_answer = $row['iq_answer'] ? get_view_thumbnail($row['iq_answer'], 300) : "답변이 등록되지 않았습니다.";
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['iq_subject']) ?> 상품문의</label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i; ?>">
|
||||
|
||||
@ -126,9 +126,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
|
||||
$num = $rank + $i + 1;
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $num; ?></td>
|
||||
<td><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'], 50, 50); ?><?php echo cut_str($row['it_name'],30); ?></a></td>
|
||||
<td class="td_num"><?php echo $row['ct_status_1']; ?></td>
|
||||
|
||||
@ -143,10 +143,10 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
// 가재고 (미래재고)
|
||||
$temporary_qty = $row['it_stock_qty'] - $wait_qty;
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num">
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<?php echo $row['it_id']; ?>
|
||||
|
||||
@ -142,9 +142,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
<?php for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo $tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num">
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<?php echo $row['it_id']; ?>
|
||||
|
||||
@ -125,10 +125,10 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$name = get_sideview($row['mb_id'], get_text($row['is_name']), $row['mb_email'], $row['mb_homepage']);
|
||||
$is_content = get_view_thumbnail($row['is_content'], 300);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['is_subject']) ?> 사용후기</label>
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i; ?>">
|
||||
|
||||
@ -44,9 +44,9 @@ $result = sql_query($sql);
|
||||
<tbody>
|
||||
<?php
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++) {
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $row['nw_id']; ?></td>
|
||||
<td><?php echo $row['nw_subject']; ?></td>
|
||||
<td class="td_datetime"><?php echo substr($row['nw_begin_time'],2,14); ?></td>
|
||||
|
||||
@ -168,10 +168,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$io_stock_qty = ''.$io_stock_qty.' !<span class="sound_only"> 재고부족 </span>';
|
||||
}
|
||||
|
||||
$tr_bg = '';
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td>
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<input type="hidden" name="io_id[<?php echo $i; ?>]" value="<?php echo $row['io_id']; ?>">
|
||||
|
||||
@ -123,7 +123,7 @@ $result = sql_query($sql);
|
||||
$image = get_it_image($row['it_id'], 50, 50);
|
||||
|
||||
// 상품의 옵션정보
|
||||
$sql = " select ct_id, it_id, ct_price, ct_qty, ct_option, ct_status, cp_price, ct_stock_use, ct_point_use, ct_send_cost, io_type, io_price
|
||||
$sql = " select ct_id, it_id, ct_price, ct_point, ct_qty, ct_option, ct_status, cp_price, ct_stock_use, ct_point_use, ct_send_cost, io_type, io_price
|
||||
from {$g5['g5_shop_cart_table']}
|
||||
where od_id = '{$od['od_id']}'
|
||||
and it_id = '{$row['it_id']}'
|
||||
@ -927,7 +927,7 @@ function chk_receipt_price()
|
||||
{
|
||||
var chk = document.getElementById("od_receipt_chk");
|
||||
var price = document.getElementById("od_receipt_price");
|
||||
price.value = chk.checked ? chk.value : price.defaultValue;
|
||||
price.value = chk.checked ? (parseInt(chk.value) + parseInt(price.defaultValue)) : price.defaultValue;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@ -185,8 +185,10 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
<label for="od_misu04">포인트주문</label>
|
||||
<input type="checkbox" name="od_coupon" value="Y" id="od_misu05" <?php echo get_checked($od_coupon, 'Y'); ?>>
|
||||
<label for="od_misu05">쿠폰</label>
|
||||
<?php if($default['de_escrow_use']) { ?>
|
||||
<input type="checkbox" name="od_escrow" value="Y" id="od_misu06" <?php echo get_checked($od_escrow, 'Y'); ?>>
|
||||
<label for="od_misu06">에스크로</label>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="sch_last">
|
||||
@ -286,8 +288,8 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$delivery_company = $row['od_delivery_company'] ? $row['od_delivery_company'] : $default['de_delivery_company'];
|
||||
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
if($row['od_escrow'])
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
if($default['de_escrow_use'] && $row['od_escrow'])
|
||||
$tr_bg .= 'escrow';
|
||||
?>
|
||||
<tr class="orderlist<?php echo ' '.$tr_bg; ?>">
|
||||
<td rowspan="3" class="td_chk">
|
||||
|
||||
@ -111,7 +111,7 @@ function order_update_delivery($od_id, $mb_id, $change_status, $delivery)
|
||||
subtract_io_stock($row['it_id'], $row['ct_qty'], $row['io_id'], $row['io_type']);
|
||||
$stock_use = 1;
|
||||
|
||||
$sql = " update {$g5['g5_shop_cart_table']} set ct_stock_use = '$stock_use' where od_id = '{$row['ct_id']}' ";
|
||||
$sql = " update {$g5['g5_shop_cart_table']} set ct_stock_use = '$stock_use' where ct_id = '{$row['ct_id']}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
}
|
||||
|
||||
@ -141,9 +141,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
if($row['od_mobile'])
|
||||
$od_mobile = '(M)';
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_odrnum2">
|
||||
<?php echo $od_mobile; ?>
|
||||
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?sort1=<?php echo $sort1; ?>&sort2=<?php echo $sort2; ?>&sel_field=a.od_id&search=<?php echo $row['od_id']; ?>"><?php echo $row['od_id']; ?></a>
|
||||
|
||||
@ -111,10 +111,10 @@ $colspan = 8;
|
||||
else
|
||||
$od_id = ' ';
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="pp_id_<?php echo $i; ?>" name="pp_id[<?php echo $i; ?>]" value="<?php echo $row['pp_id']; ?>">
|
||||
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="<?php echo $i; ?>" title="내역선택">
|
||||
|
||||
@ -58,9 +58,9 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
<tbody>
|
||||
<?php
|
||||
for($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_chk">
|
||||
<input type="hidden" id="sc_id_<?php echo $i; ?>" name="sc_id[<?php echo $i; ?>]" value="<?php echo $row['sc_id']; ?>">
|
||||
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="1" title="내역선택">
|
||||
|
||||
@ -103,9 +103,9 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$num = $rank + $i + 1;
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $num; ?></td>
|
||||
<td>
|
||||
<a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'], 50, 50); ?><?php echo cut_str($row['it_name'],30); ?></a>
|
||||
|
||||
@ -65,10 +65,10 @@ while ($row=sql_fetch_array($result)) {
|
||||
$rate = ($count / $sum_count * 100);
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $no ?></td>
|
||||
<td class="td_category"><?php echo $key ?></td>
|
||||
<td>
|
||||
|
||||
@ -56,10 +56,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$rate = ($count / $sum_count * 100);
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_category"><a href="./visit_list.php?fr_date=<?php echo $key ?>&to_date=<?php echo $key ?>"><?php echo $key ?></a></td>
|
||||
<td>
|
||||
<div class="visit_bar">
|
||||
|
||||
@ -76,9 +76,9 @@ while ($row=sql_fetch_array($result)) {
|
||||
$rate = ($count / $sum_count * 100);
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $no ?></td>
|
||||
<td class="td_category"><?php echo $link ?><?php echo $key ?><?php echo $link2 ?></td>
|
||||
<td>
|
||||
|
||||
@ -55,9 +55,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$rate = ($count / $sum_count * 100);
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_category"><?php echo $hour ?></td>
|
||||
<td>
|
||||
<div class="visit_bar">
|
||||
|
||||
@ -78,9 +78,9 @@ $result = sql_query($sql);
|
||||
if ($brow == '기타') { $brow = '<span title="'.$row['vi_agent'].'">'.$brow.'</span>'; }
|
||||
if ($os == '기타') { $os = '<span title="'.$row['vi_agent'].'">'.$os.'</span>'; }
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_category"><?php echo $ip ?></td>
|
||||
<td><?php echo $link ?><?php echo $title ?><?php echo $link2 ?></td>
|
||||
<td class="td_category"><?php echo $brow ?></td>
|
||||
@ -98,7 +98,7 @@ $result = sql_query($sql);
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (isset($domain))
|
||||
if (isset($domain))
|
||||
$qstr .= "&domain=$domain";
|
||||
$qstr .= "&page=";
|
||||
|
||||
|
||||
@ -57,10 +57,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$rate = ($count / $sum_count * 100);
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_category"><a href="./visit_date.php?fr_date=<?php echo $key ?>-01&to_date=<?php echo $key ?>-31"><?php echo $key ?></a></td>
|
||||
<td>
|
||||
<div class="visit_bar">
|
||||
|
||||
@ -69,10 +69,10 @@ while ($row=sql_fetch_array($result)) {
|
||||
$rate = ($count / $sum_count * 100);
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_num"><?php echo $no ?></td>
|
||||
<td class="td_category"><?php echo $key ?></td>
|
||||
<td>
|
||||
|
||||
@ -52,10 +52,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$rate = ($count / $sum_count * 100);
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_category"><?php echo $weekday[$i] ?></td>
|
||||
<td>
|
||||
<div class="visit_bar">
|
||||
|
||||
@ -57,10 +57,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$rate = ($count / $sum_count * 100);
|
||||
$s_rate = number_format($rate, 1);
|
||||
|
||||
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
|
||||
$tr_bg = 'tr_bg'.($i%2);
|
||||
?>
|
||||
|
||||
<tr<?php echo ' '.$tr_bg; ?>>
|
||||
<tr class="<?php echo $tr_bg; ?>">
|
||||
<td class="td_category"><a href="./visit_month.php?fr_date=<?php echo $key ?>-01-01&to_date=<?php echo $key ?>-12-31"><?php echo $key ?></a></td>
|
||||
<td>
|
||||
<div class="visit_bar">
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// clean the output buffer
|
||||
ob_end_clean();
|
||||
|
||||
$no = (int)$no;
|
||||
|
||||
@include_once($board_skin_path.'/download.head.skin.php');
|
||||
|
||||
@ -255,8 +255,11 @@ tfoot th, tfoot td {padding:10px 0;border:1px solid #c1d1d5;background:#d7e0e2}
|
||||
tfoot th {}
|
||||
tfoot td {font-weight:bold;text-align:center}
|
||||
table .tr_bg0 {background:#fff}
|
||||
table .tr_bg1 {background:#f5fbe8}
|
||||
table .tr_bg1 td {border-color:#e4f1c6}
|
||||
table .tr_bg1 {background:#f0f3f7}
|
||||
table .tr_bg0escrow {background:#f3f7e7}
|
||||
table .tr_bg0escrow td {border-color:#e4efbb}
|
||||
table .tr_bg1escrow {background:#edf1e3}
|
||||
table .tr_bg1escrow td {border-color:#dce9ad}
|
||||
|
||||
.tbl_wrap {margin:0 0 10px;padding:0 20px}
|
||||
.tbl_wrap td.empty_table {padding:100px 0;text-align:center}
|
||||
@ -396,7 +399,6 @@ td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center}
|
||||
.txt_true {color:#e8180c}
|
||||
.txt_false {color:#ccc}
|
||||
|
||||
|
||||
.banner_or_img {margin:10px 0 0}
|
||||
.banner_or_img button {display:block;margin:5px 0 0}
|
||||
.txt_active {color:#5d910b}
|
||||
@ -645,15 +647,15 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}
|
||||
|
||||
/* 새창 기본 스타일 */
|
||||
.new_win {}
|
||||
.new_win h1 {margin-bottom:20px;padding:0 20px;min-width:480px;height:60px;border-top:2px solid #484848;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em}
|
||||
.new_win h1 {margin-bottom:20px;padding:0 20px;min-width:320px/* 적정값으로 변경하여 사용하세요. */;height:60px;border-top:2px solid #484848;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em}
|
||||
.new_win h2 {margin:0 20px 10px}
|
||||
.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:""}
|
||||
.new_win_ul li {float:left;margin-left:-1px}
|
||||
|
||||
.new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none}
|
||||
.new_win_desc {margin:0 20px}
|
||||
.new_win .anchor {margin:0 20px 5px}
|
||||
.new_win_desc {margin:0 auto;width:93%}
|
||||
.new_win .anchor {margin:0 auto 5px;width:93%}
|
||||
.new_win .tbl_wrap {margin:0 20px 20px;padding:0}
|
||||
|
||||
.new_win .local_sch, .new_win .local_cmd, .new_win .local_desc01, .new_win .local_desc02, .new_win .local_ov {min-width:480px}
|
||||
|
||||
@ -11,10 +11,10 @@ function fancyalert(msg)
|
||||
}
|
||||
|
||||
box = "<div id=\"fancyalert\" style=\"top:"+scroll_top+"px;width:"+w+"px;height:"+h+"px;\">";
|
||||
box += "<div id=\"fancyalert_inner\"><span>"+msg;
|
||||
box += "<div id=\"fancyalert_inner\" style=\"width:"+w+"px;height:"+h+"px;\"><div><span>"+msg;
|
||||
box += "<br>";
|
||||
box += "<button type=\"button\" id=\"fancyalert_close\">확인</button>";
|
||||
box += "</span></div><div id=\"fancyalert_bg\"></div>";
|
||||
box += "</span></div></div><div id=\"fancyalert_bg\"></div>";
|
||||
box += "</div>";
|
||||
|
||||
$("body").append(box);
|
||||
|
||||
@ -22,8 +22,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<script>
|
||||
$(function() {
|
||||
$("a.sct_a").on("click", function() {
|
||||
opener.location.href = this.href;
|
||||
window.opener.location.href = this.href;
|
||||
self.close();
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@ -126,8 +126,9 @@ $(function(){
|
||||
});
|
||||
|
||||
$("a#itemqa_list").on("click", function() {
|
||||
opener.location.href = this.href;
|
||||
window.opener.location.href = this.href;
|
||||
self.close();
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -106,8 +106,9 @@ $(function(){
|
||||
});
|
||||
|
||||
$("a#itemuse_list").on("click", function() {
|
||||
opener.location.href = this.href;
|
||||
window.opener.location.href = this.href;
|
||||
self.close();
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -104,8 +104,9 @@
|
||||
#loading_message img {position:relative;opacity:1.0}
|
||||
|
||||
/* 알림 box */
|
||||
#fancyalert {display:table;z-index:10000;position:absolute;top:0;left:0}
|
||||
#fancyalert_bg {position:absolute;top:0;left:0;width:100%;height:100%;vertical-align:middle;background:#000;text-align:center;opacity: 0.7}
|
||||
#fancyalert_inner {display:table-cell;position:relative;z-index:2;vertical-align:middle;text-align:center}
|
||||
#fancyalert {display:block;z-index:10000;position:absolute;top:0;left:0}
|
||||
#fancyalert_inner {display:table;z-index:2;position:relative}
|
||||
#fancyalert_inner div {display:table-cell;vertical-align:middle;text-align:center}
|
||||
#fancyalert_inner span {display:block;margin:0 auto;padding:30px;width:200px;background:#1f1f1f;color:#f0f1f2}
|
||||
#fancyalert_inner button {margin:15px 0 0;padding:10px 30px;border:0;background:#000;color:#fff}
|
||||
#fancyalert_inner button {margin:15px 0 0;padding:10px 30px;border:0;background:#000;color:#fff}
|
||||
#fancyalert_bg {z-index:0;position:absolute;top:0;left:0;width:100%;height:100%;vertical-align:middle;background:#000;text-align:center;opacity: 0.7}
|
||||
Reference in New Issue
Block a user