// ); $selected = "texts"; $work = "Cor"; require "functions.php"; // This has to precede the inclusion of the header file. $langID = getLangID('it'); $params = array('foo' => 'bar', 'langID' => $langID); require '../header.php'; require 'CorNavigation.php'; echo '<div id="text">'; // Allocate a new XSLT processor //$xh = xslt_create(); //xslt_set_encoding ($xh, 'UTF-8'); // Process the document, returning the result into the $result variable //$result = xslt_process($xh, 'itCorbaccio.xml', 'itCorIndex.xsl'); $result = runXSLT($langID . 'Corbaccio.xml', 'CorIndex.xsl', $params); if ($result) { // echo "<pre>\n"; echo $result; //echo "</pre>\n"; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } ///xslt_free($xh); echo '</div>'; $last_modified = filemtime($_SERVER["SCRIPT_FILENAME"]); require '../footer.php'; ?>
// This has to precede the inclusion of the header file. $langID = getLangID('it'); //require ('FiaHeader.html'); // $params = array ( // 'contentID' => $_GET['myID'], // 'expandID' => $_GET['expand'], // 'langID' => $langID // ); $params = array('contentID' => $_GET['myID'], 'expandID' => $_GET['expand'], 'highlight' => $_GET['highlight'], 'langID' => $langID); require '../header.php'; require 'FiaNavigation.php'; echo '<div id="text">'; // Allocate a new XSLT processor //$xh = xslt_create(); //xslt_set_encoding ($xh, 'UTF-8'); // Process the document, returning the result into the $result variable //$result = xslt_process($xh, 'itFiammetta.xml', 'itFiaShowText.xsl', NULL, array(), $params); // $result = xslt_process($xh, 'itFiammetta.xml', 'itFiaShowText.xsl'); $result = runXSLT($langID . 'Fiammetta.xml', 'FiaShowText.xsl', $params); if ($result) { // echo "<pre>\n"; echo $result; //echo "</pre>\n"; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } //xslt_free($xh); echo '</div>'; $last_modified = filemtime($_SERVER["SCRIPT_FILENAME"]); require '../footer.php';
<?php require "functions.php"; // This has to precede the inclusion of the header file. $langID = getLangID($_GET['lang']); require 'DecHeader.html'; $params = array('targetString' => $_GET['word'], 'targetVoice' => $_GET['voice'], 'langID' => $langID); // Allocate a new XSLT processor //$xh = xslt_create(); //xslt_set_encoding ($xh, 'UTF-8'); // Process the document, returning the result into the $result variable //$result = xslt_process($xh, 'itDecameron.xml', 'itDecSrchWrd.xsl', NULL, array(), $params); // $result = xslt_process($xh, 'itDecameron.xml', 'itDecSrchWrd.xsl'); $result = runXSLT($langID . 'Decameron.xml', 'DecSrchWrd.xsl', $params); if ($result) { echo "<pre>\n"; echo $result; echo "</pre>\n"; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } //xslt_free($xh); require 'footer.html';
if ($_GET['type'] == "person") { $result = runXSLT($langID . 'Decameron.xml', 'DecSrchChr.xsl', $params); } else { if ($_GET['type'] == "place") { $result = runXSLT($langID . 'Decameron.xml', 'DecSrchPlc.xsl', $params); } else { if ($_GET['type'] == "word") { $result = runXSLT($langID . 'Decameron.xml', 'DecSrchWrd.xsl', $params); } } } } else { if ($work == "Fia") { echo "Fiammetta"; require 'FiaNavigation.php'; $result = runXSLT($langID . 'Fiammetta.xml', 'FiaSrchWrd.xsl', $params); } else { if ($work == Cor) { require 'CorNavigation.php'; $result = runXSLT($langID . 'Corbaccio.xml', 'CorSrchWrd.xsl', $params); } } } if ($result) { echo $result; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } //xslt_free($xh); require '../footer.php';
<?php $selected = "texts"; require "functions.php"; // This has to precede the inclusion of the header file. $langID = getLangID($_GET['lang']); $work = 'Dec'; $params = array('contentID' => $_GET['myID'], 'expandID' => $_GET['expand'], 'highlight' => $_GET['highlight'], 'langID' => $langID); require '../header.php'; require 'DecNavigation.php'; echo '<div id="text">'; // Allocate a new XSLT processor //$xh = xslt_create(); //xslt_set_encoding ($xh, 'UTF-8'); // Process the document, returning the result into the $result variable //$result = xslt_process($xh, 'engDecameron.xml', 'engDecShowText.xsl', NULL, array(), $params); // $result = xslt_process($xh, 'engDecameron.xml', 'engDecShowText.xsl'); $result = runXSLT($langID . 'Decameron.xml', 'DecShowText.xsl', $params); if ($result) { echo $result; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } //xslt_free($xh); echo '</div>'; $last_modified = filemtime($_SERVER["SCRIPT_FILENAME"]); include '../footer.php';
// ); $selected = "texts"; $work = "Fia"; require "functions.php"; // This has to precede the inclusion of the header file. $langID = getLangID('it'); $params = array('foo' => 'bar', 'langID' => $langID); require '../header.php'; require 'FiaNavigation.php'; echo '<div id="text">'; // Allocate a new XSLT processor //$xh = xslt_create(); //xslt_set_encoding ($xh, 'UTF-8'); // Process the document, returning the result into the $result variable //$result = xslt_process($xh, 'itFiammetta.xml', 'itFiaIndex.xsl'); $result = runXSLT($langID . 'Fiammetta.xml', 'FiaIndex.xsl', $params); if ($result) { // echo "<pre>\n"; // echo $result; // echo "</pre>\n"; echo $result; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } //xslt_free($xh); echo '</div>'; $last_modified = filemtime($_SERVER["SCRIPT_FILENAME"]); include '../footer.php'; ?>
<?php $selected = "texts"; $work = "Dec"; require "functions.php"; // This has to precede the inclusion of the header file. $langID = getLangID($_GET['lang']); $params = array('foo' => 'bar', 'langID' => $langID); require '../header.php'; require 'DecNavigation.php'; echo '<div id="text">'; // Allocate a new XSLT processor //$xh = xslt_create(); //xslt_set_encoding ($xh, 'UTF-8'); // Process the document, returning the result into the $result variable //$result = xslt_process($xh, 'engDecameron.xml', 'engDecIndex.xsl'); $result = runXSLT($langID . 'Decameron.xml', 'DecIndex.xsl', $params); if ($result) { echo $result; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } //xslt_free($xh); echo '</div>'; $last_modified = filemtime($_SERVER["SCRIPT_FILENAME"]); include '../footer.php';
<?php $selected = "texts"; $work = "Cor"; require "functions.php"; // This has to precede the inclusion of the header file. $langID = getLangID('it'); // require ('CorHeader.html'); $params = array('contentID' => $_GET['myID'], 'expandID' => $_GET['expand'], 'highlight' => $_GET['highlight'], 'langID' => $langID); require '../header.php'; require 'CorNavigation.php'; echo '<div id="text">'; // Allocate a new XSLT processor //$xh = xslt_create(); //xslt_set_encoding ($xh, 'UTF-8'); // Process the document, returning the result into the $result variable //$result = xslt_process($xh, 'itCorbaccio.xml', 'itCorShowText.xsl', NULL, array(), $params); // $result = xslt_process($xh, 'itCorbaccio.xml', 'itCorShowText.xsl'); $result = runXSLT($langID . 'Corbaccio.xml', 'CorShowText.xsl', $params); if ($result) { // echo "<pre>\n"; echo $result; // echo "</pre>\n"; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } //xslt_free($xh); echo '</div>'; $last_modified = filemtime($_SERVER["SCRIPT_FILENAME"]); require '../footer.php';
<?php $work = "Fia"; require "functions.php"; // This has to precede the inclusion of the header file. $langID = getLangID('it'); require 'FiaHeader.html'; $params = array('targetString' => $_GET['word'], 'langID' => $langID); // Allocate a new XSLT processor //$xh = xslt_create(); //xslt_set_encoding ($xh, 'UTF-8'); // Process the document, returning the result into the $result variable //$result = xslt_process($xh, 'itFiammetta.xml', 'itFiaSrchWrd.xsl', NULL, array(), $params); // $result = xslt_process($xh, 'itFiammetta.xml', 'itFiaSrchWrd.xsl'); $result = runXSLT($langID . 'Fiammetta.xml', 'FiaSrchWrd.xsl', $params); if ($result) { echo "<pre>\n"; echo $result; echo "</pre>\n"; } else { echo "Sorry, transformation could not be performed" . xslt_error($xh); echo " error code " . xslt_errno($xh); } //xslt_free($xh); require 'footer.html';