<commit_before>{include file="global/block_header.tpl" ALIGN="left" BLOCK_STYLE="width: 23%" BLOCK_HEADER="Transaction Filter"}
  <table cellpadding="1" cellspacing="1" width="100%">
    <tbody>
      <tr>
        <td class="left">
{if $COUNTTRANSACTIONS / $LIMIT > 1}
  {if $smarty.request.start > 0}
          <a href="{$smarty.server.PHP_SELF}?page=admin&action=transactions&start={$smarty.request.start|default:"0" - 5}"><img src="{$PATH}/images/prev.png" /></a>
  {else}
          <img src="{$PATH}/images/prev.png" />
  {/if}
{/if}
        </td>
        <td class="right">
{if $COUNTTRANSACTIONS / $LIMIT > 1}
  {if $COUNTTRANSACTIONS - $smarty.request.start - $LIMIT > 0}
          <a href="{$smarty.server.PHP_SELF}?page=admin&action=transactions&start={$smarty.request.start|default:"0" + 5}"><img src="{$PATH}/images/next.png" /></a>
  {else}
          <img src="{$PATH}/images/next.png" />
  {/if}
{/if}
        </td>
      </tr>
      <form action="{$smarty.server.PHP_SELF}">
        <input type="hidden" name="page" value="{$smarty.request.page}" />
        <input type="hidden" name="action" value="{$smarty.request.action}" />
        <tr>
          <td class="left">Type</td>
          <td class="right">{html_options name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type}</td>
        </tr>
        <tr>
          <td class="left">Status</td>
          <td class="right">{html_options name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status}</td>
        </tr>
        <tr>
          <td class="left">Account</td>
          <td class="right"><input size="10" type="text" name="filter[account]" value="{$smarty.request.filter.account}" /></td>
        </tr>
        <tr><commit_msg>properly use limit for pagination<commit_after>{include file="global/block_header.tpl" ALIGN="left" BLOCK_STYLE="width: 23%" BLOCK_HEADER="Transaction Filter"}
  <table cellpadding="1" cellspacing="1" width="100%">
    <tbody>
      <tr>
        <td class="left">
{if $COUNTTRANSACTIONS / $LIMIT > 1}
  {if $smarty.request.start > 0}
          <a href="{$smarty.server.PHP_SELF}?page=admin&action=transactions&start={$smarty.request.start|default:"0" - $LIMIT}"><img src="{$PATH}/images/prev.png" /></a>
  {else}
          <img src="{$PATH}/images/prev.png" />
  {/if}
{/if}
        </td>
        <td class="right">
{if $COUNTTRANSACTIONS / $LIMIT > 1}
  {if $COUNTTRANSACTIONS - $smarty.request.start - $LIMIT > 0}
          <a href="{$smarty.server.PHP_SELF}?page=admin&action=transactions&start={$smarty.request.start|default:"0" + $LIMIT}"><img src="{$PATH}/images/next.png" /></a>
  {else}
          <img src="{$PATH}/images/next.png" />
  {/if}
{/if}
        </td>
      </tr>
      <form action="{$smarty.server.PHP_SELF}">
        <input type="hidden" name="page" value="{$smarty.request.page}" />
        <input type="hidden" name="action" value="{$smarty.request.action}" />
        <tr>
          <td class="left">Type</td>
          <td class="right">{html_options name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type}</td>
        </tr>
        <tr>
          <td class="left">Status</td>
          <td class="right">{html_options name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status}</td>
        </tr>
        <tr>
          <td class="left">Account</td>
          <td class="right"><input size="10" type="text" name="filter[account]" value="{$smarty.request.filter.account}" /></td>
        </tr>
        <tr>
{'fraction_non_alphanumeric': 0.20781426953567383, 'fraction_numerical': 0.009060022650056626, 'mean_word_length': 3.1810650887573964, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5826786', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1205, 'n_words': 195}