<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang templet} &raquo; {lang nav}</p>
</div>
<div id="rightTop"> 
    <h3>{lang nav}</h3> 
    <ul class="subnav">
		<li><a class="btn1" href="nav.php"><span>{lang management}</span></a></li>
        <li><a href="nav.php?do=edit">{lang add_or_edit}</a></li>
    </ul>
</div>
<div class="tdare">
  <form name="list_frm" id="ListFrm" action="nav.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 naming}</label></th>
		  <th>{lang preview}</th>
		  <th>{lang link_url}</th>
		  <th>nav_id</th>
		  <th>{lang whether_or}{lang show_it}</th>
		  <th>{lang display_order}</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}">
          <input type="hidden" name="nid[]" value="{$item.id}" />
          </td>
		  <td><label for="item_{$item.id}">{$item.name|pl}</label></td>
		  <td>{$item.title|pl}</td>
		  <td>{$item.url}</td>
		  <td><h3>{$item.id}</h3></td>
		  <td><select name="status[]">
			{html_options options=$AskAction selected=$item.status}
		  </select></td>
		  <td><input type="text" name="display_order[]" style="width:35px; text-align:center" value="{$item.display_order}" /></td>
		  <td class="handler">
           <ul id="handler_icon">
            <li><a class="btn_edit" href="nav.php?do=edit&id={$item.id}{$addParams}" title="{lang edit}">{lang edit}</a></li>
          </ul>
		  </td>
		</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"/>
      <input type="submit" name="update_prior" value="{lang updating}" class="formbtn batchButton"/>
    </div>
    <div class="pageLinks">{$ByPages}</div>
    <div class="clear"/>
    </div>
	</form>
</div>
<!-- {include file="footer.html"} -->