Blame | Letzte Änderung | Log anzeigen | RSS feed
<?$self = basename( $PHP_SELF );define( "modul_name", "online_shop" );define( "tool_name", "artikel" );require_once "connect2.php";session_start();// $charset laden um die jeweiligen ISO-Zeichensätzte zu laden.require_once "charset.php";if ( $action ){unset( $_POST[action] );$_SESSION[$self] = $_POST;?><script language="Javascript">parent.parent.tool.location.href='preisagenten_laden.php'</script><?}?><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%">Agenten:</td></tr><tr><td valign="top"><input type="radio" name="nav_status_overide" value="-1"<? if ( $_SESSION[$self][nav_status_overide] ==-1 ){echo " checked";}?>>Alle Artikel<hr noshade width="100%"><input type="radio" name="nav_status_overide" value="select"<? if ( $_SESSION[$self][nav_status_overide] =='select' ){echo " checked";}?>>Alles unterhalb von:<?$query ="select distinct * FROM directory where Father = -1 and Language='DE' order by Kennung";$result = mysql_query( $query ) or die( mysql_errno() . ": " .mysql_error() );while ( $dir = mysql_fetch_array( $result ) ){?><div class="root"><input type="checkbox" name="nav_status_overide_selected[<? echo $dir["ID"]?>]" value="<? 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"]];}?>"<? if ( $_SESSION[$self]["nav_status_overide_selected"][$dir["ID"]] ){echo " checked";}?>> <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><? }?></td><td valign="top"> <blockquote><?$query = "select * from Preisagentur where Language='" . $_SESSION[language] ."' and hidden = 'false' order by ID";$result = mysql_query( $query ) or die( mysql_errno() . ": " .mysql_error() );while ( $agenten = mysql_fetch_array( $result ) ){?><input type="checkbox" name="agenten[<? echo $agenten[ID]?>]" value="1" <? if ( $_SESSION[$self][agenten][$agenten[ID]] ){echo " checked";}?>><? echo $agenten[Titel]?><br><?}?><br><input name="alle_Artikel" type="checkbox" value="checkbox" id="alle_Artikel"<? if ( $_SESSION["preisagenten_config.php"]["alle_Artikel"] =="checkbox" ){echo " checked";}?>>Auch Artikel ohne Link anzeigen <br></blockquote></td></tr><tr align="right"><td colspan="2"><input type="submit" name="action" value="Abschicken"><input type="reset" value="Zurücksetzen"></td></tr></table></form></body></html>