| 1 |
lars |
1 |
<?
|
|
|
2 |
$self = basename( $PHP_SELF );
|
|
|
3 |
|
|
|
4 |
define( "modul_name", "online_shop" );
|
|
|
5 |
define( "tool_name", "artikel" );
|
|
|
6 |
require_once "connect2.php";
|
|
|
7 |
|
|
|
8 |
session_start();
|
|
|
9 |
if ( !$language )
|
|
|
10 |
{
|
|
|
11 |
$language = "DE";
|
|
|
12 |
}
|
|
|
13 |
|
|
|
14 |
// $charset laden um die jeweiligen ISO-Zeichensätzte zu laden.
|
|
|
15 |
require_once "charset.php";
|
|
|
16 |
|
|
|
17 |
if ( !$artikel_status )
|
|
|
18 |
{
|
|
|
19 |
$artikel_status = "-1";
|
|
|
20 |
}
|
|
|
21 |
?>
|
|
|
22 |
<html>
|
|
|
23 |
<head>
|
|
|
24 |
<title>Artikel: Schnelleditor config</title>
|
|
|
25 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
26 |
<link rel="stylesheet" href="redaktion.css" type="text/css">
|
|
|
27 |
</head>
|
|
|
28 |
|
|
|
29 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
|
|
30 |
<form method="post" name="quick_edit" action="quick_edit.php" target="tool2">
|
|
|
31 |
<input type="hidden" name="artikel_status" value="<? echo $artikel_status ?>">
|
|
|
32 |
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
|
|
33 |
<tr>
|
|
|
34 |
<td>
|
|
|
35 |
<input type="checkbox" name="artikel_properties[no_status]" value="true" <? if ( $artikel_properties[no_status] ==
|
|
|
36 |
"true" )
|
|
|
37 |
{
|
|
|
38 |
echo "checked";
|
|
|
39 |
} ?>>
|
|
|
40 |
</td>
|
|
|
41 |
<td>Alle Artikel</td>
|
|
|
42 |
</tr>
|
|
|
43 |
<tr>
|
|
|
44 |
<td colspan="2">
|
|
|
45 |
<hr noshade width="100%">
|
|
|
46 |
</td>
|
|
|
47 |
</tr>
|
|
|
48 |
<?
|
|
|
49 |
$query =
|
|
|
50 |
"select properties.* from content_management.properties where properties.tools = 1 and hidden = 'false' order by properties.rang";
|
|
|
51 |
$result_properties = mysql_query( $query ) or die( mysql_errno() . ": " .
|
|
|
52 |
mysql_error() );
|
|
|
53 |
while ( $properties = mysql_fetch_array($result_properties) )
|
|
|
54 |
{
|
|
|
55 |
if ( isset($web_rechte[online_shop][artikel][$properties[interner_name]]) )
|
|
|
56 |
{
|
|
|
57 |
?>
|
|
|
58 |
<tr>
|
|
|
59 |
<td>
|
|
|
60 |
<input type="checkbox" name="artikel_properties[<? echo $properties[interner_name] ?>]" value="<? echo
|
|
|
61 |
$properties[name] ?>" <? if ( $artikel_properties[$properties[interner_name]] ==
|
|
|
62 |
$properties[name] )
|
|
|
63 |
{
|
|
|
64 |
echo "checked";
|
|
|
65 |
} ?>>
|
|
|
66 |
</td>
|
|
|
67 |
<td width="100%"><font color="#<? echo $webs[font_color_rechts] ?>">
|
|
|
68 |
<?
|
|
|
69 |
if ( ($web_rechte[online_shop][artikel][$properties[interner_name]]) and
|
|
|
70 |
(!strrpos($web_rechte[online_shop][artikel][$properties[interner_name]],
|
|
|
71 |
";")) )
|
|
|
72 |
{
|
|
|
73 |
echo $web_rechte[online_shop][artikel][$properties[interner_name]];
|
|
|
74 |
}
|
|
|
75 |
else
|
|
|
76 |
{
|
|
|
77 |
echo $properties[name];
|
|
|
78 |
} ?>
|
|
|
79 |
</font></td>
|
|
|
80 |
</tr>
|
|
|
81 |
<?
|
|
|
82 |
}
|
|
|
83 |
}
|
|
|
84 |
?>
|
|
|
85 |
</table>
|
|
|
86 |
</form>
|
|
|
87 |
</body>
|
|
|
88 |
</html>
|