echo '<li><a href="config.php?folder=' . intval($hash['parent']['folder_id']) . '">履歴設定</a></li>'; } ?> </ul> <?php echo $view->searchform(array('parent' => $_GET['parent'])); ?> <table class="list" cellspacing="0"> <tr><?php echo $liquid->listheader($hash['item'], $pagination); ?> <th class="listlink"> </th></tr> <?php if (is_array($hash['list']) && count($hash['list']) > 0) { foreach ($hash['list'] as $row) { echo '<tr>' . $liquid->listcontent($hash['item'], $row) . '<td><a href="view.php?id=' . $row['id'] . '">詳細</a></td></tr>'; } } echo '</table>'; echo $view->pagination($pagination, $hash['count']); } else { ?> <ul class="operate"> <?php if ($view->authorize('administrator', 'manager')) { echo '<li><a href="config.php?folder=' . intval($hash['parent']['folder_id']) . '">履歴設定</a></li>'; } ?> </ul> <div class="content">履歴の項目が設定されていません。</div> <?php
echo $liquid->listheader($hash['item'], $pagination); ?> <th class="listlink"> </th></tr> <?php if (is_array($hash['list']) && count($hash['list']) > 0) { foreach ($hash['list'] as $row) { ?> <tr><td><a href="customer.php?parent=<?php echo $row['customer_id']; ?> "><?php echo $row['customer_lastname']; ?> </a> </td> <?php echo $liquid->listcontent($hash['item'], $row); ?> <td><a href="view.php?id=<?php echo $row['id']; ?> ">詳細</a></td></tr> <?php } } ?> </table> <?php echo $view->pagination($pagination, $hash['count']); ?> </td></tr></table> <?php