쇼핑몰: #142 이벤트 표준화 및 스타일 완료
This commit is contained in:
@ -11,21 +11,17 @@ if (!$ev['ev_id'])
|
||||
$g4['title'] = $ev['ev_subject'];
|
||||
include_once('./_head.php');
|
||||
|
||||
$himg = G4_DATA_PATH."/event/{$ev_id}_h";
|
||||
if (file_exists($himg))
|
||||
echo "<img src='".G4_DATA_URL."/event/{$ev_id}_h' border=0><br>";
|
||||
|
||||
if ($is_admin)
|
||||
echo "<p align=center><a href='".G4_ADMIN_URL."/shop_admin/itemeventform.php?w=u&ev_id={$ev['ev_id']}'><img src='".G4_SHOP_URL."/img/btn_admin_modify.gif' border=0></a></p>";
|
||||
echo '<div class="sev_admin"><a href="'.G4_ADMIN_URL.'/shop_admin/itemeventform.php?w=u&ev_id='.$ev['ev_id'].'" class="btn_admin">이벤트 관리</a></div>';
|
||||
|
||||
$himg = G4_DATA_PATH.'/event/'.$ev_id.'_h';
|
||||
if (file_exists($himg))
|
||||
echo '<div id="sev_himg" class="sev_img"><img src="'.G4_DATA_URL.'/event/'.$ev_id.'_h" alt=""></div>';
|
||||
|
||||
// 상단 HTML
|
||||
echo stripslashes($ev['ev_head_html']);
|
||||
echo '<div id="sev_hhtml">'.stripslashes($ev['ev_head_html']).'</div>';
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<?php
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
@ -105,25 +101,18 @@ if ($i==0)
|
||||
}
|
||||
?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<div align=center>
|
||||
<?php
|
||||
$qstr .= "ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=$sort";
|
||||
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");
|
||||
$qstr .= 'ca_id='.$ca_id.'&skin='.$skin.'&ev_id='.$ev_id.'&sort='.$sort;
|
||||
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");
|
||||
?>
|
||||
</div><br>
|
||||
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo stripslashes($ev['ev_tail_html']);
|
||||
echo '<div id="sev_thtml">'.stripslashes($ev['ev_tail_html']).'</div>';
|
||||
|
||||
$timg = G4_DATA_PATH."/event/{$ev_id}_t";
|
||||
$timg = G4_DATA_PATH.'/event/'.$ev_id.'_t';
|
||||
if (file_exists($timg))
|
||||
echo "<br><img src='".G4_DATA_URL."/event/{$ev_id}_t' border=0><br>";
|
||||
echo '<div id="sev_timg" class="sev_img"><img src="'.G4_DATA_URL.'/event/'.$ev_id.'_t" alt=""></div>';
|
||||
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user