Creation of the world

This commit is contained in:
Chouchen
2010-09-14 21:38:29 +00:00
parent 5a50cdb2e4
commit 08469447cb
108 changed files with 4685 additions and 0 deletions

21
ajax/post-config.php Normal file
View File

@@ -0,0 +1,21 @@
<?// Escaping the input data:
$clock = $_POST['clock'];
$meteo = $_POST['meteo'];
$notes = $_POST['notes'];
$search = $_POST['search'];
$links = $_POST['links'];
$blogs = $_POST['blogs'];
$xmla = simplexml_load_file('../db/config.xml');
$config_xml = $xmla->item;
$config_xml[0]->visibility = $clock;
$config_xml[1]->visibility = $meteo;
$config_xml[2]->visibility = $notes;
$config_xml[3]->visibility = $search;
$config_xml[4]->visibility = $links;
$config_xml[5]->visibility = $blogs;
$xmla->asXML('../db/config.xml');
echo "1";
?>