<tr id="row{$item->id}">
    <td>{if empty($item->data.status)}<div class="checkbox"><input class="sel" type="checkbox" name="zone[{$item->id}][export]" /></div>{/if}</td>
    <td>{$item->data.domain}</td>
    <td>{if $item->data.ip eq ''}-{else}{$item->data.ip}{/if}</td>
    <td>{if $item->data.status eq 'exporting'}<div class="label label-info">{$item->data.status}</div>
        {elseif $item->data.status eq 'exported'}<div class="label label-success">{$item->data.status}</div>
        {else}{if !empty($item->data.status)}{$item->data.status}{else}-{/if}{/if}
    </td>
    <td>
        {if empty($item->data.status)}
            <input type="hidden" class="select2x" data-query="itemid={$item->id}&domain={$item->data.domain|htmlspecialchars}"
                   {if $user neq false}value="{$user->id}" data-id="{$user->id}" data-name="{$user->firstname|htmlspecialchars} {$user->lastname|htmlspecialchars}"{/if}/>
            <input type="hidden" name="zone[{$item->id}][client]" data-act="getUserServices" value=""/>
        {/if}
    </td>
    <td><div class="services">-</div></td>
    <td>
        <div class="row-id" style="display: none" data-id="row{$item->id}"></div>
        <a {if !empty($item->data.status)}disabled="disabled"{/if} class="btn btn-primary btn-inverse btn-icon-only" data-act="exportZones" data-formid="row{$item->id}" data-query="justOne=1&id={$exportId}" title="{$MGLANG->T('exportZone')}"><i class="glyphicon glyphicon-plus"></i></a>
        <a {if !empty($item->data.status)}disabled="disabled"{/if} class="btn btn-primary btn-inverse btn-icon-only" data-act="exportZones" data-formid="row{$item->id}" data-query="justOne=1&id={$exportId}&runNow=1" title="{$MGLANG->T('exportNow')}"><i class="glyphicon glyphicon-play"></i></a>
    </td>
</tr>