Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="mailQtd"><span><?php echo $mailCount; ?></span> <?php echo ($mailCount > 1 ? 'e-mails selecionados' : 'e-mail selecionado'); ?>!</div>
- <hr>
- <select name="" class="groupList form-control">
- <option value="all">Todos os grupos</option>
- <?php
- while($rGrupo = $grupoData->fetchObject()) {
- $grupoID = $rGrupo->id;
- $grupoNome = utf8_encode($rGrupo->nome);
- ?>
- <option value="<?php echo $grupoID; ?>"><?php echo $grupoNome; ?></option>
- <?php
- }
- ?>
- </select>
- <hr>
- <b>E-mails:</b>
- <table class="table table-bordered table-hover table-striped tablesorter tableMail">
- <thead>
- <tr>
- <th class="header"><input type="checkbox" name="checkAll" id="checkAll" checked="checked"></th>
- <th class="header" onclick="changeOrder();"><i class="fa fa-sort"></i> ID</th>
- <th class="header">Nome</th>
- <th class="header">E-mail</th>
- <th class="header">Grupo</th>
- </tr>
- </thead>
- <tbody>
- <?php
- while($row = $getContacts->fetchObject()) {
- $id = $row->id;
- $nome = $row->nome;
- $mail = $row->mail;
- $grupo = utf8_encode($row->grupo);
- ?>
- <tr>
- <td><input type="checkbox" name="mail[]" class="checkData" value="<?php echo $id; ?>" checked="checked"></td>
- <td><?php echo $id; ?></td>
- <td><?php echo $nome; ?></td>
- <td><?php echo $mail; ?></td>
- <td><?php echo $grupo; ?></td>
- </tr>
- <?php
- }
- ?>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement