
<br />
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td ><table width="100%"  border="0" cellpadding="5" cellspacing="1" class="box_inner">
        <form name="newignore" method="post" action="index.php?p=ignorelist&action=newignore">
          <tr>
            <td height="25" class="box_innerhead">{$lang.ignorenew_t}</td>
          </tr>
          <tr>
            <td class="row_first">{$lang.ignoret_t}</td>
          </tr>
          <tr>
            <td class="row_second">{if $iserror == 1}
              <br>
              {$lang.title_error}
              <ul>
                {$error}
              </ul>
              {/if}
              <table width="100%"  border="0" cellpadding="3" cellspacing="1">
                <tr>
                  <td width="5%" nowrap>{$lang.username}
                  &nbsp;&nbsp;</td>
                  <td width="50%"><input name="uname" type="text" id="uname"  value="{$ignorenew_user_field}" size="50" maxlength="25"></td>
                </tr>
                <tr>
                  <td nowrap>{$lang.ignorereason}
                  &nbsp;&nbsp;</td>
                  <td><input name="ireason" type="text" id="ireason"  value="{$ireason}" size="50" maxlength="75"></td>
                </tr>
                <tr>
                  <td width="5%" nowrap>&nbsp;</td>
                  <td><input type="submit" class="button" value="{$lang.ignorebuttonnew}"></td>
                </tr>
              </table></td>
          </tr>
        </form>
      </table></td>
  </tr>
</table>

<br />
{if $table_data}
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td ><table width="100%" border="0" cellpadding="5" cellspacing="1" class="box_inner">
        <form  method="post" action="index.php?p=ignorelist&action=delignore" name="kform" id="kform">
          <tr class="box_innerhead">
            <td nowrap><div align="center">
                <input name="allbox" type="checkbox" id="d" onclick="selall();" value="" />
              </div></td>
            <td  nowrap>{$lang.username}</td>
            <td>{$lang.ignorereason}</td>
            <td>{$lang.date}</td>
          </tr>
        
          {foreach from=$table_data item=ignore}
          <tr class="{cycle name="c0" values="row_first,row_second"}">
            <td  width="1%" nowrap><div align="center">
                <input name="ingore_{$ignore.id}" type="checkbox" id="d" value="1" onclick="changesel(this);">
              </div></td>
            <td width="10%" nowrap>{$ignore.name}</td>
            <td>{$ignore.reason}</td>
            <td>{$ignore.itime}</td>
          </tr>
          {/foreach}
        
          <tr>
            <td colspan="4" nowrap ><div align="center">
                <input type="submit" class="button" value="{$lang.ignorebuttondel}">
              </div></td>
          </tr>
        </form>
      </table></td>
  </tr>
</table>
{/if}