<?php /* Smarty version 2.6.26, created on 2016-06-09 18:07:57
         compiled from left.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'gettotal', 'left.html', 12, false),array('block', 'eloop', 'left.html', 19, false),)), $this); ?>
 <aside>
      <div class="avatar">
        <a href="#"><span><?php echo $this->_tpl_vars['websitename']; ?>
</span></a>
      </div>
      <section class="topspaceinfo">
        <h1>执子之手，与子偕老</h1>
        <p style="font-size:16px;">LM轻博客系统在线演示<br>用户名admin密码admin<br>
           	<a href="<?php echo $this->_tpl_vars['webindexurl']; ?>
backweb/signin.php" style="color:#fff;background:green;height:30px;line-height:30px;font-size:16px;">后台登陆演示</a>
        	</p>
      </section>
      <div class="userinfo"> 
        <p class="q-fans"> 总文章数：<a href="#"><?php echo smarty_function_gettotal(array('intable' => 'limao_article','inif' => 'all'), $this);?>
</a></p> 
         <p class="q-fans"> 总商品数：<a href="#"><?php echo smarty_function_gettotal(array('intable' => 'limao_shop','inif' => 'all'), $this);?>
</a></p> 
       <p class="q-fans"> 总评论数：<a href="#"><?php echo smarty_function_gettotal(array('intable' => 'limao_ping','inif' => 'all'), $this);?>
</a></p> 
      </div>
      <section  class="newpic">
         <h2>心情随笔</h2>
         <ul>
      <?php $this->_tag_stack[] = array('eloop', array('inid' => '3','inorder' => 'lm_id','innum' => '10')); $_block_repeat=true;smarty_block_eloop($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
           <li><a href="[$field.tourl]">[$field.lm_title]</a></li>
         <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_eloop($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
         </ul>
      </section>
      
   <!--eloop标签用法inid代表栏目ID,order代表排序字段,num代表返回记录数-->
   
         <section  class="newpic">
         <h2>原创散文</h2>
         <ul>
      <?php $this->_tag_stack[] = array('eloop', array('inid' => '4','inorder' => 'lm_id','innum' => '10')); $_block_repeat=true;smarty_block_eloop($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
           <li><a href="[$field.tourl]">[$field.lm_title]</a></li>
         <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_eloop($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
         </ul>
      </section> 
      
      
         <section  class="taglist">
         <h2>美国大片</h2>
         <ul>
      <?php $this->_tag_stack[] = array('eloop', array('inid' => '7','inorder' => 'lm_id','innum' => '2')); $_block_repeat=true;smarty_block_eloop($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
           <li><a href="[$field.tourl]">
           <img src="[$field.toimg]" width="200px" height="200px"/><br>
           [$field.lm_title]</a></li>
         <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_eloop($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
         </ul>
      </section>   
      
         <section  class="taglist">
         <h2>香港电影</h2>
         <ul>
      <?php $this->_tag_stack[] = array('eloop', array('inid' => '8','inorder' => 'lm_id','innum' => '2')); $_block_repeat=true;smarty_block_eloop($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
           <li><a href="[$field.tourl]">
           <img src="[$field.toimg]" width="200px" height="200px"/><br>
           [$field.lm_title]</a></li>
         <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_eloop($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
         </ul>
      </section>              
     
    </aside>