✏️ 正在编辑: index.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/prospecto/index.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Prospectos</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <?php if( $this->paginator ): ?> <table summary="Prospectos"> <thead> <tr class="top_list"> <th>Tipo</th> <th>Empresa</th> <th>Nome</th> <th>CPF</th> <th>UF</th> <th>Cidade</th> <th colspan="2"></th> </tr> </thead> <tbody> <?php if( count($this->paginator) <= 0 ): ?> <tr> <td colspan="9">Nenhum prospecto encontrado.</td> </tr> <?php else: foreach ( $this->paginator as $prospecto ): $empresa = $prospecto->findParentRow('Model_DbTable_Empresa'); ?> <tr> <td><?php echo ($prospecto['tipo_registro'] == 1) ? "Cliente" : "Prospecto"; ?></td> <td><?php echo $empresa['nome']; ?></td> <td><?php echo $prospecto['nome']; ?></td> <td><?php echo $prospecto['cpf']; ?></td> <td><?php echo $prospecto['uf']; ?></td> <td><?php echo $prospecto['cidade']; ?></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'update', 'id' => $prospecto['id'] )) ?>" class="link_edit"></a></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'delete', 'id' => $prospecto['id'] )) ?>" class="link_remove"></a></td> </tr> <?php endforeach; endif ?> </tbody> </table> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器