<?php
/*$login = $_GET[login];

if (preg_match("/'/i", $login)) {
    echo 'Mauvais login';
}*/

$row2[pts_bats] = 100000;
$row[fer_lvl] = 20;

$Depense_fer_ressource = round((60 / 3  * ( bcpow( 1.45, ($row[fer_lvl]),3))),0);
$Depense_or_ressource = round((15 / 3  * ( bcpow( 1.45, ($row[fer_lvl])))),0);

$New_fer_ressource = ($row[fer_ressource] + $Depense_fer_ressource) ;
$New_or_ressource = ($row[or_ressource] + $Depense_or_ressource) ;
$new_pts_bats= $New_fer_ressource*(-3) + $New_or_ressource*(-3)/* + $row2[pts_bats]*/;

$pts_bat = -16093382;
echo"$new_pts_bats= $New_fer_ressource*(-3) + $New_or_ressource*(-3)";
?> 