Current File : /home/karenpetzb/application/modules/backoffice/views/scripts/product/optionprofil.phtml |
<table cellpadding="0" cellspacing="5" border="0"width="800px">
<tr>
<td align="left" colspan="3">
<form method="POST" action="<?php echo $this->baseUrl; ?>/backoffice/product/optionprofil">
<table cellpadding="0" cellspacing="0" width="500px">
<tr>
<td colspan="2">Ajouter un profil d'options</td>
</tr>
<tr>
<td>Nom : </td>
<td><input type="text" name="nom" id="nom" value="" size="40" ></td>
</tr>
<tr>
<td>Options : </td>
<td>
<?php if ($this->listoption) { ?>
<select multiple="multiple" name="profilOptions[]" id="profilOptions">
<?php foreach($this->listoption as $row) : ?>
<option value="<?php echo $this->escape($row['ID']);?>" ><?php echo $this->escape($row['NOM']);?></option>
<?php endforeach; ?>
</select>
<?php } ?>
</td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="add" value="Ajouter" /></td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td colspan="3" style="background:#666666;height:1px;"></td>
</tr>
<tr>
<td align="left" colspan="3">
<span class="errorText"><?php echo $this -> messageError; ?></span>
<span class="successText"><?php echo $this -> messageSuccess; ?></span>
</td>
</tr>
<?php if ($this->listprofils) { ?>
<tr>
<td valign="top" width="510px">
<table cellpadding="0" cellspacing="0" width="500px">
<?php foreach($this->listprofils as $row) { ?>
<tr>
<td><?php echo $this->escape($row['NOM']);?></td>
<td >
<a href="<?php echo $this->baseUrl; ?>/backoffice/product/optionprofildel/id/<?php echo $this->escape($row['ID']);?>">Supprimer</a>
</td>
</tr>
<?php } ?>
</table>
</td>
</tr>
<?php } ?>
</table>