<!-- includes/$dataname/list_view.inc -->
{if !$display_cmd}{assign var="display_cmd" value="edit"}{/if}
{if !$$dataname_list}{assign var="$dataname_list" value=$list_view}{/if}
{if !$$dataname_list}{assign var="$dataname_list" value=$table_view}{/if}
<table cellspacing="0" cellpadding="0" valign="top" id="cms-list-view">
{foreach from=$$dataname_list item="row" key="key" name="$dataname_list"}
{if $display_cmd!='none'}
<tr>
<td colspan="2">No.<a href="{$display_cmd}?id={$row.id.body}">{$row.sequence.value}</a>：</td>
</tr>
{/if}
<!-- columns -->
<tr>
<th></th>
<td></td>
</tr>
<!-- /columns -->
<tr><td colspan="2" style="border:none;">&nbsp;</td></tr>
{foreachelse}
<tr>
<td>データがありません</td>
</tr>
{/foreach}
</table>
<!-- end of includes/$dataname/list_view.inc -->
