/users/patterns/www2_Hacked_x/kontaktform/kontakt.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
session_start
();
/*global $cat;
$cat = $_GET['category'];
$_SESSION['category'] = $cat;    */
$action $_GET['action'];
echo 
$action;
function 
lan_de ()
{
$_SESSION['lang'] = 'de';
}
        
function  
lan_en ()
{
$_SESSION['lang'] = 'en';
}
    
switch (
$action) {
    case 
'lan_de'lan_de (); break;
    case 
'lan_en'lan_en (); break;
}  
echo 
$_SESSION['lang'];
if(
$_SESSION['lang'] == 'de'){
    

        
//include "config.php";         da mail nicht funktioniert
          
include "../templates/header_w_nav.php";
        
//include "formular.php";
        
include "alternativ.html";
} else { 
//include "config_en.php"; 
          
include "../templates/header_w_nav_en.php";
        
//include "formular_en.php";
        
include "alternativ_en.html";
        }
    
?>