forked from halo-battle/game
Version 0.9a
This commit is contained in:
parent
d5c122a2c5
commit
59fbc7104e
141 changed files with 8686 additions and 1156 deletions
|
|
@ -55,6 +55,11 @@ function trouvNom($id_user){
|
|||
}
|
||||
|
||||
function separerNombres($nombre) {
|
||||
if ($nombre != abs($nombre)) {
|
||||
$nombre = abs($nombre);
|
||||
$neg = true;
|
||||
}
|
||||
else $neg = false;
|
||||
$j=0;
|
||||
$lgr=strlen($nombre);
|
||||
$chaine = '';
|
||||
|
|
@ -73,7 +78,8 @@ function separerNombres($nombre) {
|
|||
$nombre .= substr($chaine,$j,1);
|
||||
$j -=1;
|
||||
}
|
||||
return $nombre;
|
||||
if ($neg == true) return ($nombre*-1);
|
||||
else return $nombre;
|
||||
}
|
||||
|
||||
function bbcode($text) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue