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