<?
########## 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" );
include_once("auth.php");

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

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

noMagic($emailbetreff);
noMagic($emailtext);
noMagic($absenderemail);
noMagic($absendername);

?>

<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">
      <form method="post" action="kunden_rundschreiben2.php">
          <tr > 
            <td colspan="2" class="titel-3" >
              <? echo ltext("kuru_cell_title"); ?>
              </td>
          </tr>
          <tr > 
            <td  >
              <? echo ltext("kuru_cell_sendto"); ?>
              </td>
            <td  >  
              <? echo ltext("kuru_cell_nextpage"); ?>
              </td>
          </tr>
          <tr > 
            <td > 
              <? echo ltext("kuru_cell_subject"); ?>
              </td>
            <td  > 
              <input type="text" name="emailbetreff" size="40" value="<? echo $emailbetreff; ?>">
            </td>
          </tr>
          <tr > 
            <td > 
              <? echo ltext("kuru_cell_text"); ?>
              </td>
            <td  > 
              <textarea name="emailtext" cols="40" rows="8"><? echo $emailtext; ?></textarea>
            </td>
          </tr>
          <tr > 
            <td >&nbsp;</td>
            <td  > 
              <input type="text" name="absenderemail" value="<? echo $absenderemail; ?>">
               
              <? echo ltext("kuru_cell_senderemail"); ?>
              </td>
          </tr>
          <tr > 
            <td  height="26">&nbsp;</td>
            <td   height="26"> 
              <input type="text" name="absendername" value="<? echo $absendername; ?>">
               
              <? echo ltext("kuru_cell_sendername"); ?>
              </td>
          </tr>
          <tr > 
            <td >&nbsp;</td>
            <td><? echo std_button(ltext("kuru_button1"), "javascript:doChange()"); ?></td>
          </tr>
</TABLE>
</form>
</BODY>
</HTML>

<?
db_close();
?>
