<commit_before><?php
$this->pageTitle = \Yii::app()->getModule('yupe')->siteName . ' - ' . 'Техника: ' . $row['M_name'];
$this->breadcrumbs = array('Техника', $row['M_name']);
$this->description = '';
$this->keywords = '';
?>

<!-- Product Info Starts -->
<div class="row product-info full">
    <!-- Left Starts -->
    <div class="col-sm-4 images-block">
        <?php
        function imageLink($image, $id, $is_thumb = false)
        {
            $s = '';
            $s .= '<a rel="shadowbox[gallery_' . $id . ']" href="http://partist.ru/' . $image['F_directory'] . '/' . $image['F_file'] . '">';
            $s .= '<img ' . ($is_thumb ? 'width="65"' : '') . ' src="http://partist.ru/' . $image['F_directory'] . '/' . $image['F_file'] . '" alt="product" class="img-responsive thumbnail"/>';
            $s .= '</a>';
            return $s;
        }

        //print_r($row);

        if (count($row['OE_IMAGES']['IMAGES']) > 0) {
            $image = array_shift($row['OE_IMAGES']['IMAGES']);
            echo imageLink($image, $id);
        } else
            if (count($row['M_IMAGES']['IMAGES']) > 0) {
                $image = array_shift($row['M_IMAGES']['IMAGES']);
                echo imageLink($image, $id);
            }
        ?>

        <ul class="list-unstyled list-inline">
            <?php
            if (count($row['OE_IMAGES']['IMAGES']) > 0) {
                foreach ($row['OE_IMAGES']['IMAGES'] as $image) {
                    echo '<li>' . imageLink($image, $id, true) . '</li>';
                    break;
                }
            }

            if (count($row['M_IMAGES']['IMAGES']) > 0) {
                foreach ($row['M_IMAGES']['IMAGES'] as $image) {
                    echo '<li>' . imageLink($image, $id, true) . '</li>';
                    break;
                }
            }
            //print_r($row);
            ?>
        </ul>
    </div>
    <!-- Left Ends -->
    <!-- Right Starts -->
    <div class="col-sm-8 product-details">
        <div class="panel-smart">
            <!-- Product Name Starts -->
            <h2><?php echo $row['M_name']; ?></h2>
            <!-- Product Name Ends -->
            <hr/>
            <!-- Manufacturer Starts -->
            <ul class="list-unstyled manufacturer">
                <li>
                    <span>Марка:</span> <?php echo $row['B_name']; ?>
                </li>
                <li>
                    <span>Раздел:</span> <?php echo $row['TE_name']; ?>
                </li>
                <li>
                    <span>Наличие:</span> <strong class="label label-success">Да</strong>
                </li>
                <li>
                    <span>Год:</span> <?php echo $row['OE_release_date']; ?>
                </li>
                <li>
                    <span>Наработка:</span> <strong class="label label-info"><?php echo $row['OE_working_hours']; ?></strong> часов
                </li>
                <li>
                    <span>Страна:</span> <?php echo $row['CONT_name']; ?>
                </li>
                <li>
                    <span>Город:</span> <?php echo $row['CITY_name']; ?>
                </li
            </ul>
            <!-- Manufacturer Ends -->
            <hr/><commit_msg>cl-commit<commit_after><?php
$this->pageTitle = \Yii::app()->getModule('yupe')->siteName . ' - ' . 'Техника: ' . $row['M_name'];
$this->breadcrumbs = array('Техника', $row['M_name']);
$this->description = '';
$this->keywords = '';
?>

<!-- Product Info Starts -->
<div class="row product-info full">
    <!-- Left Starts -->
    <div class="col-sm-4 images-block">
        <?php
        function imageLink($image, $id, $is_thumb = false)
        {
            $s = '';
            $s .= '<a rel="shadowbox[gallery_' . $id . ']" href="http://partist.ru/' . $image['F_directory'] . '/' . $image['F_file'] . '">';
            $s .= '<img ' . ($is_thumb ? 'width="65"' : '') . ' src="http://partist.ru/' . $image['F_directory'] . '/' . $image['F_file'] . '" alt="product" class="img-responsive thumbnail"/>';
            $s .= '</a>';
            return $s;
        }

        //print_r($row);

        if (count($row['OE_IMAGES']['IMAGES']) > 0) {
            $image = array_shift($row['OE_IMAGES']['IMAGES']);
            echo imageLink($image, $id);
        } else
            if (count($row['M_IMAGES']['IMAGES']) > 0) {
                $image = array_shift($row['M_IMAGES']['IMAGES']);
                echo imageLink($image, $id);
            }
        ?>

        <ul class="list-unstyled list-inline">
            <?php
            if (count($row['OE_IMAGES']['IMAGES']) > 0) {
                foreach ($row['OE_IMAGES']['IMAGES'] as $image) {
                    echo '<li>' . imageLink($image, $id, true) . '</li>';
                    break;
                }
            }

            if (count($row['M_IMAGES']['IMAGES']) > 0) {
                foreach ($row['M_IMAGES']['IMAGES'] as $image) {
                    echo '<li>' . imageLink($image, $id, true) . '</li>';
                    break;
                }
            }
            //print_r($row);
            ?>
        </ul>
    </div>
    <!-- Left Ends -->
    <!-- Right Starts -->
    <div class="col-sm-8 product-details">
        <div class="panel-smart">
            <!-- Product Name Starts -->
            <h2><?php echo $row['M_name']; ?></h2>
            <!-- Product Name Ends -->
            <hr/>
            <!-- Manufacturer Starts -->
            <ul class="list-unstyled manufacturer">
                <li>
                    <span>Марка:</span> <?php echo $row['B_name']; ?>
                </li>
                <li>
                    <span>Раздел:</span> <?php echo $row['TE_name']; ?>
                </li>
                <li>
                    <span>Наличие:</span> <strong class="label label-success">Да</strong>
                </li>
                <li>
                    <span>Год:</span> <?php echo $row['OE_release_date']; ?>
                </li>
                <li>
                    <span>Наработка:</span> <strong class="label label-info"><?php echo $row['OE_working_hours']; ?></strong> часов
                </li>
                <li>
                    <span>Страна:</span> <?php echo $row['CONT_name']; ?>
                </li>
                <li>
                    <span>Город:</span> <?php echo $row['CITY_name']; ?>
                </li>
            </ul>
            <!-- Manufacturer Ends -->
            <hr/>
{'fraction_non_alphanumeric': 0.20694980694980694, 'fraction_numerical': 0.003088803088803089, 'mean_word_length': 1.4164179104477612, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 162, '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': '400801', 'n_tokens_mistral': 2032, 'n_tokens_neox': 1943, 'n_words': 355}