<tbody>
{ section name=i loop=$datas }
<tr id="KEY{$datas[i].ligneid}" class="{cycle values='backgray,backwhite'}">
<td><img id="imgCK{$datas[i].ligneid}" alt="ckbox" src="img/uck.gif" onclick="javascript:check('CK{$datas[i].ligneid}');"/><input id="CK{$datas[i].ligneid}" name="CK{$datas[i].ligneid}" type="checkbox" style="display:none;"/></td>
{ section name=j loop=$datas[i].values }
<td id="{$datas[i].values[j].id}" style="width:{$datas[i].values[j].size}px;{if $datas[i].values[j].display neq "1"}display:none;{/if}">
{if $datas[i].values[j].type eq "NONE"}{ /if }
<div title="{$datas[i].values[j].type}">{if $datas[i].values[j].type eq "RO"}{$datas[i].values[j].value}{ /if }
{if $datas[i].values[j].type eq "INPUT"}{$datas[i].values[j].value}{ /if }
{if $datas[i].values[j].type eq "LINK"}<a href="{$datas[i].values[j].value}"><img alt="link" src="img/voir.png" /></a>{/if}
{if $datas[i].values[j].type eq "SPECIAL"}<a href="{$datas[i].values[j].value}"><img alt="special" src="img/voir.png" /></a>{/if}
{if $datas[i].values[j].type eq "LINKED"}{$datas[i].values[j].linked}{/if}
{if $datas[i].values[j].type eq "COMPLETION"}{$datas[i].values[j].linked}{/if}
{if $datas[i].values[j].type eq "RECHERCHE"}<a href="#" onclick="javascript:window.open('main.php?page=engine/miniclic/recherche_include.php&amp;table={$datas[i].values[j].table}&amp;id={$datas[i].values[j].id}','recherche_popup','height=768,width=1024');"><img alt="img"  src="img/recherche.gif" /></a>{$datas[i].values[j].linked}{/if}
{if $datas[i].values[j].type eq "SUM"}{$datas[i].values[j].value}{ /if }
{if $datas[i].values[j].type eq "CALLTO"}{$datas[i].values[j].value}{/if }
{if $datas[i].values[j].type eq "FAXTO"}<input name="{$datas[i].values[j].id}" value="{$datas[i].values[j].value}" />{ /if }
{if $datas[i].values[j].type eq "FAXTO"}<input name="{$datas[i].values[j].id}" value="{$datas[i].values[j].value}" />{ /if }
{if $datas[i].values[j].type eq "ROLL"}<input name="{$datas[i].values[j].id}" value="{$datas[i].values[j].value}" type="hidden" />{ section name=k loop=$datas[i].values[j].next}<a href="javascript:fire_sequence('SEQ','{$datas[i].ligneid}','{$datas[i].values[j].col}','{$datas[i].values[j].next[k].array_next}');">{$datas[i].values[j].next[k].nom}</a>{ /section }{/if}
{if $datas[i].values[j].workflow_col eq "true"}
{if $datas[i].values[j].wf_droit eq "true"}
{if $datas[i].values[j].wf_actif eq "true"}<a href='javascript:fire_workflow("UWK","{$datas[i].ligneid}","{$datas[i].values[j].col}");'><img alt="tick" src="img/tick.png" /></a>{else}<a href='javascript:fire_workflow("WRK","{$datas[i].ligneid}","{$datas[i].values[j].col}");'><img alt="img" src="img/cross.png" /></a>{ /if }
{else}
{if $datas[i].values[j].wf_actif eq "true"}<img alt="img" src="img/forbidden.gif" />{ /if }
{ /if }{ /if }</div>{if $datas[i].values[j].type eq "CALLTO"}<a href="engine/miniclic/callme_include.php?phone={$datas[i].values[j].value}" target="_blank"><img alt="img"  src="img/phone.png" /></a>{/if }</td>
{ /section }
</tr>
{ /section }
