-
Notifications
You must be signed in to change notification settings - Fork 0
/
find.php
77 lines (53 loc) · 1.41 KB
/
find.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<title>SØK ETTER DATA REGISTRERT I TABELL</title>
<?php include "./include/header.php"; ?>
</head>
<body>
<!-- INKLUDERER OVERSKRIFT -->
<?php include "./include/page-start.php"; ?>
<main class="container">
<div class="row">
<!-- INKLUDERER HOVEDMENY -->
<?php include "./include/meny.php"; ?>
<div class="col-md-4">
<?php
@session_start();
@$innloggetBruker=$_SESSION["tuxbrukernavn"];
if (!$innloggetBruker) {
print('Du må logge inn.');
}
else {
print('
<form method="post" class="form" role="form" action="" id="sokeSkjema" name="sokeSkjema">
<fieldset>
<legend>Søk tabellene</legend>
<div class="form-group">
<label for="find">Søk:</label>
<input type="text" class="form-control" id="find" name="find" onfocus="fokus(this)" onblur="mistetFokus(this)" onmouseover="musOverSF(this)" onmouseout="musUt(this)" required />
</div>
<div class="form-group">
<input type="submit" class="btn btn-info" value="Søk nå" id="fortsett" name="fortsett"/>
<a href="./find.php" class="btn btn-info">Nullstill</a>
</div>
</fieldset>
<div id="melding"></div>
</form>
</div>
<div>
');
}
?>
<!-- PHP KODE STARTER -->
<div class="col-md-5">
<?php include("./include/inc_find.php"); ?>
</div>
<!-- SLUTT PÅ PHP -->
</div>
<!-- JAVASCRIPT MELDING -->
</div>
</main>
<?php include "./include/footer.php"; ?>
</body>
</html>