Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div>
- echo $this->Form->create(null, array(
- 'url' => array('controller' => 'manageUsers', 'action' => 'deleteUser')
- ));
- ?>
- <table width="100%" border="1">
- <tr>
- <th></th>
- <th>Name</th>
- <th>Email</th>
- <th>Phone Number</th>
- </tr>
- <?php foreach($ActiveUsers as $ActiveUser){
- ?>
- <tr>
- <td><input type="checkbox" name ="status[]" value="<?php echo
- $ActiveUser['User']['id']; ?>"></input></td>
- <td align='center'><?php echo $this->html->link($ActiveUser['User']['name'],
- array('action' => 'editUser',$ActiveUser['User']['id']), array('escape' =>
- false));?> </td>
- <td align='center'><?php echo $ActiveUser['User']['email']; ?></td>
- <td align='center'><?php echo $ActiveUser['User']['phone']; ?></td>
- </tr>
- <?php }?>
- </table>
- <?php echo $this->Form->end(__('Delete User')); ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement