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

include_once( "../include/class.SQLString.php" );

if (isset($HTTP_USER_AGENT) && strpos($HTTP_USER_AGENT,"IE") > 0)
$Rows = "60";
else
$Rows = "50";
include_once("auth.php");

if ($datenausdbholen != "nein") {
db_connect($db_host, $db_user, $db_pass);

$id = safe_query( "select * from anbieter where anbieter = ? ", TRUE, new SQLString( $PHP_AUTH_USER ) );
$werte = db_fetch_array($id);
$indexcode = $werte["indexcode"];
$indexfile = $werte["indexfile"];
$skfrontpage = $werte["frontpage"];
$skssl = $werte["cssl"];
$maxmysql = $werte["maxmysql"];
if ($maxmysql != 0) $skmysql = 1;

db_close();
}
?>
<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 colspan=2> 
      <? echo ltext("kuin_title2"); ?>
      <table border="1" bordercolorlight="<? echo $color_dark_grey; ?>" bordercolordark="#FFFFFF" cellpadding="3" cellspacing="0">
        <tr> 
          <td >##user##</td>
          <td >
            <? echo ltext("kuin_cell_usertext"); ?>
            </td>
        </tr>
      </table>
      <br><? echo ltext("kuin_cell_descr1"); ?>
      <br>
    </td>
  </TR>
  <tr> 
      <form method="post" action="kunden_index2.php">
            <td class="titel-3" >
              <? echo ltext("kuin_cell_code"); ?>
              </td>
          </tr>
          <tr > 
            <td  > 
              <textarea name="indexcode" cols="<?=$Rows?>" rows="10"><? echo HTMLSpecialChars($indexcode); ?></textarea>
            </td>
          </tr>
          <tr > 
            <td  > 
              <input type="text" name="indexfile" maxlength="30" value="<? echo $indexfile; ?>">
              
       
              <? echo ltext("kuin_cell_filename"); ?>
              </td>
          </tr>
          <tr > 
            <td><? echo std_button(ltext("kuin_button1"), "javascript:doChange()"); ?></td>
  </tr>
</table>
</form>
</BODY>
</HTML>
