<div class="row">
  <div class="col-lg-9 col-md-8">

    <div class="panel panel-default">
      <div class="panel-body">
        {$TEXT[0] | noescape}
      </div>
    </div>

    {if $PRODUCTS}
    <div class="panel panel-default">
      <div class="panel-body">
        <div class="table-responsive">
          <table class="table table-striped table-hover" id="sortTable">
          <thead>
            <tr>
              <th data-sort="string">{$TEXT[1] | noescape}</th>
              <th>&nbsp;</th>
            </tr>
          </thead>
          <tbody>
            {$PRODUCTS | noescape}
          </tbody>
          </table>
        </div>
      </div>
    </div>

    {* == PAGINATION == *}

    {$PAGES | noescape}

    {else}
    ?>
    <div class="panel panel-danger">
      <div class="panel-body nodata">
        <i class="fa fa-warning fa-fw"></i> {$TEXT[3]}
      </div>
    </div>
    {/if}

  </div>
  <div class="col-lg-3 col-md-4">
    <div class="panel panel-default menuboxarea">
      <div class="panel-heading">
        <i class="fa fa-code fa-fw"></i> {$HTEXT[9]}
      </div>
      <div class="panel-body affcode">
        <p>{$CODE}</p>
      </div>
    </div>
    {include 'right-panel.tpl'}
  </div>
</div>