Advertisement
Guest User

Untitled

a guest
Mar 19th, 2014
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.07 KB | None | 0 0
  1. <div class="mailQtd"><span><?php echo $mailCount; ?></span> <?php echo ($mailCount > 1 ? 'e-mails selecionados' : 'e-mail selecionado'); ?>!</div>
  2.             <hr>
  3.               <select name="" class="groupList form-control">
  4.                 <option value="all">Todos os grupos</option>
  5.                 <?php
  6.                  while($rGrupo = $grupoData->fetchObject()) {
  7.                     $grupoID = $rGrupo->id;
  8.                     $grupoNome = utf8_encode($rGrupo->nome);
  9.                 ?>
  10.                 <option value="<?php echo $grupoID; ?>"><?php echo $grupoNome; ?></option>
  11.                 <?php
  12.                  }
  13.                ?>
  14.               </select>
  15.             <hr>
  16.             <b>E-mails:</b>
  17.             <table class="table table-bordered table-hover table-striped tablesorter tableMail">
  18.                 <thead>
  19.                   <tr>
  20.                     <th class="header"><input type="checkbox" name="checkAll" id="checkAll" checked="checked"></th>
  21.                     <th class="header" onclick="changeOrder();"><i class="fa fa-sort"></i> ID</th>
  22.                     <th class="header">Nome</th>
  23.                     <th class="header">E-mail</th>
  24.                     <th class="header">Grupo</th>
  25.                   </tr>
  26.                 </thead>
  27.                 <tbody>
  28.                   <?php
  29.                    while($row = $getContacts->fetchObject()) {
  30.                       $id = $row->id;
  31.                       $nome = $row->nome;
  32.                       $mail = $row->mail;
  33.                       $grupo = utf8_encode($row->grupo);
  34.                   ?>
  35.                   <tr>
  36.                     <td><input type="checkbox" name="mail[]" class="checkData" value="<?php echo $id; ?>" checked="checked"></td>
  37.                     <td><?php echo $id; ?></td>
  38.                     <td><?php echo $nome; ?></td>
  39.                     <td><?php echo $mail; ?></td>
  40.                     <td><?php echo $grupo; ?></td>
  41.                   </tr>
  42.                   <?php
  43.                    }
  44.                  ?>
  45.                 </tbody>
  46.               </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement