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


include_once("auth.php");

db_connect($db_host, $db_user, $db_pass);

$sql = "SELECT domain,kunde,anbieter FROM dns ".
	"WHERE domain LIKE '%$domain%' AND neu NOT IN (2,4)";

$id = db_query( $sql );

//$zeilen = db_num_rows($id);
?>
<HTML>
<HEAD>
<META content="text/html; charset=<?=$lang_html_charset?>" http-equiv=Content-Type>
<LINK href="<?=$strSkinName?>/style.css" rel=stylesheet type=text/css>
</HEAD>

<BODY bgColor=#ffffff bottomMargin=0 leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<br><script>
function doChange()
{
document.forms[0].submit();
}
</script>
<table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
<script>
<?
echo js_f_call_help('dnshelp_title3', 'dnshelp_descr3');
?>
</script>
        <tr>
          <td align="left" valign="middle" height="15" class="titel-3" ><? echo ltext("eidnspdosu_cell_text3"); ?></td>
          <td height="15" class="titel-3" ><? echo ltext("eidnspdosu_cell_text1"); ?></td>
          <td align="left" valign="middle" height="15" class="titel-3" ><? echo ltext("eidntpdoae_cell_text7"); ?></td>
          <td align="left" valign="middle" height="15" class="titel-3" ><? echo ltext("eidnspdosu_cell_text2"); ?></td>
          <td align="left" valign="middle" height="15" class="titel-3" ><? echo ltext("eidnspdosu_cell_text4"); ?></td>
        </tr>
<?
while ($daten = db_fetch_array($id))
{
	$domain   = $daten["domain"];
	$kunde    = $daten["kunde"];
	$anbieter = $daten["anbieter"];
	
	$id2    = db_query("select name from kunden where kunde = '$kunde'");
	$daten2 = db_fetch_array($id2);
	$name  = $daten2["name"];
?>
        <tr>
        	<td  align="left" valign="middle" height="15"><?echo $domain?><br></td>
        	<td height="15"><?echo $kunde?></td>
        	<td  align="left" valign="middle" height="15"><?echo $anbieter?></td>
        	<td align="left" valign="middle" height="15">&nbsp;<?echo $name?></td>
        	<td  align="left" valign="middle" height="15"><a class="data" href="einstellungen_dnsspezial_domain_aendern.php?domain=<?echo $domain?>"><? echo ltext("eidnspdosu_cell_text4"); ?></a></td>
        </tr>
<?
}
?>
</table>
</BODY>
</HTML>
<?
db_close();
?>
