<?php /* Smarty version Smarty-3.0.6, created on 2020-03-11 18:43:35
         compiled from "D:/AppServ/www/demo.hucart.com/hucart_cn/templates/./www/red\art.tpl" */ ?>
<?php /*%%SmartyHeaderCode:149595e68c0d71be0a0-43601799%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8af86a529ea941de32f575529371f889db1fba00' => 
    array (
      0 => 'D:/AppServ/www/demo.hucart.com/hucart_cn/templates/./www/red\\art.tpl',
      1 => 1583897855,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '149595e68c0d71be0a0-43601799',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->getVariable('webtitle')->value;?>
<?php echo $_smarty_tpl->getVariable('web_config')->value['poweredby'];?>
</title>
<link rel="stylesheet" type="text/css" href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->style;?>
.css" />
<link rel="stylesheet" type="text/css" href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="./templates/www/<?php echo $_smarty_tpl->getVariable('web_config')->value['temp']->dir;?>
/css/carousel.css" />
<script language="javascript" src="./js/jquery.min.js" ></script>
<script language="javascript" src="./js/common.js"></script>
<script language="javascript" src="./js/gv32menu.js"></script>
<script language="javascript">
	var webroot_url = '<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
';
	function submitFun()
	{
		var idcom_content 	= document.getElementById('com_content');
		if(idcom_content.value=='')
		{
			alert(' 提 示：\n\n评论内容不能为空！请输入！');
			idcom_content.focus();
			return false;
		}
	}
</script>
</head>
<body>
<?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);?>
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/web_address.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="maincss">

<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tpl_path')->value)."/cover/art_left.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);?>

<?php if ($_smarty_tpl->getVariable('getads')->value[1]['relurl']!=''){?>
<div class="mainrightad">
<?php echo $_smarty_tpl->getVariable('getads')->value[1]['relurl'];?>

</div>
<?php }?>
<div class="mainright_art" >


<div class="title_art" ><?php echo $_smarty_tpl->getVariable('infodetail')->value['art_title'];?>
</div>

<div class="mainrightauthor_art"><span>浏览量：<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_count'];?>
</span>&nbsp;<?php if ($_smarty_tpl->getVariable('infodetail')->value['art_author']!=''){?><span>作者：<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_author'];?>
</span><?php }?>&nbsp;&nbsp;<span>更新：<?php echo date_format($_smarty_tpl->getVariable('infodetail')->value['art_uptime'],"%Y-%m-%d %H:%M:%S");?>
</span>&nbsp;【<a href="javascript:contentZoom('bigfont')">大</a> <a href="javascript:contentZoom('middlefont')">中</a> <a href="javascript:contentZoom('smallfont')">小</a>】</div>

<div class="list_art">
<div id="articlecontentdiv"> 
<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_detail'];?>

<?php if ($_smarty_tpl->getVariable('infodetail')->value['art_keyword']!=''){?>
<p><?php echo $_smarty_tpl->getVariable('_LANG')->value['la_tag'];?>
<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_tag'];?>
</p>
<?php }?>
</div>
</div>


<div class="mainrightauthor_art"> 【<a href="./index.php?/comment-info_list-<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_id'];?>
.html?keyword=article">评论</a>】【<a href="./index.php?/comment.html?type=addbook&fav_type=article&fav_id=<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_id'];?>
&fav_title=<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_title'];?>
">加入收藏夹</a>】【<a href="javascript:window.print()">打印此页</a>】【<a href="javascript:window.close()">关闭</a>】</div>

<div class="divcomment">
<form name="formcom" action="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/index.php?/comment&type=addinfo" method="post" onsubmit="return submitFun(this)">
评论&nbsp;&nbsp;>> <a href="./index.php?/comment-info_list-<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_id'];?>
.html?keyword=article" title="查看对“<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_title'];?>
”">查看对应评论</a>
<input type="hidden" name="com_type" id="com_type" value="article">
<input type="hidden" name="com_value_id" id="com_value_id" value="<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_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>




<?php if ($_smarty_tpl->getVariable('Nextdetail')->value['art_id']==''){?><?php }else{ ?>
<div class="list_art"><span style="font-weight:bold;" >下一篇：</span><a href="<?php echo $_smarty_tpl->getVariable('Nextdetail')->value['get_url'];?>
"><?php echo $_smarty_tpl->getVariable('Nextdetail')->value['art_title'];?>
</a></div>
<?php }?>
<?php if ($_smarty_tpl->getVariable('Prodetail')->value['art_id']==''){?><?php }else{ ?>
 <div class="list_art"><span style="font-weight:bold;" >上一篇：</span><a href="<?php echo $_smarty_tpl->getVariable('Prodetail')->value['get_url'];?>
"><?php echo $_smarty_tpl->getVariable('Prodetail')->value['art_title'];?>
</a></div>
<?php }?>

<div class="list_art"><span style="font-weight:bolder; float:left;">分享到：</span><!-- Baidu Button BEGIN HuCart.COM ADD  -->
    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
        <a class="bds_qzone">QQ空间</a>
        <a class="bds_tsina">新浪微博</a>
        <a class="bds_tqq">腾讯微博</a>
        <a class="bds_renren">人人网</a>
        <span class="bds_more">更多</span>
    </div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;mini=1" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END HuCart.COM ADD --></div>
<div class="list_art"><?php echo $_smarty_tpl->getVariable('page_str')->value;?>
</div>

<div class="list_art">
<ul class="list_art_ul" style="width:96%;float:center;">
	<?php if ($_smarty_tpl->getVariable('commentInfo')->value==''){?>
	<li style="color:#FF0000;">暂无评论</li>
	<?php }else{ ?>
	<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('commentInfo')->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){
?>
	<li style="border-bottom:1px solid #DDDDDD; margin: 0 auto;background-color:#EEEEEE;"><span style="font-weight:bold;"><?php echo $_smarty_tpl->tpl_vars['item']->value['com_nickname'];?>
</span><span> 发表时间：<?php echo date_format($_smarty_tpl->tpl_vars['item']->value['com_addtime'],"%Y- %m- %d");?>
</span><span style="font-size:10px;color:#999999;">在ip:<?php echo $_smarty_tpl->tpl_vars['item']->value['com_ip'];?>
</span></li>
	<li><?php echo $_smarty_tpl->tpl_vars['item']->value['com_content'];?>
</li>
	<?php }} ?>
	<li> >><a href="<?php echo $_smarty_tpl->getVariable('base_weburl')->value;?>
/?load=comment&sid=<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_id'];?>
&keyword=art" title="查看对“<?php echo $_smarty_tpl->getVariable('infodetail')->value['art_title'];?>
”">查看所有评论</a></li>
	<?php }?>
</ul>
</div>




</div>

 
 



<?php if ($_smarty_tpl->getVariable('getads')->value[9]['relurl']!=''){?>
<div class="mainrightad">
<?php echo $_smarty_tpl->getVariable('getads')->value[9]['relurl'];?>

</div>
<?php }?>

</div>



</div>

<?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);?>
</body>
</html>
