✏️ 正在编辑: index.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/usuario/index.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Usuários</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <?php if( count($this->paginator) > 0 ): ?> <table summary="Usuarios"> <thead> <tr class="top_list"> <th>Grupo</th> <th>Nome</th> <th>E-mail</th> <th>Login</th> <th>Corretor</th> <th>Hora Inicial</th> <th>Hora Final</th> <th colspan="2"></th> </tr> </thead> <tbody> <?php if( count($this->paginator) <= 0 ): ?> <tr> <td colspan="6">Nenhum usuário encontrado.</td> </tr> <?php else: foreach ( $this->paginator as $usuario ): ?> <?php $corretor = $usuario->findParentRow('Model_DbTable_Corretor'); ?> <tr> <td><?php echo $usuario['grupo'] ?></td> <td><?php echo $usuario['nome'] ?></td> <td><?php echo $usuario['email'] ?></td> <td><?php echo $usuario['login'] ?></td> <td><?php echo $corretor['nome'] ?></td> <td><?php echo $usuario['hora_inicio'] ?></td> <td><?php echo $usuario['hora_fim'] ?></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'save', 'id' => $usuario['id'] )) ?>" class="link_edit"></a></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'delete', 'id' => $usuario['id'] )) ?>" class="link_remove"></a></td> </tr> <?php endforeach; endif ?> </tbody> </table> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器