<?php /* Smarty version 2.6.19, created on 2008-09-23 17:41:24
         compiled from feed/index.phtml */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncateex', 'feed/index.phtml', 10, false),array('modifier', 'date_format', 'feed/index.phtml', 15, false),array('modifier', 'strip_tags', 'feed/index.phtml', 21, false),)), $this); ?>
<div id="maincontent">


<div id="content">

<div id="contentright">
<?php unset($this->_sections['FeedsList']);
$this->_sections['FeedsList']['name'] = 'FeedsList';
$this->_sections['FeedsList']['loop'] = is_array($_loop=$this->_tpl_vars['arrFeeds']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['FeedsList']['show'] = true;
$this->_sections['FeedsList']['max'] = $this->_sections['FeedsList']['loop'];
$this->_sections['FeedsList']['step'] = 1;
$this->_sections['FeedsList']['start'] = $this->_sections['FeedsList']['step'] > 0 ? 0 : $this->_sections['FeedsList']['loop']-1;
if ($this->_sections['FeedsList']['show']) {
    $this->_sections['FeedsList']['total'] = $this->_sections['FeedsList']['loop'];
    if ($this->_sections['FeedsList']['total'] == 0)
        $this->_sections['FeedsList']['show'] = false;
} else
    $this->_sections['FeedsList']['total'] = 0;
if ($this->_sections['FeedsList']['show']):

            for ($this->_sections['FeedsList']['index'] = $this->_sections['FeedsList']['start'], $this->_sections['FeedsList']['iteration'] = 1;
                 $this->_sections['FeedsList']['iteration'] <= $this->_sections['FeedsList']['total'];
                 $this->_sections['FeedsList']['index'] += $this->_sections['FeedsList']['step'], $this->_sections['FeedsList']['iteration']++):
$this->_sections['FeedsList']['rownum'] = $this->_sections['FeedsList']['iteration'];
$this->_sections['FeedsList']['index_prev'] = $this->_sections['FeedsList']['index'] - $this->_sections['FeedsList']['step'];
$this->_sections['FeedsList']['index_next'] = $this->_sections['FeedsList']['index'] + $this->_sections['FeedsList']['step'];
$this->_sections['FeedsList']['first']      = ($this->_sections['FeedsList']['iteration'] == 1);
$this->_sections['FeedsList']['last']       = ($this->_sections['FeedsList']['iteration'] == $this->_sections['FeedsList']['total']);
?>
<div class="sidebox">
<div class="sideboxInner">
	<h1><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/feed/feedshow/id/<?php echo $this->_tpl_vars['arrFeeds'][$this->_sections['FeedsList']['index']]['id']; ?>
/"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrFeeds'][$this->_sections['FeedsList']['index']]['title'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 50, '..', true) : smarty_modifier_truncateex($_tmp, 50, '..', true)); ?>
</a></h1>
	
	<div class="date">
		<img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/author.png" alt="author">
		来源网址(作者): <a href="<?php echo $this->_tpl_vars['arrFeeds'][$this->_sections['FeedsList']['index']]['link']; ?>
" target="_blank"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrFeeds'][$this->_sections['FeedsList']['index']]['link'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 50, '..', true) : smarty_modifier_truncateex($_tmp, 50, '..', true)); ?>
</a>
		<img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/date.png" alt="date">加入时间:<?php echo ((is_array($_tmp=$this->_tpl_vars['arrFeeds'][$this->_sections['FeedsList']['index']]['addtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>

		&nbsp;&nbsp;
		
		</div>
		<div class="cover">
			<div class="entry">
			<p><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrFeeds'][$this->_sections['FeedsList']['index']]['description'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncateex', true, $_tmp, 400, '..', true) : smarty_modifier_truncateex($_tmp, 400, '..', true)); ?>
</p>
			<div class="clear"></div>
			</div>
			
			<div class="more">
		<a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/feed/feedshow/id/<?php echo $this->_tpl_vars['arrFeeds'][$this->_sections['FeedsList']['index']]['id']; ?>
/">查看完整文章....</a>
		</div>
		<div class="clear"></div>
		</div>
		
			<div class="postmetadata">
			</div>
			
			
		<div class="clear"></div>
		
		</div>
		<div class="clear"></div>
		
</div>

<?php endfor; else: ?>
对不起.没有查找到数据!
<?php endif; ?>
<div id="pages"><?php echo $this->_tpl_vars['pageInfo']; ?>
<a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/index/rss"><img  src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/rss.png" alt="RSS" title="RSS"/></a></div>

</div>

<div id="contentleft">


<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../views/left.phtml", 'smarty_include_vars' => array('title' => 'left')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

</div>


