쇼핑몰: 메인배너 스킨 기본 마크업 점검

This commit is contained in:
whitedot committed 2014-03-05 14:03:40 +09:00
1 parent 9ce714b0ee
commit 2387077712
2 files changed
+2 -5

No files matched your search

+1 -2
View File
@@ -8,9 +8,8 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
<?php
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$bn_position = 'side';
if ($i==0) echo '<aside id="sbn_'.$bn_position.'" class="sbn"><h2>쇼핑몰 배너</h2><ul>'.PHP_EOL;
if ($i==0) echo '<aside id="sbn_side" class="sbn"><h2>쇼핑몰 배너</h2><ul>'.PHP_EOL;
//print_r2($row);
// 테두리 있는지
$bn_border = ($row['bn_border']) ? ' sbn_border' : '';;
+1 -3
View File
@@ -8,9 +8,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
<?php
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$bn_position = 'idx';
if ($i==0) echo '<section id="sbn_'.$bn_position.'" class="sbn"><h2>쇼핑몰 배너</h2><ul>'.PHP_EOL;
if ($i==0) echo '<section id="sbn_idx" class="sbn"><h2>쇼핑몰 배너</h2><ul>'.PHP_EOL;
//print_r2($row);
// 테두리 있는지
$bn_border = ($row['bn_border']) ? ' sbn_border' : '';;