Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?
        $self=basename($PHP_SELF);

        define ("modul_name", "online_shop");
        define ("tool_name", "artikel");
        require_once "connect2.php";

        session_start();
        if (!$language) {$language="DE";}
        
        // $charset laden um die jeweiligen ISO-Zeichensätzte zu laden.
        require_once "charset.php";
?>
<html>
<head>
<title><? echo $self ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="redaktion.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form method="post" name="preisagenturen_select_form" action="preisagenturen_edit.php" target="tool">
  <input type="hidden" name="action" value="config">
  <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr> 
      <td> 
        <input type="checkbox" name="no_status" value="true" <? if ($_SESSION[Preisagenturen_config][no_status]=="true") { echo "checked"; } ?>>
      </td>
      <td> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td nowrap>Alle Artikel</td>
            <td align="center"> 
              <? if ($nodata_error) { ?>
              Es sind keine Artikel ausgewählt 
              <? } ?>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr> 
      <td colspan="2"> 
        <hr noshade width="100%">
      </td>
    </tr>
    <?
        $query="select * from Preisagentur where Language ='$language' and hidden = 'false' order by ID";
        $result = mysql_query ($query) or die (mysql_errno().": ".mysql_error());
        while ($agentur=mysql_fetch_array($result))
        {
?>
    <tr> 
      <td> 
        <input type="checkbox" name="agentur[<? echo $agentur[ID] ?>]" value="true" <? if ($_SESSION[Preisagenturen_config][agentur][$agentur[ID]]=="true") { echo "checked"; } ?>>
      </td>
      <td width="100%"><font color="#<? echo $webs[font_color_rechts] ?>"> 
        <? echo $agentur[Titel] ?>
        </font></td>
    </tr>
    <?
        }
?>
  </table>
</form>
</body>
</html>