Updated to support a demo user

This commit is contained in:
Neil Lathwood
2015-02-16 23:45:28 +00:00
parent f0b0ed4468
commit 2cb5d727b4
20 changed files with 57 additions and 35 deletions

View File

@@ -148,7 +148,7 @@ if (dbFetchCell("SELECT COUNT(*) FROM juniAtmVp WHERE port_id = '".$port['port_i
if ($vars['view'] == "junose-atm-vp" && $vars['graph'] == "bits") { echo("</span>"); }
}
if ($_SESSION['userlevel'] == '10')
if ($_SESSION['userlevel'] >= '10')
{
echo("<span style='float: right;'><a href='bills/view=add/port=".$port['port_id']."/'><img src='images/16/money.png' border='0' align='absmiddle'> Create Bill</a></span>");
}