<?
########## 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);

$id = safe_query( "select * from admin", TRUE );
$werte = db_fetch_array($id);
$skmysql = $werte["mysql"];
$quota = $werte["quota"];
$standarddomain = $werte["standarddomain"];
$usestd = $werte["stddomain"];
$standardip = $werte["standardip"];

?>
<HTML>
<HEAD>
<META content="text/html; charset=<? echo $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><? include("../fehler.inc.php"); ?>
<script>
function doChange()
{
document.forms[0].submit();
}
</script>
<table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
  <TR> 
    <TD>
        <form action="einstellungen_stddomain2.php" method="post">
              <b><? echo ltext("eisd_cell_std"); ?>
              </b></td>
            <td > 
              <input type="text" name="standarddomain" value="<? echo $standarddomain; ?>">
            </td>
          </tr>
          <tr > 
            <td  ><b> 
              <? echo ltext("eisd_cell_all"); ?>
              </b></td>
            <td > 
              <input type="checkbox" name="all" value="1" checked>
               
              <? echo ltext("eisd_cell_yes"); ?>
               </td>
          </tr>
          <tr > 
            <td  ><b> 
              <? echo ltext("eisd_cell_disable"); ?>
              </b></td>
            <td > 
              <input type="checkbox" name="usestd" value="1"<? if ($usestd == 0) echo " checked";?>>
               
              <? echo ltext("eisd_cell_yes"); ?>
               </td>
          </tr>
          <tr > 
            <td  ><b> 
              <? echo ltext("eisd_cell_ip"); ?>
              </b></td>
            <td > 
              <input type="text" name="standardip" value="<? echo $standardip; ?>">
            </td>
          </tr>
          <tr > 
            <td  >&nbsp;</td>
            <td><? echo std_button(ltext("eisd_btn_change"), "javascript:doChange()"); ?></td>
          </tr>
      </form>
</TABLE>
</BODY>
</HTML>
<?
db_close();
?>
