<?php
//error_reporting(E_ALL ^ E_DEPRECATED); ini_set('display_errors', 1);
session_start();
include('script/variablen.php');
include('connect.php');
?>
<!DOCTYPE html>
<html lang="de-CH">
<head>

<?php include('page_meta.php'); ?>

	<title>Metabo Pick+Mix 12V: Einfach clever kombiniert. - Fux Elektrowerkzeuge GmbH</title>

<?php include('page_css.php'); ?>

	<link rel="stylesheet" href="set_sheet.css?<?php echo filemtime('set_sheet.css') ?>">

<?php include('page_script_top.php'); ?>

</head>

<?php
// WENN Cookie Admin aktiv
if ( !empty($_COOKIE["administrator"]) == 1 )
{
	echo '<body class="admin">'."\n";
}
else
{
	echo '<body oncontextmenu="return false">'."\n";
}

include('page_header.php'); ?>

<div id="content">

<section>

	<article>
	<h1>Metabo Pick+Mix 12V: Einfach clever kombiniert.&nbsp;&nbsp;&nbsp;<img src="images/icons/20_prozent_auf_basis_set.png" width="132" height="58" alt="20% Rabatt auf Basis-Set" class="middle"></h1>
	<b>Bitte wählen Sie das gewünschte Metabo Pick+Mix 12V Basis-Set</b>
	<div class="navi titel_g rund abstand_top abstand_bottom">LiHD ohne Koffer</div>
		
<?php
$set_nr = 'a_12';
$result_set = mysqli_query($dbi,"SELECT position, produkt FROM sets WHERE set_nr='".$set_nr."' AND position='1'");
$row_set = $result_set->fetch_assoc();

$result = mysqli_query($dbi,"SELECT nummer, marke, produkt, kurz, preis, artikelnr, akku_typ, akku_typ_1, koffer, neu, aktion FROM produkte WHERE nummer='".$row_set['produkt']."'");
$row = $result->fetch_assoc();

echo '<div class="boxen_center">';
include('set_layout_auswahl_12.php');
echo '</div>';
?>
	<div class="clear"></div>
	<div class="navi titel_g rund abstand_top_gr abstand_bottom">Li-Ion ohne Koffer</div>
<?php
$set_nr = 'b_12';
$result_set = mysqli_query($dbi,"SELECT position, produkt FROM sets WHERE set_nr='".$set_nr."' AND position='1'");
$row_set = $result_set->fetch_assoc();
	
$result = mysqli_query($dbi,"SELECT nummer, marke, produkt, kurz, preis, artikelnr, akku_typ, akku_typ_1, koffer, neu, aktion FROM produkte WHERE nummer='".$row_set['produkt']."'");
$row = $result->fetch_assoc();

echo '<div class="boxen_center">';
include('set_layout_auswahl_12.php');
echo '</div>';
?>
	<div class="set_abstand"></div>
	</article>

<?php include('page_last.php'); ?>

</section>

</div>

<?php include('page_footer.php'); ?>

<?php include('page_script_bottom.php'); ?>

</body>
</html>