index phtml


~/tmp/ZF/kbnext/index.phtml.html 1 2 <h3>Lista studentów III roku</h3> 3 <h3><a href="<?php echo $this->url(array('controller'=>'index', 4 'action'=>'add'));?>">Dodaj studenta</a></h3> 5 <table> 6 <tr> 7 <th>Imię</th> 8 <th>Nazwisko</th> 9 <th>Album</th> 10 <th>Ocena</th> 11 <th>&nbsp;</th> 12 </tr> 13 14 <?php foreach($this->paginator as $student) : ?> 15 <tr> 16 <td><?php echo $this->escape($student->imie);?></td> 17 <td><?php echo $this->escape($student->nazwisko);?></td> 18 <td><?php echo $this->escape($student->album);?></td> 19 <td><?php echo $this->escape($student->ocena_1);?></td> 20 <td> 21 <a href="<?php echo $this->url(array('controller'=>'index', 22 'action'=>'edit', 'id_student'=>$student->id_student));?>">Edit</a> 23 <a href="<?php echo $this->url(array('controller'=>'index', 24 'action'=>'delete', 'id_student'=>$student->id_student));?>">Delete</a> 25 </td> 26 </tr> 27 <?php endforeach; ?> 28 </table> 29 <?php echo $this->paginationControl($this->paginator,'Sliding', 'paginator.phtml'); ?> 30 <?php //echo $this->paginationControl($this->paginator,'Sliding', 'paginator1.phtml'); ?> 31 <?php //echo $this->paginationControl($this->paginator,'Sliding', 'paginator2.phtml'); ?>

Wyszukiwarka