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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<?php session_start(); $action = $_GET['action']; $cat = $_GET['category']; $_SESSION['category'] = $cat; 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; }
if($_SESSION['lang'] == 'de'){ include '../templates/header_w_nav.php'; //include '../templates/sidebar_tutorial.html';
/*include 'category_schnitte.php';*/ switch($cat) { case 'Tshirt': include 'T-Shirt.html'; break; case 'drucken': include 'tut_drucken.html'; break; case 'pluderhose': include 'tut_pluderhose.html'; break; case 'retroshorts': include 'tut_retroshorts.html'; break; default: include 'tut_info.html'; break; } } else {include '../templates/header_w_nav_en.php'; //include '../templates/sidebar_tutorial_en.html'; switch($cat) { case 'Tshirt': include 'T-Shirt_en.html'; break; case 'drucken': include 'tut_drucken_en.html'; break; case 'pluderhose': include 'tut_pluderhose_en.html'; break; case 'retroshorts': include 'tut_retroshorts_en.html'; break; default: include 'tut_info_en.html'; break; } } ?> </div> <br style="clear: both;"> <?php include '../templates/foot.html'; ?>
|