<commit_before><?php
    $html = '';

    if(count($last)>0) {   
      foreach ($last as $item){
         $html.= '<figure>
                    <img class="img-rounded" src="'.Option::get('siteurl').DS.'public/shop/large/'.$item['image1'].'"/>
                  <figcaption class="clearfix">
                    <h4>'.$item['title'].'</h4>
                    <span><b>'.__('Price','minishop').': </b>'.$item['price'].'</span>
                    <a class="btn btn-default pull-right" href="'.Option::get('siteurl').DS.miniShop::$shop.DS.'item?id='.$item['id'].'" title="'.$item['title'].'" >
                      '.__('View details','minishop').'
                    </a>
                  </figcaption>
                  </figure>';
      }
      echo $html;
    }else{ 
      echo '<p>'.__('Still not have products','minishop').'</p>';
    }
?><commit_msg>Add small btn<commit_after><?php
    $html = '';

    if(count($last)>0) {   
      foreach ($last as $item){
         $html.= '<figure>
                    <img class="img-rounded" src="'.Option::get('siteurl').DS.'public/shop/large/'.$item['image1'].'"/>
                  <figcaption class="clearfix">
                    <h4>'.$item['title'].'</h4>
                    <span class="btn btn-default btn-sm pull-left" disabled="disabled"><b>'.__('Price','minishop').': </b>'.$item['price'].'</span>
                    <a class="btn btn-default pull-right" href="'.Option::get('siteurl').DS.miniShop::$shop.DS.'item?id='.$item['id'].'" title="'.$item['title'].'" >
                      '.__('View details','minishop').'
                    </a>
                  </figcaption>
                  </figure>';
      }
      echo $html;
    }else{ 
      echo '<p class="label label-info">'.__('Still not have products','minishop').'</p>';
    }
?>
{'fraction_non_alphanumeric': 0.23838495575221239, 'fraction_numerical': 0.004424778761061947, 'mean_word_length': 1.8443396226415094, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 37, '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': '5386579', 'n_tokens_mistral': 563, 'n_tokens_neox': 544, 'n_words': 81}