Turinio valdymo sistema

Prisijungimas partneriams
Jūsų slaptažodis

Dirbame su:










results

<p>Ieškota: {$query}</p>
{_search->getResults module="news" query=$smarty.get.query assign="newsResultList"}
{foreach from=$newsResultList item="el"}
<div><a href="/index.php?cid={$el.item_id}&amp;new_id={$el.id}">{$el.new_name}</a></div>
<div>{$el.page_name}</div>
{/foreach}
{_search->getResults module="databases1" query=$smarty.get.query assign="tablesResultList"}
{foreach from=$tablesResultList item="el"}

  <div><a href="/?cid={$el.item_id}">{$el.page_name}</a></div>
{/foreach}
{foreach from=$results item="el"}
  <div><a href="/index.php?cid={$el.item_id}">{$el.name}</a></div>
{/foreach}
{if !$results and !$newsResultList and !$tablesResultList}
   {$no_results_text}
{/if}