<?php /* Smarty version Smarty-3.0.6, created on 2020-03-30 15:59:04
         compiled from "I:/AppServ/www/demo.hucart.com/hucart_cn/templates/./www/threeall\item.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9894540245e81a6c8c1a015-09645897%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '701b7751baab2f918702cec5ff27502aef212d95' => 
    array (
      0 => 'I:/AppServ/www/demo.hucart.com/hucart_cn/templates/./www/threeall\\item.tpl',
      1 => 1585555139,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9894540245e81a6c8c1a015-09645897',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
	<html lang="zh-CN">
	<head>
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="/favicon.ico">
    <title><?php echo $_smarty_tpl->getVariable('web_config')->value['web_name'];?>
<?php echo $_smarty_tpl->getVariable('web_config')->value['poweredby'];?>
</title>
    <!-- Bootstrap core CSS -->
    <link href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/bootstrap.min.css" rel="stylesheet">
    <!-- Bootstrap theme -->
    <link href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/bootstrap-theme.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/black.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/js/ie-emulation-modes-warning.js"></script>
    <script src="/js/admin_common.js"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body role="document">
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>


   <div class="container" style="margin-top:10px;">
   
  
      <div class="url-header" >
		<ol class="breadcrumb">
		  <?php echo $_smarty_tpl->getVariable('now_address')->value;?>

		</ol>
      </div>

      <div class="row">
		<div class="col-sm-9">
        <div class="blog-main"  >
		
	
 <div class="panel panel-default">
            <div class="panel-heading">
              <h3 class="panel-title"><?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_name'];?>
</h3>
            </div>
            <div class="panel-body">
             
<table cellpadding="0" cellspacing="0" width="660">
  <tr>
    <td rowspan="8" width="320"><div id="detproimg"  ><a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_img'];?>
" target="_blank"><img src=".<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_img'];?>
" width="320" border="0" alt="<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_name'];?>
" /></a></div></td>
    <td><div align="right">商品分类：&nbsp;</div></td>
    <td><a href="./index.php?/item-info_list-<?php echo $_smarty_tpl->getVariable('infodetail')->value['prs_id'];?>
.html" ><?php echo $_smarty_tpl->getVariable('infodetail')->value['prs_name'];?>
</a></td>
  </tr>
  <tr>
    <td><div align="right">条码：&nbsp;</div></td>
    <td><?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_barcode'];?>
<input type="hidden" value="<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_id'];?>
" name="pro_id" id="pro_id"></td>
  </tr>
  <tr>
    <td><div align="right">规格：&nbsp;</div></td>
    <td><?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_spec'];?>
</td>
  </tr>
  <tr>
    <td><div align="right">库存：&nbsp;</div></td>
    <td><?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_num'];?>
(单位:<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_unit'];?>
)</td>
  </tr>
  <tr>
    <td><div align="right">产地：&nbsp;</div></td>
    <td><?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_production'];?>
</td>
  </tr>
 
  <tr>
    <td><div align="right">市场价：&nbsp;</div></td>
    <td> <?php if ($_smarty_tpl->getVariable('infodetail')->value['pro_market_price']>0){?><span style="color:#666666;text-decoration:line-through;">￥<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_market_price'];?>
元 <?php }?></td>
  </tr>
  <tr>
    <td><div align="right">数量（<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_unit'];?>
）：&nbsp;</div></td>
    <td> <div class="input-group" style="width:120px;">
  <span class="input-group-addon"  onClick="change_num('down',1);">-</span>
  <input type="text" class="form-control" name="num" id="num" data-role="none"  value="1" readonly  style="background-color:#FFFFFF;">
  <span class="input-group-addon" onClick="change_num('up',1);">+</span>
</div></td>
  </tr>

  <tr>
    <td><div align="right">销售价：&nbsp;</div></td>
    <td><p  style="color:#CC0000; font-size:16px;">￥<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_sell_price'];?>
元</td>
  </tr>
  
  <tr>
    <td rowspan="2"><div id="divproimg" style="background-color:#EEEEEE;">
      <ul>
        <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('infoimgArray')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
        <li><a href="#" onclick="getdetimg( '<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
<?php echo $_smarty_tpl->tpl_vars['item']->value['big_img'];?>
' )" ><img src=".<?php echo $_smarty_tpl->tpl_vars['item']->value['pro_img'];?>
" data-large="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
<?php echo $_smarty_tpl->tpl_vars['item']->value['big_img'];?>
"  id="detimg<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
" width="50" alt="<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_name'];?>
" /></a></li>
	<?php }} ?>
	  </ul>
	  </div></td>
    <td colspan="2" align="center"><a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/index.php?load=book&act=info_list&id=<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_id'];?>
" title="在线申请预订购" ><button type="button" class="btn btn-default">在线申请预订购</button></a></td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
    </tr>
</table>	</td>
  </tr>

  <tr >
    <td colspan="3" align="left" style="line-height:200%; padding:5px;">详细内容：<br /><?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_content'];?>
</td>
  </tr>
  
  <tr >
    <td colspan="3" align="left" >
<div class="divcomment">
<form name="formcom" action="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/index.php?/comment.html?type=addinfo" method="post" onsubmit="return submitFun(this)">
评论&nbsp;&nbsp;>> <a href="./index.php?/comment-info_list-<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_id'];?>
.html?keyword=item" title="查看对“<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_name'];?>
”">查看对应评论</a>
<input type="hidden" name="com_type" id="com_type" value="item">
<input type="hidden" name="com_value_id" id="com_value_id" value="<?php echo $_smarty_tpl->getVariable('infodetail')->value['pro_id'];?>
"> 
<br>
<textarea name="com_content"  id="com_content" style="width:500px;height:80px;" ></textarea>
<br>
<input type="submit" name="submit" id="submit" value="提交" >
</form>
</div></td>
  </tr>
  
</table> 
			 
            </div>
          </div>
	

        </div>
		</div>
		<!-- /.blog-main -->
		
		<div class="col-md-3 col-sm-offset-0.1">
        <div class=" blog-sidebar">
          <div class="panel panel-default"  >
            <div class="panel-heading">
              <h3 class="panel-title">产品分类</h3>
            </div>
            <div class="panel-body">
			
				<?php echo $_smarty_tpl->getVariable('prs_list_str')->value;?>


				</ul>
            </div>
          </div>
		  
          <div class="sidebar-module sidebar-module-inset" style="margin:2px;">
            <h4>联系我们</h4>
<ul><?php  $_smarty_tpl->tpl_vars['citem'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['ckey'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('contact_arr')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['citem']->key => $_smarty_tpl->tpl_vars['citem']->value){
 $_smarty_tpl->tpl_vars['ckey']->value = $_smarty_tpl->tpl_vars['citem']->key;
?>
<li><?php echo $_smarty_tpl->tpl_vars['citem']->value;?>
</li>
<?php }} ?>
</ul>
             </div>
		  
		</div>
        </div><!-- /.blog-sidebar -->

      </div><!-- /.row -->

    </div><!-- /.container -->


    <!-- /container -->
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>

  </body>
</html>
