Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<?
        $self=basename($PHP_SELF);
        $tab="banner";
        define ("modul_name", "branchenbuch");
        define ("tool_name", "branchen");
        require_once "../Online-Shop/connect2.php";
?>
<html>
<head>
<title>Bannerzuordnen <? echo $site ?>: Redaktionssystem</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel=stylesheet type="text/css" href="../Online-Shop/redaktion.css">
<link rel=stylesheet type="text/css" href="buttons.css">
<link rel=stylesheet type="text/css" href="../styles/styles.php">
</head>
<body>
<form action="<?=$self;?>" method=POST>
  <table>
    <tr> 
      <td>
                <select name="<?=$selector;?>">
                        <option></option>
<?
                $result=mysql_query($selectoren[$selector]);
                while($row=mysql_fetch_assoc($result))
                {
                        ?><option<? if ($_SESSION[bannerLog][settings][$selector] == $row[value]) { echo " selected";} ?> value="<?=$row[value];?>"><?=$row[name];?></option><?
                }
?>
        </select>
          </td>
      <td>
        <input type="submit" value="OK">
      </td>
    </tr>
  </table>
</form>
</body>
</html>