<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang ads} &raquo; {lang friendlink}</p>
</div>
<div id="rightTop"> 
    <h3>{lang friendlink}</h3> 
    <ul class="subnav">
		<li><a class="btn1" href="friendlink.php"><span>{lang management}</span></a></li>
        <li><a href="friendlink.php?do=edit">{lang add_or_edit}</a></li>
        <li><a href="friendlinktype.php">{lang sorts}</a></li>
    </ul>
</div>
<div class="tipsblock">
	<ul id="tipslis">
		<li>{#you_can_use_the_tag_call#|sprintf:#friend_links#}</li>
	</ul>
</div>
<div class="tdare">
  <form name="list_frm" id="ListFrm" action="" method="post">
  <table width="100%" cellspacing="0" class="dataTable" summary="{lang data_zone}">
    <thead>
		<tr>
		  <th class="firstCell"><input type="checkbox" name="idAll" id="idAll" onclick="pbCheckAll(this,'id[]');" title="{lang select_switch}"></th>
		  <th><label for="idAll">{lang the_title}</label></th>
		  <th>{lang link_url}</th>
		  <th>{lang logo}{lang picture}</th>
		  <th>{lang the_industry}</th>
		  <th>{lang the_city}</th>
		  <th>{lang display_order}</th>
		  <th>{lang action}</th>
		</tr>
	</thead>
    <tfoot>
		<tr>
		  <th></th>
		  <th><label for="idAll">{lang the_title}</label></th>
		  <th>{lang link_url}</th>
		  <th>{lang logo}{lang picture}</th>
		  <th>{lang the_industry}</th>
		  <th>{lang the_city}</th>
		  <th>{lang display_order}</th>
		  <th>{lang action}</th>
		</tr>
	</tfoot>
    <tbody>
		<!--{foreach from=$Items item=item}-->
		<tr class="tatr2">
		  <td class="firstCell"><input type="checkbox" name="id[]" value="{$item.id}" onclick="pbCheckItem(this,'idAll');" id="item_{$item.id}" title="{$item.id}"></td>
		  <td><label for="item_{$item.id}">{$item.title}</label></td>
		  <td><a href="{$item.url}" target="_blank">{$item.url}</a></td>
		  <td>{if $item.logo}<img src="{$item.logo}" height="35" />{/if}</td>
		  <td>{$item.industryname}</td>
		  <td>{$item.areaname}</td>
		  <td>{$item.priority}</td>
		  <td class="handler">
           <ul id="handler_icon">
            <li><a class="btn_delete" href="friendlink.php?id={$item.id}&do=del{$addParams}" title="{lang delete}">{lang delete}</a></li>
            <li><a class="btn_edit" href="friendlink.php?do=edit&id={$item.id}{$addParams}" title="{lang edit}">{lang edit}</a></li>
        </ul>		</tr>
		<!--{foreachelse}-->
		<tr class="no_data info">
		  <td colspan="8">{lang no_datas}</td>
		</tr>
		<!--{/foreach}-->
    </tbody>
	</table>
	<div id="dataFuncs" title="{lang action_zone}">
    <div class="left paddingT15" id="batchAction">
      <input type="submit" name="del" value="{lang delete}" class="formbtn batchButton"/>
    </div>
    <div class="pageLinks">{$ByPages}</div>
    <div class="clear"/>
    </div>
	</form>
</div>
<!-- {include file="footer.html"} -->