Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<html>
    <head>
        <title>Preisagenten config</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <link rel="stylesheet" href="redaktion.css" type="text/css">
        <style>
            .root
            {
                border-style: solid;
                        border-width: 0px 0px 0px 0px;
                border-color: #FF0000;
            }
            .subdir
            {
                        border-style: solid;
                        border-width: 0px 0px 0px 0px;
                        border-color: #0000FF;
                        margin-left:17px;
            }
        </style>
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
        <form method="post" action="<? echo $self ?>">
            <table width="100%" border="1" cellspacing="0" cellpadding="2">
                <tr> 
                    <td width="50%">Anzeigen:</td>
                    <td width="50%">Eingabefelder:</td>
                </tr>
                <tr> 
                    <td valign="top"> 
                        <blockquote> 
                            <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>
                            <input type="radio" name="nav_status_overide" value="-1"{if ( $smarty.session.$self.nav_status_overide == -1 )} checked="checked">Alle Artikel 
          <hr noshade width="100%">
          <input type="radio" name="nav_status_overide" value="select"{if ( $$smarty.session.$self.nav_status_overide == 'select' )} checked="checked">Alles unterhalb von: 
          {section loop=$dirs name=d_id}
<div class="root">
        <input type="checkbox" name="nav_status_overide_selected[{$dirs[d_id].ID}]" value="{if ( $dirs[$smarty.session.tree.php.output.directory_show_primary] )}
        {
            echo $dir[$_SESSION["tree.php"]["output"]["directory_show_primary"]];
        }
        else
        {
            echo $dir[$_SESSION["tree.php"]["output"]["directory_show_fallback"]];
        } ?>"<? if ( $_SESSION[$self][nav_status_overide_selected][$dir[ID]] )
        {
            echo " checked";
        } ?>> 
        &nbsp;<b><? if ( $dir[$_SESSION["tree.php"]["output"]["directory_show_primary"]] )
        {
            echo $dir[$_SESSION["tree.php"]["output"]["directory_show_primary"]];
        }
        else
        {
            echo $dir[$_SESSION["tree.php"]["output"]["directory_show_fallback"]];
        } ?></b>
<?
        $query_dir2 = "select distinct * FROM directory where Father = $dir[ID] and Language='DE' order by Kennung";
        $result_dir2 = mysql_query( $query_dir2 ) or die( mysql_errno() .
            ": " . mysql_error() );
        while ( $dir2 = mysql_fetch_array($result_dir2) )
        {
?>
        <div class="subdir">
                <input type="checkbox" name="nav_status_overide_selected[<? echo $dir2[ID] ?>]" value="<? if ( $dir2[$_SESSION["tree.php"]["output"]["directory_show_primary"]] )
            {
                echo $dir2[$_SESSION["tree.php"]["output"]["directory_show_primary"]];
            }
            else
            {
                echo $dir2[$_SESSION["tree.php"]["output"]["directory_show_fallback"]];
            } ?>"<? if ( $_SESSION[$self][nav_status_overide_selected][$dir2[ID]] )
            {
                echo " checked";
            } ?>>
                <? if ( $dir2[$_SESSION["tree.php"]["output"]["directory_show_primary"]] )
            {
                echo $dir2[$_SESSION["tree.php"]["output"]["directory_show_primary"]];
            }
            else
            {
                echo $dir2[$_SESSION["tree.php"]["output"]["directory_show_fallback"]];
            } ?>
        </div>
<? } ?>
</div>
                        </blockquote>
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>