error()) { $err = $con->error(); } else { $ses->reg('db_host',$db_host); $ses->reg('db_user',$db_user); $ses->reg('db_pass',$db_pass); $ses->reg('db_name',$db_name); $ses->reg('db_prefix',$db_prefix); $ses->reg('step',4); header('Location: db-install.php'); exit; } } } require dirname(__FILE__).'/__top.php'; echo '

'.__('Database parameters').'

'; if ($err != '') { echo '

'.__('Error, check your parameters.').'

'. '

'.$err.'

'; } echo '
'. '

'. form::field('db_host',30,255,$db_host).'

'. '

'. form::field('db_user',30,255,$db_user).'

'. '

'. form::field('db_pass',30,255,$db_pass).'

'. '

'. form::field('db_name',30,255,$db_name).'

'. '

'. form::field('db_prefix',30,255,$db_prefix).'

'. '

'. form::hidden('check','1').'

'; '
'; ?>