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