Check();
$href=basename($_SERVER['PHP_SELF']);
if ($href=='compta.php')
{
//Show the top menu
include_once ("user_menu.php");
// Show Menu Left
$left_menu=ShowMenuAdvanced(5);
//echo '
' ;
echo $a;
if ( $write != 0)
{
echo 'Entrer la valeur qui doit augmenter ou diminuer le stock';
echo '';
}
echo '';
echo '
';
exit();
}
// Show the possible years
$sql="select distinct (p_exercice) as exercice from parm_periode ";
$Res=ExecSql($cn,$sql);
$r="";
for ( $i = 0; $i < pg_NumRows($Res);$i++) {
$l=pg_fetch_array($Res,$i);
$r.=sprintf('%d - ',
$l['exercice'],
$l['exercice']);
}
// Check if User Can see the stock
// Show the current stock
echo '