<div class="panelRightTop"></div>
<div class="panelRightBody">
	<div class="paddedContent">
	{*dropDownContainer isClose=true title="Wyszukiwarka"}
		<form method="post" action="">
			<table width="100%" cellspacing="0" cellpadding="5" border="0" class="frameTableForm tableContetntWhite">
				<tbody>
					<tr>
						<td>Data:</td>
						<td class="left">
							<input type="text" name="dataOd" /> - <input type="text" name="dataDo" />
						</td>
					</tr>
					<tr>
						<td>Szukana Fraza:</td>
						<td class="left"><input class="input420" type="text" class="searchString" /></td>
					</tr>
					<tr>
						<td colspan="2" class="right">
							<input class="button" type="submit" value="Wyszukaj"/> <input class="button" name="clear" type="submit" value="Wyczyść" />
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	{/dropDownContainer*}

	{dropDownContainer title="Słownik"}
		
			<table width="100%" class="datagrid" cellpadding="4" cellspacing="1">
				<tr>
					<th>klucz</th>
					<th>Wersja PL</th>
					{*<th>Wersja EN</th>*}
					{*<th>Wersja RU</th>
					<th>Wersja DE</th>*}
					
					
					<th width="60">
					{*<a href="{url SimpleArticle_Index=Add}" onclick="return load(this);"><img src="{$urlStatic}/image/Admin/iconAdd.gif" alt="Dodaj" title="Dodaj" border="0"/></a>*}
					&nbsp;
					</th>
				</tr>

				{assign var=x value=1}
				{foreach from=$arrayObjDict item=objWord name=word}
					<tr {if $x==1}{assign var=x value=0}{else}{assign var=x value=1}class="even"{/if}>
						<td>{$objWord->GetKeyword()}</td>
						<td>{$objWord->GetReplacement()}</td>
						{*<td>{$objWord->GetReplacementEn()}</td>*}
						{*<td>{$objWord->GetReplacementRu()}</td>
						<td>{$objWord->GetReplacementDe()}</td>*}
						
						<td style="text-align: center;">
							<a href="{url Dictionary=Edit id=$objWord->GetId()}"  ><img src="{$urlStatic}/image/Admin/iconEdit.gif" alt="Edytuj" title="Edytuj" border="0"/></a> |
							<a href="{url Dictionary=Delete id=$objWord->GetId()}" ><img src="{$urlStatic}/image/Admin/iconDelete.gif" alt="Usuń" title="Usuń" border="0"/></a>
						</td>
					</tr>

					{if $smarty.foreach.word.last}
						<tr>
							<td colspan="10" align="center" >
								<div class="paging">
									{insertPagination}
								</div>
							</td>
						</tr>
					{/if}
				{foreachelse}
					{if !isset($searchString) || $searchString == ""}
						<tr>
							<td colspan="5" style="text-align: center;">Brak zdefiniowanych aktualności. <br/> Aby dodać aktualność kliknij link 'dodaj'.</td>
						</tr>
					{/if}
				{/foreach}
			</table>
		
	{/dropDownContainer}
	</div><!-- /paddedContent -->
</div><!-- /panelRightBody -->
<div class="panelRightBottom"></div>