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


<div id="content">

<div id="contentright">
<div class="sidebox" >
	<div class="sideboxInner">
	<h1>共有日志:&nbsp;<font color="green"><?php echo $this->_tpl_vars['SearchNums']; ?>
</font>&nbsp;篇!</h1>
	<?php unset($this->_sections['ArticleList']);
$this->_sections['ArticleList']['name'] = 'ArticleList';
$this->_sections['ArticleList']['loop'] = is_array($_loop=$this->_tpl_vars['arrArticles']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ArticleList']['show'] = true;
$this->_sections['ArticleList']['max'] = $this->_sections['ArticleList']['loop'];
$this->_sections['ArticleList']['step'] = 1;
$this->_sections['ArticleList']['start'] = $this->_sections['ArticleList']['step'] > 0 ? 0 : $this->_sections['ArticleList']['loop']-1;
if ($this->_sections['ArticleList']['show']) {
    $this->_sections['ArticleList']['total'] = $this->_sections['ArticleList']['loop'];
    if ($this->_sections['ArticleList']['total'] == 0)
        $this->_sections['ArticleList']['show'] = false;
} else
    $this->_sections['ArticleList']['total'] = 0;
if ($this->_sections['ArticleList']['show']):

            for ($this->_sections['ArticleList']['index'] = $this->_sections['ArticleList']['start'], $this->_sections['ArticleList']['iteration'] = 1;
                 $this->_sections['ArticleList']['iteration'] <= $this->_sections['ArticleList']['total'];
                 $this->_sections['ArticleList']['index'] += $this->_sections['ArticleList']['step'], $this->_sections['ArticleList']['iteration']++):
$this->_sections['ArticleList']['rownum'] = $this->_sections['ArticleList']['iteration'];
$this->_sections['ArticleList']['index_prev'] = $this->_sections['ArticleList']['index'] - $this->_sections['ArticleList']['step'];
$this->_sections['ArticleList']['index_next'] = $this->_sections['ArticleList']['index'] + $this->_sections['ArticleList']['step'];
$this->_sections['ArticleList']['first']      = ($this->_sections['ArticleList']['iteration'] == 1);
$this->_sections['ArticleList']['last']       = ($this->_sections['ArticleList']['iteration'] == $this->_sections['ArticleList']['total']);
?>
	<div  style="margin:10px 0px 40px 0px;">
	
	<h3>
	<a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/article/article/id/<?php echo $this->_tpl_vars['arrArticles'][$this->_sections['ArticleList']['index']]['id']; ?>
/"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrArticles'][$this->_sections['ArticleList']['index']]['title'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 30, '..', true) : smarty_modifier_truncateex($_tmp, 30, '..', true)); ?>
</a>&nbsp;&nbsp;&nbsp;
	</h3>
	<p style="margin:15px;">	
		<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrArticles'][$this->_sections['ArticleList']['index']]['content'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncateex', true, $_tmp, 200, '..', true) : smarty_modifier_truncateex($_tmp, 200, '..', true)); ?>
 
	</p>
	<span style="float:left;">
		相关度:0.0012
	</span>
	<span style="float:right;">
		作者:<?php echo $this->_tpl_vars['arrArticles'][$this->_sections['ArticleList']['index']]['author']; ?>
 | 
		时间:<?php echo ((is_array($_tmp=$this->_tpl_vars['arrArticles'][$this->_sections['ArticleList']['index']]['addtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
 | 
		浏览量:<?php echo $this->_tpl_vars['arrArticles'][$this->_sections['ArticleList']['index']]['viewnum']; ?>

	</span>
	</div>

<?php endfor; else: ?>
<h3>对不起.没有查找到日志!</h3>
<?php endif; ?>


	</div>
		
		
</div>


<div id="pages"><?php echo $this->_tpl_vars['pageInfo']; ?>
</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>


