Last change
on this file since 7718 was 7718, checked in by janveeden, 15 years ago |
gebruikers/beheerdersview switch now works for node_info.php.
|
File size:
818 bytes
|
Line | |
---|
1 | <?php
|
---|
2 | $view = "";
|
---|
3 |
|
---|
4 | if(isset($_GET['view']))
|
---|
5 | {
|
---|
6 | $view = $_GET['view'];
|
---|
7 | }
|
---|
8 | else
|
---|
9 | {
|
---|
10 | $view = "gebruiker";
|
---|
11 | }
|
---|
12 |
|
---|
13 | if($view == "beheerder")
|
---|
14 | {
|
---|
15 | echo <<<EOF
|
---|
16 | <div id="nodeinfo">
|
---|
17 | <h1>Nodenaam</h1>
|
---|
18 | <h2>
|
---|
19 | Locatie: Oude Adeweg Leiderdorp <br/>
|
---|
20 | Meer info: <br/>
|
---|
21 | >>>>>>: <br/>
|
---|
22 | >>>>>>: <br/>
|
---|
23 | >>>>>>: <br/>
|
---|
24 | >>>>>>: <br/>
|
---|
25 |
|
---|
26 | BEHEERDERSVIEW
|
---|
27 | </h2>
|
---|
28 | </div>
|
---|
29 | <div id="timestamp">
|
---|
30 | Laatste update: 15:42 <br/>
|
---|
31 | Do 25 maart
|
---|
32 | </div>
|
---|
33 | EOF;
|
---|
34 | }
|
---|
35 | elseif($view == "gebruiker")
|
---|
36 | {
|
---|
37 | echo <<<EOF
|
---|
38 | <div id="nodeinfo">
|
---|
39 | <h1>Nodenaam</h1>
|
---|
40 | <h2>
|
---|
41 | Locatie: Oude Adeweg Leiderdorp <br/>
|
---|
42 | Meer info: <br/>
|
---|
43 | >>>>>>: <br/>
|
---|
44 | >>>>>>: <br/>
|
---|
45 | >>>>>>: <br/>
|
---|
46 | >>>>>>: <br/>
|
---|
47 |
|
---|
48 | GEBRUIKERSVIEW
|
---|
49 | </h2>
|
---|
50 | </div>
|
---|
51 | <div id="timestamp">
|
---|
52 | Laatste update: 15:42 <br/>
|
---|
53 | Do 25 maart
|
---|
54 | </div>
|
---|
55 | EOF;
|
---|
56 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.