include("/var/www/vhosts/melbar.eu/melbar/Djin/session_.php");
include("/var/www/vhosts/melbar.eu/melbar/Djin/get_bot.php");
include("/var/www/vhosts/melbar.eu/melbar/count/count.php");
DEFINE ("_BASE",'/var/www/vhosts/melbar.eu/');
DEFINE ("_HOST",'outdoor-onlineshop.de');
DEFINE(_HOST,$_SERVER['HTTP_HOST']);
$metaTitle="Oudoor Onlineshop Outdoor-Bedarf";
$key=key($_GET);
if(strstr($_GET[$key],'-')){
$temp=explode('-',$_GET[$key]);
if(count($temp==2)){
$_GET['detail']=$temp[1];
}
else{
$_GET['detail']=$temp[2];
}
}
$_GET[$key]=str_replace(" ","-",$_GET[$key]);
$base_pfad='/var/www/vhosts/melbar.eu/outdoor/';
// include($base_pfad."php/find_fileF.php");
// include($base_pfad."php/menue-items.php");
$meta_visit="INDEX,FOLLOW";
if(empty($h2)){
$h2='Outdoor Onlineshop';
}
if(empty($h3)){
$h3='Shop für Outdoor Equipement';
}
if($_GET['detail']){
include($base_pfad."php/set_detail_info.php");
$h2=strip_tags(trim($out_t[0])).' '.trim($h2);
$h3=strip_tags(trim($out_text));
}
// doppel !! aus vorschau
if($key){
$metaTitle=$h2.' > '.$key;
}else{
$metaTitle=$h2;
}
if($_GET[$key]){
$metaTitle=$metaTitle.' > '.$_GET[$key];
}
?>
if(isset($_GET[$key]))
echo"
";
?>
";
$rep_alt=array('Ä','ä','Ü','ü','Ö','ö');
$rep_neu=array('Ae','ae','Ue','ue','Oe','oe');
if($key AND !$_GET[$key] AND $key!='Bestellen' AND !$_GET['detail']){
$key=str_replace($rep_alt,$rep_neu,$key);
if(file_exists($base_pfad."ihtml/".$key.".php")){
include($base_pfad."ihtml/".$key.".php");
}else{
include($base_pfad."ihtml/Error.php");
}
}
elseif($_GET[$key] AND $key!='Bestellen' AND !$_GET['detail']){
include($base_pfad."php/vorschau.php");
}
elseif($_GET['detail'])
include($base_pfad."php/artikel.php");
elseif($_GET['Bestellen']){
switch(trim($_GET['Bestellen'])){
case 'BestellungErstellen':
if($_POST['intern']=='Bestellung erstellen')
$textURL=$base_pfad."order/order_02.php";
elseif($_POST['intern']=='Bestellung senden')
$textURL=$base_pfad."order/send.php";
else
$textURL=$base_pfad."order/order_01.php";
break;
case 'Warenkorb':
$textURL=$base_pfad."order/korb_01.php";
break;
case 'AGB':
$textURL=$base_pfad."order/agb.html";
break;
case 'Hilfe':
$textURL=$base_pfad."order/Hilfe.php";
break;
default: $textURL=$base_pfad."order/Hilfe.php";
}
include($textURL);
}
else
include($base_pfad."ihtml/wc.php");
?>