<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang ads} &raquo; {lang service_manage}</p>
</div>
<div id="rightTop"> 
    <h3>{lang service_manage}</h3> 
    <ul class="subnav"> 
		<li><a class="btn1" href="goods.php">{lang lists}</a></li>
        <li><a href="goods.php?do=edit"><span>{lang add_or_edit}</span></a></li>
        <li><a href="goods_cat.php"><span>{lang sorts}</span></a></li>
    </ul> 
</div> 
<div class="tdare">
  <form name="list_frm" id="ListFrm" action="goods.php" 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 service} {lang naming}</label></th>
		  <th>{lang the_price}</th>
		  <th>{lang add} {lang times}</th>
		  <th>{lang action}</th>
		</tr>
    </thead>
    <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.name}</label><br><small>{$item.description|truncate:100}</small></td>
		  <td>{$item.price}</td>
		  <td>{$item.created|date_format:"%Y-%m-%d"}</td>
		  <td class="handler">
          <ul id="handler_icon">
            <li><a class="btn_delete" href="goods.php?id={$item.id}&do=del" title="{lang delete}">{lang delete}</a></li>
            <li><a class="btn_edit" href="goods.php?id={$item.id}&do=edit" title="{lang edit}">{lang edit}</a></li>
          </ul>
         
		  </td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data info">
		  <td colspan="5">{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"} -->