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