/users/patterns/www/beta/beta.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
session_start
();
global 
$cat;
$cat $_GET['category'];
$_SESSION['category'] = $cat;
$action $_GET['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;
}  

if(
$_SESSION['lang'] == 'de'){    
    include 
'../templates/header_w_nav.php';
    
/*include '../templates/sidebar_schnitte.html';*/
    
} else {include '../templates/header_w_nav_en.php';
            
/*include '../templates/sidebar_schnitte_en.html';*/
        
}
$keyword=$_GET['querydb'];
?>
<div class="flex-container">
<!--    <p><div class="flex-showdetail">    -->
<div>
    <form action="beta.php" method="get">
    <input type="text" name="querydb" placeholder="Suchbegriff eingeben"/>
    <input type="submit"  value="Suche starten" />
</form>    
        </div>

<svg id="display" width="auto" heigth="auto" viewBox="30 30 500 500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
        <circle cx="150" cy="150" r="100" stroke="black" stroke-width="2" fill="red" />
    </svg> 

//include 'query_all.php';
//include 'category_schnitte.php';
?>
        </div>
      <br style="clear: both;">
<?php
include '../templates/foot.html';
?>