<tr> <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'));
<?php $this->load->view('includes/header'); $this->lang->load('gl/accounts_types', $this->config->item('language')); ?> <?php $guiTools = new GuiTools(); $guiTools->beginDiv('background-color: #667799; width:100%; height:40px; text-align:center ; font: 28px Verdana, Arial, Helvetica, sans-serif;font-weight: bold;color:white; -moz-border-radius: 5px 5px 5px 5px ;'); echo 'Accounts Types'; $guiTools->endDiv(); $guiTools->newLine(); $guiTools->newLine(); $guiTools->beginTable('width: 100%;'); $guiTools->beginRow(); $guiTools->cellLabel(150, '', '', $this->lang->line('accounts_types_code'), ''); $guiTools->cellTextbox(100, 'txtAccountTypeCode', 'txtAccountTypeCode', 'width:200'); $guiTools->endRow(); $guiTools->beginRow(); $guiTools->cellLabel(150, '', '', $this->lang->line('accounts_types_name_en'), ''); $guiTools->cellTextbox(100, 'txtAccountTypeNameEn', 'txtAccountTypeNameEn', 'width:500'); $guiTools->cellLabel(100); $guiTools->endRow(); $guiTools->beginRow(); $guiTools->cellLabel(150, '', '', $this->lang->line('accounts_types_name_ar'), ''); $guiTools->cellTextbox(100, 'txtAccountTypeNameAr', 'txtAccountTypeNameAr', 'width:500'); $guiTools->endRow(); $guiTools->beginRow(); $guiTools->cellLabel(150, '', '', $this->lang->line('accounts_types_class'), ''); $guiTools->cellTextbox(100, 'txtAccountTypeClass', 'txtAccountTypeClass', 'width:400'); $guiTools->endRow();