Task #0001869: Session key : clef de session
This commit is contained in:
parent
df45c20cf8
commit
1f458a4f01
45 changed files with 149 additions and 143 deletions
|
|
@ -11,14 +11,14 @@
|
|||
<?php
|
||||
$http=new HttpInput();
|
||||
if ( $cn->get_value("select count(*) from profile join profile_user using (p_id)
|
||||
where user_name=$1 and with_calc=true",array($_SESSION['g_user'])) ==1):
|
||||
where user_name=$1 and with_calc=true",array($_SESSION[SESSION_KEY.'g_user'])) ==1):
|
||||
echo '<div id="calc">';
|
||||
echo IButton::show_calc();
|
||||
echo '</div>';
|
||||
endif;
|
||||
|
||||
if ( $cn->get_value("select count(*) from profile join profile_user using (p_id)
|
||||
where user_name=$1 and with_direct_form=true",array($_SESSION['g_user'])) ==1):
|
||||
where user_name=$1 and with_direct_form=true",array($_SESSION[SESSION_KEY.'g_user'])) ==1):
|
||||
?>
|
||||
<div id="direct">
|
||||
<form method="get">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue