Changeset 664
- Timestamp:
- Dec 21, 2009, 4:51:44 PM (15 years ago)
- Location:
- branches/new
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new/index.php
r663 r664 16 16 require_once('inc/server.php'); 17 17 require_once('inc/realm.php'); 18 require_once('inc/menu.php'); 18 19 19 20 // classes start … … 24 25 $html = new Html(0, $db); 25 26 $html->Start(); 27 $menu = new Menu(); 26 28 27 29 echo('<div id="page">'. … … 53 55 echo('<br /><br />'); 54 56 echo('<div class="mainmenu">'); 55 foreach($ServerMenuItems as $Item) 56 { 57 if(array_key_exists('OnClick', $Item)) $OnClick = ' onclick="'.$Item['OnClick'].'"'; 58 else $OnClick = ''; 59 if(array_key_exists('Target', $Item)) $Target = ' target="'.$Item['Target'].'"'; 60 else $Target = ''; 61 62 echo('<a href="'.$Item['link'].'"'.$OnClick.$Target.'>'.$Item['Text'].'</a><br />'); 63 } 57 echo $menu->GetMenu(); 64 58 echo('</div>'); 65 59
Note:
See TracChangeset
for help on using the changeset viewer.