« Modèle:VILLE2006 » : différence entre les versions

De Encyclopédie-de-L'AFN_1830-1962
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 2 : Ligne 2 :
{{#phptag:  
{{#phptag:  
$Nom_ville = $argv['Nom_ville'];  
$Nom_ville = $argv['Nom_ville'];  
$Nom_actuel= $argv['Nom_actuel'];
   
$gauche=  $argv['gauche'];  
$gauche=  $argv['gauche'];  
$haut=  $argv['haut'];
$haut=  $argv['haut'];
$Pays=$argv['Pays'];  
$Pays=$argv['Pays'];  
$LAT= $argv['LAT'];
   
$LNG=  $argv['LNG'];  
if (isset ($argv['Nom_actuel'])) {$Nom_actuel=  $argv['Nom_actuel'];} else {$Nom_actuel= "inconnu";}
 
if (isset ($argv['Village'])) {$Village=  $argv['Village'];} else {$Village="non";}  
if (isset ($argv['Village'])) {$Village=  $argv['Village'];} else {$Village="non";}  
if (isset ($argv['ecu'])) {$ecu=  $argv['ecu'];} else {$ecu= "non";}
if (isset ($argv['ecu'])) {$ecu=  $argv['ecu'];} else {$ecu= "non";}
Ligne 14 : Ligne 13 :
if (isset ($argv['Forum'])) {$Forum=  $argv['Forum'];} else {$Forum="non";}   
if (isset ($argv['Forum'])) {$Forum=  $argv['Forum'];} else {$Forum="non";}   
if (isset ($argv['doc'])) {$doc =  $argv['doc'];} else {$doc="";}  
if (isset ($argv['doc'])) {$doc =  $argv['doc'];} else {$doc="";}  
 
if (isset ($argv['LAT'])) {$LAT =  $argv['LAT'];} else {$LAT="";}
 
if (isset ($argv['LNG'])) {$LNG =  $argv['LNG'];} else {$LNG="";}
// à tester
// à tester
// WTitle __construct( NAME, NS_MAIN );
// WTitle __construct( NAME, NS_MAIN );

Version du 29 avril 2018 à 19:54