Files
Testing/AVChat3/chat/style.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

20 lines
377 B
PHP

<?php
header("Content-type: text/css");
$cssFile = simplexml_load_file("style.xml");
foreach ($cssFile->children() as $property) {
$values=array();
foreach ($property->children() as $tag) {
$values[$tag->getName()] = $tag;
}
echo '.'.$property->getName()."{"."\n";
foreach ($values AS $tag) {
echo "\t".$tag->getName().":".$tag.";"."\n";
}
echo "} \n";
}
?>