<h1>Loga</h1>	

{dropDownContainer title='Lista'}
{*<div class="searchBox">
          Nazwisko: <input name="search" id="search" onkeyup="GetTableContent('{url Client=AjaxClient}', '#tableContentClient', $('#search').val(), '#roleList');" />
          <select name="roleList" id="roleList" onchange="GetTableContent('{url Client=AjaxClient}', '#tableContentClient', $('#search').val(), '#roleList');">
					<option value="all">
					Wszystkie										
					</option>
					<option value="Tak">
					Tak										
					</option>
					<option value="Nie">
					Nie										 
					</option>
				</select>
      </div>
*}
			<div id="tableContentClient">
				<table cellspacing="0" cellpadding="0" border="0">
					<tr class="selAllRow">
						{*<td class="cornerTop"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a> <a href="#">usuń</a>
						</td>*}
					</tr>
					<tr>
					{*<td class="selAll">&nbsp;</td> *}
					<th><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></div></th>
					<th>Logo<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
					<th>Nazwa<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
					<th>Url<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
					<th class="noSort">Status<div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>							
					<th class="noSort"><a href="{url HomeSite=AddLogo type=$type}" class="add">Dodaj</a> <div class="sort"><a class="ascendingAct" href="#">&nbsp;</a><a class="descending" href="#">&nbsp;</a></div></th>
					</tr>
					{assign var=x value=0}
					{foreach from=$arrayObj item=obj}
					{assign var=x value=$x+1}
					{assign var=id value=$obj->GetId()}
					<tr>
						{*<td class="selAll"><input name="Checkbox1" type="checkbox" /></td> *}
						<td>{$x}</td>
						<td><a href="{url HomeSite=EditLogo id=$id}" title="edytuj"><img src="{$obj->GetPhotoUrl()}" alt="" align="left"/></a></td>
						<td><a href="{url HomeSite=EditLogo id=$id}" title="edytuj">{$obj->GetName()}</a></td>
						<td>{$obj->GetUrl()}</td>
						<td>{$obj->GetPublication()}</td>
							<td style="width:15px">
							<a href="{url HomeSite=EditLogo id=$id}" class="edit">edytuj</a><a href="{url HomeSite=DeleteLogo id=$id}"  onclick="{literal}if(confirm('Czy napewno usunęć ten element?')){return true;}else{return false;}{/literal}" class="delete">usuń</a>
						</td>
					</tr>
					{/foreach}
					<tr class="selAllRow">
						<td colspan="10" class="selAllRow" >
							<div class="paging">
								{insertPagination _class='pager'}
							</div>
						</td>
					</tr>
				
				</table>
			</div>
{/dropDownContainer}
