forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
30
htdocs/export.php
Normal file
30
htdocs/export.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
//Définition de la constante anti-hacking
|
||||
define("INDEX", 1);
|
||||
|
||||
//Inclusion de l'API Onyx
|
||||
require_once(trim(file_get_contents('./.onyx')));
|
||||
$race = "covenant";
|
||||
require_once("common.php"); //Chargement de tout le nécessaire pour le jeu
|
||||
include_once("game/vars.php");
|
||||
/*
|
||||
print '<var name="descriptions">'."\n";
|
||||
foreach($nomterde as $key => $lign)
|
||||
{
|
||||
print "\t".'<var name="'.$key.'">'.utf8_encode(html_entity_decode($lign)).'</var>'."\n";
|
||||
}
|
||||
print '</var>';
|
||||
*/
|
||||
|
||||
print '<var name="noms_sing">'."\n";
|
||||
foreach ($technolo as $i => $var)
|
||||
{
|
||||
/*print "\t".'<var name="'.$i.'">'."\n";
|
||||
foreach ($var as $k => $key)
|
||||
{*/
|
||||
print "\t\t".'<var name="'.$i.'">'.utf8_encode(html_entity_decode($var)).'</var>'."\n";
|
||||
/*}
|
||||
print "\t</var>\n";*/
|
||||
}
|
||||
print '</var>';
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue