-=[ Mr. Bumblebee ]=-
_Indonesia_
| Path : /var/www/html/ |
|
|
| Current File : //var/www/html/index_rollingBrand.html |
<? include $_SERVER['DOCUMENT_ROOT'] . '/inc/config.php' ; ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="/css/style.css" type="text/css" />
<link rel="stylesheet" href="/css/css.css" type="text/css" />
<link rel="stylesheet" href="/css/reset.css" type="text/css" />
<link rel="stylesheet" href="/css/detail.css" type="text/css" />
<link rel="stylesheet" href="/css/common.css" type="text/css" />
<link rel="stylesheet" href="/common/catalog/flexslider.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="/css/common2.css">
<script type="text/javascript" src="/common/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/common/rolling.js"></script>
<script language="javascript" src="/common/jCarousellite.js"></script>
<script language='javascript' src='/js.js'></script>
<script type="text/javascript" src="/common/main.js"></script>
<script language='javascript' src='/inc/config.js'></script>
</head>
<body>
<?
$str = '' ;
$m = 20 ;
$maincode = '4' ; // ·Ñ¸µ
$execute = $exe->qry_one( " from tbl_{$config[SHP][1]}_item as it where openstate = 'Y' and mainview LIKE '%{$maincode}%' order by seq desc limit " . $m , " it.numid , it.imglist , it.title , it.g_normalp , it.g_price , it.topprice , it.botprice , it.salestate , it.selecticons , it.g_point " ) ;
$i = 0 ;
while ( $rs = $exe->fetch($execute)) {
$i++ ;
$rs['imglist'] = empty($rs['imglist']) ? '' : create_image( 'files/' . $config['SHP'][4]['list_dir'] . '/' . $rs['imglist'] , 188 , 200) ;
if ( !empty($rs['selecticons'])) {
$act_icons = explode( ',' , $rs['selecticons'] );
$rs['selecticons'] = '<div style="padding-bottom:5px;">' ;
foreach ( $act_icons as $v ) {
$rs['selecticons'].= $define_shop_icons[$v] . ' ' ;
}
$rs['selecticons'].= '</div>' ;
}
$rs['title'] = str_cut($rs['title'] . '' , 30) ;
$str .= '<li style="float:left;padding-right:20px;"><table width="281" height="424" align="center" style="padding-bottom:0; border: 1px solid #d4d4d4;" onmouseover="this.style.borderColor = \'#FF0000\'; " onmouseout="this.style.borderColor = \'#d4d4d4\'; ">
<tbody>
<tr>
<td class="pro-thumb" style="width: 280px; height:335px; text-align: center; vertical-align: top; padding-top: 9px; padding-bottom:0px;"><a href="/product/?mode=detailView&numid=' . $rs['numid'] . '" target="_parent">' . $rs['imglist'] . '</a></td>
</tr>
<tr>
<td class="pro-thumb" style="text-align: left; height:0px; padding-left: 20px; padding-top: 1px; padding-bottom:1px;">' . $rs['selecticons'] . '<div class="pro-title">
<span style="font-family:Nanum Gothic;font-size:14px;color:gray;font-weight:bold;"><a href="/product/?mode=detailView&numid=' . $rs['numid'] . '" target="_parent">
' . $rs['title'] . '
</a></div></td>
</tr>
<tr>
<td style="text-align: left; height: 20px; padding-left: 20px; padding-bottom: 5px;"><div class="pro-price">' . ( $rs['salestate'] == '1' ? '<img src="/img/icon_won.gif"> <strike><span style="font-family:Nanum Gothic;font-size:12px;color:gray;font-weight:bold;">' . number_format($rs['g_normalp']) . '</strike> <span style="font-family:Nanum Gothic;font-size:16px;color:black;font-weight:bold;">' . number_format($rs['g_price'] + $rs['topprice'] + $rs['botprice']) . '</span><span style="font-family:Nanum Gothic;font-size:16px;color:gray;">¿ø</span>' : '<span style="color:#48BC2D">' . $define_shop['»óÅÂ'][$rs['salestate']] .'</span>' ) . '</div></td>
</tr>
' ;
if ( $rs['g_point'] == 'Y' && $rs['salestate'] == '1' ) {
$str .= '
<!--tr>
<td style="text-align: left; height: 20px; padding-left: 20px;"><div class="pro-price"><img src="/img/icon_point.gif"> ' . number_format(($rs['g_price'] + $rs['topprice'] + $rs['botprice'])*$define_shop_point_p) . '</div></td>
</tr-->
' ;
}
$str .= '
</tbody>
</table></li>' ;
}
?>
<div style="text-align:right; padding-right:8px; padding-bottom:3px;"><a href="#" class="mainBestBrand__01next" id="mainBestBrand__01next"><img src="/img/rollbt_left.gif"></a> <a href="#" class="mainBestBrand__01prev" id="mainBestBrand__01prev"><img src="/img/rollbt_right.gif"></a></div>
<div class="mainBestBrand__01" id="mainBestBrand__01" style="width:100%;height:424px;overflow:hidden;">
<ul style="position:relative;">
<?=$str?>
<!--li style="float:left;padding-right:20px;"><a href="http://soccerteam.kr/product/?c1=9&numid=2890&mode=detailView" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('bbrand1','','img/GAS-3004-VT.jpg',1)"><img src="img/GAS-3004-VT.jpg" name="bbrand1" border="0" id="bbrand1" /></a></li-->
</ul>
</div>
<p style="clear:both;"></p>
</div>
<? if ( $i > 4 ) { ?>
<script language="javascript">
$(function() {
$(".mainBestBrand__01").jCarouselLite({
btnNext: ".mainBestBrand__01next",
btnPrev: ".mainBestBrand__01prev",
visible: 4 ,
auto: 100 ,
speed: 1800,
over:true
});
});
</script>
<? } ?>
</body>
</html>
Copyright © 2017 || Recoded By Mr.Bumblebee