<?php /* Smarty version 2.6.10, created on 2018-12-22 12:11:01
         compiled from product_class.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'product_class.html', 440, false),)), $this); ?>
<?php if ($this->_tpl_vars['proID'] != "" && $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid'] == $this->_tpl_vars['page_id']): ?>





<link href="resources/jiaoben1900/css/ShopShow.css?IN=1" type="text/css" rel="stylesheet">	
<link href="resources/jiaoben1900/css/MagicZoom.css" type="text/css" rel="stylesheet">	

<SCRIPT src="resources/jiaoben1900/js/MagicZoom.js" type=text/javascript></SCRIPT>


<div id="tsShopContainer">

	<div id="tsImgS"><?php echo $this->_tpl_vars['html10']; ?>
</div>
	<div id="tsPicContainer">
		<div id="tsImgSArrL" onclick="tsScrollArrLeft()"></div>
		<div id="tsImgSCon">
			<ul>
				<?php echo $this->_tpl_vars['html11']; ?>

			</ul>
		</div>
		<div id="tsImgSArrR" onclick="tsScrollArrRight()"></div>
	</div>
	<img class="MagicZoomLoading" width="16" height="16" src="images/loading.gif" alt="Loading..." />

</div>
<script src="resources/jiaoben1900/js/ShopShow.js"></script>







  <script>
              //商品数量的增加
                function numbers(){
                var Input0=document.getElementById('input0');
                var Input1=document.getElementById('input1');
                var Input2=document.getElementById('input2');
                
                    Input1.onmousedown=function(){
                        this.form.iYear.value++;
var iYear=this.form.iYear.value; 
var UnitPrice= this.form.UnitPrice.value;
  this.form.Charge.value=UnitPrice * iYear;
						$("#input0").change();

                    }
                    
                        Input2.onmousedown=function(){
                            if(Input0.value>1){
                            this.form.iYear.value--;


var iYear=this.form.iYear.value; 
var UnitPrice= this.form.UnitPrice.value;
  this.form.Charge.value=UnitPrice * iYear;



							$("#input0").change();

                        }
                    }

				
                }





function frame_order(){
 var Input3=document.getElementById('input3');
Input3.onmousedown=function(){
var iYear=this.form.iYear.value;
var url="/product/ORder.php?IDProduct=<?php echo $this->_tpl_vars['proID']; ?>
&iYear="+iYear+"&lang=<?php echo $this->_tpl_vars['lang']; ?>
";
	popWin.showWin("800","450","<?php echo $this->_tpl_vars['lang_cp']; ?>
 <?php echo $this->_tpl_vars['lang_dg']; ?>
",url);
	
}
}
 function vhost_button(form_new)
{
	$('#shop')[0].reset();
	Sum(form_new);
}


function Sum(form){
	if(form.Num)
	{
		var Num =parseInt(form.Num.value);
	}
	else
	{
		var Num =1;
	}
	//var Num = form.Num?parseInt(form.Num.value):1;
	form.Charge.value = Num * parseInt(form.UnitPrice.value) * parseInt(form.iYear.value);
}



window.onload = function(){
	Sum(document.forms.shop);
}

            </script>


<form id="shop"  action="/product/ORder.php?IDProduct=<?php echo $this->_tpl_vars['proID']; ?>
&lang=<?php echo $this->_tpl_vars['lang']; ?>
" method="post" >
 <div style="width:53%;margin:0px 0px 0 20px;padding:20px;float:left;background:#fff;"><span style="font-size:22px;font-weight:bold;padding-bottom:5px"><?php echo $this->_tpl_vars['ProductName']; ?>
</span>
 <br>
<div id="topLine"></div>

<br>

<?php echo $this->_tpl_vars['lang_jg']; ?>
 : <font  style=""><?php echo $this->_tpl_vars['lang_rmb']; ?>
<input style="color:red;font-size:18px;font-weight:bold;border:0;" name='Charge' type='text' class="inputbox" size="10" value="<?php echo $this->_tpl_vars['Price']; ?>
"  readonly></font>
<br>
<ul>
<?php echo $this->_tpl_vars['html_cs']; ?>


<li><?php echo $this->_tpl_vars['lang_sjtime']; ?>
 :  <?php echo $this->_tpl_vars['dtCreate']; ?>
<li>
</ul>		
   <br>
  <?php echo $this->_tpl_vars['lang_sl']; ?>
： <input class="inputbox" id="input2" type=button value="-" onmousedown="numbers();">
                <input class="inputbox" size=3 id="input0" type=text name="iYear" value="1" style="text-align:center;"  onchange="Sum(this.form)" >
                <input class="inputbox" id="input1" type=button value="+" onmousedown="numbers();">
					   <br>
   <br>


	
<a  onmousedown='frame_order();' href="javascript:" >

<input type="button" id="input3" name="Submit" value="<?php echo $this->_tpl_vars['lang_ljgm']; ?>
" class="button yahei bg1"></a>


						<input  onclick="vhost_button(this.form)" type="reset"  class="button yahei bg2" value="<?php echo $this->_tpl_vars['lang_cz']; ?>
">
						<input type="hidden" name="IDProduct" value="<?php echo $this->_tpl_vars['IDProduct']; ?>
">
						<input type="hidden"  name="UnitPrice" value="<?php echo $this->_tpl_vars['UnitPrice']; ?>
">
 <br>
<br>
<div class="bdsharebuttonbox" style="float:left;"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>

<div style="clear:both;height:18px;"></div>

</div>



<br>



</form>

<div style="clear:both;"></div>



<script type="text/javascript" src="resources/js/tabel_jquery.js"></script>
<style type="text/css">

*{margin:0; padding:0; list-style:none; }
.slideGroup{ width:100%; border:0px solid #ddd; text-align:left; height:100% ;margin-top:20px;}
.slideGroup .parHd{ height:38px; line-height:38px;  padding:0 20px; border-bottom:1px solid #ddd;  position:relative;  }
.slideGroup .parHd ul{ float:left; position:absolute; left:20px; top:-1px; height:38px;   }
.slideGroup .parHd ul li{ float:left; padding:0 15px; cursor:pointer;font-size:16px;  }
.slideGroup .parHd ul li.on{ height:38px;  background:#fff; border:1px solid #ddd; border-bottom:2px solid #fff; }
.slideGroup .parBd{ padding:10px; zoom:1;  height:100%;background:#fff; border:1px solid #ccc }
.slideGroup .slideBox{ overflow:hidden; zoom:1;height:100% ;}

</style>


<div class="slideGroup main ">

    <div class="parHd">
        <ul>







<li ><b><?php echo $this->_tpl_vars['lang_cpjs']; ?>
</b></li >


<li ><b><?php echo $this->_tpl_vars['lang_cply']; ?>
</b></li >



</ul>
    </div> 
    <div class="parBd ">
            <div class="slideBox ">
      






<div style="width:100%;margin:10px;" class="content1">

			   




<?php echo $this->_tpl_vars['txtDetail']; ?>

</div>

</div><!-- slideBox End -->
   
   
    <div class="slideBox ">
  
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "customer_pinglun.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
   </div>
   
   
   
   
   
   



        


    </div><!-- parBd End -->
</div>

<script type="text/javascript">


   
    /* 外层tab切换 */
    jQuery(".slideGroup").slide({
		titCell:".parHd li",
		mainCell:".parBd"
		});
</script>  



<?php else: ?>


<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_ms'] == '1'): ?>

	<style>
.product_list{width:100%;padding:20px;}

	
		.product_list .product{border:solid 1px #ddd; width:145px; padding:5px; padding-top:15px; float:left; margin:0 8px 5px 0; height:290px; overflow:hidden}
.product_list .product:hover{border-color:#888 !important; box-shadow:0 0 2px 0 #888}
	
		.product_list .hot{border-color:#888 !important; box-shadow:0 0 2px 0 #888}
		.product_list .product a{font-weight:bold; display:block; margin-bottom:10px}
		.product_list .product a.name{height:20px; margin-top:13px; line-height:14px}
		.product_list .product a.photo{ margin-left:-2px}
		.product_list .product .price{margin-top:10px}
		.product_list .product .intro{height:32px ; line-height:16px;font-size:12px;color:#666}
			.product_list .product .price span{display:block; margin-bottom:5px}
			.product_list .product .price strong{font-size:14px;color:red;}
				.product_list .product .price .regular_price em{text-decoration:line-through; color:#666}
				</style>

<ul class="product_list">
<?php unset($this->_sections['plist']);
$this->_sections['plist']['name'] = 'plist';
$this->_sections['plist']['loop'] = is_array($_loop=$this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['plist']['show'] = true;
$this->_sections['plist']['max'] = $this->_sections['plist']['loop'];
$this->_sections['plist']['step'] = 1;
$this->_sections['plist']['start'] = $this->_sections['plist']['step'] > 0 ? 0 : $this->_sections['plist']['loop']-1;
if ($this->_sections['plist']['show']) {
    $this->_sections['plist']['total'] = $this->_sections['plist']['loop'];
    if ($this->_sections['plist']['total'] == 0)
        $this->_sections['plist']['show'] = false;
} else
    $this->_sections['plist']['total'] = 0;
if ($this->_sections['plist']['show']):

            for ($this->_sections['plist']['index'] = $this->_sections['plist']['start'], $this->_sections['plist']['iteration'] = 1;
                 $this->_sections['plist']['iteration'] <= $this->_sections['plist']['total'];
                 $this->_sections['plist']['index'] += $this->_sections['plist']['step'], $this->_sections['plist']['iteration']++):
$this->_sections['plist']['rownum'] = $this->_sections['plist']['iteration'];
$this->_sections['plist']['index_prev'] = $this->_sections['plist']['index'] - $this->_sections['plist']['step'];
$this->_sections['plist']['index_next'] = $this->_sections['plist']['index'] + $this->_sections['plist']['step'];
$this->_sections['plist']['first']      = ($this->_sections['plist']['iteration'] == 1);
$this->_sections['plist']['last']       = ($this->_sections['plist']['iteration'] == $this->_sections['plist']['total']);
?>

	<li class="product purchase_limit">
						<a class="photo" href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
"><img src='<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'] == ""): ?>resources/no_pic.png<?php else:  echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'];  endif; ?>' width="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_w']; ?>
"  height="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_y']; ?>
" /></a>
						<a class="name" href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
"><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['ProductName']; ?>
</a>
					<div class="intro"><?php echo $this->_tpl_vars['lang_lb']; ?>
：<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['ParentID']; ?>
</div>

						<div class="price">
							<span class="regular_price"><?php echo $this->_tpl_vars['lang_oprice']; ?>
:<?php echo $this->_tpl_vars['lang_rmb']; ?>
<em><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Price']*1.5; ?>
</em></span>
						<span class="discount_price"><?php echo $this->_tpl_vars['lang_nprice']; ?>
: <?php echo $this->_tpl_vars['lang_rmb']; ?>
<strong><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Price']; ?>
</strong></span>

						</div>
				
		</li>
<?php endfor; endif; ?>
	
  <div class="pagination" id="J_newsPagination">
                 <div name="laypage1.3" class="laypage_main laypageskin_default" id="laypage_0">
                   <div class='page'>
<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pagers']; ?>

</div>
                 </div>



            </div>
	
</ul>
<?php elseif ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_ms'] == '2'): ?>


<link href="resources/jiaoben1900/css/pro_list.css" type="text/css" rel="stylesheet">	

<?php unset($this->_sections['plist']);
$this->_sections['plist']['name'] = 'plist';
$this->_sections['plist']['loop'] = is_array($_loop=$this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['plist']['show'] = true;
$this->_sections['plist']['max'] = $this->_sections['plist']['loop'];
$this->_sections['plist']['step'] = 1;
$this->_sections['plist']['start'] = $this->_sections['plist']['step'] > 0 ? 0 : $this->_sections['plist']['loop']-1;
if ($this->_sections['plist']['show']) {
    $this->_sections['plist']['total'] = $this->_sections['plist']['loop'];
    if ($this->_sections['plist']['total'] == 0)
        $this->_sections['plist']['show'] = false;
} else
    $this->_sections['plist']['total'] = 0;
if ($this->_sections['plist']['show']):

            for ($this->_sections['plist']['index'] = $this->_sections['plist']['start'], $this->_sections['plist']['iteration'] = 1;
                 $this->_sections['plist']['iteration'] <= $this->_sections['plist']['total'];
                 $this->_sections['plist']['index'] += $this->_sections['plist']['step'], $this->_sections['plist']['iteration']++):
$this->_sections['plist']['rownum'] = $this->_sections['plist']['iteration'];
$this->_sections['plist']['index_prev'] = $this->_sections['plist']['index'] - $this->_sections['plist']['step'];
$this->_sections['plist']['index_next'] = $this->_sections['plist']['index'] + $this->_sections['plist']['step'];
$this->_sections['plist']['first']      = ($this->_sections['plist']['iteration'] == 1);
$this->_sections['plist']['last']       = ($this->_sections['plist']['iteration'] == $this->_sections['plist']['total']);
?>


<div class="view view-tenth">
<img src='<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'] == ""): ?>resources/no_pic.png<?php else:  echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'];  endif; ?>' width="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['pro_pic_w']; ?>
"  height="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['pro_pic_y']; ?>
" />
<div class="mask">
<h2><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['ProductName']; ?>
</h2>
<p><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['txtDetail']; ?>
</p>
<a href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
" class="link"><?php echo $this->_tpl_vars['lang_ckxq']; ?>
</a>
</div>
</div>



<?php endfor; endif; ?>










  <div class="pagination" id="J_newsPagination">
                 <div name="laypage1.3" class="laypage_main laypageskin_default" id="laypage_0">
                   <div class='page'>
<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pagers']; ?>

</div>
                 </div>



            </div>
<?php elseif ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_ms'] == '3'): ?>
<style>

.product_list_2{}
	.product_list_2 h1{font-size:16px; line-height:30px; background:url(../images/icons.png) no-repeat -10px -312px; padding-left:25px}
		.product_list_2 h1 span{font-size:14px; font-weight:normal}
	.product_list_2 .product{border:solid 1px #ddd; padding:5px; margin-bottom:5px; overflow:hidden; background:#fff}
	.product_list_2 .hot{border-color:#888 !important; box-shadow:0 0 2px 0 #888}
		.product_list_2 .product .intro{width:665px; float:left; position:relative; height:100px; padding-left:5px}
		.product_list_2 .product .brief{line-height:16px; position:absolute;bottom:15px;color:#666}
		.product_list_2 .product a.name{margin-top:8px; line-height:14px; font-size:14px; font-weight:bold; display:block; width:470px}
		.product_list_2 .product a.photo{width:100px; height:100px; float:left}
			.product_list_2 .product a.photo img{width:100px; height:100px}
		.product_list_2 .product .price{position:absolute; right:0; top:10px}
			.product_list_2 .product .price span{margin-bottom:5px; margin-left:10px}
			.product_list_2 .product .price strong{font-size:14px}
			.product_list_2 .product .price .regular_price em{text-decoration:line-through; color:#666}
		.product_list_2 .product .properties{color:#888; position:absolute; top:30px}
			.product_list_2 .product .properties li{float:left; margin-right:10px}
				.button_1{border:none; background:url(resources/images/button_1_bg.gif) repeat-x top; height:29px; line-height:29px; display:inline-block; color:#fff !important; font-weight:bold; cursor:pointer; text-align:center; padding:0 15px; text-decoration:none !important; font-size:14px}
			</style>
<div class="product_list_2">
<?php unset($this->_sections['plist']);
$this->_sections['plist']['name'] = 'plist';
$this->_sections['plist']['loop'] = is_array($_loop=$this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['plist']['show'] = true;
$this->_sections['plist']['max'] = $this->_sections['plist']['loop'];
$this->_sections['plist']['step'] = 1;
$this->_sections['plist']['start'] = $this->_sections['plist']['step'] > 0 ? 0 : $this->_sections['plist']['loop']-1;
if ($this->_sections['plist']['show']) {
    $this->_sections['plist']['total'] = $this->_sections['plist']['loop'];
    if ($this->_sections['plist']['total'] == 0)
        $this->_sections['plist']['show'] = false;
} else
    $this->_sections['plist']['total'] = 0;
if ($this->_sections['plist']['show']):

            for ($this->_sections['plist']['index'] = $this->_sections['plist']['start'], $this->_sections['plist']['iteration'] = 1;
                 $this->_sections['plist']['iteration'] <= $this->_sections['plist']['total'];
                 $this->_sections['plist']['index'] += $this->_sections['plist']['step'], $this->_sections['plist']['iteration']++):
$this->_sections['plist']['rownum'] = $this->_sections['plist']['iteration'];
$this->_sections['plist']['index_prev'] = $this->_sections['plist']['index'] - $this->_sections['plist']['step'];
$this->_sections['plist']['index_next'] = $this->_sections['plist']['index'] + $this->_sections['plist']['step'];
$this->_sections['plist']['first']      = ($this->_sections['plist']['iteration'] == 1);
$this->_sections['plist']['last']       = ($this->_sections['plist']['iteration'] == $this->_sections['plist']['total']);
?>
<div class="product">
					<a class="photo" target="_blank" href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
"><img src='<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'] == ""): ?>resources/no_pic.png<?php else:  echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'];  endif; ?>' width="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_w']; ?>
"  height="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_y']; ?>
" /></a>
					<div class="intro">
						<a class="name" target="_blank" href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
"><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['ProductName']; ?>
</a>
						<ul class="properties">
							<li><?php echo $this->_tpl_vars['lang_sjtime']; ?>
:<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['dtCreate']; ?>
 </li>
						</ul>						<div class="brief">
							<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['txtDetail']; ?>
						</div>
						<div class="clear"></div>
						<div class="price">
							<span class="regular_price"><?php echo $this->_tpl_vars['lang_oprice']; ?>
: <?php echo $this->_tpl_vars['lang_rmb']; ?>
<em><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Price']*1.5; ?>
</em></span>
							<span class="discount_price"><?php echo $this->_tpl_vars['lang_nprice']; ?>
: <?php echo $this->_tpl_vars['lang_rmb']; ?>
<strong><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Price']; ?>
</strong></span>
							<div style="text-align:center;margin-top:20px;">
<a href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
" class="button_1"><?php echo $this->_tpl_vars['lang_ljgm']; ?>
</a></div>
						</div>
						<p class="brief">	 </p>
					</div>
				</div>


<?php endfor; endif; ?>

</div>




 <div class="pagination" id="J_newsPagination">
                 <div name="laypage1.3" class="laypage_main laypageskin_default" id="laypage_0">
                   <div class='page'>
<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pagers']; ?>

</div>
                 </div>



            </div>







<?php elseif ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_ms'] == '4'): ?>

	<style>
.product_list{width:100%;padding:10px 0px;}

	
	
	.product_list .product_microsoft{border:solid 1px #ddd; width:466px; float:left; height:209px; margin-right:10px;margin-bottom:10px; background:#fff}
			.product_list .product_microsoft .left{float:left;}
			.product_list .product_microsoft dl{width:200px; float:left; margin-left:10px}
			.product_list .product_microsoft dt{margin-top:10px; line-height:14px}
				.product_list .product_microsoft dt span{font-weight:bold}
				.product_list .product_microsoft dt img{margin-top:20px; margin-bottom:20px}
			.product_list .product_microsoft .right{width:160px; height:191px; float:left; padding:0px 10px; background:url() no-repeat}
				.product_list .product_microsoft .right h2{font-size:13px; margin-top:20px;border-bottom:1px dashed #ccc;padding-bottom:5px}
				.product_list .product_microsoft .right ul{margin-top:20px; line-height:14px}
				.product_list .product_microsoft .right .price{margin-top:30px}
					.product_list .product_microsoft .right .price span{display:block; margin-bottom:5px}
					.product_list .product_microsoft .right .price strong{font-size:16px}
					.product_list .product_microsoft .purchase_limit_1{background-image:url()}
					.product_list .product_microsoft .actions{margin-top:20px}
		.product_list .product_microsoft:hover{border-color:#888 !important; box-shadow:0 0 2px 0 #888}
		.button_1{border:none; background:url(resources/images/button_1_bg.gif) repeat-x top; height:29px; line-height:29px; display:inline-block; color:#fff !important; font-weight:bold; cursor:pointer; text-align:center; padding:0 15px; text-decoration:none !important; font-size:14px}
				</style>

<ul class="product_list">
			<?php unset($this->_sections['plist']);
$this->_sections['plist']['name'] = 'plist';
$this->_sections['plist']['loop'] = is_array($_loop=$this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['plist']['show'] = true;
$this->_sections['plist']['max'] = $this->_sections['plist']['loop'];
$this->_sections['plist']['step'] = 1;
$this->_sections['plist']['start'] = $this->_sections['plist']['step'] > 0 ? 0 : $this->_sections['plist']['loop']-1;
if ($this->_sections['plist']['show']) {
    $this->_sections['plist']['total'] = $this->_sections['plist']['loop'];
    if ($this->_sections['plist']['total'] == 0)
        $this->_sections['plist']['show'] = false;
} else
    $this->_sections['plist']['total'] = 0;
if ($this->_sections['plist']['show']):

            for ($this->_sections['plist']['index'] = $this->_sections['plist']['start'], $this->_sections['plist']['iteration'] = 1;
                 $this->_sections['plist']['iteration'] <= $this->_sections['plist']['total'];
                 $this->_sections['plist']['index'] += $this->_sections['plist']['step'], $this->_sections['plist']['iteration']++):
$this->_sections['plist']['rownum'] = $this->_sections['plist']['iteration'];
$this->_sections['plist']['index_prev'] = $this->_sections['plist']['index'] - $this->_sections['plist']['step'];
$this->_sections['plist']['index_next'] = $this->_sections['plist']['index'] + $this->_sections['plist']['step'];
$this->_sections['plist']['first']      = ($this->_sections['plist']['iteration'] == 1);
$this->_sections['plist']['last']       = ($this->_sections['plist']['iteration'] == $this->_sections['plist']['total']);
?>
			<li class="product_microsoft" style="<?php echo smarty_function_cycle(array('values' => ",float:right;margin-right:0px"), $this);?>
">
				<a href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
" class="left"><img src='<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'] == ""): ?>resources/no_pic.png<?php else:  echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'];  endif; ?>' width="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_w']; ?>
"  height="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_y']; ?>
" /></a>
				
				<div class="right purchase_limit_1">
				<h2><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['ProductName']; ?>
</h2>

					<ul style="margin-top:10px">
						<li><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['txtDetail']; ?>
 </li>
						
					</ul>
					<div class="price" style="margin-top:20px">
					
					<span class="regular_price">
					</span>
					<span class="discount_price">
						<?php echo $this->_tpl_vars['lang_jg']; ?>
:<?php echo $this->_tpl_vars['lang_rmb']; ?>
 <strong><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Price']; ?>
</strong>
					</span>
					</div>
					<div class="actions" style="margin-top:10px">
						
						<a href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
" class="button_1"><?php echo $this->_tpl_vars['lang_ljgm']; ?>
</a>
					</div>
				</div>
			</li>


<?php endfor; endif; ?>

</ul>


 <div class="pagination" id="J_newsPagination">
                 <div name="laypage1.3" class="laypage_main laypageskin_default" id="laypage_0">
                   <div class='page'>
<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pagers']; ?>

</div>
                 </div>



            </div>






			<?php else: ?>



<style>


		.apple_product .tab1_1{}
			.apple_product .tab1_1 li{margin-bottom:40px;position:relative;border:1px solid #ddd;text-align:center; margin-left:10px; *margin-left:10px; _margin-left:8px; margin-right:3px;margin-top:15px; font-size:12px; display:inline-block; float:left;width:<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_w']; ?>
;height:<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_y']; ?>
;padding:0px ;}
	.apple_product .tab1_1 li{ <?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_xk'] && $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_xx'] && $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_color']): ?>border:<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_xk']; ?>
 <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_xx']; ?>
 <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_color']; ?>
;<?php endif; ?>
-webkit-border-radius: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yj']; ?>
;-moz-border-radius: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['yj']; ?>
;border-radius: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yj']; ?>
;
-webkit-box-shadow: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yys']; ?>
 0px 0px <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yy']; ?>
;
-moz-box-shadow: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yys']; ?>
 0px 0px <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yy']; ?>
;
box-shadow: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yys']; ?>
 0px 0px <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yy']; ?>
;
}
			
.apple_product .tab1_1 li:hover{

 <?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_xkyr'] && $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_xxyr'] && $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_coloryr']): ?>border:<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_xkyr']; ?>
 <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_xxyr']; ?>
 <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_coloryr']; ?>
;<?php endif; ?>

-webkit-border-radius: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yjyr']; ?>
;-moz-border-radius: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['yjyr']; ?>
;border-radius: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yjyr']; ?>
;
-webkit-box-shadow: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yysyr']; ?>
 0px 0px <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yyyr']; ?>
;
-moz-box-shadow: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yysyr']; ?>
 0px 0px <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yyyr']; ?>
;
box-shadow: <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yysyr']; ?>
 0px 0px <?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['border_yyyr']; ?>
;
}

.apple_product .tab1_1 li:hover .apple_product .tab1_1 li font{
background:<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgyr'] || $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgtm']): ?>rgba(<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgyrrgb']; ?>
,<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgtm']; ?>
)<?php else:  endif; ?>;}

.apple_product .tab1_1 li font{position:absolute;background:<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bg'] || $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgtm']): ?>rgba(<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgrgb']; ?>
,<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgtm']; ?>
)<?php else:  endif; ?>;color:<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_color']; ?>
; line-height:35px; display:block;width:100%;height:35px;bottom:0px;}
			.apple_product .tab1_1 li font:hover{position:absolute;background:<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgyr'] || $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgtm']): ?>rgba(<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgyrrgb']; ?>
,<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['link_bgtm']; ?>
)<?php else:  endif; ?>;color:<?php echo $this->_tpl_vars['class'][$this->_sections['clist1']['index']]['link_color']; ?>
; line-height:35px; display:block;width:100%;height:35px;bottom:0px;}
			
.apple_product .tab1_1 li img{border:none;width:100%;}
			.apple_product .tab1_1 li a.desc{font-weight:normal; line-height:24px; height:24px; border:solid 1px #fff; padding:0 5px; display:inline-block}
			.apple_product .tab1_1 li .hot{border:#d8d8d8 solid 1px !important; text-decoration:none}
	
			.apple_product .tab1_2 p{line-height:25px;}
				.apple_product .tab1_2 p span{color:red;}
				.apple_product .tab1_2 p strong{font-size:18px;}

</style>


<div class="apple_product">
<div class="tab1 tab1_1 tab1_2" >

<ul>
<?php unset($this->_sections['plist']);
$this->_sections['plist']['name'] = 'plist';
$this->_sections['plist']['loop'] = is_array($_loop=$this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['plist']['show'] = true;
$this->_sections['plist']['max'] = $this->_sections['plist']['loop'];
$this->_sections['plist']['step'] = 1;
$this->_sections['plist']['start'] = $this->_sections['plist']['step'] > 0 ? 0 : $this->_sections['plist']['loop']-1;
if ($this->_sections['plist']['show']) {
    $this->_sections['plist']['total'] = $this->_sections['plist']['loop'];
    if ($this->_sections['plist']['total'] == 0)
        $this->_sections['plist']['show'] = false;
} else
    $this->_sections['plist']['total'] = 0;
if ($this->_sections['plist']['show']):

            for ($this->_sections['plist']['index'] = $this->_sections['plist']['start'], $this->_sections['plist']['iteration'] = 1;
                 $this->_sections['plist']['iteration'] <= $this->_sections['plist']['total'];
                 $this->_sections['plist']['index'] += $this->_sections['plist']['step'], $this->_sections['plist']['iteration']++):
$this->_sections['plist']['rownum'] = $this->_sections['plist']['iteration'];
$this->_sections['plist']['index_prev'] = $this->_sections['plist']['index'] - $this->_sections['plist']['step'];
$this->_sections['plist']['index_next'] = $this->_sections['plist']['index'] + $this->_sections['plist']['step'];
$this->_sections['plist']['first']      = ($this->_sections['plist']['iteration'] == 1);
$this->_sections['plist']['last']       = ($this->_sections['plist']['iteration'] == $this->_sections['plist']['total']);
?>
<li>
<a href="index.php?proID=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['proID']; ?>
&page_id=<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_open_pageid']; ?>
" class="goto_apple_store" >
<img src='<?php if ($this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'] == ""): ?>resources/no_pic.png<?php else:  echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Pic'];  endif; ?>' width="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_w']; ?>
"  height="<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pro_pic_y']; ?>
" />
<font><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['ProductName']; ?>
</font>
<p><?php echo $this->_tpl_vars['lang_jg']; ?>
: <span><?php echo $this->_tpl_vars['lang_rmb']; ?>
 <strong><?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['produ'][$this->_sections['plist']['index']]['Price']; ?>
</strong></span>  </p>
</a></li>


<?php endfor; endif; ?>
</ul>
</div></div>
    
  <div class="pagination" id="J_newsPagination">
                 <div name="laypage1.3" class="laypage_main laypageskin_default" id="laypage_0">
                   <div class='page'> <br><br>
<?php echo $this->_tpl_vars['class'][$this->_sections['clist']['index']]['pagers']; ?>

</div>
                 </div>  </div>

    <?php endif; ?>

           <?php endif; ?>