Технология построения интерактивных Web-ресурсов. Мартынов А.И - 82 стр.

UptoLike

Составители: 

82
{if $grid_field.type == "data"} <i>{$grid_field.name}</i> похожа
на <i>'{$filtr_field}'</i>&nbsp;{/if}
{/if}
{/foreach}
{/foreach}
{if $filtr_flag == 0}<i>Выключена</i>{/if}
&nbsp&nbsp<b>Сортировка по полю:</b>
{foreach from=$grid_fields item = grid_field key = key}
{if $grid_field.alias == $sort}<i>{$grid_field.name}</i>{/if}
{/foreach}
</td>
</tr>
<tr>
<td align=center valign=top bgcolor="#e0e0e0">
<img src="images/line_2.gif">
</td>
</tr>
</table>
</form>
{if $count_group>1}
<center>
{if $prev==true}
<a href={$self}?reg={$reg}&action={$action}&offset=0><img src="images/ffprev.gif"
border=0 title = "В начало"></a>
&nbsp&nbsp&nbsp&nbsp
<a
href={$self}?reg={$reg}&action={$action}&offset={$smarty.section.group.iteration+$g
roup-1}><img src="images/prev.gif" border=0 title = "Назад"></a>
&nbsp&nbsp&nbsp&nbsp{/if}
{section name = group loop = $count}
{if $smarty.section.group.iteration+$group-1 <> $offset}
<a href =
{$self}?reg={$reg}&action={$action}&offset={$smarty.section.group.iteration+$group-
1}>[{$smarty.section.group.iteration+$group}]</a>&nbsp&nbsp&nbsp&nbsp
{else}
[{$smarty.section.group.iteration+$group}]&nbsp&nbsp&nbsp&nbsp
{/if}
{/section}
{if $next==true}
<a
href={$self}?reg={$reg}&action={$action}&offset={$smarty.section.group.iteration+$g
roup-1}><img src="images/next.gif" border=0 title = "Далее"></a>
&nbsp&nbsp&nbsp&nbsp
<a href={$self}?reg={$reg}&action={$action}&offset={$count_group-1}><img
src="images/ffnext.gif" border=0 title = "В конец"></a>
&nbsp&nbsp&nbsp&nbsp{/if}
<br>
<br>
</center>
{/if}
{if $count_rec<>0}
<table width = 100% align = "center" border = 1 class = "content">
<tr>
{if $numeration == "none"}
<th class = "content" colspan = "{$size_grid_fields}"
>{$tableTitle}
{else}
<th class = "content" colspan = "{$size_grid_fields+1}"
>{$tableTitle}