diff --git a/adm/shop_admin/itemevent.php b/adm/shop_admin/itemevent.php
index 2c7317261..f3ac87530 100644
--- a/adm/shop_admin/itemevent.php
+++ b/adm/shop_admin/itemevent.php
@@ -17,62 +17,56 @@ $total_count = $row['cnt'];
$sql = "select * $sql_common order by ev_id desc ";
$result = sql_query($sql);
?>
-
+
+
전체 이벤트 =$total_count ?>건
- 이벤트관리
- 건수 echo $total_count ?>
+ 이벤트 목록
+
+
-
-
-
-
-
-
-
- | 이벤트 번호 |
+ 이벤트번호 |
제목 |
- 연결 상품 |
+ 연결상품 |
사용 |
구분 |
- for ($i=0; $row=mysql_fetch_array($result); $i++)
- {
- $s_mod = icon("수정", "./itemeventform.php?w=u&ev_id={$row['ev_id']}");
- $s_del = icon("삭제", "javascript:del('./itemeventformupdate.php?w=d&ev_id={$row['ev_id']}');");
- $s_vie = icon("보기", G4_SHOP_URL."/event.php?ev_id={$row['ev_id']}");
+ for ($i=0; $row=mysql_fetch_array($result); $i++) {
$href = "";
$sql = " select count(ev_id) as cnt from {$g4['shop_event_item_table']} where ev_id = '{$row['ev_id']}' ";
$ev = sql_fetch($sql);
if ($ev[cnt]) {
- $href = "";
+ $href = '';
+ $href_close = '';
}
+ ?>
- $list = $i%2;
- ?>
-
- | =$row['ev_id']?> |
- =$row['ev_subject']?> |
- =$href?>=$ev['cnt']?> |
- =$row['ev_use'] ? "예" : "아니오"?> |
- 수정 삭제 보기 |
-
-
+
+ | =$row['ev_id']?> |
+ =$row['ev_subject']?> |
+ =$href?>=$ev['cnt']?>=$href_close?> |
+ =$row['ev_use'] ? '예' : '아니오'?> |
+
+ 보기
+ 수정
+ 삭제
+ |
+
+
+
}
if ($i == 0) {
- echo '| 자료가 한건도 없습니다. |
';
+ echo '| 자료가 없습니다. |
';
}
?>