
<div class="box_innerhead">{$galname|koobispecialchars}</div>
{if !$galleries}
<br />

<div align="center">
<h2>{#Gallery_NoGalleries#}</h2>
<br />
<br />
<a href="javascript:history.go(-1);"><img class="absmiddle" src="{$imgpath_page}arrow_left_small.png" alt="" border="0" /></a> <a href="javascript:history.go(-1);">{#Global_Back#}</a>
</div>

{else}
<div class="gallery_categs_search">
<form method="post" action="index.php?p=gallery&amp;action=showincluded&amp;categ={$smarty.request.categ}&amp;name=-&amp;area={$area}">
    <input style="width:200px" type="text" class="input" name="q" id="qs" value="{$smarty.request.q|koobispecialchars|replace:'empty':''}" />
    
    
    <select class="input" name="searchtype">
      <option value="full" {if $smarty.request.searchtype=='full'}selected="selected" {/if}>{#SearchFull#}</option>
      <option value="tags" {if $smarty.request.searchtype=='tags'}selected="selected" {/if}>{#SearchTags#}</option>
    </select>
    <input name="log" type="hidden" value="1" />
    <input type="submit" class="button" value="{#Search#}" />
</form>
</div>

{foreach from=$galleries item=item}
<div class="gallery_categs">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100" valign="top" class="gallery_iconleft">
{if $item->Thumb}
<a {popup width=500 delay=250 text=$item->GalText|koobispecialchars} href="{$item->Link}">{$item->Thumb}</a>
{else}
<img class="gallery_categs_img" src="{$imgpath_page}noimage.gif" />
{/if}
</td>
<td valign="top">
<h2><a {popup width=500 delay=250 text=$item->GalText|koobispecialchars} href="{$item->Link}">{$item->GalName|koobispecialchars}</a></h2>
<br />
{$item->GalText|truncate:150}
<br />
<br />
<div class="gallery_info_small">
{if $item->subGalleries}
<strong>{#Gallery_Included#}: </strong>
{foreach from=$item->subGalleries name=c item=child}<a class="light" href="{$child->Link}">{$child->SubGalName|specialchars}</a>{if !$smarty.foreach.c.last}, {/if}{/foreach}
<br />
{/if}

<strong>{#Gallery_GalAuthor#}: </strong><a href="{$item->AuthorLink}">{$item->Author|specialchars}</a>&nbsp;
<strong>{#Gallery_GalImages#}: </strong>{$item->ImageCount->ImageCount}&nbsp;
<strong>{#Gallery_GalCreated#}: </strong>{$item->Datum|date_format:$config_vars.DateFomatSimple}

{if $item->Tags}
<br />
<img class="absmiddle" src="{$imgpath}/page/tags.png" alt="{#Tags#}" /><strong>{#Tags#}: </strong>
{foreach from=$item->Tags item=ttags name=tag}{if $ttags!=''}<a href="index.php?p=gallery&amp;action=showincluded&amp;categ={$smarty.request.categ}&amp;name={$galname|seotitle}&amp;q={$ttags|linkkoobispecialchars}&amp;searchtype=tags&amp;page=1&amp;sort=nameasc&amp;area={$area}">{$ttags|tagchars}</a>{if !$smarty.foreach.tag.last}, {/if}{/if}{/foreach}
{/if}
</div>



</td>
</tr>
</table>

</div>
{/foreach}
<br />
<strong>{#SortBy#}: </strong>
<a class="page_navigation" href="index.php?p=gallery&amp;action=showincluded&amp;categ={$smarty.request.categ}&amp;name={$galname|seotitle}&amp;q={$smarty.request.q|koobispecialchars|default:'empty'}&amp;searchtype={$smarty.request.searchtype|koobispecialchars}&amp;page={$smarty.request.page|default:1}&amp;sort={$def_sort_name|default:'namedesc'}&amp;area={$area}">{#SortBy_Name#} <img class="absmiddle" src="{$imgpath}/page/{$def_sort_img_name}.png" alt="" border="0" /></a>
<a class="page_navigation" href="index.php?p=gallery&amp;action=showincluded&amp;categ={$smarty.request.categ}&amp;name={$galname|seotitle}&amp;q={$smarty.request.q|koobispecialchars|default:'empty'}&amp;searchtype={$smarty.request.searchtype|koobispecialchars}&amp;page={$smarty.request.page|default:1}&amp;sort={$def_sort_date|default:'datedesc'}&amp;area={$area}">{#SortBy_Date#} <img class="absmiddle" src="{$imgpath}/page/{$def_sort_img_date}.png" alt="" border="0" /></a>
<a class="page_navigation" href="index.php?p=gallery&amp;action=showincluded&amp;categ={$smarty.request.categ}&amp;name={$galname|seotitle}&amp;q={$smarty.request.q|koobispecialchars|default:'empty'}&amp;searchtype={$smarty.request.searchtype|koobispecialchars}&amp;page={$smarty.request.page|default:1}&amp;sort={$def_sort_author|default:'userdesc'}&amp;area={$area}">{#SortBy_Author#} <img class="absmiddle" src="{$imgpath}/page/{$def_sort_img_author}.png" alt="" border="0" /></a>

<br />
<br />
{$GalNavi}
 
{if $tagCloud}
<div class="tagcloud">
<div>{#Tagcloud#}</div>
<br />
{foreach from=$tagCloud item=tC}
<span class="{$tC->Class}"><a href="index.php?p=gallery&amp;action=showincluded&amp;categ={$smarty.request.categ}&amp;name={$galname|seotitle}&amp;q={$tC->Name|linkkoobispecialchars}&amp;searchtype=tags&amp;page=1&amp;sort=nameasc&amp;area={$area}">{$tC->Name|tagchars}<!--({$tC->GCount})--></a></span>
{/foreach}
</div>
{/if}
{/if}