<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/utils.js"></script>
<body>
<h1>
<span class="action-span"><a href="?ctl=flink&act=flink_add"><tpl>$flink_add</tpl><!--添加友情链接--></a></span>
<span class="action-span1"><a href="?ctl=index&act=admin_main"><tpl>$common_admin_index</tpl><!--管理首页--></a> >> <tpl>$flink_list</tpl><!--友情链接列表--></span>
<div style="clear:both"></div>
</h1>
<div class="list-div" id="listDiv">
<table width="100%" cellpadding="3" cellspacing="1">
  <tr>
    <th width="29%"><tpl>$flink_list_name</tpl><!--友情链接名称--></th>
    <th width="27%"><tpl>$flink_list_url</tpl><!--友情链接地址--></th>
    <th width="17%"><tpl>$flink_list_logo</tpl><!--链接图片--></th>
    <th width="12%"><tpl>$flink_list_sort</tpl><!--排序--></th>
    <th width="15%"><tpl>$flink_list_oper</tpl><!--操作--></th>
  </tr>
  <tr>
  <tpl>foreach $flink_array as $val</tpl>
  <tr>
    <td class="first-cell"><tpl>$val['flink_name']</tpl></td>
    <td align="left"><tpl>$val['flink_url']</tpl></td>
    <td align="center"><tpl>if $val['flink_logo'] != ''</tpl><img src="<tpl>WEB_HOST</tpl><tpl>$val['flink_logo']</tpl>" width='100' height='30' border='0'><tpl>/if</tpl></td>
    <td align="center"><tpl>$val['flink_sort']</tpl></td>
    <td align="center"><span>
    <a href="index.php?ctl=flink&act=flink_add&flink_id=<tpl>$val['flink_id']</tpl>" title="<tpl>$flink_list_eidt</tpl>"><img src="images/icon_edit.gif" border="0" height="16" width="16" /></a>&nbsp;
    <a href="index.php?ctl=flink&act=flink_del&flink_id=<tpl>$val['flink_id']</tpl>" title="<tpl>$flink_list_del</tpl>" onClick="return confirm('<tpl>$flink_list_del_conf</tpl>');"><img src="images/icon_drop.gif" border="0" height="16" width="16" /></a></span></td>
  </tr>
  <tpl>/foreach</tpl>
  <tr>
    <td align="right" nowrap="true" colspan="10">&nbsp;</td>
  </tr>
</table>
</div>
<div id="footer">
<tpl>$common_copyright</tpl>
</div>
</body>
