68 lines
2.8 KiB
Smarty
68 lines
2.8 KiB
Smarty
<h1>Zapytania - konfigurator</h1>
|
|
|
|
{dropDownContainer title='Lista konfiguracji'}
|
|
<div class="searchBox">
|
|
Firma: <input name="search" id="search" onkeyup="GetTableContent('{url Config=AjaxArchive}', '#tableContentClient', $('#search').val(), $('#roleList').val());" />
|
|
Status: <select name="statusList" id="statusList" onchange="GetTableContent('{url Config=AjaxArchive}', '#tableContentClient', $('#search').val(), $('#statusList').val());">
|
|
<option value="all">
|
|
Wszystkie
|
|
</option>
|
|
<option value="0">
|
|
Nowe
|
|
</option>
|
|
<option value="1">
|
|
W takcie
|
|
</option>
|
|
<option value="2">
|
|
Zakończone
|
|
</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>
|
|
<th class="noSort"><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></div></th>
|
|
<th class="noSort">Klient<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th class="noSort">Konfiguracja<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th class="noSort">Data Dodania<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th class="noSort">Status<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></th>
|
|
<th class="noSort"> </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>{$x}</td>
|
|
<td>
|
|
{$obj->GetLastName()} {$obj->GetName()}<br />
|
|
Firma: {$obj->GetCompany()}<br />
|
|
Email: {$obj->GetEmail()}<br />
|
|
tel. {$obj->GetPhone()}<br />
|
|
|
|
</td>
|
|
<td>{$obj->getDescription()|replace:'<ul>':'<ul id="configList">'}</td>
|
|
<td>{$obj->getDateAdd()}</td>
|
|
<td>{$obj->GetStatus()|replace:0:"Nowe"|replace:1:"W takcie"|replace:2:"Zakończone"}</td>
|
|
<td style="width:15px">
|
|
<a href="{url Config=ShowArchive id=$id}" class="read">zobacz</a>{*<a href="{url Config=DeleteArchive id=$id}" 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}
|