<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>友情链接管理</title>
<link href="<{$css_root}>images/admincp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="append_parent"/>
<div id="cpcontainer" class="container">
  <div class="itemtitle">
    <h3>友情链接管理</h3>
    <ul class="tab1">
      <li> <a href="friendlink.php?act=show"> <span>链接列表</span> </a> </li>
      <li> <a href="friendlink.php?act=add"> <span>添加链接</span> </a> </li>
    </ul>
  </div>


    <form id="form" action="friendlink.php?act=editok" method="post" name="form" enctype="multipart/form-data">
     <input type="hidden" value="<{$link_id}>" name="friend[id]" />
    <table class="tb tb2">
      <tbody>
         <tr>
          <td class="td27" colspan="2">链接名称:</td>
        </tr>
        <tr class="noborder">
          <td class="vtop rowform"><input class="txt" type="text" value="<{$friendname}>" name="friend[name]"/>          </td>
          <td class="vtop tips2"></td>
        </tr>
        
        <tr>
          <td class="td27" colspan="2">链接地址:</td>
        </tr>
        <tr class="noborder">
          <td class="vtop rowform"><input class="txt" type="text" value="<{$friendurl}>" name="friend[url]"/>          </td>
          <td class="vtop tips2">点击友情链接将跳转到的地址</td>
        </tr>
        
        <tr>
          <td class="td27" colspan="2">链接图片:</td>
        </tr>
        <tr class="noborder">
          <td class="vtop rowform">
          <img src="<{$friendlogo}>" width="88" height="31" />
          <input class="txt" type="file" name="logopic"/>          </td>
          <td class="vtop tips2">友情链接的显示图片</td>
        </tr>
        
        <tr>
          <td class="td27" colspan="2">排列顺序:</td>
        </tr>
        <tr class="noborder">
          <td class="vtop rowform"><input class="txt" type="text" value="<{$friendorder}>" name="friend[displayorder]"/>          </td>
          <td class="vtop tips2">在前台页面显示时，顺序从大到小排列</td>
        </tr>
        
        <tr>
          <td colspan="2"><input class="btn" type="submit" value="提交" name="submit"/>          </td>
        </tr>
      </tbody>
    </table>
  </form>

</div>
</body>
</html>
