}
$table->table_begin();
$table->table_title(_('Change User Parameters'));
$table->table_body_begin();
htmlp_form_action();
$table->table_columns_begin();
$db->query("SELECT * FROM auth_user WHERE username='******'");
$db->next_record();
$table->table_column('<b>' . _('Username') . ':</b>', '50%', '', 'right');
$table->table_column(html_form_textField('username', $db->f('username'), 20, 32), '50%', '', 'left');
$table->table_nextRowWithColumns();
$table->table_column('<b>' . _('Password') . ':</b>', '50%', '', 'right');
$table->table_column(html_form_PassWordField('password', 20, 32, $db->f('password')), '50%', '', 'left');
$table->table_nextRowWithColumns();
$table->table_column('<b>' . _('Confirm Password') . ':</b>', '50%', '', 'right');
$table->table_column(html_form_PassWordField('cpassword', 20, 32, $db->f('password')), '50%', '', 'left');
$table->table_nextRowWithColumns();
$table->table_column('<b>' . _('Real Name') . ':</b>', '50%', '', 'right');
$table->table_column(html_form_textField('realname', $db->f('realname'), 20, 64), '50%', '', 'left');
$table->table_nextRowWithColumns();
$table->table_column('<b>' . _('E-mail') . ':</b>', '50%', '', 'right');
$table->table_column(html_form_textField('email_usr', $db->f('email_usr'), 20, 128), '50%', '', 'left');
$table->table_nextRowWithColumns();
$table->table_column('<b>' . _('Creation') . ':</b>', '50%', '', 'right');
$table->table_column(lib_date_long($db->f('creation_usr')), '50%', '', 'left');
$table->table_nextRowWithColumns();
$table->table_column('<b>' . _('Last Modification') . ':</b>', '50%', '', 'right');
$table->table_column(lib_date_long($db->f('modification_usr')), '50%', '', 'left');
$table->table_nextRowWithColumns();
$table->table_column('<b>' . _('Permisions') . ':</b>', '50%', '', 'right');
$table->table_column($db->f('perms'), '50%', '', 'left');
                break;
            default:
                break;
        }
    }
    if (!$subs) {
        $table->table_begin();
        $table->table_title(_('Subscribe Newsletter'));
        $table->table_body_begin();
        htmlp_form_action();
        $table->table_columns_begin(2);
        $table->table_column('<b>' . _('E-Mail') . ':</b> ', '40%', '', 'right');
        $table->table_column(html_form_textField('email_usr', '', 20, 128), '60%', '', 'left');
        $table->table_nextRowWithColumns();
        $table->table_column('<b>' . _('Password') . ':</b> ', '40%', '', 'right');
        $table->table_column(html_form_PassWordField('password', 20), '60%', '', 'left');
        $table->table_nextRowWithColumns();
        $table->table_column('<b>' . _('Confirm Password') . ':</b> ', '40%', '', 'right');
        $table->table_column(html_form_PassWordField('cpassword', 20), '60%', '', 'left');
        $table->table_nextRowWithColumns();
        $table->table_column('<b>' . _('Periodicity') . ':</b> ', '40%', '', 'right');
        $table->table_column(html_form_radioButton('period', 'daily', '') . _('daily') . ' &nbsp; &nbsp; ' . html_form_RadioButton('period', 'weekly', 'yes') . _('weekly'), '60%', '', 'left');
        $table->table_nextRowWithColumns();
        $table->table_colspan(html_form_submit(_('Subscribe'), 'subscribe'), 2, '', 'center');
        $table->table_columns_end();
        htmlp_form_end();
        $table->table_body_end();
        $table->table_end();
    }
}
config_inc('end');