<commit_before><div class="product mdl-grid">
	<?$Status = new Status();
	$st = $Status->GetStstusById($item['id_product']);
	// Проверяем доступнось розницы
	($item['price_mopt'] > 0 && $item['min_mopt_qty'] > 0)?$mopt_available = true:$mopt_available = false;
	// Проверяем доступнось опта
	($item['price_opt'] > 0 && $item['inbox_qty'] > 0)?$opt_available = true:$opt_available = false;?>
	<!-- SHOWCASE SLIDER -->

	<div class="mdl-cell mdl-cell--12-col">
		<h1><?=$item['name']?></h1>
	</div>
	<div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet">
		<p class="product_article">Арт: <?=$item['art']?></p>
		<div class="product_main_img btn_js mdl-cell--hide-phone" data-name="big_photo">
			<?if(!empty($item['images'])){?>
				<img src="<?=_base_url?><?=$item['images'][0]['src']?>" alt="<?=$item['name']?>">
			<?}else{?>
				<img src="<?=$item['img_1']?_base_url.$item['img_1']:'/efiles/_thumb/nofoto.jpg'?>" alt="<?=$item['name']?>">
			<?}?>
		</div>
		<?if ($_SESSION['client']['user_agent'] == 'mobile') {?>
			<style>
				@media (max-width: 727px)
				.product .mdl-cell {
				    padding-right: 0;
				}
				.mdl-cell {
				    margin: 0;
				    /* width: calc(100% - 16px); */
				}<commit_msg>ссылка на редактирование товара для администратора и сео<commit_after><div class="product mdl-grid">
	<?$Status = new Status();
	$st = $Status->GetStstusById($item['id_product']);
	// Проверяем доступнось розницы
	($item['price_mopt'] > 0 && $item['min_mopt_qty'] > 0)?$mopt_available = true:$mopt_available = false;
	// Проверяем доступнось опта
	($item['price_opt'] > 0 && $item['inbox_qty'] > 0)?$opt_available = true:$opt_available = false;?>
	<!-- SHOWCASE SLIDER -->

	<div class="mdl-cell mdl-cell--12-col">
		<h1><?=$item['name']?></h1>
	</div>
	<div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet">
		<p class="product_article">Арт: <?=$item['art']?></p>
		<?if(isset($_SESSION['member']) && in_array($_SESSION['member']['gid'], array(1, 9))){?>
			<a href="<?=Link::Custom('adm', 'productedit');?><?=$item['id_product']?>" target="_blank">Редактировать товар</a>
		<?}?>
		<div class="product_main_img btn_js mdl-cell--hide-phone" data-name="big_photo">
			<?if(!empty($item['images'])){?>
				<img src="<?=_base_url?><?=$item['images'][0]['src']?>" alt="<?=$item['name']?>">
			<?}else{?>
				<img src="<?=$item['img_1']?_base_url.$item['img_1']:'/efiles/_thumb/nofoto.jpg'?>" alt="<?=$item['name']?>">
			<?}?>
		</div>
		<?if ($_SESSION['client']['user_agent'] == 'mobile') {?>
			<style>
				@media (max-width: 727px)
				.product .mdl-cell {
				    padding-right: 0;
				}
				.mdl-cell {
				    margin: 0;
				    /* width: calc(100% - 16px); */
				}
{'fraction_non_alphanumeric': 0.267260579064588, 'fraction_numerical': 0.017817371937639197, 'mean_word_length': 4.5338809034907595, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 71, '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': '2956533', 'n_tokens_mistral': 1204, 'n_tokens_neox': 1112, 'n_words': 158}