쇼핑몰: 메인배너 스킨 기본 마크업 점검
This commit is contained in:
@ -8,9 +8,8 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
|||||||
<?php
|
<?php
|
||||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
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);
|
//print_r2($row);
|
||||||
// 테두리 있는지
|
// 테두리 있는지
|
||||||
$bn_border = ($row['bn_border']) ? ' sbn_border' : '';;
|
$bn_border = ($row['bn_border']) ? ' sbn_border' : '';;
|
||||||
|
|||||||
@ -8,9 +8,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
|||||||
<?php
|
<?php
|
||||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||||
{
|
{
|
||||||
$bn_position = 'idx';
|
if ($i==0) echo '<section id="sbn_idx" class="sbn"><h2>쇼핑몰 배너</h2><ul>'.PHP_EOL;
|
||||||
|
|
||||||
if ($i==0) echo '<section id="sbn_'.$bn_position.'" class="sbn"><h2>쇼핑몰 배너</h2><ul>'.PHP_EOL;
|
|
||||||
//print_r2($row);
|
//print_r2($row);
|
||||||
// 테두리 있는지
|
// 테두리 있는지
|
||||||
$bn_border = ($row['bn_border']) ? ' sbn_border' : '';;
|
$bn_border = ($row['bn_border']) ? ' sbn_border' : '';;
|
||||||
|
|||||||
Reference in New Issue
Block a user