<?php /* Smarty version 2.6.19, created on 2008-09-23 16:09:07
         compiled from ../views/left.phtml */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'math', '../views/left.phtml', 11, false),array('modifier', 'truncateex', '../views/left.phtml', 43, false),array('modifier', 'strip_tags', '../views/left.phtml', 67, false),)), $this); ?>
<div id="side">

		
		
	  <div class="box-2 list-box">
            <h3><span><img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/tag_nav.png" title="博客标签小图标" />&nbsp;博客标签</span></h3>
            <div class="inner">
             <ul>
            <?php unset($this->_sections['TagList']);
$this->_sections['TagList']['name'] = 'TagList';
$this->_sections['TagList']['loop'] = is_array($_loop=$this->_tpl_vars['arrTags']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['TagList']['show'] = true;
$this->_sections['TagList']['max'] = $this->_sections['TagList']['loop'];
$this->_sections['TagList']['step'] = 1;
$this->_sections['TagList']['start'] = $this->_sections['TagList']['step'] > 0 ? 0 : $this->_sections['TagList']['loop']-1;
if ($this->_sections['TagList']['show']) {
    $this->_sections['TagList']['total'] = $this->_sections['TagList']['loop'];
    if ($this->_sections['TagList']['total'] == 0)
        $this->_sections['TagList']['show'] = false;
} else
    $this->_sections['TagList']['total'] = 0;
if ($this->_sections['TagList']['show']):

            for ($this->_sections['TagList']['index'] = $this->_sections['TagList']['start'], $this->_sections['TagList']['iteration'] = 1;
                 $this->_sections['TagList']['iteration'] <= $this->_sections['TagList']['total'];
                 $this->_sections['TagList']['index'] += $this->_sections['TagList']['step'], $this->_sections['TagList']['iteration']++):
$this->_sections['TagList']['rownum'] = $this->_sections['TagList']['iteration'];
$this->_sections['TagList']['index_prev'] = $this->_sections['TagList']['index'] - $this->_sections['TagList']['step'];
$this->_sections['TagList']['index_next'] = $this->_sections['TagList']['index'] + $this->_sections['TagList']['step'];
$this->_sections['TagList']['first']      = ($this->_sections['TagList']['iteration'] == 1);
$this->_sections['TagList']['last']       = ($this->_sections['TagList']['iteration'] == $this->_sections['TagList']['total']);
?>
			
			 <a href="#" rel="tag" style="font-size:<?php echo smarty_function_math(array('equation' => "rand(12,30)"), $this);?>
px;color:rgb(<?php echo smarty_function_math(array('equation' => "rand(0,255)"), $this);?>
,<?php echo smarty_function_math(array('equation' => "rand(0,255)"), $this);?>
,<?php echo smarty_function_math(array('equation' => "rand(0,255)"), $this);?>
); ;" ><?php echo $this->_tpl_vars['arrTags'][$this->_sections['TagList']['index']]['name']; ?>
</a>
			
			 <?php endfor; endif; ?>
 			</ul>
            </div>
        </div>
       <div id="top10" class="user_list box-2 list-box">
            <h3><span>最新加入会员</span></h3>
            <div class="inner">
            <ul>
            
              <li><a href="#" title=""><img src="/blog/public/images/_default.gif" alt=""></a> <a href="#" title="">Kylingood</a></li>
              <li><a href="#" title=""><img src="/blog/public/images/_default.gif" alt=""></a> <a href="#" title="">Kylingood</a></li>
              <li><a href="#" title=""><img src="/blog/public/images/_default.gif" alt=""></a> <a href="#" title="">Kylingood</a></li>
            
              <li><a href="#" title=""><img src="/blog/public/images/_default.gif" alt=""></a> <a href="#" title="">Kylingood</a></li>
            
              <li><a href="#" title=""><img src="/blog/public/images/_default.gif" alt=""></a> <a href="#" title="">Kylingood</a></li>
            
              <li><a href="#" title=""><img src="/blog/public/images/_default.gif" alt=""></a> <a href="#" title="">Kylingood</a></li>

                        
            </ul>
            </div>
        </div>
        
        
        <div id="hot10" class="box-2 list-box">
            <h3><span><img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/hot_yes.png" title="热门日志小图标" />&nbsp;热门日志排行</span></h3>
            <div class="inner">
            <ul>
            <?php unset($this->_sections['TopArticle']);
$this->_sections['TopArticle']['name'] = 'TopArticle';
$this->_sections['TopArticle']['loop'] = is_array($_loop=$this->_tpl_vars['topArticle']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['TopArticle']['show'] = true;
$this->_sections['TopArticle']['max'] = $this->_sections['TopArticle']['loop'];
$this->_sections['TopArticle']['step'] = 1;
$this->_sections['TopArticle']['start'] = $this->_sections['TopArticle']['step'] > 0 ? 0 : $this->_sections['TopArticle']['loop']-1;
if ($this->_sections['TopArticle']['show']) {
    $this->_sections['TopArticle']['total'] = $this->_sections['TopArticle']['loop'];
    if ($this->_sections['TopArticle']['total'] == 0)
        $this->_sections['TopArticle']['show'] = false;
} else
    $this->_sections['TopArticle']['total'] = 0;
if ($this->_sections['TopArticle']['show']):

            for ($this->_sections['TopArticle']['index'] = $this->_sections['TopArticle']['start'], $this->_sections['TopArticle']['iteration'] = 1;
                 $this->_sections['TopArticle']['iteration'] <= $this->_sections['TopArticle']['total'];
                 $this->_sections['TopArticle']['index'] += $this->_sections['TopArticle']['step'], $this->_sections['TopArticle']['iteration']++):
$this->_sections['TopArticle']['rownum'] = $this->_sections['TopArticle']['iteration'];
$this->_sections['TopArticle']['index_prev'] = $this->_sections['TopArticle']['index'] - $this->_sections['TopArticle']['step'];
$this->_sections['TopArticle']['index_next'] = $this->_sections['TopArticle']['index'] + $this->_sections['TopArticle']['step'];
$this->_sections['TopArticle']['first']      = ($this->_sections['TopArticle']['iteration'] == 1);
$this->_sections['TopArticle']['last']       = ($this->_sections['TopArticle']['iteration'] == $this->_sections['TopArticle']['total']);
?>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/article/article/id/<?php echo $this->_tpl_vars['topArticle'][$this->_sections['TopArticle']['index']]['id']; ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['topArticle'][$this->_sections['TopArticle']['index']]['title'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 30, '..', true) : smarty_modifier_truncateex($_tmp, 30, '..', true)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['topArticle'][$this->_sections['TopArticle']['index']]['title'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 20, '..', true) : smarty_modifier_truncateex($_tmp, 20, '..', true)); ?>
</a></li>
              <?php endfor; endif; ?>
            </ul>

            </div>
        </div>
        
         <div  class="box-2 list-box">
            <h3><span><img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/base.png" title="日志分类小图标" />&nbsp;日志分类</span></h3>
            <div class="inner">
            <ul>
             <?php unset($this->_sections['ArticleClass']);
$this->_sections['ArticleClass']['name'] = 'ArticleClass';
$this->_sections['ArticleClass']['loop'] = is_array($_loop=$this->_tpl_vars['topClass']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['ArticleClass']['show'] = true;
$this->_sections['ArticleClass']['max'] = $this->_sections['ArticleClass']['loop'];
$this->_sections['ArticleClass']['step'] = 1;
$this->_sections['ArticleClass']['start'] = $this->_sections['ArticleClass']['step'] > 0 ? 0 : $this->_sections['ArticleClass']['loop']-1;
if ($this->_sections['ArticleClass']['show']) {
    $this->_sections['ArticleClass']['total'] = $this->_sections['ArticleClass']['loop'];
    if ($this->_sections['ArticleClass']['total'] == 0)
        $this->_sections['ArticleClass']['show'] = false;
} else
    $this->_sections['ArticleClass']['total'] = 0;
if ($this->_sections['ArticleClass']['show']):

            for ($this->_sections['ArticleClass']['index'] = $this->_sections['ArticleClass']['start'], $this->_sections['ArticleClass']['iteration'] = 1;
                 $this->_sections['ArticleClass']['iteration'] <= $this->_sections['ArticleClass']['total'];
                 $this->_sections['ArticleClass']['index'] += $this->_sections['ArticleClass']['step'], $this->_sections['ArticleClass']['iteration']++):
$this->_sections['ArticleClass']['rownum'] = $this->_sections['ArticleClass']['iteration'];
$this->_sections['ArticleClass']['index_prev'] = $this->_sections['ArticleClass']['index'] - $this->_sections['ArticleClass']['step'];
$this->_sections['ArticleClass']['index_next'] = $this->_sections['ArticleClass']['index'] + $this->_sections['ArticleClass']['step'];
$this->_sections['ArticleClass']['first']      = ($this->_sections['ArticleClass']['iteration'] == 1);
$this->_sections['ArticleClass']['last']       = ($this->_sections['ArticleClass']['iteration'] == $this->_sections['ArticleClass']['total']);
?>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/search/index/class/<?php echo $this->_tpl_vars['topClass'][$this->_sections['ArticleClass']['index']]['id']; ?>
/" title="<?php echo $this->_tpl_vars['topClass'][$this->_sections['ArticleClass']['index']]['name']; ?>
"><?php echo $this->_tpl_vars['topClass'][$this->_sections['ArticleClass']['index']]['name']; ?>
</a></li>
            <?php endfor; endif; ?>
            </ul>

            </div>
        </div>
        
          <div class="box-2 list-box">
            <h3><span><img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/usermessage.gif" title="留言小图标" />&nbsp;最新留言</span></h3>
            <div class="inner">
            <ul>
              <?php unset($this->_sections['TopMessage']);
$this->_sections['TopMessage']['name'] = 'TopMessage';
$this->_sections['TopMessage']['loop'] = is_array($_loop=$this->_tpl_vars['topMessage']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['TopMessage']['show'] = true;
$this->_sections['TopMessage']['max'] = $this->_sections['TopMessage']['loop'];
$this->_sections['TopMessage']['step'] = 1;
$this->_sections['TopMessage']['start'] = $this->_sections['TopMessage']['step'] > 0 ? 0 : $this->_sections['TopMessage']['loop']-1;
if ($this->_sections['TopMessage']['show']) {
    $this->_sections['TopMessage']['total'] = $this->_sections['TopMessage']['loop'];
    if ($this->_sections['TopMessage']['total'] == 0)
        $this->_sections['TopMessage']['show'] = false;
} else
    $this->_sections['TopMessage']['total'] = 0;
if ($this->_sections['TopMessage']['show']):

            for ($this->_sections['TopMessage']['index'] = $this->_sections['TopMessage']['start'], $this->_sections['TopMessage']['iteration'] = 1;
                 $this->_sections['TopMessage']['iteration'] <= $this->_sections['TopMessage']['total'];
                 $this->_sections['TopMessage']['index'] += $this->_sections['TopMessage']['step'], $this->_sections['TopMessage']['iteration']++):
$this->_sections['TopMessage']['rownum'] = $this->_sections['TopMessage']['iteration'];
$this->_sections['TopMessage']['index_prev'] = $this->_sections['TopMessage']['index'] - $this->_sections['TopMessage']['step'];
$this->_sections['TopMessage']['index_next'] = $this->_sections['TopMessage']['index'] + $this->_sections['TopMessage']['step'];
$this->_sections['TopMessage']['first']      = ($this->_sections['TopMessage']['iteration'] == 1);
$this->_sections['TopMessage']['last']       = ($this->_sections['TopMessage']['iteration'] == $this->_sections['TopMessage']['total']);
?>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/message/index/" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['topMessage'][$this->_sections['TopMessage']['index']]['title'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 30, '..', true) : smarty_modifier_truncateex($_tmp, 30, '..', true)); ?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['topMessage'][$this->_sections['TopMessage']['index']]['title'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncateex', true, $_tmp, 20, '..', true) : smarty_modifier_truncateex($_tmp, 20, '..', true)); ?>
</a></li>
              <?php endfor; endif; ?>
            </ul>

            </div>
        </div>
        
           <div class="box-2 list-box">
            <h3><span><img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/comments.png" title="评论小图标" />&nbsp;最新评论</span></h3>
            <div class="inner">
            <ul>
              <?php unset($this->_sections['TopComment']);
$this->_sections['TopComment']['name'] = 'TopComment';
$this->_sections['TopComment']['loop'] = is_array($_loop=$this->_tpl_vars['topComment']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['TopComment']['show'] = true;
$this->_sections['TopComment']['max'] = $this->_sections['TopComment']['loop'];
$this->_sections['TopComment']['step'] = 1;
$this->_sections['TopComment']['start'] = $this->_sections['TopComment']['step'] > 0 ? 0 : $this->_sections['TopComment']['loop']-1;
if ($this->_sections['TopComment']['show']) {
    $this->_sections['TopComment']['total'] = $this->_sections['TopComment']['loop'];
    if ($this->_sections['TopComment']['total'] == 0)
        $this->_sections['TopComment']['show'] = false;
} else
    $this->_sections['TopComment']['total'] = 0;
if ($this->_sections['TopComment']['show']):

            for ($this->_sections['TopComment']['index'] = $this->_sections['TopComment']['start'], $this->_sections['TopComment']['iteration'] = 1;
                 $this->_sections['TopComment']['iteration'] <= $this->_sections['TopComment']['total'];
                 $this->_sections['TopComment']['index'] += $this->_sections['TopComment']['step'], $this->_sections['TopComment']['iteration']++):
$this->_sections['TopComment']['rownum'] = $this->_sections['TopComment']['iteration'];
$this->_sections['TopComment']['index_prev'] = $this->_sections['TopComment']['index'] - $this->_sections['TopComment']['step'];
$this->_sections['TopComment']['index_next'] = $this->_sections['TopComment']['index'] + $this->_sections['TopComment']['step'];
$this->_sections['TopComment']['first']      = ($this->_sections['TopComment']['iteration'] == 1);
$this->_sections['TopComment']['last']       = ($this->_sections['TopComment']['iteration'] == $this->_sections['TopComment']['total']);
?>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/article/article/id/<?php echo $this->_tpl_vars['topComment'][$this->_sections['TopComment']['index']]['commentid']; ?>
" title="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['topComment'][$this->_sections['TopComment']['index']]['content'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncateex', true, $_tmp, 20, '..', true) : smarty_modifier_truncateex($_tmp, 20, '..', true)); ?>
"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['topComment'][$this->_sections['TopComment']['index']]['content'])) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('truncateex', true, $_tmp, 15, '..', true) : smarty_modifier_truncateex($_tmp, 15, '..', true)); ?>
</a></li>
              <?php endfor; endif; ?>
            </ul>

            </div>
        </div>
        
        
         <div  class="box-2 list-box">
            <h3><span><img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/article_go.png" title="日志存档小图标" />&nbsp;日志存档</span></h3>
            <div class="inner">
            <ul>
             
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/search/index/year/2008/month/09/" title="2008年9月日志存档">2008年9月</a></li>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/search/index/year/2008/month/08/" title="2008年8月日志存档">2008年8月</a></li>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/search/index/year/2008/month/07/" title="2008年7月日志存档">2008年7月</a></li>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/search/index/year/2008/month/06/" title="2008年6月日志存档">2008年6月</a></li>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/search/index/year/2008/month/05/" title="2008年5月日志存档">2008年5月</a></li>
             <li><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/search/index/year/2008/month/04/" title="2008年4月日志存档">2008年4月</a></li>
            
            </ul>
            </div>
        </div>
        
        
        
        <div id="linkitem" class="box-2 list-box">
            <h3><span>友情链接</span></h3>
            <div class="inner">
           	<div style="background:#fff;">
              <marquee  scrollamount="2" onmouseover="this.stop();" onmouseout="this.start();"  direction='up' style="cursor:pointer;">&nbsp;&nbsp;
            <?php unset($this->_sections['LinkList']);
$this->_sections['LinkList']['name'] = 'LinkList';
$this->_sections['LinkList']['loop'] = is_array($_loop=$this->_tpl_vars['arrLinks']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['LinkList']['show'] = true;
$this->_sections['LinkList']['max'] = $this->_sections['LinkList']['loop'];
$this->_sections['LinkList']['step'] = 1;
$this->_sections['LinkList']['start'] = $this->_sections['LinkList']['step'] > 0 ? 0 : $this->_sections['LinkList']['loop']-1;
if ($this->_sections['LinkList']['show']) {
    $this->_sections['LinkList']['total'] = $this->_sections['LinkList']['loop'];
    if ($this->_sections['LinkList']['total'] == 0)
        $this->_sections['LinkList']['show'] = false;
} else
    $this->_sections['LinkList']['total'] = 0;
if ($this->_sections['LinkList']['show']):

            for ($this->_sections['LinkList']['index'] = $this->_sections['LinkList']['start'], $this->_sections['LinkList']['iteration'] = 1;
                 $this->_sections['LinkList']['iteration'] <= $this->_sections['LinkList']['total'];
                 $this->_sections['LinkList']['index'] += $this->_sections['LinkList']['step'], $this->_sections['LinkList']['iteration']++):
$this->_sections['LinkList']['rownum'] = $this->_sections['LinkList']['iteration'];
$this->_sections['LinkList']['index_prev'] = $this->_sections['LinkList']['index'] - $this->_sections['LinkList']['step'];
$this->_sections['LinkList']['index_next'] = $this->_sections['LinkList']['index'] + $this->_sections['LinkList']['step'];
$this->_sections['LinkList']['first']      = ($this->_sections['LinkList']['iteration'] == 1);
$this->_sections['LinkList']['last']       = ($this->_sections['LinkList']['iteration'] == $this->_sections['LinkList']['total']);
?>
             <p style="margin:5px 0px 5px 10px;"><img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/online.png" title="友情链接小图标" />&nbsp;<a href="<?php echo $this->_tpl_vars['arrLinks'][$this->_sections['LinkList']['index']]['url']; ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['arrLinks'][$this->_sections['LinkList']['index']]['title'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 20, '..', true) : smarty_modifier_truncateex($_tmp, 20, '..', true)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['arrLinks'][$this->_sections['LinkList']['index']]['title'])) ? $this->_run_mod_handler('truncateex', true, $_tmp, 20, '..', true) : smarty_modifier_truncateex($_tmp, 20, '..', true)); ?>
</a></p>
             <?php endfor; endif; ?>
           </marquee>
            </div>
           
			 <p style="text-align:right;margin-top:5px;"><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
/link/index/">申请友情链接...</a></p>
            </div>
        </div>

	 <div class="box-2 list-box">
            <h3><span><img src="<?php echo $this->_tpl_vars['baseUrl']; ?>
/public/images/chart_bar.png" title="博客统计小图标" />&nbsp;博客统计</span></h3>
            <div class="inner">
            <ul>
             
         <li>日志:<?php echo $this->_tpl_vars['ArticleNums']; ?>
篇</li>
	     <li>评论:<?php echo $this->_tpl_vars['CommentNums']; ?>
条</li>
	      <li>留言:<?php echo $this->_tpl_vars['MessageNums']; ?>
条</li>
	     <li>会员:暂无</li>
	     <li>访问量:<?php echo $this->_tpl_vars['SeeNums']; ?>
次</li>
	
            </ul>

            </div>
        </div>
    </div>
</div>
<div class="clear"></div>
</div>
