Ejemplo n.º 1
0
                                <th><a href="?order=pj">Pj</a></th>
                                <th style="width: 68px">Campagnes</th>
                                <th nowrap="nowrap"><a href="?order=date">Date d'envoi</a></th>
                                <th width="40px"><a href="?order=etat">Etat</a></th>
                                <th>Envoyer</th>
                                <th title="suppr">Publipostage</th>
                                <th title="suppr"> Suppr </th>
                            </tr>
                                <?php
                                $i = 0;
                                while ($email = @mysql_fetch_array($r_email)) {
                                    ?>
                            <tr>
                                <td><a href="show_envoi.php?id=<?php echo $email['id'] ?>" target="popup" onclick="popup(this.href, this.target, '800', '600');"> <?php echo $email['id'] ?> </a></td>
                                <td><?php echo CTableGroupe::get_href($email['destinataire']) ?></td>
                                <td><?php echo CFunction::cut_string($email['nom'], 20); ?></td>
                                <td align="center"><?php echo basename($email['pj']); ?></td>
                                <td>
                                            <?php
                                            if($email['id_campagne'] > 0) {
                                                $obj  	= new CTableCampagne(array('id'=>$id));
                                                $campagne = $obj->select_row();
                                                ?>
                                    <a href="campagne.php?a=5&id=<?php echo $email['id_campagne']; ?>"><?php echo $email['id_campagne']; ?></a>
                                            <?php
                                            }
                                            ?>
                                </td>

                                <td align="center"><?php echo CDate::date_switch(CDate::formate_date($email['date'])) ?></td>
                                <td align="center" class="info etat <?php echo 'etat_' . $email['etat']?>"><div class="bulle">
Ejemplo n.º 2
0
 <td class="zinfo">             
   <?php
         $__text = CFunction::cut_string($user['prenom'], $max_input_text+3);
         echo $__text;
         if($user['prenom'] != $__text) {
         ?>
          <div class="bulle">
          <?php echo $user['prenom']; ?>
         </div>
         <?php 
         }
         ?>              
  </td>
 <td class="zinfo">             
   <?php
         $__text = CFunction::cut_string($user['societe'], $max_input_text+3);
         echo $__text;
         if($user['societe'] != $__text) {
         ?>
          <div class="bulle">
          <?php echo $user['societe']; ?>
         </div>
         <?php 
         }
         ?>              
  </td>
 <td align="center">
 <?php 
     	$phone = preg_replace('/\s+/', '', $user['telephone']);               
      	$phone = preg_replace('/^(00)/', '+', $phone);
      	echo $phone;