<?php echo $this->fetch('header.html'); ?>
	<div class="clear" />
	
	<?php echo $this->fetch('sidebar.html'); ?>
	
	<div id="content">
	<h2><?php echo $this->_var['home']['nowNave']; ?></h2>
		<?php if ($this->_var['home']['strMessage']): ?>
			<ul style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
			<li style="border: 1px solid #CC0000; background: #FFFFCC; padding: 10px; margin-bottom: 5px;" ><?php echo $this->_var['home']['strMessage']; ?></li>
			</ul>
		<?php endif; ?> 
		<ul>
		<?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']):
?>
			<li style="font-weight: bold;width:98%px;height:50px;margin:2px 2px 2px 10px">
			<a href="<?php echo $this->_var['links']['site_url']; ?>"> <?php echo $this->_var['links']['lk_name']; ?></a>
				<div class="details_support"  style="width:92%;float:right;margin:2px;font-size: 12px">	
					<?php if ($this->_var['links']['lk_logo']): ?>
					<img SRC="<?php echo $this->_var['links']['lk_logo']; ?>" WIDTH="88" HEIGHT="32" BORDER="0" title="<?php echo $this->_var['links']['lk_name']; ?>" align="left">
					<?php endif; ?>
					<?php echo $this->_var['links']['lk_desc']; ?>
				</div>
			</li>

		<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 

		</ul> 
		<div class="fenye" ><?php echo $this->_var['home']['showpage']; ?></div> 
		<blockquote> 
		<FORM METHOD=POST ACTION=""  style="margin: 0px">
			<b>站名:</b><INPUT TYPE="text" NAME="lk_name" size="40" value=""><span style="color:#FF0033">*</span><br/>
			<b>地址:</b><INPUT TYPE="text" NAME="site_url" size="40" value=""><span style="color:#FF0033">http://  *</span><br/> 
			
			<b>验证码:</b>
			<?php echo $this->_var['home']['authnum']; ?> <input name="authnum" type="text" size="7" value="" id="authnum" /> 
			<?php echo $this->_var['FCKeditor']; ?> 
			<INPUT TYPE="submit" name="submit" value="友情连接提交">
			<INPUT TYPE="reset" NAME="rest">
			<INPUT TYPE="hidden" NAME="action" value="install">
		</FORM> 
		</blockquote> 
	
	</div>
<?php echo $this->fetch('footer.html'); ?>