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";

    if ( !$artikel_status )
    {
        $artikel_status = "-1";
    }
?>
<html>
<head>
<title>Artikel: Schnelleditor config</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="quick_edit" action="quick_edit.php" target="tool2">
<input type="hidden" name="artikel_status" value="<? echo $artikel_status ?>">
  <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr> 
      <td> 
        <input type="checkbox" name="artikel_properties[no_status]" value="true" <? if ( $artikel_properties[no_status] ==
"true" )
    {
        echo "checked";
    } ?>>
      </td>
      <td>Alle Artikel</td>
    </tr>
    <tr> 
      <td colspan="2">
        <hr noshade width="100%">
      </td>
    </tr>
    <?
    $query =
        "select properties.* from content_management.properties where properties.tools = 1 and hidden = 'false' order by properties.rang";
    $result_properties = mysql_query( $query ) or die( mysql_errno() . ": " .
        mysql_error() );
    while ( $properties = mysql_fetch_array($result_properties) )
    {
        if ( isset($web_rechte[online_shop][artikel][$properties[interner_name]]) )
        {
?>
    <tr> 
      <td> 
        <input type="checkbox" name="artikel_properties[<? echo $properties[interner_name] ?>]" value="<? echo
$properties[name] ?>" <? if ( $artikel_properties[$properties[interner_name]] ==
$properties[name] )
            {
                echo "checked";
            } ?>>
      </td>
      <td width="100%"><font color="#<? echo $webs[font_color_rechts] ?>"> 
        <?
            if ( ($web_rechte[online_shop][artikel][$properties[interner_name]]) and
                (!strrpos($web_rechte[online_shop][artikel][$properties[interner_name]],
                ";")) )
            {
                echo $web_rechte[online_shop][artikel][$properties[interner_name]];
            }
            else
            {
                echo $properties[name];
            } ?>
        </font></td>
    </tr>
    <?
        }
    }
?>
  </table>
</form>
</body>
</html>