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


if (isset($HTTP_USER_AGENT) && strpos($HTTP_USER_AGENT,"IE") > 0)
$Rows = "55";
else
$Rows = "50";
?>
<?
include_once("auth.php");
db_connect($db_host, $db_user, $db_pass);

if ($ausdb != "nein") {
    $id = safe_query( "SELECT indexcode, indexfile FROM admin", TRUE );
    $werte = db_fetch_array($id);
    $indexcode = $werte["indexcode"];
    $indexfile = $werte["indexfile"];
}
?>

<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"); ?><br>
<script>
function doChange()
{
    document.forms[0].submit();
}
</script>

<table width="470">
<tr>
<td>

<table class="tblbgcolor" width="100%" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
    <tr>
	<td align="center">
    	    <? echo ltext("anin_descr2"); ?>
	</td>
    </tr>
</table>

</td>
</tr>
<tr>
<td>

<br>
<form method="post" action="anbieter_index2.php">
<table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
    <tr> 
	<td class="titel-3" colspan="2">
	    <? echo ltext("anin_cell_title1"); ?>
	</td>
    </tr>
    <tr>
	<td width="20%">
	    &nbsp;<? echo ltext("anin_cell_text"); ?>&nbsp;
	</td>
	<td width="80%"> 
    	    <textarea name="indexcode" cols="<?=$Rows+10?>" rows="10"><? echo $indexcode; ?></textarea>
        </td>
    </tr>
    <tr>
	<td width="20%">
	    &nbsp;<? echo ltext("anin_cell_filename"); ?>&nbsp;
	</td>
        <td width="80%">
	    <input type="text" size="30" name="indexfile" maxlength="30" value="<? echo $indexfile; ?>">
	</td>
    </tr>
    <tr> 
        <td align="center" colspan="2">
	    <? echo std_button(ltext("anin_button1"), "javascript:doChange()"); ?>
	</td>
    </tr>
</table>
</form>

</td>
</tr>
<tr>
<td>

<br>
<table class="tblbgcolor" border="1" width="100%" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
<tr>
    <td>
	<b><? echo ltext("anin_title2"); ?></b>
    </td>
</tr>
<tr>
    <td>
	<table align="right" valign="top" cellpadding="3" border="0">
	    <tr>
		<td height="18" width="2%" align=center>&nbsp;
		</td>
		<td width="20%">
		    &nbsp;##user##&nbsp;
		</td>
		<td width="60%">
		    &nbsp;<? echo ltext("anin_cell_varuser"); ?>&nbsp;
		</td>
	    </tr>
	</table>
    </td>
</tr>
</table>

</td>
</tr>
</table>

</body>
</html>
<?
db_close();
?>
