Turinio valdymo sistema

Prisijungimas partneriams
Jūsų slaptažodis

Dirbame su:










main

<div>{$header_text}</div>
{if $search}
<form method=POST action="/?cid={$_item_id}">
<input type="hidden" name="action" value="table1.search">
{foreach key=key item=item from=$search}
{if $item.type==file or $item.type==image}
     su failais{$item.name}<input type=checkbox name="search[{$key}]">
  {else}
     {$item.name}:<input type="text" name="search[{$key}]"><br />
	{/if}
{/foreach}
<input type="submit" value="search">
</form>
{/if}
<table width="400" border="1">
<tr>
  <th>{$field_name[1]}</th>
  <th>{$field_name[2]}</th>
  <th>{$field_name[3]}</th>
  <th>{$field_name[4]}</th>
  <th>{$field_name[5]}</th>
  <th>{$field_name[6]}</th>
  </tr>
  {foreach from=$table item="tbl"}
  <tr>
   <td>{$tbl[1]}</td>
   <td>{$tbl[2]}</td>
   <td>{$tbl[3]}</td>
   <td>{$tbl[4]}</td>
   <td>{$tbl[5]}</td>
   <td><img src="get.php?i.{$tbl[6]}"></td>
  </tr>
{/foreach}
</table>
<div>{$footer_text}</div>