<?php /* Smarty version 2.6.19, created on 2008-05-18 07:31:07
         compiled from includes/fields/table_view.inc */ ?>
	<!-- includes/fields_table_view.inc -->
	<?php if (! $this->_tpl_vars['display_cmd']): ?><?php $this->assign('display_cmd', 'edit'); ?><?php endif; ?>
	<?php if (! $this->_tpl_vars['fields_view']): ?><?php $this->assign('fields_view', $this->_tpl_vars['table_view']); ?><?php endif; ?>
	<table cellspacing="0" cellpadding="" valign="top" id="cms-list-view">
<?php $_from = $this->_tpl_vars['fields_view']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['fields_view'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['fields_view']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['row']):
        $this->_foreach['fields_view']['iteration']++;
?>
<?php if (($this->_foreach['fields_view']['iteration'] <= 1)): ?>
		<tr>
			<th>&nbsp;</th>
			<th><?php echo $this->_tpl_vars['row']['name']['label']; ?>
</th>
			<th><?php echo $this->_tpl_vars['row']['type']['label']; ?>
</th>
			<th><?php echo $this->_tpl_vars['row']['label']['label']; ?>
</th>
			<th><?php echo $this->_tpl_vars['row']['search_flag']['label']; ?>
</th>
			<th><?php echo $this->_tpl_vars['row']['sort_flag']['label']; ?>
</th>
			<th><?php echo $this->_tpl_vars['row']['seq']['label']; ?>
</th>
		</tr>
<?php endif; ?>
		<tr>
			<td style="text-align:center;">
				<?php echo $this->_tpl_vars['row']['sequence']['value']; ?>

			</td>
			<td><a href="<?php echo $this->_tpl_vars['page']['base_url']; ?>
/fields/edit?id=<?php echo $this->_tpl_vars['row']['id']['body']; ?>
"><?php echo $this->_tpl_vars['row']['name']['body']; ?>
</a></td>
			<td><?php echo $this->_tpl_vars['row']['type']['body']; ?>
</td>
			<td><?php echo $this->_tpl_vars['row']['label']['body']; ?>
</td>
			<td><?php if ($this->_tpl_vars['row']['search_flag']['value'] == 1): ?>yes<?php else: ?>no<?php endif; ?></td>
			<td><?php if ($this->_tpl_vars['row']['sort_flag']['value'] == 1): ?>yes<?php else: ?>no<?php endif; ?></td>
			<td><?php echo $this->_tpl_vars['row']['seq']['body']; ?>
</td>
		</tr>
<?php endforeach; else: ?>
		<tr>
			<td>データがありません</td>
		</tr>
<?php endif; unset($_from); ?>
	</table>
	<!-- end of includes/fields_table_view.inc -->