Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. <div>
  2.  
  3. echo $this->Form->create(null, array(
  4. 'url' => array('controller' => 'manageUsers', 'action' => 'deleteUser')
  5. ));
  6.  
  7. ?>
  8.  
  9. <table width="100%" border="1">
  10. <tr>
  11. <th></th>
  12. <th>Name</th>
  13. <th>Email</th>
  14. <th>Phone Number</th>
  15. </tr>
  16. <?php foreach($ActiveUsers as $ActiveUser){
  17.  
  18. ?>
  19.  
  20.  
  21. <tr>
  22.  
  23. <td><input type="checkbox" name ="status[]" value="<?php echo
  24. $ActiveUser['User']['id']; ?>"></input></td>
  25.  
  26. <td align='center'><?php echo $this->html->link($ActiveUser['User']['name'],
  27. array('action' => 'editUser',$ActiveUser['User']['id']), array('escape' =>
  28. false));?> </td>
  29. <td align='center'><?php echo $ActiveUser['User']['email']; ?></td>
  30. <td align='center'><?php echo $ActiveUser['User']['phone']; ?></td>
  31.  
  32. </tr>
  33. <?php }?>
  34. </table>
  35. <?php echo $this->Form->end(__('Delete User')); ?>
  36.  
  37. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement