<commit_before><?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel app\modules\blog\models\PostsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Posts';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="posts-index">

    <h1><?= Html::encode($this->title) ?></h1>
    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <?php if(!Yii::$app->user->getisGuest()){ ?>
    <p>
        <?= Html::a('Create Posts', ['create'], ['class' => 'btn btn-success']) ?>
    </p>
    <?php } ?>

    <div class="row">
    <?php foreach($posts as $arr) { ?>
        <div class="row">
          <div class="col-sm-6 col-md-4">
            <div class="thumbnail">
              <img src="..." alt="...">
              <div class="caption">
                <h3>Thumbnail label</h3>
                <p>...</p>
                <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p>
              </div>
            </div>
          </div>
   <?php } ?>

    </div>
<commit_msg>conflict<commit_after><?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel app\modules\blog\models\PostsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Posts';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="posts-index">

    <h1><?= Html::encode($this->title) ?></h1>
    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <?php if(!Yii::$app->user->getisGuest()){ ?>
    <p>
        <?= Html::a('Create Posts', ['create'], ['class' => 'btn btn-success']) ?>
    </p>
    <?php } ?>

    <div class="row">
    <?php foreach($posts as $arr) { ?>
        
          <div class="col-sm-6 col-md-4">
            <div class="thumbnail">
              <img src="<?= $arr->img ?>" alt="...">
              <div class="caption">
                <h3><?= $arr->title ?></h3>
                <p><?= $arr->text_preview ?></p>
                <p><a href="/blog/default/view?id=<?= $arr->id ?>" class="btn btn-primary" role="button">Button</a> </p>
              </div>
            </div>
          </div>
   <?php } ?>

    </div>

{'fraction_non_alphanumeric': 0.24585152838427948, 'fraction_numerical': 0.005240174672489083, 'mean_word_length': 2.2822349570200573, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 92, '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': '4211530', 'n_tokens_mistral': 804, 'n_tokens_neox': 797, 'n_words': 149}