Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
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) {$language="DE";}
10
 
11
	// $charset laden um die jeweiligen ISO-Zeichensätzte zu laden.
12
	require_once "charset.php";
13
?>
14
<html>
15
<head>
16
<title><? echo $self ?></title>
17
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
18
<link rel="stylesheet" href="redaktion.css" type="text/css">
19
</head>
20
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
21
<form method="post" name="preisagenturen_select_form" action="preisagenturen_edit.php" target="tool">
22
  <input type="hidden" name="action" value="config">
23
  <table border="0" cellspacing="0" cellpadding="0" width="100%">
24
    <tr>
25
      <td>
26
        <input type="checkbox" name="no_status" value="true" <? if ($_SESSION[Preisagenturen_config][no_status]=="true") { echo "checked"; } ?>>
27
      </td>
28
      <td>
29
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
30
          <tr>
31
            <td nowrap>Alle Artikel</td>
32
            <td align="center">
33
              <? if ($nodata_error) { ?>
34
              Es sind keine Artikel ausgewählt
35
              <? } ?>
36
            </td>
37
          </tr>
38
        </table>
39
      </td>
40
    </tr>
41
    <tr>
42
      <td colspan="2">
43
        <hr noshade width="100%">
44
      </td>
45
    </tr>
46
    <?
47
	$query="select * from Preisagentur where Language ='$language' and hidden = 'false' order by ID";
48
	$result = mysql_query ($query) or die (mysql_errno().": ".mysql_error());
49
	while ($agentur=mysql_fetch_array($result))
50
	{
51
?>
52
    <tr>
53
      <td>
54
        <input type="checkbox" name="agentur[<? echo $agentur[ID] ?>]" value="true" <? if ($_SESSION[Preisagenturen_config][agentur][$agentur[ID]]=="true") { echo "checked"; } ?>>
55
      </td>
56
      <td width="100%"><font color="#<? echo $webs[font_color_rechts] ?>">
57
        <? echo $agentur[Titel] ?>
58
        </font></td>
59
    </tr>
60
    <?
61
	}
62
?>
63
  </table>
64
</form>
65
</body>
66
</html>