<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang ads} &raquo; {lang adzone}</p>
</div>
<div id="rightTop"> 
    <h3>{lang adzone}</h3> 
    <ul class="subnav">
		<li><a class="btn1"><span>{lang management}</span></a></li>
        <li><a href="adzone.php?do=edit">{lang add_or_edit}</a></li>
    </ul>
</div>
<div class="mrightTop"> 
    <div class="fontl">{lang what_is_adzone}</div> 
    <div class="fontr"></div> 
</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>{lang serial_number}</th>
		  <th><label for="idAll">{lang adzone}</label></th>
		  <th>{lang advertisement} {lang record_amount}</th>
		  <th>{lang maximum} {lang width}</th>
		  <th>{lang maximum} {lang height}</th>
		  <th>{lang calling_code}</th>
		  <th>{lang action}</th>
		</tr>
    </thead>
    <tbody>
		<!--{foreach from=$Items item=item name=adzone}-->
		<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>{$item.id}</td>
		  <td><label for="item_{$item.id}">{$item.name}</label></td>
		  <td><a href="ad.php?do=search&adzone_id={$item.id}">{$item.numbers|default:0}</a></td>
		  <td>{$item.width}</td>
		  <td>{$item.height}</td>
		  <td><a href="{$smarty.server.PHP_SELF}?do=makejs&id={$item.id}" title="{lang make_javascript_code}"><img src="{$admin_theme_path}images/export.gif" border="0" /></a></td>
		  <td class="handler">
           <ul id="handler_icon">
            <li><a class="btn_delete" href="adzone.php?id={$item.id}&do=del{$addParams}"  title="{lang delete}">{lang delete}</a></li>
            <li><a class="btn_edit" href="adzone.php?do=edit&id={$item.id}{$addParams}" title="{lang edit}">{lang edit}</a></li>
            <li><a class="btn_add" href="ad.php?do=edit&adzone_id={$item.id}{$addParams}" title="{lang add_ads}">{lang add}</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"/>
    </div>
    <div class="pageLinks">{$ByPages}</div>
    <div class="clear"/>
    </div>
	</form>
</div>
<!-- {include file="footer.html"} -->