include('../config.php'); include('../func/func.php'); include('settings.php'); include('../func/write.title.class.php'); $Content = 'oetztal_aktiv'; $Title = new WriteTitle(); $TOPHPOTOS = 'gutschein'; $TEXTE = GetTexte($Content); if($_GET['m'] == 'delw') { session_destroy(); $_SESSION['warenkorb'] = array(); } if($_GET['m'] == 'delx' && $_GET['i'] != '') { $w = $_SESSION['warenkorb']; $Warenkorb = array(); $i = 0; $arr = ''; $_SESSION['warenkorb'] = array(); //exit(count($w).'<'); $allowed = 0; if(count($w) != 0) { foreach($w as $a) { if($i != $_GET['i']) { $Neu = array($a[0]); array_push($Warenkorb,$Neu); $allowed++; } $i++; } $_SESSION['warenkorb'] = $Warenkorb; if($allowed != 0) { } else { $_SESSION['warenkorb'] = array(); } } } ?>
include('../content/logo.php'); ?> | include('../content/top.php'); ?> |
include('../content/angebot.php'); ?> |
$Title->text = 'Gutscheine, weil schenken Freude macht';
$Title->paddingBottom = 10;
$Title->filename = 'gutschein_title.jpg';
$Title->fontSize = 30;
$Title->backgroundColor = '#F8E7CB';
?>
if(!$_GET['gid']) { ?> echo($TEXTE['title1']); ?>echo($TEXTE['text1']); ?>$sql = 'SELECT * FROM gutscheine ORDER BY sortid DESC'; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { ?>
} } else { $sql = 'SELECT img FROM gutscheine ORDER BY sortid DESC'; $result = mysql_query($sql); $row = mysql_fetch_array($result); ?> echo($Text['title1']); ?>« zurück zur Übersichtif($_POST) { if($_POST['gutschein'] != '' && $_POST['preis'] != '' && $_POST['menge'] != '') { $Warenkorb = $_SESSION['warenkorb']; if($Warenkorb == '') { $Warenkorb = array(); } $Neu = array(0 =>array('id'=>$_POST['gutschein'],'text'=>$_POST['text'],'menge'=>$_POST['menge'],'wert'=>$_POST['preis'])); array_push($Warenkorb,$Neu); $_SESSION['warenkorb'] = $Warenkorb; $Display = 'Gutschein wurde in den Warenkorb gelegt!'; } else { $Display = 'Bitte alle Pflichtfelder ausfüllen!'; } } ?> if($Display != '') { ?> echo($Display); ?> } ?> « zurück zur Übersicht } ?> |
include('../content/teaser.right.php'); ?> |