wbErroUi = Ext.extend(Ext.Window, { title: 'Erro no sistema', width: 736, height: 372, modal: true, resizable: false, autoScroll: true, layout: 'absolute', initComponent: function() { this.items = [ { xtype: 'container', width: 120, height: 90, x: 10, y: 30, html: '' }, { xtype: 'container', width: 560, height: 270, x: 150, y: 20, autoScroll: true, html: 'Atenção

Não foi possível conectarseu banco de dados.
Usuário ou senha ou servidor invalido.
Check as informações no arquivo
setvar.phpque se encontrar dentro de php/config/

Dados de conexão
 
Servidor: localhost
Banco: control_sistema
Usuário: contr_sistema
Senha: 
' }, { xtype: 'button', text: 'Fechar a janela', x: 600, y: 310, width: 110, handler: function(){Ext.getCmp('WinErro').close();} } ]; wbErroUi.superclass.initComponent.call(this); } }); var JanelaErro = new wbErroUi({ id : 'WinErro', renderTo: Ext.getBody()}); JanelaErro.show();