<?php echo $this->fetch('header.html'); ?>
<?php echo $this->fetch('product/breadcrumb_list.html'); ?>
<div class="row">

<div class="span3">
<?php echo $this->fetch('tag_nav_article.html'); ?>
<div class="tab-list-heading"><i class="icon-star icon-white"></i> 文章推荐</div>
<?php $this->skymvc->loadControl("productapi");$this->assign("recommendlist",$_ENV["productapiControl"]->recommend(get('catid','i'),10)); ?>
<ul class="tab-list">
<?php $_from = $this->_var['recommendlist']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
<li><a href="/index.php?m=show&id=<?php echo $this->_var['c']['id']; ?>"><?php echo $this->cutstr($this->_var['c']['title'],27,'..'); ?></a></li>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</ul>
</div>

<div class="span9">
 
<?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
<table class="table table-bordered">
<tr>
<td><a href="/index.php?m=show&id=<?php echo $this->_var['c']['id']; ?>"><?php echo $this->_var['c']['title']; ?></a></td>
</tr>
<tr>
<td><?php echo $this->_var['c']['description']; ?></td>
</tr>
</table>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</div>



</div>

<?php echo $this->fetch('footer.html'); ?>