prepared forum for ajax injection
This commit is contained in:
parent
9787c13dc0
commit
29bebb6d5c
@ -22,6 +22,7 @@ if (!isset($_SESSION["username"]))
|
||||
<script src="./res/global.js"></script>
|
||||
<link rel="stylesheet" href="./res/global.css">
|
||||
|
||||
<script src="./res/forum/script.js"></script>
|
||||
<link rel="stylesheet" href="./res/forum/style.css">
|
||||
|
||||
<title>Fabrika Hrádek Tour</title>
|
||||
@ -37,12 +38,12 @@ if (!isset($_SESSION["username"]))
|
||||
|
||||
if ($out -> num_rows == 1)
|
||||
{
|
||||
echo '<img onclick="" src="./res/forum/images/admin.png" alt="Tlačítko adminského panelu">';
|
||||
echo '<img onclick="show(\'admin\')" src="./res/forum/images/admin.png" alt="Tlačítko adminského panelu">';
|
||||
}
|
||||
?>
|
||||
|
||||
<img onclick="" src="./res/forum/images/user.png" alt="Tlačítko nastavení profilu">
|
||||
<img onclick="" src="./res/forum/images/home.png" alt="Tlačítko domovské stránky">
|
||||
<img onclick="show('user')" src="./res/forum/images/user.png" alt="Tlačítko nastavení profilu">
|
||||
<img onclick="show('home')" src="./res/forum/images/home.png" alt="Tlačítko domovské stránky">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user