Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2 lars 1
<html>
2
    <head>
3
        <title>Preisagenten config</title>
4
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
        <link rel="stylesheet" href="redaktion.css" type="text/css">
6
        <style>
7
            .root
8
            {
9
                border-style: solid;
10
        		border-width: 0px 0px 0px 0px;
11
                border-color: #FF0000;
12
            }
13
            .subdir
14
            {
15
            		border-style: solid;
16
            		border-width: 0px 0px 0px 0px;
17
            		border-color: #0000FF;
18
            		margin-left:17px;
19
            }
20
        </style>
21
    </head>
22
    <body bgcolor="#FFFFFF" text="#000000">
23
        <form method="post" action="<? echo $self ?>">
24
            <table width="100%" border="1" cellspacing="0" cellpadding="2">
25
                <tr>
26
                    <td width="50%">Anzeigen:</td>
27
                    <td width="50%">Eingabefelder:</td>
28
                </tr>
29
                <tr>
30
                    <td valign="top">
31
                        <blockquote>
32
                            <input type="radio" name="nav_status_overide" value="off"{if ( ($smarty.session.$self.nav_status_overide =="off") or (!smarty.session.$self.nav_status_overide) )} checked="checked"{/if}>ge&ouml;ffnete Ordner<br>
33
                            <input type="radio" name="nav_status_overide" value="-1"{if ( $smarty.session.$self.nav_status_overide == -1 )} checked="checked">Alle Artikel
34
          <hr noshade width="100%">
35
          <input type="radio" name="nav_status_overide" value="select"{if ( $$smarty.session.$self.nav_status_overide == 'select' )} checked="checked">Alles unterhalb von:
36
          {section loop=$dirs name=d_id}
37
<div class="root">
38
	<input type="checkbox" name="nav_status_overide_selected[{$dirs[d_id].ID}]" value="{if ( $dirs[$smarty.session.tree.php.output.directory_show_primary] )}
39
        {
40
            echo $dir[$_SESSION["tree.php"]["output"]["directory_show_primary"]];
41
        }
42
        else
43
        {
44
            echo $dir[$_SESSION["tree.php"]["output"]["directory_show_fallback"]];
45
        } ?>"<? if ( $_SESSION[$self][nav_status_overide_selected][$dir[ID]] )
46
        {
47
            echo " checked";
48
        } ?>>
49
	&nbsp;<b><? if ( $dir[$_SESSION["tree.php"]["output"]["directory_show_primary"]] )
50
        {
51
            echo $dir[$_SESSION["tree.php"]["output"]["directory_show_primary"]];
52
        }
53
        else
54
        {
55
            echo $dir[$_SESSION["tree.php"]["output"]["directory_show_fallback"]];
56
        } ?></b>
57
<?
58
        $query_dir2 = "select distinct * FROM directory where Father = $dir[ID] and Language='DE' order by Kennung";
59
        $result_dir2 = mysql_query( $query_dir2 ) or die( mysql_errno() .
60
            ": " . mysql_error() );
61
        while ( $dir2 = mysql_fetch_array($result_dir2) )
62
        {
63
?>
64
	<div class="subdir">
65
		<input type="checkbox" name="nav_status_overide_selected[<? echo $dir2[ID] ?>]" value="<? if ( $dir2[$_SESSION["tree.php"]["output"]["directory_show_primary"]] )
66
            {
67
                echo $dir2[$_SESSION["tree.php"]["output"]["directory_show_primary"]];
68
            }
69
            else
70
            {
71
                echo $dir2[$_SESSION["tree.php"]["output"]["directory_show_fallback"]];
72
            } ?>"<? if ( $_SESSION[$self][nav_status_overide_selected][$dir2[ID]] )
73
            {
74
                echo " checked";
75
            } ?>>
76
		<? if ( $dir2[$_SESSION["tree.php"]["output"]["directory_show_primary"]] )
77
            {
78
                echo $dir2[$_SESSION["tree.php"]["output"]["directory_show_primary"]];
79
            }
80
            else
81
            {
82
                echo $dir2[$_SESSION["tree.php"]["output"]["directory_show_fallback"]];
83
            } ?>
84
	</div>
85
<? } ?>
86
</div>
87
                        </blockquote>
88
                    </td>
89
                </tr>
90
            </table>
91
        </form>
92
    </body>
93
</html>