mirror of
https://github.com/psenough/pouet.net.git
synced 2025-01-17 13:18:24 +01:00
session_is_registered is deprecated
This commit is contained in:
parent
033cb3704c
commit
a245103caa
@ -6,7 +6,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th bgcolor="#224488">what do you want to do ?</th>
|
<th bgcolor="#224488">what do you want to do ?</th>
|
||||||
</tr>
|
</tr>
|
||||||
<? if(session_is_registered("SESSION")): ?>
|
<?php if(isset($_SESSION['SESSION'])): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#557799">
|
<td bgcolor="#557799">
|
||||||
<b> - <a href="submitprod.php">add a prod</a></b><br />
|
<b> - <a href="submitprod.php">add a prod</a></b><br />
|
||||||
@ -146,7 +146,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? endif; ?>
|
<? endif; ?>
|
||||||
<? if(!session_is_registered("SESSION")): ?>
|
<?php if(isset($_SESSION['SESSION'])): ?>
|
||||||
<form action="login.php" method="post">
|
<form action="login.php" method="post">
|
||||||
<tr><th>login to add more stuff</th></tr>
|
<tr><th>login to add more stuff</th></tr>
|
||||||
<tr bgcolor="#446688">
|
<tr bgcolor="#446688">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user