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


include_once("auth.php");
include("../settings.inc.php");
include_once( "../include/class.SQLInteger.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"];
?>
<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">
<?

if($cbusiness)
{
	$id = safe_query("select defaultserver from bdefault");
	if ($werte = db_fetch_array($id))
	{
		$keyserver = $werte["defaultserver"];
	
		if ($keyserver==0) 
		{
			$servername="Master";
		}
		else
		{
			$id = safe_query( "SELECT Servername FROM bmysql WHERE KeyServer = ?", TRUE, new SQLInteger($keyserver) );
			if ($werte = db_fetch_array($id))
			{
				$servername = $werte["Servername"];
			}
		}
	}
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
                <td width="100%" bgcolor="#FFFFFF">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                        <td><img src="<?=$strSkinName?>/pics/bg_top_left.jpg" width="12" height="29">
                                        </td>
                                        <td><img src="<?=$strSkinName?>/pics/tab_left.jpg" width="11" height="28">
                                        </td>
                                        <td width="100%" background="<?=$strSkinName?>/pics/tab_middle.jpg" >
                                                <table width="150" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                                <td nowrap class="titel-2"><? echo $text ?>&nbsp;<? if($cbusiness): ?>(<? echo ltext("what_server_am_i"); ?>&nbsp;<? echo $servername; ?>)<? endif; ?></td>
                                                        </tr>
                                                </table>
                                        </td>
                                        <td align=right valign=top background="<?=$strSkinName?>/pics/tab_middle.jpg" >
                                                <table width="100%" border=0 cellspacing=0 cellpadding=4>
                                                        <tr>
<td>&nbsp;</td>                                                 </tr>
                                                </table>
                                        </td>
                                        <td><img src="<?=$strSkinName?>/pics/tab_right.jpg" width="8" height="28">
                                        </td>
                                        <td><img src="<?=$strSkinName?>/pics/bg_top_right.jpg" width="12" height="28">
                                        </td>
                                </tr>
                        </table>
                </td>
        </tr>
</table>
</body>
</html>
