]> andersk Git - sql-web.git/blame - tpl/menu.php
change password feature
[sql-web.git] / tpl / menu.php
CommitLineData
dc478ec8
JP
1<div id="content1">
2<?php if (isLoggedIn()): ?>
3<div style="float:left">
9c70b481 4<a href="do/main">Main</a> |
9840d102 5<a href="do/setup">Setup</a> |
9c70b481
JP
6<a href="do/main?refresh">Refresh</a> |
7<?php if (isAdmin()) { ?>
8<a href="do/admin/main">Admin</a> |
9<?php } ?>
10<a href="do/logout">Logout</a>
dc478ec8 11</div>&nbsp;
88b7d384
JP
12<?php
13 $loggedInText = $Login->getUsername();
14 if (isImpersonating()) {
9c70b481 15 $loggedInText = '<a href="do/admin/main?impersonate">'.$loggedInText.'</a>';
88b7d384
JP
16 }
17?>
18Logged in as <em><?=$loggedInText?></em> on <?=DBHOST?>
dc478ec8
JP
19<?php else: ?>
20<div style="float:left">
9c70b481
JP
21<a href="do/index">Home</a> |
22<a href="do/signup">Signup</a> |
23Login via <a href="do/login?ssl=0">SQL</a> or <a href="do/login?ssl=1">SSL</a>
dc478ec8
JP
24</div>&nbsp;
25<?php endif; ?>
26</div>
This page took 0.043897 seconds and 5 git commands to generate.