?> </div> <div class="tagtd"><?php echo $tab[$i]['libelle']; ?> </div> <div class="tagtd" align="center"> <?php //if ($object->statut >= 0) echo '<a href="'.$_SERVER['PHP_SELF'].'?id='.$object->id.'&action=swapstatut&ligne='.$tab[$i]['rowid'].'">'; ?> <?php if ($tab[$i]['source'] == 'internal') { $userstatic->id = $tab[$i]['id']; $userstatic->lastname = $tab[$i]['lastname']; $userstatic->firstname = $tab[$i]['firstname']; echo $userstatic->LibStatut($tab[$i]['statuscontact'], 3); } if ($tab[$i]['source'] == 'external') { $contactstatic->id = $tab[$i]['id']; $contactstatic->lastname = $tab[$i]['lastname']; $contactstatic->firstname = $tab[$i]['firstname']; echo $contactstatic->LibStatut($tab[$i]['statuscontact'], 3); } ?> <?php //if ($object->statut >= 0) echo '</a>'; ?> </div> <div class="tagtd nowrap" align="right"> <?php if ($permission) {