<h1><?php echo $msg; ?></h1> <center> <form action="<?php echo $_SERVER['PHP_SELF'];?>?function=config" name="si" method="post" enctype="multipart/form-data"> <table width="400" cellpadding="2" cellspacing="0" border="0" class="default"> <tr class="tbl_title" align="left"> <td colspan="2" id="borders">Set Database params:</td> </tr> <tr> <td id="borders" width="50" align="right">Database Name:</td> <td id="borders" width="50" valign="top" align="left"> <input type="text" name="name" value="<?php echo $dbconfig["name"];?>" /> </td> </tr> <tr> <td id="borders" width="50" align="right">Host:</td> <td id="borders" width="50" valign="top" align="left"> <input type="text" name="host" value="<?php echo $dbconfig["host"];?>" /> </td> </tr> <tr> <td id="borders" width="50" align="right">Username:</td> <td id="borders" width="50" valign="top" align="left"> <input type="text" name="user" value="<?php echo $dbconfig["user"];?>" /> </td> </tr> <tr> <td id="borders" width="50" align="right">Password:</td> <td id="borders" width="50" valign="top" align="left"> <input type="text" name="password" value="<?php echo $dbconfig["pass"];?>" /> </td> </tr> <tr> <td colspan="2" id="borders" align="right"> <input type="button" value="Back" class="button" onclick="javascript:window.location ='<?php echo $root;?>';"/> <input type="submit" value="Submit" class="button" /> </td> </tr> </table> <input name="newconfig" type="hidden" value="yes" /> </form><br> </center>