Turinio valdymo sistema

Prisijungimas partneriams
Jūsų slaptažodis

Dirbame su:










voting

<form action="/?cid={$data.page.item_id}" method="post">
<input type="hidden" name="action" value="voting1.vote">

<table>
<tr>
<td>{$question.name}<td>
</tr>
{foreach from=$answers item="answer"}
<tr>
<td>
<input type="radio" name="answer" value="{$answer.id}">
{$answer.name}
</td>
</tr>
{/foreach}
<tr>
  <td><input type="Submit" value="Balsuoti"></td>
</tr>
<tr>
<td><hr>Balsavusiuju skaicius: {$total}</td>
</tr>
</table>
</form>