"; echo " "; echo " \"Valid"; echo " "; echo " "; echo "
"; echo "

$revision

"; echo "
"; } function head() { echo "
"; echo " \"PLF"; echo "
"; } function menu() { echo "
"; echo "
"; echo " \"PLF"; echo "
"; include("menu.inc"); echo "
"; } function start_content($title) { echo "
"; echo "

$title

"; } function end_content() { echo "
"; echo "
"; } function display_mirrors($data, $style) { //$xh = xsl_create(); $xh = new XsltProcessor(); // Process the document, returning the result into the $result variable //$result = xsl_process($xh, $data, $style); $xml = new DomDocument; $xsl = new DomDocument; // Load the xml document and the xsl template $xml->loadXML(file_get_contents($data)); $xsl->loadXML(file_get_contents($style)); // Load the xsl template $xh->importStyleSheet($xsl); $result = $xh->transformToXML($xml); if ($result) { echo $result; } else { echo "

unavailable mirrors list

"; } // xsl_free($xh); unset($xh); } ?>