<?php if (!isset($this->indexStart)) $this->indexStart = 0; ?>
<?php $i = $this->indexStart; ?>
<?php foreach ($this->results->getResults() as $current): ?>
  <?php $recordNumber = $this->results->getStartRecord() + $i-$this->indexStart; ?>
  <div id="result<?=$i++ ?>" class="result<?=$current->supportsAjaxStatus()?' ajaxItem':''?>">
        
    <?php if (isset($this->showCheckboxes) && $this->showCheckboxes): ?>
      <?=$this->record($current)->getCheckbox('', 'search-cart-form')?>
    <?php endif; ?>

    <div> <?php // class="record-number"> ?>
	&nbsp;
	<span class="badge" style="background-color:#14416b;">
	      <?=$recordNumber ?>
	</span>
    </div>

    <?=$this->record($current)->getSearchResult('list')?>
  </div>
<?php endforeach; ?>
