<!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 class="current"> <a href="friendlink.php?act=show"> <span>链接列表</span> </a> </li>
      <li> <a href="friendlink.php?act=add"> <span>添加链接</span> </a> </li>
    </ul>
  </div>
  <table id="tips" class="tb tb2">
    <tbody>
      <tr>
        <th class="partition">技巧提示</th>
      </tr>
      <tr>
        <td class="tipsblock"><ul id="tipslis">
            <li>单击编辑可以对这个链接的地址，名称，图片等进行修改</li>
            <li>单击删除将会删除该条链接，注意：此操作不可恢复</li>
          </ul></td>
      </tr>
    </tbody>
  </table>
  
    <table class="tb tb2">
      <tbody>
        <tr class="header">
        <th>链接名称</th>
        <th>链接地址</th>
        <th>图片名称</th>
        <th>图片地址</th>
        <th>排列顺序</th>
        <th/>
        <th/>
      </tr>
      <{section name=list loop=$friendlist}>
      <tr class="hover navlineheight">
        <td class="td29"><{$friendlist[list].name}> </td>
        <td><{$friendlist[list].url}> </td>
        <td><{$friendlist[list].logo}> </td>
        <td><{$friendlist[list].filepath}></td>
        <td><{$friendlist[list].displayorder}> </td>
        <td><a class="act" href="friendlink.php?act=edit&id=<{$friendlist[list].id}>">编辑</a> </td>
        <td><a class="act" href="friendlink.php?act=remove&id=<{$friendlist[list].id}>">删除</a> </td>
      </tr>
      <{/section}>
        
      </tbody>
    </table>
</div>
</body>
</html>
