<?php echo $this->fetch('header.html'); ?>
	<div class="clear" /></div>
	
	<div id="sidebar">
	     <div class="loing_admin">
            <?php echo $this->_var['notices']; ?> 
			<div class="line"></div>
			<h5><A HREF="articles.php">所有文章:</a></h5>				
			<p class="news" style="margin-left: 28px">
			<?php $_from = $this->_var['home']['articat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'articat');if (count($_from)):
    foreach ($_from AS $this->_var['articat']):
?> 
				<A HREF="<?php echo $this->_var['articat']['name_url']; ?>"><?php echo $this->_var['articat']['name']; ?></A><br/>
				<?php if ($this->_var['articat']['next_node']): ?>
				<?php $_from = $this->_var['articat']['next_node']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'next_node');if (count($_from)):
    foreach ($_from AS $this->_var['next_node']):
?> 
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_var['next_node']['sub_next']; ?><br/>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
				<?php endif; ?>
			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
			</p>

			<h5><A HREF="links.php">友情链接</a></h5>
			<p style="margin-left: 28px">
			<?php $_from = $this->_var['home']['links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'links');if (count($_from)):
    foreach ($_from AS $this->_var['links']):
?>
			<A HREF="<?php echo $this->_var['links']['site_url']; ?>" style="margin:20px 0 10px 10px">
			<?php if ($this->_var['links']['lk_logo']): ?>
			  <IMG SRC="<?php echo $this->_var['links']['lk_logo']; ?>" BORDER="0" width="80" height="32" title="<?php echo $this->_var['links']['lk_name']; ?>">  
			<?php else: ?>
			  <?php echo $this->_var['links']['lk_name']; ?> 
			<?php endif; ?>
			</A><br/>
			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</p>
		  </div>
    </div>
	
	<div id="content">
	
	  <?php $_from = $this->_var['home']['Tarticles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'articles');if (count($_from)):
    foreach ($_from AS $this->_var['articles']):
?>
	   <p>
	   <ul style="margin:0;padding:0;">	     
		  <?php if ($this->_var['articles']['min_thumb']): ?>
		    <li style="float:left; padding:0;width: 80px; list-style:none;">
		     <A HREF="<?php echo $this->_var['articles']['article_url']; ?>"><IMG SRC="<?php echo $this->_var['articles']['min_thumb']; ?>" BORDER="0" TITLE="<?php echo $this->_var['articles']['name']; ?>"></A>
		    </li>
		  <?php endif; ?>
		  <li style="float:left; padding:10px 2px;width: 80%; list-style:none;">
		    <A HREF="<?php echo $this->_var['articles']['article_url']; ?>"> <?php echo $this->_var['articles']['name']; ?> </A> <br/> <?php echo $this->_var['articles']['edit_comm']; ?> 
          </li>
	   </ul>
		<div style="clear:left"></div>
			<div class="details_support"  style="width:92%;float:right;margin:2px;font-size: 12px">	       	
			<span style="float:right;font-size: 12px"><?php echo $this->_var['articles']['arti_date']; ?> 评论<?php echo $this->_var['articles']['comms']; ?></span>
		</div>
	  </p>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>	
	   
	</div>
    <p>&nbsp;	</p>
<?php echo $this->fetch('footer.html'); ?>