Current File : /home/karenpetzb/application/modules/backoffice/views/scripts/supplier/search.phtml |
<table cellpadding="0" cellspacing="5" border="0" width="1200px">
<tr>
<td align="left" colspan="9">
<form method="POST" action="<?php echo $this->baseUrl; ?>/backoffice/supplier/search">
<input type="text" size="50" value="" id="searchValue" name="searchValue">
<select id="searchType" name="searchType">
<option value="BREND">Marque</option>
<option value="COMPANY">Entreprise</option>
<option value="NOM">Nom</option>
<option value="PRENOM">Pr�nom</option>
<option value="EMAIL">Email</option>
<option value="ADDRESSE">Adresse</option>
<option value="CP">Code Postal</option>
<option value="VILLE">Ville</option>
</select>
<input type="submit" name="search" value="Rechercher" />
</form>
</td>
</tr>
<tr>
<td align="left" colspan="9">
<span class="errorText"><?php echo $this -> messageError; ?></span>
<span class="successText"><?php echo $this -> messageSuccess; ?></span>
</td>
</tr>
<?php if ($this->listsupplierCount > 0) { ?>
<tr class="linkHeader">
<th> ENTREPRISE </th>
<th> NOM </th>
<th> PRENOM </th>
<th> EMAIL </th>
<th> TEL </th>
<th> FAX </th>
<th> ADRESSE </th>
<th> CODE POSTAL </th>
<th> VILLE </th>
<th width="150px"> </th>
</tr>
<?php foreach($this->listsupplier as $row) : ?>
<tr>
<td><?php echo $this->escape($row['COMPANY']);?></td>
<td><?php echo $this->escape($row['NOM']);?></td>
<td><?php echo $this->escape($row['PRENOM']);?></td>
<td><?php echo $this->escape($row['EMAIL']);?></td>
<td><?php echo $this->escape($row['TEL']);?></td>
<td><?php echo $this->escape($row['FAX']);?></td>
<td><?php echo $this->escape($row['ADDRESSE']);?></td>
<td><?php echo $this->escape($row['CP']);?></td>
<td><?php echo $this->escape($row['VILLE']);?></td>
<td width="200px">
<a class="button" href="<?php echo $this->baseUrl; ?>/backoffice/supplier/edit/id/<?php echo $this->escape($row['ID']); ?>">Modifier</a>
<a class="button" href="<?php echo $this->baseUrl; ?>/backoffice/supplier/del/id/<?php echo $this->escape($row['ID']); ?>">Supprimer</a>
</td>
</tr>
<?php endforeach;
}
?>
</table>