<td width="100px" colspan="9" height="30px"><span style="color:red";> <?php if (isset($error)) { echo $error; } ?> </span> </td> </tr> </table> <?php $guiTools = new GuiTools(); $guiTools->beginTable(); $guiTools->beginRow(); $guiTools->cellHidden('hdn_id', 'hdn_id', $id); $guiTools->endRow(); if ($mode == 'view') { $guiTools->beginRow(); $guiTools->cellLabelTitle('120px', $this->lang->line('code')); $guiTools->cellLabelValue('800px', $code); //The 750px width to have agood apearence. $guiTools->endRow(); $guiTools->beginRow(); $guiTools->cellLabelTitle('100px', $this->lang->line('name')); $guiTools->cellLabelValue('200px', $name); $guiTools->endRow(); $guiTools->beginRow(); $guiTools->cellLabelTitle('100px', $this->lang->line('stock_manager')); $guiTools->cellLabelValue('200px', $stock_manager);