<?
########## Confixx(R) 3.0 Professional ############
####### Copyright SWsoft, Inc. 2004-2005 ##########
#### http://www.sw-soft.com - info@sw-soft.com ####

if(!$r = $returnto)
{
	$r = $action;
}

?>
<script>
function doEditData()
{
	document.forms[0].editdata.value = 1;
	document.forms[0].submit();
}
function doSaveAnyway()
{
	document.forms[0].editdata.value = 2;
	document.forms[0].submit();
}
</script>
<form action="business.php?action=saveserver&returnto=<? echo $r; ?>" method="post" name=form1>
<INPUT type="hidden" name="save" value="1">
<INPUT type="hidden" name="KeyServer" value="<? echo $KeyServer; ?>">
<input type="hidden" name="name" value="<? echo $name; ?>">
<input type="hidden" name="ip" value="<? echo $ip; ?>">
<input type="hidden" name="dbname" value="<? echo $dbname; ?>">
<input type="hidden" name="user" value="<? echo $user; ?>">
<input type="hidden" name="cpassword" value="<? echo $cpassword; ?>">
<input type="hidden" name="port" value="<? echo $port; ?>">
<INPUT type="hidden" name="editdata" value="0">
<INPUT type="hidden" name="testconnection" value="1">
<table cellpadding="5" cellspacing="0" align="center" border="0">
<tr>
	<td>
	<table border="1" bordercolordark="#ffffff" bordercolorlight="#cccccc" cellpadding="3" cellspacing="0">
	<tr class="tblbgcolor">
		<td colspan="2" class="tbldata"><? echo ltext("alsr_baddb", array($ip)); ?></td>
	</tr>
	<tr class="tblbgcolor">
		<td align="center"><? echo std_button(ltext("alsr_cell_editdata"), "javascript:doEditData()"); ?></td>
		<td align="center"><? echo std_button(ltext("alsr_cell_saveanyway"), "javascript:doSaveAnyway()"); ?></td>
	</tr>
	</table>
	</td>
</tr>
</table>
</form>
