Пример #1
0
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('fax'));
    $guiTools->cellLabelValue('60px', $fax);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('email'));
    $guiTools->cellLabelValue('200px', $email);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('notes'));
    $guiTools->cellLabelValue('200px', $notes);
    $guiTools->endRow();
} else {
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('120px', $this->lang->line('code'));
    $guiTools->cellTextbox('800px', '10', '10', 'txt_code', 'txt_code', $code);
    //The 750px width to have agood apearence.
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('100px', $this->lang->line('name'));
    $guiTools->cellTextbox('200px', '50', '50', 'txt_name', 'txt_name', $name);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('stock_manager'));
    $guiTools->cellTextbox('200px', '50', '50', 'txt_stock_manager', 'txt_stock_manager', $stock_manager);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('address'));
    $guiTools->cellTextbox('400px', '100', '100', 'txt_address', 'txt_address', $address);
    $guiTools->endRow();
    $guiTools->beginRow();
Пример #2
0
    $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('notes'));
    $guiTools->cellLabelValue('200px', $notes);
    $guiTools->endRow();
} else {
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('120px', $this->lang->line('code'));
    $guiTools->cellTextbox('800px', '10', '10', 'txt_code', 'txt_code', $code);
    //The 750px width to have agood apearence.
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('100px', $this->lang->line('name'));
    $guiTools->cellTextbox('200px', '50', '100', 'txt_name', 'txt_name', $name);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('notes'));
    $guiTools->cellTextbox('200px', '50', '100', 'txt_notes', 'txt_notes', $notes);
    $guiTools->endRow();
}
$guiTools->endTable();
?>

Пример #3
0
$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();
$guiTools->beginRow();
Пример #4
0
 
 
<div class="login">

<?php 
$this->load->helper('form');
$guiTools = new GuiTools();
//Adding Attributes.
$attributes = array('name' => 'frmLogin', 'id' => 'frmLogin');
//Adding Hidden Input Fields.
$hidden = array('username' => 'gouda', 'password' => 'gouda');
echo form_open('main/login', $attributes, $hidden);
$guiTools->beginTable();
$guiTools->beginRow();
$guiTools->cellLabel(100, '', '', $this->lang->line('login_username'), '');
$guiTools->cellTextbox(100, 'txtUserName', 'txtUserName');
$guiTools->cellLabel(100);
$guiTools->endRow();
$guiTools->beginRow();
$guiTools->cellLabel(100, '', '', $this->lang->line('login_password'), '');
$guiTools->cellPassword(100, 'txtPassword', 'txtPassword');
$guiTools->cellLabel(100);
$guiTools->endRow();
$guiTools->beginRow();
$guiTools->endRow();
$guiTools->beginRow();
$guiTools->cellLabel(100);
$guiTools->cellSubmit(100, 'smtLogin', 'smtLogin', $this->lang->line('login_smt'));
$guiTools->cellLabel(100);
$guiTools->endRow();
$guiTools->beginRow();
Пример #5
0
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('notes'));
    $guiTools->cellLabelValue('200px', $notes);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('user_group'));
    $guiTools->cellLabelValue('200px', $user_group);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('120px', $this->lang->line('user_rule'));
    $guiTools->cellLabelValue('200px', $user_rule);
    $guiTools->endRow();
} else {
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('120px', $this->lang->line('username'));
    $guiTools->cellTextbox('700px', '20', '20', 'txt_username', 'txt_username', $username);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('100px', $this->lang->line('password'));
    $guiTools->cellPassword('200px', '30', '30', 'txt_password', 'txt_password', $password);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('100px', $this->lang->line('name'));
    $guiTools->cellTextbox('200px', '40', '50', 'txt_name', 'txt_name', $name);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('120px', $this->lang->line('mobile'));
    $guiTools->cellTextbox('200px', '30', '30', 'txt_mobile', 'txt_mobile', $mobile);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('telephone'));