Import later changes

This commit is contained in:
Fándly Gergő
2019-08-10 15:39:07 +03:00
parent d24a3edef4
commit caeaf3d8ef
10 changed files with 163 additions and 18 deletions

View File

@ -1,7 +1,7 @@
<?php
/**
* /subs/parts/userarea.php
* @version 1.2
* @version 1.3
* @desc Users area and admin console
* @author Fándly Gergő Zoltán (gergo@systemtest.tk, systemtest.tk)
* @copy 2018 Fándly Gergő Zoltán
@ -99,11 +99,11 @@ $lm->loginPrepare();
<?php if($_SESSION['accesslevel']>=1): ?>
<button type="button" onclick="window.location='/userarea/blog'"><?php echo $lang['blog'] ?></button>
<?php endif; if($_SESSION['accesslevel']>=2): ?>
<button type="button" onclick="window.location='/userarea/projects'"><?php echo $lang['projects'] ?></button>
<button type="button" onclick="window.location='/userarea/orders'"><?php echo $lang['orders'] ?></button>
<button type="button" onclick="window.location='/userarea/messages'"><?php echo $lang['messages'] ?></button>
<?php endif; if($_SESSION['accesslevel']>=3): ?>
<button type="button" onclick="window.location='/userarea/news'"><?php echo $lang['news'] ?></button>
<button type="button" onclick="window.location='/userarea/projects'"><?php echo $lang['projects'] ?></button>
<button type="button" onclick="window.location='/userarea/admin'"><?php echo $lang['adminarea'] ?></button>
<?php endif ?>
<button type="button" onclick="window.location='/userarea/profile'"><?php echo $lang['profile'] ?></button>