Changeset 7769 for trunk/src/map/inc/node_info.php
- Timestamp:
- Apr 15, 2010, 6:14:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/map/inc/node_info.php
r7767 r7769 1 1 <?php 2 require_once("../../config.php"); 3 require_once($config['root']."/map/inc/kmlHandler.php"); 2 require_once("kmlHandler.php"); 3 4 $markers = get_node_array("example.kml"); 4 5 5 6 if(isset($_GET['view'])) … … 45 46 elseif($_GET['type'] == "single") //Info for single nodes is stored here 46 47 { 47 $markers = getArrayFromKML();48 49 48 if($view == "beheerder")//Display part for beheerder view of a single node 50 49 { 51 print $markers[$_GET['name']]['description']; 52 53 50 echo <<<EOF 51 <div id="nodeinfo"> 52 <h1>Nodenaam</h1> 53 <h2> 54 Locatie: Oude Adeweg Leiderdorp <br/> 55 Meer info: <br/> 56 >>>>>>: <br/> 57 >>>>>>: <br/> 58 >>>>>>: <br/> 59 >>>>>>: <br/> 60 61 BEHEERDERSVIEW 62 </h2> 63 </div> 64 <div id="timestamp"> 65 Laatste update: 15:42 <br/> 66 Do 25 maart 67 </div> 68 EOF; 54 69 } 55 70 elseif($view == "gebruiker")//Display part for gebruiker view of a single node 56 71 { 57 72 echo <<<EOF 73 <div id="nodeinfo"> 74 <h1>Nodenaam</h1> 75 <h2> 76 Locatie: Oude Adeweg Leiderdorp <br/> 77 Meer info: <br/> 78 >>>>>>: <br/> 79 >>>>>>: <br/> 80 >>>>>>: <br/> 81 >>>>>>: <br/> 82 83 GEBRUIKERSVIEW 84 </h2> 85 </div> 86 <div id="timestamp"> 87 Laatste update: 15:42 <br/> 88 Do 25 maart 89 </div> 90 EOF; 58 91 } 59 92 }
Note:
See TracChangeset
for help on using the changeset viewer.