✏️ 正在编辑: index.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/layout-banco/index.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Layout Banco</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <?php $cont = 0; if( $this->paginator ): ?> <table summary="Layout Bancos"> <tbody> <?php if( count($this->paginator) <= 0 ): ?> <tr> <td colspan="5">Nenhum registro encontrado.</td> </tr> <?php else: ?> <?php $bancoId = null; ?> <?php foreach ( $this->paginator as $layout ): $cont++; ?> <?php $listBancos = Model_Contrato::getBancos(); ?> <?php if( $layout['banco_id'] != $bancoId ): $bancoId = $layout['banco_id']; ?> <thead> <tr class="top_list"> <td class="top_list" colspan="3">Banco: <?php echo $listBancos[$layout['banco_id']]; ?></td> </tr> <tr class="top_list"> <th>Layout</th> <th colspan="2"></th> </tr> </thead> <?php endif; ?> <tr> <td><?php echo $layout['descricao'] ?></td> <td align="center"> <a href="<?php echo $this->url(array( 'action' => 'save', 'id' => $layout['id'] )); ?>" class="link_edit"></a> </td> <td align="center"> <a href="<?php echo $this->url(array( 'action' => 'delete', 'id' => $layout['id'] )); ?>" class="link_remove"></a> </td> </tr> <?php endforeach; ?> <?php endif; ?> </tbody> <tfoot> <tr> <td colspan="5">Quantidade: <?php echo $cont;?></td> </tr> </tfoot> </table> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器