<strong>{$lang.calendar_searchresults_t}</strong><br /><br />

{if $results}
{foreach from=$results item=res}
<img class="absmiddle" src="templates/{$theme}/img/page/rel.gif" alt="" />
&nbsp;<strong>{$res->start|date_format:'%Y.%m.%d'}</strong><br />
<a href="index.php?p=calendar&amp;year={$res->year}&amp;month={$res->month}&amp;day={$res->day}&amp;id={$res->id}&amp;display={$res->type}&amp;area={$smarty.request.area}">{$res->name|sslash}</a><br />
<small>{$res->descr|sslash|truncate:'100'}&nbsp;<a class="light" href="index.php?p=calendar&amp;year={$res->year}&amp;month={$res->month}&amp;day={$res->day}&amp;id={$res->id}&amp;display={$res->type}&amp;area={$smarty.request.area}">{$lang.readmore}</a></small><br /><br />
{/foreach}
{else}
{$lang.calendar_no_searchresults}
{if $warning}
<br />
<strong>{$warning}</strong>
{/if}
{/if}
<br />
<br />

<!-- Suche -->
<div class="box_inner" style="padding:5px;width:300px">

  <form action="index.php" method="get">
  <table>
  <tr>
  <td> <img class="absmiddless" src="templates/{$theme}/img/calendar/find.gif" alt="" border="0" /></td>
  <td><input type="text" name="qc" value="{$smarty.get.qc|sslash|escape:'html'}" /><input class="button" type="submit" value="{$lang.new_search}" /></td>
  </tr>
  </table>
 
  
  <input name="area" type="hidden" value="{$area}" />
  <input name="p" type="hidden" value="calendar" />
  <input name="display" type="hidden" value="search" />
  </form>
</div>
<!-- Suche -->