virt2/api/mod/find.html_1646999878.old

51 lines
2.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{include file=$header h1="Поиск - {if ($smarty.get.id)}{$smarty.get.id}{else}{$smarty.post.find}{/if}" title="Поиск - {if ($smarty.get.id)}{$smarty.get.id}{else}{$smarty.post.find}{/if}" description="поиск по сайту {if ($smarty.get.id)}{$smarty.get.id}{else}{$smarty.post.find}{/if}" keywords="поиск по сайту {if ($smarty.get.id)}{$smarty.get.id}{else}{$smarty.post.find}{/if}"}
{if $ftovar[0].id}
<h3 class="text-center mt-10" style="font-size: 16pt;">
Поиск по товару
</h3>
<div class="container">
<table class="table mt-10">
{section name=customer loop=$ftovar}
{if $ftovar[customer].id}
<tr><td style="width: 150px;">
<a href="/tovar_show/{$ftovar[customer].id}">
<img src="/api/img/gray/png/no_image.png" data-original="/img/magazin/cats/{$ftovar[customer].img}_210_270.jpg" class="thumbnail lazy" alt="{$list[customer].title}" title="{$list[customer].title}" style="width: 150px;">
</a>
</td><td>
{*$ftovar[customer].naim}<br><br>
{$ftovar[customer].cena} р.
*}
</td>
</tr>
{/if}
{/section}
</table>
{/if}
<table class="table">
{section name=customer loop=$list}
{if $list[customer].id}
<tr><td style="width: 150px;">
{if $list[customer].alias}
<a href="/{$list[customer].alias}.html">
{else}
<a href="/page/{$list[customer].id}">
{/if}
{if $list[customer].oblozhka}
<img src="/img/pages/{$list[customer].oblozhka}.jpg" class="thumbnail" alt="{$list[customer].title}" title="{$list[customer].title}" style="width: 150px;">
{else}
<img src="/api/img/gray/png/no_image.png" class="thumbnail" alt="{$list[customer].title}" title="{$list[customer].title}" style="width: 150px;">
{/if}
</a>
</td><td>
{if $list[customer].alias}
<a href="/{$list[customer].alias}.html">
{else}
<a href="/page/{$list[customer].id}">
{/if}
<h2>{$list[customer].title}</h2></a>
</td></tr>
{/if}
{/section}
</table>
</div>
{include file=$footer}