쇼핑몰관리자: #24 추가 보기 복사 수정 삭제 링크 아이콘화 완료

This commit is contained in:
whitedot
2013-04-22 14:07:28 +09:00
parent a3ba04f745
commit c340f86716
21 changed files with 44 additions and 44 deletions

View File

@ -72,8 +72,8 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
<td class="td_num"><?=$row['bn_order']?></td>
<td class="td_num"><?=$row['bn_hit']?></td>
<td class="td_smallmng">
<a href="./bannerform.php?w=u&amp;bn_id=<?=$row['bn_id']?>">수정</a>
<a href="javascript:del('./bannerformupdate.php?w=d&amp;bn_id=<?=$row['bn_id']?>');">삭제</a>
<a href="./bannerform.php?w=u&amp;bn_id=<?=$row['bn_id']?>"><img src="./img/icon_mod.jpg" alt="배너수정"></a>
<a href="javascript:del('./bannerformupdate.php?w=d&amp;bn_id=<?=$row['bn_id']?>');"><img src="./img/icon_del.jpg" alt="배너삭제"></a>
</td>
</tr>

View File

@ -129,13 +129,13 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
$s_level = '<label for="ca_name_'.$i.'" '.$class.'><span class="sound_only">'.$p_ca_name.'</span>'.($level+1).'단 분류</label>';
$s_level_input_size = 40 - $level *5; // 하위 분류일 수록 입력칸 넓이 작아짐 - 지운아빠 2013-04-02
if ($level+2 < 6) $s_add = '<a href="./categoryform.php?ca_id='.$row['ca_id'].'&amp;'.$qstr.'">'.($level+2).'단 추가</a><br>'; // 분류는 5단계까지만 가능
if ($level+2 < 6) $s_add = '<a href="./categoryform.php?ca_id='.$row['ca_id'].'&amp;'.$qstr.'"><img src="./img/icon_add.jpg" alt="'.($level+2).'단 추가"></a>'; // 분류는 5단계까지만 가능
else $s_add = '';
$s_upd = '<a href="./categoryform.php?w=u&amp;ca_id='.$row['ca_id'].'&amp;'.$qstr.'">수정</a>';
$s_vie = '<a href="'.G4_SHOP_URL.'/list.php?ca_id='.$row['ca_id'].'">보기</a>';
$s_upd = '<a href="./categoryform.php?w=u&amp;ca_id='.$row['ca_id'].'&amp;'.$qstr.'"><img src="./img/icon_mod.jpg" alt="'.get_text($row['ca_name']).' 수정"></a>';
$s_vie = '<a href="'.G4_SHOP_URL.'/list.php?ca_id='.$row['ca_id'].'"><img src="./img/icon_view.jpg" alt="'.get_text($row['ca_name']).' 이동"></a>';
if ($is_admin == 'super')
$s_del = '<a href="javascript:del(\'./categoryformupdate.php?w=d&amp;ca_id='.$row['ca_id'].'&amp;'.$qstr.'\');">삭제</a>';
$s_del = '<a href="javascript:del(\'./categoryformupdate.php?w=d&amp;ca_id='.$row['ca_id'].'&amp;'.$qstr.'\');"><img src="./img/icon_del.jpg" alt="'.get_text($row['ca_name']).' 삭제"></a>';
// 해당 분류에 속한 상품의 갯수
$sql1 = " select COUNT(*) as cnt from {$g4['shop_item_table']}
@ -162,7 +162,7 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<td class="td_chk"><input type="checkbox" name="ca_use[<?=$i?>]" value="1" <?=($row['ca_use'] ? "checked" : "")?>></td>
<td class="td_bignum"><input type="text" name="ca_stock_qty[<?=$i?>]" value="<?=$row['ca_stock_qty']?>" class="frm_input" size="6" style="text-align:right"></td>
<td class="td_num"><a href="./itemlist.php?sca=<?=$row['ca_id']?>"><?=$row1['cnt']?></a></td>
<td class="td_mng"><?=$s_add?><?=$s_vie?> <?=$s_upd?> <?=$s_del?></td>
<td class="td_mng"><?=$s_add?> <?=$s_vie?> <?=$s_upd?> <?=$s_del?></td>
</tr>
<? }
if ($i == 0) echo "<tr><td colspan=\"7\" class=\"empty_table\">자료가 한 건도 없습니다.</td></tr>\n";

View File

@ -46,9 +46,9 @@ $result = sql_query($sql);
<td class="td_odrnum"><?=$row['co_id']?></td>
<td><?=htmlspecialchars2($row['co_subject'])?></td>
<td class="td_mng">
<a href="<?=G4_SHOP_URL?>/content.php?co_id=<?=$row['co_id']?>">보기</a>
<a href="./contentform.php?w=u&amp;co_id=<?=$row['co_id']?>">수정</a>
<a href="javascript:del('./contentformupdate.php?w=d&amp;co_id=<?=$row['co_id']?>')">삭제</a>
<a href="<?=G4_SHOP_URL?>/content.php?co_id=<?=$row['co_id']?>"><img src="./img/icon_view.jpg" alt="<?=htmlspecialchars2($row['co_subject'])?> 보기"></a>
<a href="./contentform.php?w=u&amp;co_id=<?=$row['co_id']?>"><img src="./img/icon_mod.jpg" alt="<?=htmlspecialchars2($row['co_subject'])?> 수정"></a>
<a href="javascript:del('./contentformupdate.php?w=d&amp;co_id=<?=$row['co_id']?>')"><img src="./img/icon_del.jpg" alt="<?=htmlspecialchars2($row['co_subject'])?> 삭제"></a>
</td>
</tr>
<?

View File

@ -46,8 +46,8 @@ $result = sql_query($sql);
<td class="td_num"><?=$row['dl_order']?></td>
<td class="td_mng">
<a href="<?=$row['dl_url']?>" target="_blank">홈페이지</a>
<a href="./deliverycodeform.php?w=u&amp;dl_id=<?=$row['dl_id']?>">수정</a>
<a href="javascript:del('./deliverycodeformupdate.php?w=d&amp;dl_id=<?=$row['dl_id']?>');">삭제</a>
<a href="./deliverycodeform.php?w=u&amp;dl_id=<?=$row['dl_id']?>"><img src="./img/icon_mod.jpg" alt="<?=stripslashes($row['dl_company'])?> 수정"></a>
<a href="javascript:del('./deliverycodeformupdate.php?w=d&amp;dl_id=<?=$row['dl_id']?>');"><img src="./img/icon_del.jpg" alt="<?=stripslashes($row['dl_company'])?> 삭제"></a>
</td>
</tr>
<?

View File

@ -63,8 +63,8 @@ $result = sql_query($sql);
<td><?=stripslashes($row['fa_subject'])?></td>
<td class="td_num"><?=$row['fa_order']?></td>
<td class="td_smallmng">
<a href="./faqform.php?w=u&amp;fm_id=<?=$row['fm_id']?>&amp;fa_id=<?=$row['fa_id']?>">수정</a>
<a href="javascript:del('./faqformupdate.php?w=d&amp;fm_id=<?=$row['fm_id']?>&amp;fa_id=<?=$row['fa_id']?>');">삭제</a>
<a href="./faqform.php?w=u&amp;fm_id=<?=$row['fm_id']?>&amp;fa_id=<?=$row['fa_id']?>"><img src="./img/icon_mod.jpg" alt="<?=stripslashes($row['fa_subject'])?> 수정"></a>
<a href="javascript:del('./faqformupdate.php?w=d&amp;fm_id=<?=$row['fm_id']?>&amp;fa_id=<?=$row['fa_id']?>');"><img src="./img/icon_del.jpg" alt="<?=stripslashes($row['fa_subject'])?> 삭제"></a>
</td>
</tr>

View File

@ -61,11 +61,11 @@ $result = sql_query($sql);
<td class="td_num"><?=$row['fm_id']?></td>
<td><?=stripslashes($row['fm_subject']) ?></td>
<td class="td_num"><?=$cnt?></td>
<td class="td_smallmng"><a href="./faqlist.php?fm_id=<?=$row['fm_id']?>&amp;fm_subject=<?=$row['fm_subject']?>">상세보기</a></td>
<td class="td_smallmng"><a href="./faqlist.php?fm_id=<?=$row['fm_id']?>&amp;fm_subject=<?=$row['fm_subject']?>" class="btn_frmline">상세보기</a></td>
<td class="td_mng">
<a href="<?=G4_SHOP_URL?>/faq.php?fm_id=<?=$row['fm_id']?>">보기</a>
<a href="./faqmasterform.php?w=u&amp;fm_id=<?=$row['fm_id']?>">수정</a>
<a href="javascript:del('./faqmasterformupdate.php?w=d&amp;fm_id=<?=$row['fm_id']?>');">삭제</a>
<a href="<?=G4_SHOP_URL?>/faq.php?fm_id=<?=$row['fm_id']?>"><img src="./img/icon_view.jpg" alt="<?=stripslashes($row['fm_subject']) ?> 보기"></a>
<a href="./faqmasterform.php?w=u&amp;fm_id=<?=$row['fm_id']?>"><img src="./img/icon_mod.jpg" alt="<?=stripslashes($row['fm_subject']) ?> 수정"></a>
<a href="javascript:del('./faqmasterformupdate.php?w=d&amp;fm_id=<?=$row['fm_id']?>');"><img src="./icon_del.jpg" alt="<?=stripslashes($row['fm_subject']) ?> 삭제"></a>
</td>
</tr>
<?

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

View File

@ -67,7 +67,7 @@ $pg_anchor = '<ul class="anchor">
<td class="td_name"><?=$name?></td>
<td class="td_bignum"><?=display_amount($row['receiptamount'])?></td>
<td class="td_payby"><?=$settle_method?></td>
<td class="td_mng"><a href="./orderform.php?od_id=<?=$row['od_id']?>">수정</a></td>
<td class="td_smallmng"><a href="./orderform.php?od_id=<?=$row['od_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$row['od_id']?> 수정"></a></td>
</tr>
<?
}
@ -132,7 +132,7 @@ $pg_anchor = '<ul class="anchor">
<td class="td_name"><?=$name?></td>
<td class="td_bignum"><?=display_amount($row['orderamount'])?></td>
<td class="td_payby"><?=$settle_method?></td>
<td class="td_mng"><a href="./orderform.php?od_id=<?=$row['od_id']?>">수정</a></td>
<td class="td_smallmng"><a href="./orderform.php?od_id=<?=$row['od_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$row['od_id']?> 수정"></a></td>
</tr>
<?
}
@ -175,7 +175,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<td class="td_name"><?=$name?></td>
<td><?=cut_str($row['is_subject'],40)?></td>
<td class="td_mng"><a href="./itempsform.php?w=u&amp;is_id=<?=$row['is_id']?>">수정</a></td>
<td class="td_smallmng"><a href="./itempsform.php?w=u&amp;is_id=<?=$row['is_id']?>"><img src="./img/icon_mod.jpg" alt="<?=cut_str($row['is_subject'],40)?> 수정"></a></td>
</tr>
<?
}

View File

@ -56,9 +56,9 @@ $result = sql_query($sql);
<td class="td_num"><?=$href?><?=$ev['cnt']?><?=$href_close?></td>
<td class="td_smallmng"><?=$row['ev_use'] ? '<span class="txt_true">예</span>' : '<span class="txt_false">아니오</span>'?></td>
<td class="td_mng">
<a href="<?=G4_SHOP_URL?>/event.php?ev_id=<?=$row['ev_id']?>">보기</a>
<a href="./itemeventform.php?w=u&amp;ev_id=<?=$row['ev_id']?>">수정</a>
<a href="javascript:del('./itemeventformupdate.php?w=d&amp;ev_id=<?=$row['ev_id']?>');">삭제</a>
<a href="<?=G4_SHOP_URL?>/event.php?ev_id=<?=$row['ev_id']?>"><img src="./img/icon_view.jpg" alt="<?=$row['ev_subject']?> 보기"></a>
<a href="./itemeventform.php?w=u&amp;ev_id=<?=$row['ev_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$row['ev_subject']?> 수정"></a>
<a href="javascript:del('./itemeventformupdate.php?w=d&amp;ev_id=<?=$row['ev_id']?>');"><img src="./img/icon_del.jpg" alt="<?=$row['ev_subject']?> 삭제"></a>
</td>
</tr>

View File

@ -181,7 +181,7 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<?=conv_selected_option($ca_list, $row['ca_id'])?>
</select>
<?=$tmp_ca_list?><br>
<input type="text" name="it_name[<?=$i?>]" value="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?>" required class="frm_input frm_sit_title required" size="40">
<input type="text" name="it_name[<?=$i?>]" value="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?>" required class="frm_input frm_sit_title required" size="30">
</td>
<td headers="sit_amt"><input type="text" name="it_amount[<?=$i?>]" value="<?=$row['it_amount']?>" class="frm_input sit_amt" size="7"></td>
<td headers="sit_amt2"><input type="text" name="it_amount2[<?=$i?>]" value="<?=$row['it_amount2']?>" class="frm_input sit_amt2" size="7"></td>
@ -189,11 +189,11 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<td rowspan="2"><input type="text" name="it_order[<?=$i?>]" value="<?=$row['it_order']?>" class="frm_input sit_odrby" size="3"></td>
<td rowspan="2"><input type="checkbox" name="it_use[<?=$i?>]" <?=($row['it_use'] ? 'checked' : '')?> value="1"></td>
<td rowspan="2"><?=$row['it_hit']?></td>
<td rowspan="2">
<a href="./itemform.php?w=u&amp;it_id=<?=$row['it_id']?>&amp;ca_id=<?=$row['ca_id']?>&amp;<?=$qstr?>">수정</a>
<a href="javascript:del('./itemformupdate.php?w=d&amp;it_id=<?=$row['it_id']?>&amp;ca_id=<?=$row['ca_id']?>&amp;<?=$qstr?>');">삭제</a>
<a href="<?=$href?>">보기</a>
<a href="javascript:_copy('<?=$row['it_id']?>', '<?=$row['ca_id']?>');">복사</a>
<td rowspan="2" class="td_mng">
<a href="<?=$href?>"><img src="./img/icon_view.jpg" alt="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?> 보기"></a>
<a href="javascript:_copy('<?=$row['it_id']?>', '<?=$row['ca_id']?>');"><img src="./img/icon_copy.jpg" alt="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?> 복사"></a>
<a href="./itemform.php?w=u&amp;it_id=<?=$row['it_id']?>&amp;ca_id=<?=$row['ca_id']?>&amp;<?=$qstr?>"><img src="./img/icon_mod.jpg" alt="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?> 수정"></a>
<a href="javascript:del('./itemformupdate.php?w=d&amp;it_id=<?=$row['it_id']?>&amp;ca_id=<?=$row['ca_id']?>&amp;<?=$qstr?>');"><img src="./img/icon_del.jpg" alt="<?=htmlspecialchars2(cut_str($row['it_name'],250, ""))?> 삭제"></a>
</td>
</tr>
<tr>

View File

@ -135,8 +135,8 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
<td class="td_num"><?=$row['is_score']?></td>
<td class="sit_ps_confirm"><?=$confirm?></td>
<td class="td_smallmng">
<a href="./itempsform.php?w=u&amp;is_id=<?=$row['is_id']?>&amp;$qstr">수정</a>
<a href="javascript:del('./itempsformupdate.php?w=d&amp;is_id={$row['is_id']}&amp;$qstr');">삭제</a>
<a href="./itempsform.php?w=u&amp;is_id=<?=$row['is_id']?>&amp;$qstr"><img src="./img/icon_mod.jpg" alt="<?=$row['is_subject']?> 수정"></a>
<a href="javascript:del('./itempsformupdate.php?w=d&amp;is_id={$row['is_id']}&amp;$qstr');"><img src="./img/icon_del.jpg" alt="<?=$row['is_subject']?> 삭제"></a>
</td>
</tr>
@ -144,7 +144,7 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
}
if ($i == 0) {
echo '<tr><td colspan="6" class="empty_table"><span>자료가 한건도 없습니다.</span></td></tr>';
echo '<tr><td colspan="6" class="empty_table">자료가 없습니다.</td></tr>';
}
?>
</tbody>

View File

@ -130,8 +130,8 @@ if ($sfl || $stx) // 검색 결과일 때만 처음 버튼을 보여줌
<td class="sit_qa_subject"><?=$row['iq_subject']?></td>
<td class="sit_qa_answer"><?=$answer?></td>
<td class="td_smallmng">
<a href="./itemqaform.php?w=u&amp;iq_id=<?=$row['iq_id']?>&amp;<?=$qstr?>">수정</a>
<a href="javascript:del('./itemqaformupdate.php?w=d&amp;iq_id=<?=$row['iq_id']?>&amp;$qstr');">삭제</a>
<a href="./itemqaform.php?w=u&amp;iq_id=<?=$row['iq_id']?>&amp;<?=$qstr?>"><img src="./img/icon_mod.jpg" alt="<?=$row['iq_subject']?> 수정"></a>
<a href="javascript:del('./itemqaformupdate.php?w=d&amp;iq_id=<?=$row['iq_id']?>&amp;$qstr');"><img src="./img/icon_del.jpg" alt="<?=$row['iq_subject']?> 삭제"></a>
</td>
</tr>
<?

View File

@ -162,7 +162,7 @@ if ($stx) // 검색 결과일 때만 처음 버튼을 보여줌
<td class="td_chk"><input type="checkbox" name="it_type3[<?=$i?>]" value="1" <?=($row['it_type3'] ? 'checked' : '')?>></td>
<td class="td_chk"><input type="checkbox" name="it_type4[<?=$i?>]" value="1" <?=($row['it_type4'] ? 'checked' : '')?>></td>
<td class="td_chk"><input type="checkbox" name="it_type5[<?=$i?>]" value="1" <?=($row['it_type5'] ? 'checked' : '')?>></td>
<td class="td_smallmng"><a href="./itemform.php?w=u&amp;it_id=<?=$row['it_id']?>&amp;ca_id=<?=$row['ca_id']?>&amp;<?=$qstr?>">수정</a></td>
<td class="td_smallmng"><a href="./itemform.php?w=u&amp;it_id=<?=$row['it_id']?>&amp;ca_id=<?=$row['ca_id']?>&amp;<?=$qstr?>"><img src="./img/icon_mod.jpg" alt="<?=cut_str(stripslashes($row['it_name']), 60, "&#133")?> 수정"></a></td>
</tr>
<?
}

View File

@ -52,8 +52,8 @@ $result = sql_query($sql);
<td><?=$row['nw_width']?>px</td>
<td><?=$row['nw_height']?>px</td>
<td class="td_smallmng">
<a href="./newwinform.php?w=u&amp;nw_id=<?=$row['nw_id']?>">수정</a>
<a href="./newwinformupdate.php?w=d&amp;nw_id=<?=$row['nw_id']?>">삭제</a>
<a href="./newwinform.php?w=u&amp;nw_id=<?=$row['nw_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$row['nw_subject']?> 수정"></a>
<a href="./newwinformupdate.php?w=d&amp;nw_id=<?=$row['nw_id']?>"><img src="./img/icon_del.jpg" alt="<?=$row['nw_subject']?> 삭제"></a>
</td>
</tr>
<?

View File

@ -228,15 +228,15 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<td class="td_sodr_nonpay"><?=number_format($lines[$i]['misu'])?></td>
<td><?=$s_receipt_way?></td>
<td>
<a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>&amp;<?=$qstr?>">수정</a>
<a href="javascript:del('./orderdelete.php?od_id=<?=$lines[$i]['od_id']?>&amp;uq_id=<?=$lines[$i]['uq_id']?>&amp;mb_id=<?=$lines[$i]['mb_id']?>&amp;<?=$qstr?>)">삭제</a>
<a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>&amp;<?=$qstr?>"><img src="./img/icon_mod.jpg" alt="<?=$lines[$i]['od_id']?> 수정"></a>
<a href="javascript:del('./orderdelete.php?od_id=<?=$lines[$i]['od_id']?>&amp;uq_id=<?=$lines[$i]['uq_id']?>&amp;mb_id=<?=$lines[$i]['mb_id']?>&amp;<?=$qstr?>)"><img src="./img/icon_del.jpg" alt="<?=$lines[$i]['od_id']?> 삭제"></a>
</td>
</tr>
<?
}
mysql_free_result($result);
if ($i == 0)
echo '<tr><td colspan="11" class="empty_table"><span>자료가 한건도 없습니다.</span></td></tr>';
echo '<tr><td colspan="11" class="empty_table">자료가 없습니다.</td></tr>';
?>
</tbody>
</table>

View File

@ -210,8 +210,8 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<td headers="sodr_all_nonpay" class="td_sodr_nonpay"><?=number_format($lines[$i]['misu'])?></td>
<td headers="sodr_all_payby"><?=$s_receipt_way?></td>
<td headers="sodr_all_mng">
<a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>&amp;$qstr?>">수정</a>
<a href="javascript:del('./orderdelete.php?od_id=<?=$lines[$i]['od_id']?>&amp;uq_id=<?=$lines[$i]['uq_id']?>&amp;mb_id=<?=$lines[$i]['mb_id']?>&amp;$qstr&amp;list=2');">삭제</a>
<a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>&amp;$qstr?>"><img src="./img/icon_mod.jpg" alt="주문 수정"></a>
<a href="javascript:del('./orderdelete.php?od_id=<?=$lines[$i]['od_id']?>&amp;uq_id=<?=$lines[$i]['uq_id']?>&amp;mb_id=<?=$lines[$i]['mb_id']?>&amp;$qstr&amp;list=2');"><img src="./img/icon_del.jpg" alt="주문 삭제"></a>
</td>
</tr>

View File

@ -188,7 +188,7 @@ if ($search) // 검색렬일 때만 처음 버튼을 보여줌
<td><?=number_format($lines[$i]['ct_sub_amount'])?></td>
<td><?=number_format($lines[$i]['ct_sub_point'])?></td>
<td><a href="<?=$_SERVER['PHP_SELF']?>?sort1=<?=$sort1?>&amp;sort2=<?=$sort2?>&amp;sel_field=ct_status&amp;search=<?=$lines[$i]['ct_status']?>"><?=$lines[$i]['ct_status']?></a></td>
<td><a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>">수정</a></td>
<td><a href="./orderform.php?od_id=<?=$lines[$i]['od_id']?>"><img src="./img/icon_mod.jpg" alt="<?=$lines[$i]['od_id']?> 수정"></a></td>
</tr>
<?
}