SMARTY komponuj tablicę kluczowych

{for $i=1 to 20}
									{assign var="id" value="{'longlink'|cat:$i}"}
									{if ('longlink'|cat:$i)|array_key_exists:$wsc}
										<tr id="tr_link{$i}">
											<td><div ><b>{literal}{$shortlink{/literal}{$i}{literal}}{/literal} </b></div></td>
											<td><input type="text" name="longlink{$i}" value="{$wsc.{$id}}" size="62"></td>
											<td> <a class="remove" type="button"><img src="images/remove.svg" alt="{$i}" width="23px" style="cursor:pointer;padding: 10px;" /></a></td>
										</tr>
										{/if}
									{/for}
Adina Voicu